[go: up one dir, main page]

CN107132816B - A kind of control method and its corresponding control system of digital-control two-head milling machine - Google Patents

A kind of control method and its corresponding control system of digital-control two-head milling machine Download PDF

Info

Publication number
CN107132816B
CN107132816B CN201710321848.8A CN201710321848A CN107132816B CN 107132816 B CN107132816 B CN 107132816B CN 201710321848 A CN201710321848 A CN 201710321848A CN 107132816 B CN107132816 B CN 107132816B
Authority
CN
China
Prior art keywords
milling
head
workpiece
detection data
heads
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.)
Active
Application number
CN201710321848.8A
Other languages
Chinese (zh)
Other versions
CN107132816A (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.)
Dongguan City Gu Da Machinery Manufacturing Co Ltd
Original Assignee
Dongguan City Gu Da Machinery Manufacturing Co Ltd
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 Dongguan City Gu Da Machinery Manufacturing Co Ltd filed Critical Dongguan City Gu Da Machinery Manufacturing Co Ltd
Priority to CN201710321848.8A priority Critical patent/CN107132816B/en
Publication of CN107132816A publication Critical patent/CN107132816A/en
Application granted granted Critical
Publication of CN107132816B publication Critical patent/CN107132816B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/414Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Abstract

本发明属于数控铣床技术领域,具体涉及一种数控双头铣床的控制方法及其相应的控制系统。控制系统包括工艺参数采集模块、压料模块、左右铣头启动时机判定模块、左右铣头Y轴定位模块、左右铣头主运动驱动模块、铣削台X轴进给模块以及卸料模块;控制方法包括工艺参数采集步骤、压料步骤、左右铣头启动时机判定步骤、左右铣头Y轴定位步骤、左右铣头主运动驱动步骤、铣削台X轴进给步骤以及卸料步骤。本发明公开的控制方法和控制系统通过各个功能模块或工艺步骤之间的有机配合,可以对启动左右铣头主运动的具体时刻进行最佳化,有效降低左右铣头的空转能耗,提高铣床的能源利用率。

The invention belongs to the technical field of numerically controlled milling machines, and in particular relates to a control method of a numerically controlled double-head milling machine and a corresponding control system. The control system includes a process parameter acquisition module, a material pressing module, a left and right milling head start timing determination module, a left and right milling head Y-axis positioning module, a left and right milling head main motion drive module, a milling table X-axis feed module and an unloading module; the control method It includes process parameter collection step, material pressing step, left and right milling head start timing determination step, left and right milling head Y-axis positioning step, left and right milling head main motion driving step, milling table X-axis feeding step and unloading step. The control method and control system disclosed by the present invention can optimize the specific timing of starting the main movement of the left and right milling heads through the organic cooperation between various functional modules or process steps, effectively reduce the idling energy consumption of the left and right milling heads, and improve the efficiency of the milling machine. energy efficiency.

Description

一种数控双头铣床的控制方法及其相应的控制系统A control method of a numerically controlled double-head milling machine and its corresponding control system

技术领域technical field

本发明属于数控铣床技术领域,具体涉及一种数控双头铣床的控制方法及其相应的控制系统。The invention belongs to the technical field of numerically controlled milling machines, in particular to a control method of a numerically controlled double-head milling machine and a corresponding control system.

背景技术Background technique

数控双头铣床是指在铣削台进给轨道(以下称X轴运动或进给运动)的两侧对称或不对称设置有左右两个铣头的铣床,其中左右铣头的旋转铣削运动为主运动,铣削台和铣头之间的相对运动为进给运动。由于可以同时对工件的多个铣削面进行铣削加工,并且可以减少工件的装夹次数,这种铣床可以成倍的提高产线的加工效率以及铣床的加工精度。现有数控双头铣床一般包括铣削台、左铣头、右铣头、压料杆以及各个部件或组件的驱动装置;铣削台可以在铣削台驱动电机的驱动下沿着X轴方向进给;左铣头和右铣头可以分别在左铣头定位电机和右铣头定位电机的驱动下沿着Y轴方向进刀或退刀,还可以在左铣头驱动电机和右铣头驱动电机的驱动下产生主运动;压料杆可以在压料杆驱动装置比如汽缸或油缸的驱动下压紧或松开铣削台上的工件。现有数控双头铣床一般采用铣削台主动运动的方式实现工件的进给,作业前,左右两侧铣头被提前定位到相应于工件两侧铣削面的适当位置,并在左右铣头进刀的同时或完成进刀后开始启动左右铣头的主运动;由此可能会产生如下问题:由于需要加工的零件的尺寸大小不一,当加工较小尺寸的零件时,铣削台自初始位置运动到左右铣头开始接触到零件的位置需要一定的时间,在这段时间间隔内,左右铣头会发生空转,无谓的增加铣床的能耗。CNC double-head milling machine refers to a milling machine with two left and right milling heads symmetrically or asymmetrically on both sides of the feed track of the milling table (hereinafter referred to as X-axis motion or feed motion). Movement, the relative movement between the milling table and the milling head is the feed movement. Since multiple milling surfaces of the workpiece can be milled at the same time, and the number of clampings of the workpiece can be reduced, the milling machine can double the processing efficiency of the production line and the processing accuracy of the milling machine. Existing CNC double-head milling machines generally include a milling table, a left milling head, a right milling head, a blanking rod and a drive device for each component or assembly; the milling table can be driven by the milling table drive motor along the X-axis direction feed; The left milling head and the right milling head can feed or retract along the Y-axis under the driving of the left milling head positioning motor and the right milling head positioning motor respectively, and can also be driven by the left milling head driving motor and the right milling head driving motor. The main motion is generated under the driving; the pressing rod can press or release the workpiece on the milling table under the driving of the pressing rod driving device such as a cylinder or an oil cylinder. The existing CNC double-head milling machines generally use the active movement of the milling table to realize the feeding of the workpiece. Before the operation, the left and right milling heads are positioned in advance to the appropriate positions corresponding to the milling surfaces on both sides of the workpiece, and the left and right milling heads are fed. At the same time or after the feed is completed, the main movement of the left and right milling heads is started; this may cause the following problems: due to the different sizes of the parts to be machined, when machining smaller-sized parts, the milling table moves from the initial position It takes a certain amount of time to reach the position where the left and right milling heads start to contact the part. During this time interval, the left and right milling heads will idle, which increases the energy consumption of the milling machine needlessly.

发明内容SUMMARY OF THE INVENTION

针对上述问题,本发明提供了一种包括铣头启动时机判断模块和判断步骤的数控双头铣床控制方法以及相应的控制系统,该方法和系统可以基于对工件参数和系统参数的运算,准确判定启动铣头主运动的最佳时机,以降低铣头空转时的能耗,提高现有设备的能源利用率。In view of the above problems, the present invention provides a control method for a CNC double-head milling machine and a corresponding control system including a milling head startup timing judgment module and judgment steps, and the method and system can accurately determine the workpiece parameters and system parameters based on the operation. The best time to start the main movement of the milling head to reduce the energy consumption when the milling head is idling and improve the energy utilization rate of the existing equipment.

本发明为解决其技术问题而提供的解决方案为:The solution that the present invention provides for solving its technical problem is:

一种数控双头铣床的控制系统,适用的数控双头铣床包括铣削台、设置在铣削台两侧的左铣头和右铣头,以及设置在铣削台上部的压料杆;铣削台可以在铣削台驱动电机的驱动下沿着X轴进给;左铣头和右铣头可以分别在左铣头定位电机和右铣头定位电机的驱动下沿着Y轴进刀或退刀,还可以在左铣头驱动电机和右铣头驱动电机的驱动下旋转或静止;压料杆可以在压料杆驱动装置的驱动下压紧或松开铣削台上的工件,其特征在于,该数控双头铣床的控制系统包括如下功能模块:工艺参数采集模块,读取参数输入设备输入的工件参数和系统参数;压料模块,通过对压料杆驱动装置的控制,指令压料杆将工件压紧到铣削台上;左右铣头启动时机判定模块,根据工艺参数采集模块读取到的工件参数和系统参数,确定启动左右铣头主运动的具体时刻,也即确定左铣头和/或右铣头开始旋转的具体时刻,以降低左铣头和右铣头的空转能耗;左右铣头Y轴定位模块,通过对左铣头定位电机和右铣头定位电机的控制,分别将左铣头和右铣头定位到根据工艺参数采集模块读取到的工件参数和系统参数确定的位置;左右铣头主运动驱动模块,通过对左铣头驱动电机和右铣头驱动电机的控制,指令左铣头和右铣头在左右铣头启动时机判定模块中确定的主运动启动时刻正转、反转或静止;铣削台X轴进给模块,通过对铣削台驱动电机的控制,指令铣削台沿着X轴正方向或X轴负方向运动,实现工件的X轴进给或复位;卸料模块,通过对压料杆驱动装置的控制,指令压料杆松开铣削台上的工件。A control system for a CNC double-head milling machine, the applicable CNC double-head milling machine includes a milling table, a left milling head and a right milling head arranged on both sides of the milling table, and a pressing bar arranged on the upper part of the milling table; Driven by the driving motor of the milling table, feed along the X-axis; the left and right milling heads can feed or retract along the Y-axis respectively driven by the left and right milling head positioning motors, and can also Under the driving of the left milling head driving motor and the right milling head driving motor, it rotates or stands still; the pressing rod can press or loosen the workpiece on the milling table under the driving of the pressing rod driving device. The control system of the head milling machine includes the following functional modules: the process parameter acquisition module, which reads the workpiece parameters and system parameters input by the parameter input device; the pressing module, which instructs the pressing rod to press the workpiece by controlling the driving device of the pressing rod. Go to the milling table; the left and right milling heads start timing determination module, according to the workpiece parameters and system parameters read by the process parameter acquisition module, to determine the specific time to start the main movement of the left and right milling heads, that is, to determine the left milling head and/or the right milling head The specific moment when the head starts to rotate, so as to reduce the idling energy consumption of the left and right milling heads; the Y-axis positioning module of the left and right milling heads controls the left milling head positioning motor and the right milling head positioning motor, respectively. and the right milling head are positioned to the position determined according to the workpiece parameters and system parameters read by the process parameter acquisition module; the left and right milling head main motion drive module, by controlling the left milling head drive motor and the right milling head drive motor, command the The milling head and the right milling head rotate forward, reverse or stand still at the main motion start time determined in the left and right milling head start timing determination module; the milling table X-axis feed module, through the control of the milling table drive motor, instructs the milling table to move along the Move in the positive direction of X-axis or the negative direction of X-axis to realize the X-axis feeding or reset of the workpiece; the unloading module instructs the pressing rod to release the workpiece on the milling table by controlling the driving device of the pressing rod.

优选地,本发明适用的数控双头铣床上于铣削台的两侧还设置有左铣削面检测装置和/或右铣削面检测装置,相应地,数控双头铣床的控制系统还包括左铣削面检测数据接收模块和/或右铣削面检测数据接收模块;左右铣头Y轴定位模块根据工艺参数采集模块读取到的工件参数和系统参数以及左铣削面检测数据接收模块和/或右铣削面检测数据接收模块接收到的检测数据确定左铣头和右铣头的具体位置。Preferably, the CNC double-head milling machine to which the present invention is applicable is further provided with a left milling surface detection device and/or a right milling surface detection device on both sides of the milling table. Correspondingly, the control system of the CNC double-head milling machine further includes a left milling surface The detection data receiving module and/or the right milling surface detection data receiving module; the left and right milling head Y-axis positioning modules collect the workpiece parameters and system parameters read by the module according to the process parameters and the left milling surface detection data receiving module and/or the right milling surface The detection data received by the detection data receiving module determines the specific positions of the left milling head and the right milling head.

优选地,本发明适用的数控双头铣床上于铣削台的两侧还设置有左铣削面检测装置和/或右铣削面检测装置,相应地,数控双头铣床的控制系统还包括左铣削面检测数据接收模块和/或右铣削面检测数据接收模块;左右铣头启动时机判定模块根据工艺参数采集模块读取到的工件参数和系统参数以及左铣削面检测数据接收模块和/或右铣削面检测数据接收模块接收到的检测数据确定调用左右铣头主运动驱动模块的时机。Preferably, the CNC double-head milling machine to which the present invention is applicable is further provided with a left milling surface detection device and/or a right milling surface detection device on both sides of the milling table. Correspondingly, the control system of the CNC double-head milling machine further includes a left milling surface The detection data receiving module and/or the right milling surface detection data receiving module; the left and right milling head start timing determination module is based on the workpiece parameters and system parameters read by the process parameter acquisition module and the left milling surface detection data receiving module and/or the right milling surface The detection data received by the detection data receiving module determines the timing of calling the main motion driving module of the left and right milling heads.

优选地,本发明提供的数控双头铣床控制系统中的参数输入设备为触控屏和/或键盘,工艺参数采集模块读取到的工件参数包括工件原始宽度、加工后宽度、工件原始长度、加工后长度以及工件厚度;所述工艺参数采集模块读取到的系统参数包括宽度先修量、长度先修量、宽度右刀返修光刀量、宽度左刀返修光刀量、长度右刀返修光刀量和长度左刀返修光刀量。Preferably, the parameter input device in the CNC double-head milling machine control system provided by the present invention is a touch screen and/or a keyboard, and the workpiece parameters read by the process parameter acquisition module include the original width of the workpiece, the width after processing, the original length of the workpiece, The length after processing and the thickness of the workpiece; the system parameters read by the process parameter acquisition module include the width pre-repair amount, the length pre-repair amount, the width of the right knife reworked smooth knife, the width of the left knife reworked smooth knife, and the length of the right knife. And the length of the left knife rework light knife amount.

优选地,本发明提供的数控双头铣床控制系统中的左铣削面检测数据接收模块和/或右铣削面检测数据接收模块接收到的检测数据包括工件的宽度测量值和工件的长度测量值。Preferably, the detection data received by the left milling surface detection data receiving module and/or the right milling surface detection data receiving module in the CNC double-head milling machine control system provided by the present invention includes the measured value of the width of the workpiece and the measured value of the length of the workpiece.

与上述各种数控双头铣床的控制系统一一对应,本发明的另一方面,还公开了相应的数控双头铣床的控制方法,具体为:Corresponding one-to-one with the control systems of the above-mentioned various CNC double-head milling machines, another aspect of the present invention also discloses a corresponding control method of the CNC double-head milling machine, specifically:

一种数控双头铣床的控制方法,适用的数控双头铣床包括铣削台、设置在铣削台两侧的左铣头和右铣头,以及设置在铣削台上部的压料杆;铣削台可以在铣削台驱动电机的驱动下沿着X轴进给;左铣头和右铣头可以分别在左铣头定位电机和右铣头定位电机的驱动下沿着Y轴进刀或退刀,还可以在左铣头驱动电机和右铣头驱动电机的驱动下旋转或静止;压料杆可以在压料杆驱动装置的驱动下压紧或松开所述铣削台上的工件,其特征在于,该数控双头铣床的控制方法包括如下步骤:工艺参数采集步骤,读取参数输入设备输入的工件参数和系统参数;压料步骤,通过对压料杆驱动装置的控制,指令压料杆将工件压紧到铣削台上;左右铣头启动时机判定步骤,根据工艺参数采集步骤读取到的工件参数和系统参数,确定启动左右铣头主运动的具体时刻,也即确定左铣头和/或右铣头开始旋转的具体时刻,以降低左铣头和右铣头的空转能耗;左右铣头Y轴定位步骤,通过对左铣头定位电机和右铣头定位电机的控制,分别将左铣头和右铣头定位到根据工艺参数采集步骤读取到的工件参数和系统参数确定的位置;左右铣头主运动驱动步骤,通过对左铣头驱动电机和右铣头驱动电机的控制,指令左铣头和右铣头在左右铣头启动时机判定步骤中确定的主运动启动时刻正转、反转或静止;铣削台X轴进给步骤,通过对铣削台驱动电机的控制,指令铣削台沿着X轴正方向或X轴负方向运动,实现工件的X轴进给或复位;卸料步骤,通过对压料杆驱动装置的控制,指令压料杆松开铣削台上的工件。A control method for a CNC double-head milling machine, the applicable CNC double-head milling machine includes a milling table, a left milling head and a right milling head arranged on both sides of the milling table, and a pressing bar arranged on the upper part of the milling table; Driven by the driving motor of the milling table, feed along the X-axis; the left and right milling heads can feed or retract along the Y-axis respectively driven by the left and right milling head positioning motors, and can also Under the driving of the left milling head driving motor and the right milling head driving motor, it rotates or stands still; the pressing rod can press or loosen the workpiece on the milling table under the driving of the pressing rod driving device, and it is characterized in that the The control method of the CNC double-head milling machine includes the following steps: a process parameter collection step, reading workpiece parameters and system parameters input by a parameter input device; Tighten it to the milling table; in the step of determining the starting timing of the left and right milling heads, according to the workpiece parameters and system parameters read in the process parameter collection step, determine the specific moment to start the main movement of the left and right milling heads, that is, determine the left milling head and/or the right milling head. The specific moment when the milling head starts to rotate, so as to reduce the idling energy consumption of the left milling head and the right milling head; in the Y-axis positioning step of the left and right milling heads, through the control of the left milling head positioning motor and the right milling head positioning motor, the left milling head positioning motor and the right milling head positioning motor are respectively controlled. The head and the right milling head are positioned to the positions determined according to the workpiece parameters and system parameters read in the process parameter collection step; the left and right milling head main motion driving step, through the control of the left milling head drive motor and the right milling head drive motor, the command The left and right milling heads rotate forward, reversely, or stand still at the main motion start time determined in the step of determining the starting timing of the left and right milling heads; in the X-axis feeding step of the milling table, the milling table is instructed by controlling the driving motor of the milling table Move along the positive or negative direction of the X-axis to realize the X-axis feeding or reset of the workpiece; in the unloading step, through the control of the pressing rod driving device, the pressing rod is instructed to release the workpiece on the milling table.

优选地,本发明适用的数控双头铣床上于铣削台的两侧还设置有左铣削面检测装置和/或右铣削面检测装置,相应地,数控双头铣床的控制方法还包括左铣削面检测数据接收步骤和/或右铣削面检测数据接收步骤;左右铣头Y轴定位步骤根据工艺参数采集步骤读取到的工件参数和系统参数以及左铣削面检测数据接收步骤和/或右铣削面检测数据接收步骤接收到的检测数据确定左铣头和右铣头的具体位置。Preferably, the CNC double-head milling machine to which the present invention is applicable is further provided with a left milling surface detection device and/or a right milling surface detection device on both sides of the milling table. Correspondingly, the control method of the CNC double-head milling machine further includes a left milling surface The detection data receiving step and/or the right milling surface detection data receiving step; the left and right milling head Y-axis positioning step according to the workpiece parameters and system parameters read in the process parameter collection step and the left milling surface detection data receiving step and/or the right milling surface The detection data received in the detection data receiving step determines the specific positions of the left milling head and the right milling head.

优选地,本发明适用的数控双头铣床上于铣削台的两侧还设置有左铣削面检测装置和/或右铣削面检测装置,相应地,所述数控双头铣床的控制方法还包括左铣削面检测数据接收步骤和/或右铣削面检测数据接收步骤;所述左右铣头启动时机判定步骤根据工艺参数采集步骤读取到的工件参数和系统参数以及左铣削面检测数据接收步骤和/或右铣削面检测数据接收步骤接收到的检测数据确定调用左右铣头主运动驱动步骤的时机。Preferably, the CNC double-head milling machine applicable to the present invention is further provided with a left milling surface detection device and/or a right milling surface detection device on both sides of the milling table. Correspondingly, the control method of the CNC double-head milling machine further includes a left The step of receiving the detection data of the milling surface and/or the step of receiving the detection data of the right milling surface; the step of determining the starting timing of the left and right milling heads is based on the workpiece parameters and system parameters read in the process parameter collection step and the step of receiving the detection data of the left milling surface and/or Or the detection data received in the detection data receiving step of the right milling surface determines the timing of invoking the main motion driving step of the left and right milling heads.

优选地,本发明提供的数控双头铣床中所述参数输入设备为触控屏和/或键盘,工艺参数采集步骤读取到的工件参数包括工件原始宽度、加工后宽度、工件原始长度、加工后长度以及工件厚度;所述工艺参数采集步骤读取到的系统参数包括宽度先修量、长度先修量、宽度右刀返修光刀量、宽度左刀返修光刀量、长度右刀返修光刀量和长度左刀返修光刀量。Preferably, in the CNC double-head milling machine provided by the present invention, the parameter input device is a touch screen and/or a keyboard, and the workpiece parameters read in the process parameter collection step include the original width of the workpiece, the width after processing, the original length of the workpiece, the processing back length and workpiece thickness; the system parameters read by the process parameter collection step include width pre-repair amount, length pre-repair amount, width right knife rework light knife amount, width left knife rework light knife amount, length right knife repair light knife amount and The length of the left knife rework light knife amount.

优选地,本发明提供的数控双头铣床中所述左铣削面检测数据接收步骤和/或右铣削面检测数据接收步骤接收到的检测数据包括工件的宽度测量值和工件的长度测量值。Preferably, the detection data received by the left milling surface detection data receiving step and/or the right milling surface detection data receiving step in the CNC double-head milling machine provided by the present invention includes the measured value of the width of the workpiece and the measured value of the length of the workpiece.

本发明相比现有技术有益的技术效果:Compared with the prior art, the present invention has beneficial technical effects:

1、在启动左铣头和右铣头的主运动之前,首先根据工件参数和系统参数进行左右铣头主运动启动时机的判断或计算,确保铣头主运动的启动时刻既能够实现稳定的铣削效果,又不至于因为长时间的空转而增加机床的能耗,提高现有机床的能量利用效率,优化现有产品的性价比。1. Before starting the main movement of the left and right milling heads, first judge or calculate the starting timing of the main movement of the left and right milling heads according to the workpiece parameters and system parameters, to ensure that the starting time of the main movement of the milling head can achieve stable milling. Therefore, it will not increase the energy consumption of the machine tool due to long-term idling, improve the energy utilization efficiency of the existing machine tool, and optimize the cost performance of the existing product.

2、在本发明包括左右铣削面检测数据接收模块或接收步骤的实施例中,通过检测数据和参数输入设备输入的工件参数和系统参数之间的对比和验证,可以降低系统误差,进一步提高铣头主运动启动时机判定模块或判定步骤的准确性和可靠性。2. In the embodiment of the present invention including the left and right milling surface detection data receiving modules or receiving steps, by comparing and verifying the workpiece parameters and system parameters input by the detection data and the parameter input device, the system error can be reduced, and the milling process can be further improved. The accuracy and reliability of the head main motion start timing determination module or determination step.

为使本发明的技术方案及技术效果更加清楚、明确,以下结合说明书附图和具体实施方式对本发明公开的数控双头铣床控制方法及其控制系统进行详细说明。In order to make the technical solutions and technical effects of the present invention clearer and clearer, the following describes the control method and control system of a numerically controlled double-head milling machine disclosed in the present invention in detail with reference to the accompanying drawings and specific embodiments of the present invention.

附图说明Description of drawings

图1:本发明优选实施例中数控双头铣床控制系统的功能模块连接关系示意图。FIG. 1 is a schematic diagram of the connection relationship between the functional modules of the control system of the CNC double-head milling machine in the preferred embodiment of the present invention.

图2:本发明优选实施例中数控双头铣床控制方法的流程步骤示意图。Fig. 2 is a schematic diagram of the flow steps of the control method of the numerically controlled double-head milling machine in the preferred embodiment of the present invention.

具体实施方式Detailed ways

本发明适用的数控双头铣床包括铣削台、左铣头、右铣头、压料杆以及各个部件或组件的驱动装置;铣削台可以在铣削台驱动电机的驱动下沿着X轴方向进给或复位;左铣头和右铣头可以分别在左铣头定位电机和右铣头定位电机的驱动下沿着Y轴进刀或退刀,还可以在左铣头驱动电机和右铣头驱动电机的驱动下旋转或静止;压料杆可以在压料杆驱动装置比如油缸或汽缸的驱动下压紧或松开铣削台上的工件。其中X轴方向或Y轴方向仅用来表示铣削台的进给方向与左铣头和右铣头的进刀和退刀方向互相垂直,不应被解释成对铣削台和/或左右铣头的结构或空间布置方案的限制。The CNC double-head milling machine to which the present invention is applicable includes a milling table, a left milling head, a right milling head, a blanking rod and a drive device for each component or assembly; the milling table can be fed along the X-axis direction under the drive of the milling table drive motor Or reset; the left and right milling heads can feed or retract along the Y-axis under the drive of the left and right milling head positioning motors, respectively, and can also be driven by the left and right milling head drive motors Driven by the motor to rotate or stand still; the pressing rod can press or release the workpiece on the milling table under the driving of the pressing rod driving device such as an oil cylinder or a cylinder. The X-axis direction or the Y-axis direction is only used to indicate that the feeding direction of the milling table is perpendicular to the feeding and retracting directions of the left and right milling heads, and should not be interpreted as a pair of milling tables and/or left and right milling heads restrictions on the structure or spatial arrangement.

本发明提供的数控双头铣床的控制方法及其相应的控制系统用于实现前述数控双头铣床的系统控制功能,请参阅图1,本发明公开的数控双头铣床的控制系统包括如下功能模块:The control method and corresponding control system of a numerically controlled double-head milling machine provided by the present invention are used to realize the system control function of the aforementioned numerically controlled double-headed milling machine. Please refer to FIG. 1 . The control system of the numerically controlled double-headed milling machine disclosed by the present invention includes the following functional modules :

工艺参数采集模块,读取并存储参数输入设备输入的工件参数和系统参数;参数输入设备可以是触控屏和/或键盘;可以采用类似于getchar()或scanf()类的系统函数读取参数输入设备输入的工件参数或系统参数,也可以采用直接赋值语句比如width=txtbox1类的赋值语句读取或使用参数输入设备输入的工件参数和系统参数。工件参数包括工件原始宽度、加工后宽度、工件原始长度、加工后长度以及工件厚度等;系统参数包括宽度先修量、长度先修量、宽度右刀返修光刀量、宽度左刀返修光刀量、长度右刀返修光刀量、长度左刀返修光刀量等。The process parameter acquisition module reads and stores the workpiece parameters and system parameters input by the parameter input device; the parameter input device can be a touch screen and/or a keyboard; it can be read by a system function similar to getchar() or scanf(). The workpiece parameters or system parameters input by the parameter input device can also be read using a direct assignment statement such as an assignment statement such as width=txtbox1 or the workpiece parameters and system parameters input by the parameter input device. The workpiece parameters include the original width of the workpiece, the width after processing, the original length of the workpiece, the length after processing, and the thickness of the workpiece; the system parameters include the width pre-repair amount, the length pre-repair amount, the width of the right tool for repairing the smooth tool, the width for the left tool. The length of the right knife to repair the smooth knife, the length of the left knife to repair the smooth knife, etc.

压料模块,通过对压料杆驱动装置的控制,指令压料杆将工件压紧到铣削台上;压料杆驱动装置可以是油缸和汽缸,控制部件可以是各种电控开关或电控阀门,优选采用电磁阀实现压料杆驱动装置的控制,示例控制语句为:valve1=1,valve2=0;valve3=0,vlave4=1。The pressing module, through the control of the pressing rod driving device, instructs the pressing rod to press the workpiece onto the milling table; the pressing rod driving device can be an oil cylinder and a cylinder, and the control components can be various electronic control switches or electronic control For the valve, a solenoid valve is preferably used to realize the control of the pressing rod driving device. An example control statement is: valve1=1, valve2=0; valve3=0, vlave4=1.

左右铣头启动时机判定模块,根据工艺参数采集模块读取到的工件参数和系统参数,确定启动左右铣头主运动的具体时刻,也即确定左铣头和/或右铣头开始铣削旋转的具体时刻,以降低左铣头和右铣头的空转能耗;本模块将根据工件的具体尺寸(比如长度、宽度、厚度)、铣头的具体规格、铣床的总进给行程以及铣削台沿X轴的进给速度确定启动左右铣头主运动的具体时刻;可以采用的算法为:首先根据工件的实际尺寸(比如长度、宽度和厚度)、铣头的具体规格和铣床的总进给行程确定当前工件的空转行程(也即铣头没有接触到工件前的进给行程),然后再根据空转行程和铣削台沿X轴的进给速度确定铣削台的空转进给时间,最终得到左右铣头主运动的启动时刻,在该时刻启动左右铣头的主运动,既可以实现稳定的铣削效果,又能够避免铣头空转耗能。例如以铣削台开始沿着X轴进给的时刻为时间的原点t0,铣削台的空转进给时间为t1,则左右铣头主运动的启动时刻为t0+t1The left and right milling heads start timing determination module, according to the workpiece parameters and system parameters read by the process parameter acquisition module, to determine the specific time to start the main movement of the left and right milling heads, that is, to determine the time at which the left milling head and/or the right milling head starts to rotate. At the specific time, to reduce the idling energy consumption of the left and right milling heads; this module will be based on the specific dimensions of the workpiece (such as length, width, thickness), the specific specifications of the milling head, the total feed stroke of the milling machine and the edge of the milling table. The feed rate of the X-axis determines the specific moment to start the main movement of the left and right milling heads; the algorithm that can be used is: first, according to the actual size of the workpiece (such as length, width and thickness), the specific specifications of the milling head and the total feed stroke of the milling machine Determine the idling stroke of the current workpiece (that is, the feed stroke before the milling head does not touch the workpiece), and then determine the idling feed time of the milling table according to the idling stroke and the feed speed of the milling table along the X axis, and finally get the left and right milling At the start time of the main movement of the head, the main movement of the left and right milling heads is started at this time, which can not only achieve a stable milling effect, but also avoid the energy consumption of the milling head idling. For example, taking the time when the milling table starts to feed along the X axis as the time origin t 0 , and the idling feed time of the milling table is t 1 , the starting time of the main movement of the left and right milling heads is t 0 +t 1 .

左右铣头Y轴定位模块,通过对左铣头定位电机和右铣头定位电机的控制,分别将左铣头和右铣头定位到根据工艺参数采集模块读取到的工件参数和系统参数确定的位置;本模块首先根据工艺参数采集模块读取到的工件参数和系统参数,确定左铣削面和右铣削面的具体位置(也即左右铣头的Y轴目标坐标点),比如根据工件原始宽度、加工后宽度以及宽度先修量、宽度右刀返修光刀量、宽度左刀返修光刀量分别确定左右铣头的Y轴目标坐标点;或者根据工件原始长度、加工后长度以及长度先修量、长度右刀返修光刀量、长度左刀返修光刀量分别确定左右铣头的Y轴目标坐标点,然后启动左铣头定位电机和右铣头定位电机分别将左铣头和右铣头移动到其Y轴目标坐标点上。其中左右铣头的位移大小通过左铣头定位电机和右铣头定位电机的运转时间来控制,左右系统的运动方向通过左铣头定位电机和右铣头定位电机的运转方向来调控。The Y-axis positioning module of the left and right milling heads, by controlling the left milling head positioning motor and the right milling head positioning motor, respectively positions the left milling head and the right milling head to the workpiece parameters and system parameters read by the process parameter acquisition module. This module first determines the specific positions of the left and right milling surfaces (that is, the Y-axis target coordinate points of the left and right milling heads) according to the workpiece parameters and system parameters read by the process parameter acquisition module. The width, the width after processing and the width pre-repair amount, the width right tool rework light knife amount, and the width left knife rework light knife amount respectively determine the Y-axis target coordinate points of the left and right milling heads; or according to the original length of the workpiece, the processed length and the length pre-repair amount , the length of the right tool for repairing the smooth tool, and the length of the left tool for repairing the smooth tool to determine the Y-axis target coordinate points of the left and right milling heads, and then start the left milling head positioning motor and the right milling head positioning motor to move the left and right milling heads to the on its Y-axis target coordinate point. The displacement of the left and right milling heads is controlled by the running time of the left milling head positioning motor and the right milling head positioning motor, and the movement direction of the left and right systems is regulated by the running directions of the left milling head positioning motor and the right milling head positioning motor.

左右铣头主运动驱动模块,通过对左铣头驱动电机和右铣头驱动电机的控制,指令左铣头和右铣头正转、反转或静止;本模块根据左右铣头启动时机判定模块确定的左右铣头主运动的启动时刻t0+t1,通过采用类似于时间延迟函数比如delay语句实现左右铣头主运动的延时启动,比如,假设系统将铣削台开始进给的时刻记为t0,则延时启动左铣头驱动电机和右铣头驱动电机的语句可以为:The left and right milling head main motion drive module, through the control of the left milling head drive motor and the right milling head drive motor, instructs the left milling head and the right milling head to rotate forward, reverse or stand still; this module determines the module according to the starting timing of the left and right milling heads The determined starting time t 0 +t 1 of the main movement of the left and right milling heads is realized by using a similar time delay function such as a delay statement to realize the delayed start of the main movement of the left and right milling heads. If it is t 0 , the statement to start the left milling head driving motor and the right milling head driving motor with delay can be:

Xdriver=1;delay t1;Lmillinghead=1,Rmillinghead=1……Xdriver=1; delay t 1 ; Lmillinghead=1, Rmillinghead=1  …

铣削台X轴进给模块,通过对铣削台驱动电机的控制,指令铣削台沿着X轴正方向或X轴负方向运动,实现工件的X轴进给或复位;本模块首先根据铣床的总进给行程以及铣削台的X轴进给速度计算铣削台完成进给所需要的时间或完成复位所需要的时间,然后指令铣削台驱动电机正转或反转,定量实现铣削台沿X轴的进给或复位。The X-axis feed module of the milling table, through the control of the driving motor of the milling table, instructs the milling table to move along the positive direction of the X-axis or the negative direction of the X-axis to realize the X-axis feeding or reset of the workpiece; The feed stroke and the X-axis feed speed of the milling table calculate the time required for the milling table to complete the feed or complete the reset, and then instruct the milling table to drive the motor forward or reverse to quantitatively realize the milling table along the X axis. feed or reset.

卸料模块,通过对压料杆驱动装置的控制,指令压料杆松开铣削台上的工件;压料杆驱动装置可以是油缸和汽缸,控制部件可以是各种电控开关或电控阀门,优选采用电磁阀实现压料杆驱动装置的控制,示例控制语句为:valve1=0,valve2=1;valve3=1,vlave4=0。The unloading module, through the control of the pressing rod driving device, instructs the pressing rod to release the workpiece on the milling table; the pressing rod driving device can be an oil cylinder and a cylinder, and the control components can be various electronically controlled switches or electronically controlled valves , it is preferable to use a solenoid valve to realize the control of the pressing rod driving device. An example control sentence is: valve1=0, valve2=1; valve3=1, vlave4=0.

以下以长方体工件的铣削工艺为例,对本发明提供的控制系统中的各个功能模块之间的配合进行详细说明,请参考图2,本发明提供的数控铣床的控制方法包括如下工艺步骤:The following takes the milling process of a cuboid workpiece as an example to describe in detail the cooperation between the various functional modules in the control system provided by the present invention. Please refer to FIG. 2. The control method for a numerically controlled milling machine provided by the present invention includes the following process steps:

工艺参数采集步骤,读取参数输入设备输入的工件参数和系统参数;参数输入设备可以是触控屏和/或键盘;可以采用类似于getchar()或scanf()类的系统函数读取参数输入设备输入的工件参数或系统参数,也可以采用直接赋值语句比如width=txtbox1类的赋值语句读取和使用参数输入设备输入的工件参数和系统参数。工件参数包括工件原始宽度、加工后宽度、工件原始长度、加工后长度以及工件厚度等;系统参数包括宽度先修量、长度先修量、宽度右刀返修光刀量、宽度左刀返修光刀量、长度右刀返修光刀量、长度左刀返修光刀量等。The process parameter collection step is to read the workpiece parameters and system parameters input by the parameter input device; the parameter input device can be a touch screen and/or a keyboard; a system function similar to getchar() or scanf() can be used to read the parameter input For the workpiece parameters or system parameters input by the device, you can also use a direct assignment statement such as an assignment statement such as width=txtbox1 to read and use the parameter input device to input the workpiece parameters and system parameters. The workpiece parameters include the original width of the workpiece, the width after processing, the original length of the workpiece, the length after processing, and the thickness of the workpiece; the system parameters include the width pre-repair amount, the length pre-repair amount, the width of the right tool for repairing the smooth tool, the width for the left tool. The length of the right knife to repair the smooth knife, the length of the left knife to repair the smooth knife, etc.

压料步骤,通过对压料杆驱动装置的控制,指令压料杆将工件压紧到铣削台上;压料杆驱动装置可以是油缸和汽缸,控制部件可以是各种电控开关或电控阀门,优选采用电磁阀实现压料杆驱动装置的控制;示例控制语句为:valve1=1,valve2=0;valve3=0,vlave4=1。In the pressing step, through the control of the pressing rod driving device, the pressing rod is instructed to press the workpiece onto the milling table; the pressing rod driving device can be an oil cylinder and a cylinder, and the control components can be various electronic control switches or electronic control For the valve, preferably a solenoid valve is used to realize the control of the pressing rod driving device; an example control statement is: valve1=1, valve2=0; valve3=0, vlave4=1.

左右铣头启动时机判定步骤,根据工艺参数采集步骤读取到的工件参数和系统参数,确定启动左右铣头主运动的具体时刻,也即确定左铣头和/或右铣头开始旋转的具体时刻,以降低左铣头和右铣头的空转能耗;本步骤将根据工件的具体尺寸(比如长度、宽度、厚度)、铣头的具体规格、铣床的总进给行程以及铣削台沿X轴的进给速度确定启动左右铣头主运动的具体时刻;可以采用的算法为:首先根据工件的实际尺寸(比如长度、宽度和厚度)、铣头的具体规格和铣床的总进给行程确定当前工件的空转行程(也即铣头没有接触到工件前的进给行程),然后再根据空转行程和铣削台沿X轴的进给速度确定铣削台的空转进给时间,最终得到左右铣头主运动的启动时刻。例如以铣削台开始沿着X轴进给的时刻为时间的原点t0,铣削台的实际进给时间为t1,则左右铣头主运动的启动时刻为t0+t1The step of determining the starting timing of the left and right milling heads, according to the workpiece parameters and system parameters read in the process parameter collection step, to determine the specific moment of starting the main movement of the left and right milling heads, that is, to determine the specific time when the left milling head and/or the right milling head start to rotate time, to reduce the idling energy consumption of the left and right milling heads; this step will be based on the specific dimensions of the workpiece (such as length, width, thickness), the specific specifications of the milling head, the total feed stroke of the milling machine and the milling table along the X The feed speed of the axis determines the specific moment to start the main movement of the left and right milling heads; the algorithm that can be used is: first, determine the actual size of the workpiece (such as length, width and thickness), the specific specifications of the milling head and the total feed stroke of the milling machine. The idling stroke of the current workpiece (that is, the feed stroke before the milling head does not touch the workpiece), and then the idling feed time of the milling table is determined according to the idling stroke and the feed speed of the milling table along the X axis, and finally the left and right milling heads are obtained. The starting moment of the main movement. For example, take the time when the milling table starts to feed along the X axis as the time origin t 0 , and the actual feed time of the milling table is t 1 , then the start time of the main movement of the left and right milling heads is t 0 +t 1 .

左右铣头Y轴定位步骤,通过对左铣头定位电机和右铣头定位电机的控制,分别将左铣头和右铣头定位到根据工艺参数采集步骤读取到的工件参数和系统参数确定的位置;本步骤首先根据工艺参数采集模块读取到的工件参数和系统参数,确定左铣削面和右铣削面的具体位置(也即左右铣头的Y轴目标坐标点),比如根据工件原始宽度、加工后宽度以及宽度先修量、宽度右刀返修光刀量、宽度左刀返修光刀量分别确定左右铣头的Y轴目标坐标点;或者根据工件原始长度、加工后长度以及长度先修量、长度右刀返修光刀量、长度左刀返修光刀量分别确定左右铣头的Y轴目标坐标点;然后启动左铣头定位电机和右铣头定位电机分别将左铣头和右铣头移动到其Y轴目标坐标点上。其中左右铣头的位移大小通过左铣头定位电机和右铣头定位电机的运转时间来控制,左右系统的运动方向通过左铣头定位电机和右铣头定位电机的运转方向来调控。In the Y-axis positioning step of the left and right milling heads, through the control of the left milling head positioning motor and the right milling head positioning motor, the left milling head and the right milling head are respectively positioned to the workpiece parameters and system parameters read according to the process parameter collection step. In this step, first determine the specific positions of the left and right milling surfaces (that is, the Y-axis target coordinate points of the left and right milling heads) according to the workpiece parameters and system parameters read by the process parameter acquisition module. The width, the width after processing and the width pre-repair amount, the width right tool rework light knife amount, and the width left knife rework light knife amount respectively determine the Y-axis target coordinate points of the left and right milling heads; or according to the original length of the workpiece, the processed length and the length pre-repair amount , the length of the right tool and the length of the left tool, respectively, determine the Y-axis target coordinate points of the left and right milling heads; then start the left milling head positioning motor and the right milling head positioning motor to move the left and right milling heads to the on its Y-axis target coordinate point. The displacement of the left and right milling heads is controlled by the running time of the left milling head positioning motor and the right milling head positioning motor, and the movement direction of the left and right systems is regulated by the running directions of the left milling head positioning motor and the right milling head positioning motor.

左右铣头主运动驱动步骤,通过对左铣头驱动电机和右铣头驱动电机的控制,指令左铣头和右铣头在左右铣头启动时机判定步骤中确定的主运动启动时刻正转、反转或静止;本步骤根据左右铣头启动时机判定步骤中确定的左右铣头主运动的启动时刻t0+t1,通过采用类似于时间延迟函数比如delay语句实现左右铣头主运动的延时启动,比如,假设系统将铣削台开始进给的时刻记为t0,则延时启动左铣头驱动电机和右铣头驱动电机的语句可以为:In the main motion driving step of the left and right milling heads, through the control of the left milling head driving motor and the right milling head driving motor, the left milling head and the right milling head are instructed to rotate forward at the main motion start time determined in the left and right milling head start timing determination step. Reverse or stand still; this step is based on the starting time t 0 +t 1 of the main movement of the left and right milling heads determined in the step of determining the starting timing of the left and right milling heads, and the delay of the main movement of the left and right milling heads is realized by using a similar time delay function such as a delay statement. For example, if the system records the moment when the milling table starts to feed as t 0 , the statement to start the left milling head drive motor and the right milling head drive motor with delay can be:

Xdriver=1;delay t1;Lmillinghead=1,Rmillinghead=1……Xdriver=1; delay t 1 ; Lmillinghead=1, Rmillinghead=1  …

铣削台X轴进给步骤,通过对铣削台驱动电机的控制,指令铣削台沿着X轴正方向或X轴负方向运动,实现工件的X轴进给或复位;本步骤首先根据铣床的总进给行程以及铣削台的X轴进给速度计算铣削台完成进给所需要的时间或完成复位所需要的时间,然后指令铣削台驱动电机正转或反转,定量实现铣削台沿X轴的进给或复位。In the X-axis feeding step of the milling table, through the control of the driving motor of the milling table, the milling table is instructed to move along the positive direction of the X-axis or the negative direction of the X-axis to realize the X-axis feeding or reset of the workpiece; this step is based on the total operation of the milling machine. The feed stroke and the X-axis feed speed of the milling table calculate the time required for the milling table to complete the feed or complete the reset, and then instruct the milling table to drive the motor forward or reverse to quantitatively realize the milling table along the X axis. feed or reset.

卸料步骤,通过对压料杆驱动装置的控制,指令压料杆松开铣削台上的工件;压料杆驱动装置可以是油缸和汽缸,控制部件可以是各种电控开关或电控阀门,优选采用电磁阀实现压料杆驱动装置的控制,示例控制语句为:valve1=0,valve2=1;valve3=1,vlave4=0。In the unloading step, through the control of the pressing rod driving device, the pressing rod is instructed to release the workpiece on the milling table; the pressing rod driving device can be an oil cylinder and a cylinder, and the control components can be various electronically controlled switches or electronically controlled valves. , it is preferable to use a solenoid valve to realize the control of the pressing rod driving device. An example control sentence is: valve1=0, valve2=1; valve3=1, vlave4=0.

在本发明一个改进的实施例中,适用的数控双头铣床上于铣削台的两侧还设置有左铣削面检测装置和右铣削面检测装置,相应地,数控双头铣床的控制系统还包括左铣削面检测数据接收模块和右铣削面检测数据接收模块(请参阅图1中虚线部分所示);在此改进的优选实施例中,左右铣头Y轴定位模块同时根据工艺参数采集模块读取到的工件参数和系统参数以及左铣削面检测数据接收模块和右铣削面检测数据接收模块接收到的检测数据确定左铣头和右铣头的具体位置。左右铣头启动时机判定模块同时根据工艺参数采集模块读取到的工件参数和系统参数以及左铣削面检测数据接收模块和右铣削面检测数据接收模块接收到的检测数据确定调用左右铣头主运动驱动模块的时机。与控制系统相对应,上述改进的实施例中数控双头铣床的控制方法还包括左铣削面检测数据接收步骤和右铣削面检测数据接收步骤(请参阅图2中虚线部分所示);在此改进的优选实施例中,左右铣头Y轴定位步骤同时根据工艺参数采集步骤读取到的工件参数和系统参数以及左铣削面检测数据接收步骤和右铣削面检测数据接收步骤接收到的检测数据确定左铣头和右铣头的具体位置。左右铣头启动时机判定步骤同时根据工艺参数采集步骤读取到的工件参数和系统参数以及左铣削面检测数据接收步骤和右铣削面检测数据接收步骤接收到的检测数据确定调用左右铣头主运动驱动步骤的时机。In an improved embodiment of the present invention, the applicable CNC double-head milling machine is further provided with a left milling surface detection device and a right milling surface detection device on both sides of the milling table. Correspondingly, the control system of the CNC double-head milling machine further includes: The left milling surface detection data receiving module and the right milling surface detection data receiving module (refer to the dashed part in Fig. 1); The acquired workpiece parameters and system parameters and the detection data received by the left milling surface detection data receiving module and the right milling surface detection data receiving module determine the specific positions of the left milling head and the right milling head. The left and right milling head start-up timing determination module determines to call the main motion of the left and right milling heads according to the workpiece parameters and system parameters read by the process parameter acquisition module, as well as the detection data received by the left milling surface detection data receiving module and the right milling surface detection data receiving module. Timing of the drive module. Corresponding to the control system, the control method of the numerically controlled double-head milling machine in the above-mentioned improved embodiment also includes a left milling surface detection data receiving step and a right milling surface detection data receiving step (refer to Fig. 2 shown in the dotted line); here In the improved preferred embodiment, the Y-axis positioning step of the left and right milling heads is simultaneously based on the workpiece parameters and system parameters read in the process parameter collection step, and the detection data received in the left milling surface detection data receiving step and the right milling surface detection data receiving step. Determine the exact location of the left and right milling heads. The step of determining the starting timing of the left and right milling heads is determined to call the main motion of the left and right milling heads according to the workpiece parameters and system parameters read in the process parameter collection step, as well as the detection data received in the left milling surface detection data receiving step and the right milling surface detection data receiving step. Timing of the drive step.

通过检测数据和参数输入设备输入的工件参数和系统参数之间的对比和验证,可以降低系统误差,进一步提高铣头主运动启动时机判定模块或判定步骤的准确性和可靠性。By comparing and verifying the workpiece parameters and system parameters inputted by the detection data and parameter input equipment, the system error can be reduced, and the accuracy and reliability of the determination module or determination steps of the main movement start timing of the milling head can be further improved.

以上结合说明书附图对本发明的优选实施例进行了详细阐述,应该说明的是,本发明的保护范围包括但不限于上述实施例;说明书附图中公开的具体结构也只是本发明的较佳实施方式,所述领域的技术人员还可以在此基础上开发出其他实施例,任何不脱离本发明创新理念的简单变形或等同替换,均涵盖于本发明,属于本发明的保护范围。The preferred embodiments of the present invention have been described in detail above with reference to the accompanying drawings. It should be noted that the protection scope of the present invention includes but is not limited to the above-mentioned embodiments; the specific structures disclosed in the accompanying drawings are only preferred implementations of the present invention. On this basis, those skilled in the art can also develop other embodiments, and any simple deformation or equivalent replacement that does not depart from the innovative concept of the present invention is covered by the present invention and belongs to the protection scope of the present invention.

Claims (10)

1.一种数控双头铣床的控制方法,适用的数控双头铣床包括铣削台、设置在铣削台两侧的左铣头和右铣头,以及设置在铣削台上部的压料杆;所述铣削台可以在铣削台驱动电机的驱动下沿着X轴进给;所述左铣头和所述右铣头可以分别在左铣头定位电机和右铣头定位电机的驱动下沿着Y轴进刀或退刀,还可以在左铣头驱动电机和右铣头驱动电机的驱动下旋转或静止;所述压料杆可以在压料杆驱动装置的驱动下压紧或松开所述铣削台上的工件,其特征在于,该数控双头铣床的控制方法包括如下步骤:1. A control method of a CNC double-head milling machine, the applicable CNC double-head milling machine comprises a milling table, a left milling head and a right milling head arranged on both sides of the milling table, and a pressing rod arranged on the upper part of the milling table; the The milling table can be fed along the X axis under the driving of the milling table driving motor; the left milling head and the right milling head can be respectively driven along the Y axis by the left milling head positioning motor and the right milling head positioning motor The tool feeding or retracting can also be rotated or stationary under the driving of the left milling head driving motor and the right milling head driving motor; the pressing rod can be driven by the pressing rod driving device to press or release the milling The workpiece on the table is characterized in that the control method of the CNC double-head milling machine comprises the following steps: 工艺参数采集步骤,读取参数输入设备输入的工件参数和系统参数;The process parameter collection step is to read the workpiece parameters and system parameters input by the parameter input device; 压料步骤,通过对压料杆驱动装置的控制,指令压料杆将工件压紧到铣削台上;In the pressing step, through the control of the pressing rod driving device, the pressing rod is instructed to press the workpiece onto the milling table; 左右铣头启动时机判定步骤,根据工艺参数采集步骤读取到的工件参数和系统参数,确定启动左右铣头主运动的具体时刻,也即确定左铣头和右铣头开始旋转的具体时刻,以降低左铣头和右铣头的空转能耗;In the step of determining the starting timing of the left and right milling heads, according to the workpiece parameters and system parameters read in the process parameter collection step, determine the specific moment of starting the main movement of the left and right milling heads, that is, determine the specific moment when the left and right milling heads start to rotate. In order to reduce the idling energy consumption of the left and right milling heads; 左右铣头Y轴定位步骤,通过对左铣头定位电机和右铣头定位电机的控制,分别将左铣头和右铣头定位到根据工艺参数采集步骤读取到的工件参数和系统参数确定的位置;In the Y-axis positioning step of the left and right milling heads, through the control of the left milling head positioning motor and the right milling head positioning motor, the left milling head and the right milling head are respectively positioned to the workpiece parameters and system parameters read according to the process parameter collection step. s position; 左右铣头主运动驱动步骤,通过对左铣头驱动电机和右铣头驱动电机的控制,指令左铣头和右铣头在所述左右铣头启动时机判定步骤中确定的主运动启动时刻正转、反转或静止;In the main motion driving step of the left and right milling heads, by controlling the left milling head driving motor and the right milling head driving motor, the left milling head and the right milling head are instructed to be positive at the main motion start time determined in the step of determining the start timing of the left and right milling heads. turn, reverse or stand still; 铣削台X轴进给步骤,通过对铣削台驱动电机的控制,指令铣削台沿着X轴正方向或X轴负方向运动,实现工件的X轴进给或复位;In the X-axis feeding step of the milling table, through the control of the driving motor of the milling table, the milling table is instructed to move along the positive direction of the X-axis or the negative direction of the X-axis to realize the X-axis feeding or reset of the workpiece; 卸料步骤,通过对压料杆驱动装置的控制,指令压料杆松开铣削台上的工件;In the unloading step, through the control of the pressing rod driving device, the pressing rod is instructed to release the workpiece on the milling table; 在所述左右铣头启动时机判定步骤中,所述左铣头和右铣头开始旋转的具体时刻,迟于所述左右铣头Y轴定位步骤中左右铣头开始Y轴定位的时刻以及所述铣削台X轴进给步骤中铣削台开始X轴进给的时刻,以使得左右铣头在铣削台的空转进给时间里,不会发生旋转运动,从而降低了空转能耗。In the step of determining the starting timing of the left and right milling heads, the specific moment when the left and right milling heads start to rotate is later than the moment when the left and right milling heads start Y-axis positioning in the Y-axis positioning step of the left and right milling heads and all In the X-axis feeding step of the milling table, the moment when the milling table starts to feed the X-axis, so that the left and right milling heads do not rotate during the idling feed time of the milling table, thereby reducing the idling energy consumption. 2.根据权利要求1所述的数控双头铣床的控制方法,其特征在于:适用的数控双头铣床上于铣削台的两侧还设置有左铣削面检测装置和/或右铣削面检测装置,相应地,所述数控双头铣床的控制方法还包括左铣削面检测数据接收步骤和/或右铣削面检测数据接收步骤;所述左右铣头Y轴定位步骤根据工艺参数采集步骤读取到的工件参数和系统参数以及左铣削面检测数据接收步骤和/或右铣削面检测数据接收步骤接收到的检测数据确定左铣头和右铣头的具体位置。2. The control method of the CNC double-head milling machine according to claim 1, wherein the applicable CNC double-head milling machine is also provided with a left milling surface detection device and/or a right milling surface detection device on both sides of the milling table , correspondingly, the control method of the CNC double-head milling machine further includes a left milling surface detection data receiving step and/or a right milling surface detection data receiving step; the Y-axis positioning step of the left and right milling heads reads according to the process parameter collection step. The workpiece parameters and system parameters as well as the detection data received by the left milling surface detection data receiving step and/or the right milling surface detection data receiving step determine the specific positions of the left milling head and the right milling head. 3.根据权利要求1所述的数控双头铣床的控制方法,其特征在于:适用的数控双头铣床上于铣削台的两侧还设置有左铣削面检测装置和/或右铣削面检测装置,相应地,所述数控双头铣床的控制方法还包括左铣削面检测数据接收步骤和/或右铣削面检测数据接收步骤;所述左右铣头启动时机判定步骤根据工艺参数采集步骤读取到的工件参数和系统参数以及左铣削面检测数据接收步骤和/或右铣削面检测数据接收步骤接收到的检测数据确定调用左右铣头主运动驱动步骤的时机。3. The control method of the CNC double-head milling machine according to claim 1, wherein the applicable CNC double-head milling machine is also provided with a left milling surface detection device and/or a right milling surface detection device on both sides of the milling table Correspondingly, the control method of the CNC double-head milling machine further includes a left milling surface detection data receiving step and/or a right milling surface detection data receiving step; the step of determining the startup timing of the left and right milling heads reads according to the process parameter collection step. The workpiece parameters and system parameters as well as the detection data received by the left milling surface detection data receiving step and/or the right milling surface detection data receiving step determine the timing of invoking the left and right milling head main motion driving steps. 4.根据权利要求1所述的数控双头铣床的控制方法,其特征在于:所述参数输入设备为触控屏和/或键盘,所述工艺参数采集步骤读取到的工件参数包括工件原始宽度、加工后宽度、工件原始长度、加工后长度以及工件厚度;所述工艺参数采集步骤读取到的系统参数包括宽度先修量、长度先修量、宽度右刀返修光刀量、宽度左刀返修光刀量、长度右刀返修光刀量和长度左刀返修光刀量。4. The method for controlling a numerically controlled double-head milling machine according to claim 1, wherein the parameter input device is a touch screen and/or a keyboard, and the workpiece parameters read in the process parameter collection step include the original workpiece parameters. Width, width after processing, original length of workpiece, length after processing, and thickness of workpiece; the system parameters read in the process parameter collection step include width pre-repair amount, length pre-repair amount, width right knife repair light knife amount, width left knife The amount of rework light knife, the length of the right knife and the length of the left knife. 5.根据权利要求2或3所述的数控双头铣床的控制方法,其特征在于:所述左铣削面检测数据接收步骤和/或右铣削面检测数据接收步骤接收到的检测数据包括工件的宽度测量值和工件的长度测量值。5. The control method of a numerically controlled double-head milling machine according to claim 2 or 3, wherein the detection data received in the left milling surface detection data receiving step and/or the right milling surface detection data receiving step includes the workpiece Width measurements and length measurements of the workpiece. 6.一种数控双头铣床的控制系统,适用的数控双头铣床包括铣削台、设置在铣削台两侧的左铣头和右铣头,以及设置在铣削台上部的压料杆;所述铣削台可以在铣削台驱动电机的驱动下沿着X轴进给;所述左铣头和所述右铣头可以分别在左铣头定位电机和右铣头定位电机的驱动下沿着Y轴进刀或退刀,还可以在左铣头驱动电机和右铣头驱动电机的驱动下旋转或静止;所述压料杆可以在压料杆驱动装置的驱动下压紧或松开所述铣削台上的工件,其特征在于,该数控双头铣床的控制系统包括如下功能模块:6. A control system for a CNC double-head milling machine, the applicable CNC double-head milling machine comprises a milling table, a left milling head and a right milling head arranged on both sides of the milling table, and a pressing rod arranged on the upper part of the milling table; the The milling table can be fed along the X axis under the driving of the milling table driving motor; the left milling head and the right milling head can be respectively driven along the Y axis by the left milling head positioning motor and the right milling head positioning motor The tool feeding or retracting can also be rotated or stationary under the driving of the left milling head driving motor and the right milling head driving motor; the pressing rod can be driven by the pressing rod driving device to press or release the milling The workpiece on the table is characterized in that the control system of the CNC double-head milling machine includes the following functional modules: 工艺参数采集模块,读取参数输入设备输入的工件参数和系统参数;The process parameter acquisition module reads the workpiece parameters and system parameters input by the parameter input device; 压料模块,通过对压料杆驱动装置的控制,指令压料杆将工件压紧到铣削台上;The pressing module, by controlling the driving device of the pressing rod, instructs the pressing rod to press the workpiece onto the milling table; 左右铣头启动时机判定模块,根据工艺参数采集模块读取到的工件参数和系统参数,确定启动左右铣头主运动的具体时刻,也即确定左铣头和右铣头开始旋转的具体时刻,以降低左铣头和右铣头的空转能耗;The left and right milling heads start timing determination module, according to the workpiece parameters and system parameters read by the process parameter acquisition module, to determine the specific time to start the main movement of the left and right milling heads, that is, to determine the specific time when the left and right milling heads start to rotate. In order to reduce the idling energy consumption of the left and right milling heads; 左右铣头Y轴定位模块,通过对左铣头定位电机和右铣头定位电机的控制,分别将左铣头和右铣头定位到根据工艺参数采集模块读取到的工件参数和系统参数确定的位置;The Y-axis positioning module of the left and right milling heads, by controlling the left milling head positioning motor and the right milling head positioning motor, respectively positions the left milling head and the right milling head to the workpiece parameters and system parameters read by the process parameter acquisition module. s position; 左右铣头主运动驱动模块,通过对左铣头驱动电机和右铣头驱动电机的控制,指令左铣头和右铣头在所述左右铣头启动时机判定模块中确定的主运动启动时刻正转、反转或静止;The left and right milling head main motion drive module, through the control of the left milling head drive motor and the right milling head drive motor, instructs the left milling head and the right milling head to be positive at the main motion start time determined in the left and right milling head start timing determination module. turn, reverse or stand still; 铣削台X轴进给模块,通过对铣削台驱动电机的控制,指令铣削台沿着X轴正方向或X轴负方向运动,实现工件的X轴进给或复位;The X-axis feed module of the milling table, through the control of the driving motor of the milling table, instructs the milling table to move along the positive direction of the X-axis or the negative direction of the X-axis to realize the X-axis feeding or reset of the workpiece; 卸料模块,通过对压料杆驱动装置的控制,指令压料杆松开铣削台上的工件;The unloading module, through the control of the pressing rod driving device, instructs the pressing rod to release the workpiece on the milling table; 在所述左右铣头启动时机判定模块中,所述左铣头和右铣头开始旋转的具体时刻,迟于所述左右铣头Y轴定位模块中左右铣头开始Y轴定位的时刻以及所述铣削台X轴进给模块中铣削台开始X轴进给的时刻,以使得左右铣头在铣削台的空转进给时间里,不会发生旋转运动,从而降低了空转能耗。In the left and right milling head startup timing determination module, the specific moment when the left and right milling heads start to rotate is later than the moment when the left and right milling heads start Y-axis positioning in the left and right milling head Y-axis positioning module and all The time when the milling table starts to feed the X-axis in the X-axis feed module of the milling table, so that the left and right milling heads do not rotate during the idling feed time of the milling table, thereby reducing the idling energy consumption. 7.根据权利要求6所述的数控双头铣床的控制系统,其特征在于:适用的数控双头铣床上于铣削台的两侧还设置有左铣削面检测装置和/或右铣削面检测装置,相应地,所述数控双头铣床的控制系统还包括左铣削面检测数据接收模块和/或右铣削面检测数据接收模块;所述左右铣头Y轴定位模块根据工艺参数采集模块读取到的工件参数和系统参数以及左铣削面检测数据接收模块和/或右铣削面检测数据接收模块接收到的检测数据确定左铣头和右铣头的具体位置。7. The control system of the CNC double-head milling machine according to claim 6, wherein the applicable CNC double-head milling machine is also provided with a left milling surface detection device and/or a right milling surface detection device on both sides of the milling table , correspondingly, the control system of the CNC double-head milling machine further includes a left milling surface detection data receiving module and/or a right milling surface detection data receiving module; the Y-axis positioning module of the left and right milling heads reads according to the process parameter acquisition module. The workpiece parameters and system parameters and the detection data received by the left milling surface detection data receiving module and/or the right milling surface detection data receiving module determine the specific positions of the left milling head and the right milling head. 8.根据权利要求6所述的数控双头铣床的控制系统,其特征在于:适用的数控双头铣床上于铣削台的两侧还设置有左铣削面检测装置和/或右铣削面检测装置,相应地,所述数控双头铣床的控制系统还包括左铣削面检测数据接收模块和/或右铣削面检测数据接收模块;所述左右铣头启动时机判定模块根据工艺参数采集模块读取到的工件参数和系统参数以及左铣削面检测数据接收模块和/或右铣削面检测数据接收模块接收到的检测数据确定调用左右铣头主运动驱动模块的时机。8. The control system of the CNC double-head milling machine according to claim 6, wherein the applicable CNC double-head milling machine is also provided with a left milling surface detection device and/or a right milling surface detection device on both sides of the milling table Correspondingly, the control system of the CNC double-head milling machine further includes a left milling surface detection data receiving module and/or a right milling surface detection data receiving module; the left and right milling heads start timing determination module reads according to the process parameter acquisition module The workpiece parameters and system parameters of the machine and the detection data received by the left milling surface detection data receiving module and/or the right milling surface detection data receiving module determine the timing of invoking the left and right milling head main motion drive modules. 9.根据权利要求6所述的数控双头铣床的控制系统,其特征在于:所述参数输入设备为触控屏和/或键盘,所述工艺参数采集模块读取到的工件参数包括工件原始宽度、加工后宽度、工件原始长度、加工后长度以及工件厚度;所述工艺参数采集模块读取到的系统参数包括宽度先修量、长度先修量、宽度右刀返修光刀量、宽度左刀返修光刀量、长度右刀返修光刀量和长度左刀返修光刀量。9 . The control system of the CNC double-head milling machine according to claim 6 , wherein the parameter input device is a touch screen and/or a keyboard, and the workpiece parameters read by the process parameter acquisition module include the original workpiece parameters. 10 . Width, width after processing, original length of workpiece, length after processing, and thickness of workpiece; the system parameters read by the process parameter acquisition module include width pre-repair amount, length pre-repair amount, width right knife repair light knife amount, width left knife The amount of rework light knife, the length of the right knife and the length of the left knife. 10.根据权利要求7或8所述的数控双头铣床的控制系统,其特征在于:所述左铣削面检测数据接收模块和/或右铣削面检测数据接收模块接收到的检测数据包括工件的宽度测量值和工件的长度测量值。10. The control system of a numerically controlled double-head milling machine according to claim 7 or 8, wherein the detection data received by the left milling surface detection data receiving module and/or the right milling surface detection data receiving module includes the detection data of the workpiece. Width measurements and length measurements of the workpiece.
CN201710321848.8A 2017-05-09 2017-05-09 A kind of control method and its corresponding control system of digital-control two-head milling machine Active CN107132816B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710321848.8A CN107132816B (en) 2017-05-09 2017-05-09 A kind of control method and its corresponding control system of digital-control two-head milling machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710321848.8A CN107132816B (en) 2017-05-09 2017-05-09 A kind of control method and its corresponding control system of digital-control two-head milling machine

Publications (2)

Publication Number Publication Date
CN107132816A CN107132816A (en) 2017-09-05
CN107132816B true CN107132816B (en) 2019-07-19

Family

ID=59733013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710321848.8A Active CN107132816B (en) 2017-05-09 2017-05-09 A kind of control method and its corresponding control system of digital-control two-head milling machine

Country Status (1)

Country Link
CN (1) CN107132816B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108213525A (en) * 2016-12-15 2018-06-29 东莞市固达机械制造有限公司 A kind of double-head milling machine control method and corresponding control system
CN107544434B (en) * 2017-09-25 2019-05-17 东莞市固达机械制造有限公司 A kind of two-sided milling control method and its control system for numerical control plane milling machine
CN115220398A (en) * 2022-08-22 2022-10-21 山推工程机械股份有限公司 a milling machine

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101367173A (en) * 2008-09-16 2009-02-18 重庆大学 A method for implementing energy-saving shutdown during no-load operation between adjacent steps of CNC machine tools
CN104750026A (en) * 2013-12-27 2015-07-01 兄弟工业株式会社 A numerical control device
CN104759667A (en) * 2015-03-17 2015-07-08 温惠珍 Double-surface numerical-control milling machine
CN105607529A (en) * 2014-11-03 2016-05-25 麦克隆·阿杰·查米莱斯股份公司 Standby control for machine tools
CN105629869A (en) * 2014-10-31 2016-06-01 西安扩力机电科技有限公司 Automatic regulation and control method for machining process of numerical control machine tool
CN106256468A (en) * 2016-08-18 2016-12-28 宁波川田精密机械有限公司 A kind of duplex head milling machine

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7853351B2 (en) * 2002-02-21 2010-12-14 Gary John Corey CNC machine tool and integrated machine tool controller incorporating 3D and up to 8-axes real time interactive tool compensation
TWI472399B (en) * 2012-02-10 2015-02-11 中原大學 Online cutting tool real-time monitoring method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101367173A (en) * 2008-09-16 2009-02-18 重庆大学 A method for implementing energy-saving shutdown during no-load operation between adjacent steps of CNC machine tools
CN104750026A (en) * 2013-12-27 2015-07-01 兄弟工业株式会社 A numerical control device
CN105629869A (en) * 2014-10-31 2016-06-01 西安扩力机电科技有限公司 Automatic regulation and control method for machining process of numerical control machine tool
CN105607529A (en) * 2014-11-03 2016-05-25 麦克隆·阿杰·查米莱斯股份公司 Standby control for machine tools
CN104759667A (en) * 2015-03-17 2015-07-08 温惠珍 Double-surface numerical-control milling machine
CN106256468A (en) * 2016-08-18 2016-12-28 宁波川田精密机械有限公司 A kind of duplex head milling machine

Also Published As

Publication number Publication date
CN107132816A (en) 2017-09-05

Similar Documents

Publication Publication Date Title
US9533359B2 (en) Drilling apparatus and method
CN107132816B (en) A kind of control method and its corresponding control system of digital-control two-head milling machine
CN103433776A (en) Composite fixture with measurable pressure
CN103878588B (en) Metalwork processing method
JP6457177B2 (en) Machine tool control system
CN219380134U (en) Square flexible constant force control polishing mechanism
TWI605905B (en) Tool detection system and tool detection method
CN204487208U (en) For processing the fraise jig of bow groove
JP2018051725A (en) Tool edge position measuring method and machine tool
JP2014121782A (en) Lathe control system
CN108213525A (en) A kind of double-head milling machine control method and corresponding control system
CN103878589A (en) Metal piece machining method
CN104191093A (en) Laser cutting machine with automatic positioning function
CN206662444U (en) A kind of back to zero system of spark-erosion machine tool
JPH10193239A (en) Working device
JP5072743B2 (en) Micromachine and micromilling machine
CN105252327B (en) Processing and positioning device and lathe
CN114713707A (en) Plate blanking machine and plate blanking method
CN208116935U (en) A kind of vision positioning structure for electric spark shaping mill
CN207656328U (en) Clamping Right Angle Positioning Device
CN220480619U (en) Numerical control cutting positioning guide device
CN104708146A (en) Use method of multifunctional tool for machining bevel by wire-electrode cutting
TW201318749A (en) Laser processing device for three-dimensional circuit
CN211052839U (en) Laser welding machine suitable for welding T-shaped stainless steel strips of various specifications
CN206500891U (en) It is machined general tray

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 523000 Building F, Kairuifeng Industrial Park, 137 Changdong Road, Banshicun, Changping Town, Dongguan City, Guangdong Province

Patentee after: DONGGUAN GOODA MACHINERY MANUFACTURING CO.,LTD.

Address before: Huangjiang Town diaolang village Hongfu Road, Dongguan City, 523000 Guangdong Province

Patentee before: DONGGUAN GOODA MACHINERY MANUFACTURING CO.,LTD.

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A Control Method and Corresponding Control System for CNC Double End Milling Machine

Granted publication date: 20190719

Pledgee: Zhuhai China Resources Bank Co.,Ltd. Dongguan Branch

Pledgor: DONGGUAN GOODA MACHINERY MANUFACTURING CO.,LTD.

Registration number: Y2024980000665

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Granted publication date: 20190719

Pledgee: Zhuhai China Resources Bank Co.,Ltd. Dongguan Branch

Pledgor: DONGGUAN GOODA MACHINERY MANUFACTURING CO.,LTD.

Registration number: Y2024980000665