CN115903159A - Multi-axis synchronous motion control method and control system of optical fiber wiring machine - Google Patents
Multi-axis synchronous motion control method and control system of optical fiber wiring machine Download PDFInfo
- Publication number
- CN115903159A CN115903159A CN202211567451.4A CN202211567451A CN115903159A CN 115903159 A CN115903159 A CN 115903159A CN 202211567451 A CN202211567451 A CN 202211567451A CN 115903159 A CN115903159 A CN 115903159A
- Authority
- CN
- China
- Prior art keywords
- wiring
- optical fiber
- data
- axis
- plc
- 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.)
- Pending
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Mechanical Light Control Or Optical Switches (AREA)
Abstract
Description
技术领域technical field
本发明涉及光纤布线机领域,尤其涉及一种光纤布线机的多轴同步运动控制方法及其控制系统。The invention relates to the field of optical fiber wiring machines, in particular to a method for controlling multi-axis synchronous motion of an optical fiber wiring machine and a control system thereof.
背景技术Background technique
现有的施工工艺中,通常是在光背板上进行光纤布线作业,光纤布线之前一般需要通过CAD生成布线轨迹,然后以显示器或者投影将光纤的布线轨迹显示在工作台上,以此来引导作业员进行手工布线,此种方式虽然能够满足施工需求,但是在光纤布置数量较大的情况下,大量的光纤缠绕时,会导致作业员无法清晰地辨认光纤所对应的端口,不仅容易导致布线错误,降低产品的良品率,而且整体效率较低。In the existing construction process, the optical fiber wiring operation is usually performed on the optical backplane. Before the optical fiber wiring, it is generally necessary to generate the wiring trace through CAD, and then display the optical fiber wiring trace on the workbench with a monitor or projection to guide the work. Although this method can meet the construction needs, in the case of a large number of optical fibers, when a large number of optical fibers are wound, the operator cannot clearly identify the corresponding port of the optical fiber, which not only easily leads to wiring errors , reduce the yield rate of the product, and the overall efficiency is low.
发明内容Contents of the invention
本发明针对现有技术存在的不足,提供了一种光纤布线机的多轴同步运动控制方法及其控制系统,具体技术方案如下:Aiming at the deficiencies in the prior art, the present invention provides a multi-axis synchronous motion control method and a control system for an optical fiber wiring machine. The specific technical solutions are as follows:
一种光纤布线机的多轴同步运动控制方法,包括以下步骤:A multi-axis synchronous motion control method for an optical fiber wiring machine, comprising the following steps:
通过上位机将解析获得的布线路径数据以太网传输的方式发送至下位PLC,通过所述下位PLC将布线路径数据转换成机械手臂模组在X、Y轴上运动的轨迹坐标,通过所述下位PLC控制R轴伺服组、步进电机与伺服电机以所述轨迹坐标确定送线速度以及送线方向,采用PLC周期控制同步运动功能的方式进行同步送线。The upper computer sends the wiring path data obtained by analysis to the lower PLC through Ethernet transmission, and the wiring path data is converted into the trajectory coordinates of the mechanical arm module on the X and Y axes through the lower PLC, and through the lower PLC The PLC controls the R-axis servo group, stepping motor and servo motor to determine the wire feeding speed and wire feeding direction based on the trajectory coordinates, and uses the PLC cycle control synchronous motion function to perform synchronous wire feeding.
作为上述技术方案的改进,所述通过上位机将解析获得的布线路径数据以太网传输的方式发送至下位PLC,包括:通过上位机解析布线路径基础数据以获得的布线路径数据,通过以太网将布线路径数据发送至下位PLC,所述布线路径基础数据以CAD预生成并以EXCEL形式进行存储。As an improvement of the above-mentioned technical solution, the method of transmitting the wiring path data obtained by parsing to the lower PLC through the upper computer through Ethernet transmission includes: the wiring path data obtained by analyzing the basic data of the wiring path through the upper computer, and transmitting the wiring path data through Ethernet The wiring path data is sent to the lower PLC, and the basic wiring path data is pre-generated in CAD and stored in the form of EXCEL.
作为上述技术方案的改进,所述通过上位机解析布线路径基础数据以获得的布线路径数据,包括:As an improvement of the above technical solution, the wiring path data obtained by parsing the basic data of the wiring path by the host computer includes:
通过上位机对多根光纤布线路径的轨迹数据进行逐根解析,并进行计算以获得进线总轨迹点数、布线总轨迹点数以及出线总轨迹点数。Through the host computer, analyze the track data of multiple optical fiber wiring paths one by one, and calculate to obtain the total track points of incoming lines, total wiring track points and total track points of outgoing lines.
作为上述技术方案的改进,所述通过所述下位PLC将布线路径数据转换成机械手臂模组在X、Y轴上运动的轨迹坐标,包括:As an improvement of the above technical solution, the conversion of the wiring path data into the trajectory coordinates of the movement of the robot arm module on the X and Y axes through the lower PLC includes:
作为上述技术方案的改进,所述下位PLC将所述进线总轨迹点数循环执行导入坐标数据进入缓存区以获取光纤进线轨迹及轨迹坐标,所述下位PLC将所述布线总轨迹点数循环执行导入坐标数据进入缓存区以获取光纤布线轨迹及轨迹坐标,所述下位PLC将所述出线总轨迹点数循环执行导入坐标数据进入缓存区以获取光纤出线轨迹及轨迹坐标。As an improvement of the above technical solution, the lower PLC cyclically executes the total track points of the incoming line and imports the coordinate data into the buffer area to obtain the optical fiber incoming line track and track coordinates, and the lower PLC performs circular execution of the total track points of the wiring The imported coordinate data enters the buffer area to obtain the optical fiber wiring track and track coordinates, and the lower PLC executes the cyclic execution of the total outgoing track points to import the coordinate data into the buffer area to obtain the optical fiber outgoing line track and track coordinates.
作为上述技术方案的改进,所述下位PLC包括有数据寄存器,所述数据寄存器包括有公共数据寄存区、进线数据寄存区、布线数据寄存区、出线数据寄存区。As an improvement of the above technical solution, the lower PLC includes a data register, and the data register includes a public data storage area, an incoming line data storage area, a wiring data storage area, and an outgoing line data storage area.
一种光纤布线机的多轴同步运动控制系统,应用于前述技术方案中所述的一种光纤布线机的多轴同步运动控制方法,包括:上位机、PLC控制器、机械手臂模组以及滑轮组。A multi-axis synchronous motion control system for an optical fiber wiring machine, which is applied to the multi-axis synchronous motion control method for an optical fiber wiring machine described in the aforementioned technical solution, including: a host computer, a PLC controller, a mechanical arm module, and a pulley block .
具体的,所述上位机用于解析布线路径基础数据以获得光纤布线路径数据,所述PLC控制器用于接收光纤布线路径数据,所述滑轮组固定于机械手臂模组上,所述滑轮组包括至少两个定滑轮以及一个动滑轮,所述动滑轮设置于两个定滑轮之间,所述动滑轮的一侧设置有动滑轮检测传感器,光纤从其中一个所述定滑轮的上方穿入,并从所述动滑轮的下方缠绕至另一个定滑轮的上部,所述机械手臂模组控制伺服电机、步进电机、滑轮组在X、Y轴上沿着布线路径进行移动以及控制步进电机的角度以调整光纤的布线走线方向。Specifically, the upper computer is used to analyze the basic data of the wiring path to obtain the data of the optical fiber wiring path, the PLC controller is used to receive the data of the optical fiber wiring path, the pulley block is fixed on the mechanical arm module, and the pulley block includes at least two a fixed pulley and a movable pulley, the movable pulley is arranged between two fixed pulleys, a movable pulley detection sensor is arranged on one side of the movable pulley, the optical fiber penetrates from above one of the fixed pulleys, and passes from the movable pulley The lower part is wound to the upper part of another fixed pulley. The robot arm module controls the servo motor, stepping motor, and pulley block to move along the wiring path on the X and Y axes and controls the angle of the stepping motor to adjust the routing of the optical fiber. line direction.
作为上述技术方案的改进,所述机械手臂模组为四轴机械手臂模组,所述四轴机械手臂模组包括有X轴伺服组、Y轴伺服组、Z轴伺服组、R轴伺服组,所述Y轴伺服组固定于X轴伺服组的移动端,所述Z轴伺服组固定于Y轴伺服组的移动端,所述R轴伺服组固定于Z轴伺服组的一侧As an improvement of the above technical solution, the robot arm module is a four-axis robot arm module, and the four-axis robot arm module includes an X-axis servo group, a Y-axis servo group, a Z-axis servo group, and an R-axis servo group , the Y-axis servo group is fixed on the moving end of the X-axis servo group, the Z-axis servo group is fixed on the moving end of the Y-axis servo group, and the R-axis servo group is fixed on one side of the Z-axis servo group
作为上述技术方案的改进,所述X轴伺服组、Y轴伺服组控制伺服电机、步进电机、滑轮组在X、Y轴上沿着布线路径进行移动,所述R轴控制步进电机的角度以调整光纤的布线走线方向,所述伺服电机、步进电机、滑轮组固定于Z轴伺服组的一侧。As an improvement of the above technical solution, the X-axis servo group and the Y-axis servo group control the servo motor, the stepping motor, and the pulley block to move along the wiring path on the X and Y axes, and the R-axis controls the angle of the stepping motor To adjust the routing direction of the optical fiber, the servo motor, stepping motor, and pulley block are fixed on one side of the Z-axis servo block.
本发明的有益效果:Beneficial effects of the present invention:
采用本申请所记载的方法,通过机械手臂模组的同步轨迹运动功能控制布线路径,同时通过同步控制送线功能,跟随X/Y轴的布线路径实时控制出线速度,并根据传感器信号的变化实时调整送线线辊伺服的速度比例,从而实现光纤在光背板胶面准确地按照设计轨迹自动布线,解决现有的布线方式精度差、失误率高、效率低等问题。Using the method described in this application, the wiring path is controlled by the synchronous trajectory movement function of the robot arm module, and at the same time, through the synchronous control of the wire feeding function, the outgoing line speed is controlled in real time following the wiring path of the X/Y axis, and in real time according to the change of the sensor signal. Adjust the speed ratio of the wire feeding roller servo, so as to realize the automatic routing of the optical fiber on the rubber surface of the optical backplane accurately according to the design trajectory, and solve the problems of poor precision, high error rate, and low efficiency of the existing wiring method.
附图说明Description of drawings
图1为本发明一种光纤布线机的多轴同步运动控制方法的轨迹数据存储的功能块示意图;FIG. 1 is a schematic diagram of functional blocks of track data storage of a multi-axis synchronous motion control method for an optical fiber wiring machine according to the present invention;
图2为本发明一种光纤布线机的多轴同步运动控制方法的存储的数据的类型分类示意图;Fig. 2 is a schematic diagram of type classification of stored data in a multi-axis synchronous motion control method of an optical fiber wiring machine according to the present invention;
图3为本发明一种光纤布线机的多轴同步运动控制方法的X/Y轴运动控制的功能块示意图;3 is a schematic diagram of functional blocks of X/Y axis motion control of a multi-axis synchronous motion control method for an optical fiber wiring machine according to the present invention;
图4为本发明一种光纤布线机的多轴同步运动控制方法的R轴伺服组的周期跟随功能块示意图;Fig. 4 is a schematic diagram of the cycle following function block of the R-axis servo group of a multi-axis synchronous motion control method for an optical fiber wiring machine according to the present invention;
图5为本发明一种光纤布线机的多轴同步运动控制系统的光纤布线示意图;Fig. 5 is a schematic diagram of optical fiber wiring of a multi-axis synchronous motion control system of an optical fiber wiring machine according to the present invention;
图6为本发明一种光纤布线机的多轴同步运动控制系统的四周机械臂模组与伺服电机、步进电机、滑轮组的连接示意图。Fig. 6 is a schematic diagram of the connection between the peripheral manipulator module, the servo motor, the stepping motor and the pulley block of the multi-axis synchronous motion control system of the optical fiber wiring machine according to the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
实施例一Embodiment one
请参阅图,提供一种光纤布线机的多轴同步运动控制方法,包括以下步骤:Please refer to the figure to provide a multi-axis synchronous motion control method for an optical fiber wiring machine, including the following steps:
S1:通过上位机将解析获得的布线路径数据以太网传输的方式发送至下位PLC;S1: Send the wiring path data obtained by analysis to the lower PLC through Ethernet transmission through the upper computer;
其中,步骤S1包括:Wherein, step S1 includes:
S11:通过上位机解析布线路径基础数据以获得的布线路径数据;S11: the wiring path data obtained by parsing the basic data of the wiring path through the host computer;
布线路径的基础数据是通过CAD预生成的数据,其以EXCEL的形式进行存储的,上位机需要针对这些数据进行解析,由于布线路径的数据是统一汇总的,因此需要将这些统一汇总的布线路径进行逐一解析,即上位机需要对光纤布线路径的轨迹数据进行逐根解析,并进行计算以获得进线总轨迹点数、布线总轨迹点数以及出线总轨迹点数。The basic data of the wiring path is the data pre-generated by CAD, which is stored in the form of EXCEL. The host computer needs to analyze these data. Since the data of the wiring path is unified and summarized, it is necessary to combine these uniformly summarized wiring paths Analyze one by one, that is, the host computer needs to analyze the trajectory data of the optical fiber wiring path one by one, and perform calculations to obtain the total trajectory points of the incoming line, the total trajectory points of the wiring, and the total trajectory points of the outgoing line.
其中,上位机解析布线路径基础数据时,首先要计算出进线总轨迹点数、布线总轨迹点数以及出线总轨迹点数。Among them, when the upper computer analyzes the basic data of the wiring path, it first needs to calculate the total track points of the incoming line, the total track points of the wiring and the total track points of the outgoing line.
即通过上位机运行以下程序实现进线总轨迹点数、布线总轨迹点数以及出线总轨迹点数的获取:That is, the acquisition of the total track points of incoming lines, the total track points of wiring and the total track points of outgoing lines is realized by running the following programs on the host computer:
IF Wiring_Com[8]<>0AND Wiring_Com[9]<>0AND Wiring_[10]<>0THENIF Wiring_Com[8]<>0AND Wiring_Com[9]<>0AND Wiring_[10]<>0THEN
IN_Number:=Wiring_Com[8]-1;IN_Number:=Wiring_Com[8]-1;
Wiring_Number:=Wiring_Com[9]-1;Wiring_Number:=Wiring_Com[9]-1;
Out_Number:=Wiring_Com[10]-1;Out_Number:=Wiring_Com[10]-1;
END IF;END IF;
其中,IN_Number为进线总轨迹数,Wiring_Number为布线总轨迹数,Out_Number为出线总轨迹数,其中Wiring_Com代表的是光纤的公共数据存储区,即以读取的方式获取相关的轨迹数据,当对应的存储区内存在数据时,根据存储区的序号,确定当前存储区内存储的数据类型,在布线路径数据中除了进线总轨迹点数、布线总轨迹点数以及出线总轨迹点数外,还包括一些公共数据,如图2所示包括用于存储、识别整板的布线总数据,光背板尺寸、总光纤数量、当前作业单根光纤的序号等,而对于这些轨迹数据的存储可以以如图1中所示的功能块进行,建立长度为13的存储区进行数据的存储,即Wiring_Com[0]至Wiring_Com[12],具体的:Wiring_Com[0]中记载了光纤的序号数据,以光纤的序号进行排列输入的方式进行数据的存储,而每个光纤数据除了序号数据外,如图2所示,其中Wiring_Com[8]对应进线阶段的总轨迹点数,Wiring_Com[9]对应布线阶段的总轨迹点数,Wiring_Com[10]对应出线阶段的总轨迹点数。Among them, IN_Number is the total number of incoming traces, Wiring_Number is the total number of wiring traces, Out_Number is the total number of outgoing traces, and Wiring_Com represents the public data storage area of the optical fiber, that is, the relevant trace data is obtained by reading, when the corresponding When there is data in the storage area of the storage area, the data type stored in the current storage area is determined according to the serial number of the storage area. In addition to the total track points of the incoming line, the total track points of the wiring and the total track points of the outgoing line, the routing path data also includes some Public data, as shown in Figure 2, includes the total wiring data used to store and identify the entire board, the size of the optical backplane, the total number of optical fibers, the serial number of a single optical fiber in the current operation, etc., and the storage of these track data can be as shown in Figure 1 The function blocks shown in , establish a storage area with a length of 13 for data storage, namely Wiring_Com[0] to Wiring_Com[12], specifically: Wiring_Com[0] records the serial number data of the optical fiber, and the serial number of the optical fiber The data is stored in the way of arranging and inputting, and the data of each optical fiber is except for the serial number data, as shown in Figure 2, where Wiring_Com[8] corresponds to the total number of track points in the line-entry stage, and Wiring_Com[9] corresponds to the total track points in the wiring stage Points, Wiring_Com[10] corresponds to the total track points in the qualifying stage.
S12:通过以太网将布线路径数据发送至下位PLC。S12: Send the wiring path data to the lower PLC through Ethernet.
上位机与下位PLC之间通过以太网进行连接,通过以太网进行数据传输,下位PLC可以采用欧姆龙PLC,以欧姆龙FINS-UDP协议来与上位机进行数据传输。The upper computer and the lower PLC are connected through Ethernet, and data transmission is performed through Ethernet. The lower PLC can use Omron PLC, and use the Omron FINS-UDP protocol to perform data transmission with the upper computer.
欧姆龙PLC是一种功能完善的紧凑型PLC,能为输送分散控制等提供高附加值机器控制;它还具有通过各种高级内装板进行升级的能力,大程序容量和存储器单元,以及Windows环境下高效的软件开发能力,可以满足光纤布线的控制需求。Omron PLC is a full-featured compact PLC that can provide high value-added machine control for conveying decentralized control, etc.; it also has the ability to upgrade through various advanced built-in boards, large program capacity and memory unit, and Windows environment Efficient software development capabilities can meet the control requirements of optical fiber cabling.
S2:通过所述下位PLC将布线路径数据转换成机械手臂模组在X、Y轴上运动的轨迹坐标;S2: converting the wiring path data into trajectory coordinates of the movement of the robot arm module on the X and Y axes through the lower PLC;
在执行步骤S2之前需要将各个数据区的缓存初始化。Before step S2 is executed, the buffers of each data area need to be initialized.
其中,步骤S2,包括:Wherein, step S2 includes:
S21:所述下位PLC将所述进线总轨迹点数循环执行导入坐标数据进入缓存区以获取光纤进线轨迹及轨迹坐标。S21: The lower PLC cyclically executes the total incoming line track points and imports the coordinate data into the buffer area to obtain the optical fiber incoming line track and track coordinates.
步骤S21的执行依赖于以下程序:The execution of step S21 depends on the following procedures:
FORN:=0TO IN_numberBY 1DOFORN:=0TO IN_numberBY 1DO
IF PC数据区_进线数据[N].TargetX<>99990000THENIF PC data area_incoming line data[N].TargetX<>99990000THEN
ST_Wirting_Array[N].Targetpos_X:=PC数据区_进线数据[N].TargetX/1000;ST_Wirting_Array[N].Targetpos_X:=PC data area_incoming data [N].TargetX/1000;
ST_Wirting_Array[N].Targetpos_Y:=PC数据区_进线数据[N].TargetY/1000;ST_Wirting_Array[N].Targetpos_Y:=PC data area_incoming data [N].TargetY/1000;
ST_Wirting_Array[N].Code:=1;ST_Wirting_Array[N].Code:=1;
ELSE ST_Wirting_Array[N].Code:=0;ELSE ST_Wirting_Array[N].Code:=0;
ST_Wirting_Array[N].TargetPos_X:=0.0;ST_Wirting_Array[N].TargetPos_X:=0.0;
ST_Wirting_Array[N].TargetPos_Y:=0.0;ST_Wirting_Array[N].TargetPos_Y:=0.0;
END IFEND IF
END FOREND FOR
上述程序是将PC数据区里面的进线数据的总点数在X轴和Y轴的坐标位置进行循环解析,并转换成光纤的进线轨迹坐标,获得进线轨迹,其中PC数据区里面的进线数据的总点数即指上位机下发的总进线点数。The above program is to circularly analyze the total points of incoming line data in the PC data area at the coordinate positions of the X-axis and Y-axis, and convert them into the incoming line track coordinates of the optical fiber to obtain the incoming line track, among which the incoming line data in the PC data area The total points of line data refers to the total incoming line points issued by the host computer.
S22:所述下位PLC将所述布线总轨迹点数循环执行导入坐标数据进入缓存区以获取光纤布线轨迹及轨迹坐标。S22: The lower PLC cyclically executes the total wiring track points and imports the coordinate data into the buffer area to obtain the optical fiber wiring track and track coordinates.
S23:所述下位PLC将所述出线总轨迹点数循环执行导入坐标数据进入缓存区以获取光纤出线轨迹及轨迹坐标。S23: The lower-level PLC cyclically executes the points of the total outgoing line trajectory and imports the coordinate data into the buffer area to obtain the optical fiber outgoing line trajectory and trajectory coordinates.
步骤22与步骤23与步骤21的坐标获取方式相同,均是以上位机下发的数据点数在X轴和Y轴的坐标位置进行解析,转换成对应的轨迹坐标,获得轨迹路线。Step 22, step 23 and step 21 coordinates are acquired in the same way, all are to analyze the data points sent by the host computer on the X-axis and Y-axis coordinate positions, convert them into corresponding trajectory coordinates, and obtain the trajectory route.
此外,所述下位PLC包括有数据寄存器,所述数据寄存器包括有公共数据寄存区、进线数据寄存区、布线数据寄存区、出线数据寄存区。In addition, the lower PLC includes a data register, and the data register includes a common data storage area, an incoming line data storage area, a wiring data storage area, and an outgoing line data storage area.
公共数据寄存区用于存储前述的公共数据,而进线数据寄存区用于存储光纤进线轨迹数据,布线数据寄存区用于存储光纤布线轨迹数据,出线数据寄存区用于存储光纤出线轨迹数据。The public data storage area is used to store the aforementioned public data, while the incoming line data storage area is used to store the fiber incoming line track data, the wiring data storage area is used to store the optical fiber wiring track data, and the outgoing line data storage area is used to store the optical fiber outgoing line track data .
S3:通过所述下位PLC控制R轴伺服组、步进电机与伺服电机以所述轨迹坐标确定送线速度以及送线方向,采用PLC周期控制同步运动功能的方式进行同步送线。S3: Control the R-axis servo group, stepping motor and servo motor through the lower PLC to determine the wire feeding speed and wire feeding direction according to the trajectory coordinates, and use the PLC cycle control synchronous motion function to perform synchronous wire feeding.
其中,步进电机用于送线,伺服电机用于出线,而R轴伺服组则用于调整布线方向Among them, the stepper motor is used to feed the wire, the servo motor is used to output the wire, and the R-axis servo group is used to adjust the wiring direction
如图3所示,将通过步骤23所获得的出线轨迹数据作为变量输入,获得X轴伺服组、Y轴伺服组的移动位置,确定在X/Y轴上的运动控制,即确定在X/Y轴上的运动速度。As shown in Figure 3, input the outgoing line track data obtained in step 23 as a variable to obtain the moving positions of the X-axis servo group and the Y-axis servo group, and determine the motion control on the X/Y axis, that is, determine the movement control on the X/Y axis. The speed of movement on the Y axis.
当确定X/Y轴的运动后,由于布线方向需要调整,因此还需要以R轴伺服组来确定送线方向,即确定R轴伺服组跟随X/Y轴的跟随角度。After determining the movement of the X/Y axis, since the wiring direction needs to be adjusted, it is also necessary to use the R-axis servo group to determine the wire feeding direction, that is, to determine the following angle of the R-axis servo group following the X/Y axis.
R轴伺服组跟随X/Y轴的跟随角度计算依赖于以下程序:The calculation of the following angle of the R-axis servo group following the X/Y axis depends on the following procedures:
Pos1.Mv.Point[0]:=Wiring_Array[buffer_No].TargetPos_X;Pos1.Mv.Point[0]:=Wiring_Array[buffer_No].TargetPos_X;
Pos1.Mv.Point[1]:=Wiring_Array[buffer_No].TargetPos_Y;Pos1.Mv.Point[1]:=Wiring_Array[buffer_No].TargetPos_Y;
Pos1.Mv.Vel=HMI_布线速度;Pos1.Mv.Vel=HMI_routing speed;
R.ABS.Velocity=LREAL#300;R.ABS.Velocity = LREAL #300;
即通过确定运动轨迹的目标点在X/Y轴上的位置(即Pos1.Mv.Point[0](X轴)与Pos1.Mv.Point[1](Y轴)),结合X轴伺服组以及Y轴伺服组的运动速度(即Pos1.Mv.Vel),来确定R轴伺服组跟随X/Y轴的跟随角度(即R.ABS.Velocity)。That is, by determining the position of the target point of the movement track on the X/Y axis (ie Pos1.Mv.Point[0] (X axis) and Pos1.Mv.Point[1] (Y axis)), combined with the X axis servo group And the movement speed of the Y-axis servo group (ie Pos1.Mv.Vel), to determine the following angle of the R-axis servo group following the X/Y axis (ie R.ABS.Velocity).
确定R轴伺服组的跟随角度后需要确定R轴伺服组的跟随周期,如图4所示,R轴伺服组根据跟随的目标(即X/Y轴)的坐标进行响应的同步动作,从而达到跟随周期的目的。After determining the following angle of the R-axis servo group, it is necessary to determine the following period of the R-axis servo group. As shown in Figure 4, the R-axis servo group responds synchronously according to the coordinates of the following target (that is, the X/Y axis), so as to achieve Follow the purpose of the cycle.
用于送线的伺服电机的同步速度计算依据于以下公式:The synchronous speed calculation of the servo motor used for wire feeding is based on the following formula:
伺服电机同步速度Servo motor synchronous speed
=1.0*abs(SQRT(MC_Axis000.Act.Vel*MC_Axis000.Act.Vel=1.0*abs(SQRT(MC_Axis000.Act.Vel*MC_Axis000.Act.Vel
+MC_Axis001.Act.Vel*MC_Axis001.Act.Vel))+MC_Axis001.Act.Vel*MC_Axis001.Act.Vel))
用于出线的步进电机的速度同步计算依据于以下公式:The calculation of speed synchronization of stepper motors for outgoing lines is based on the following formula:
步进电机快速状态下的同步速度Synchronous speed in fast state of stepper motor
=1.6*abs(SQRT(MC_Axis000.Act.Vel*MC_Axis000.Act.Vel=1.6*abs(SQRT(MC_Axis000.Act.Vel*MC_Axis000.Act.Vel
+MC_Axis001.Act.Vel*MC_Axis001.Act.Vel))+MC_Axis001.Act.Vel*MC_Axis001.Act.Vel))
步进电机慢速状态下的同步速度Synchronous speed in slow state of stepper motor
=0.7*abs(SQRT(MC_Axis000.Act.Vel*MC_Axis000.Act.Vel=0.7*abs(SQRT(MC_Axis000.Act.Vel*MC_Axis000.Act.Vel
+MC_Axis001.Act.Vel*MC_Axis001.Act.Vel))+MC_Axis001.Act.Vel*MC_Axis001.Act.Vel))
其中,abs表示绝对值,SQRT表示根号,MC_Axis000.Act.Vel表示轴1(即X轴)的运动速度,MC_Axis001.Act.Vel表示轴2(即Y轴)的运动速度,以X/Y轴上的运动速度,来确定步进电机以及伺服电机的同步速度。Among them, abs represents the absolute value, SQRT represents the root sign, MC_Axis000.Act.Vel represents the movement speed of axis 1 (that is, X axis), and MC_Axis001.Act.Vel represents the movement speed of axis 2 (that is, Y axis), expressed in X/Y The speed of motion on the shaft is used to determine the synchronous speed of the stepper motor and the servo motor.
根据计算所得到的送线速度、送线周期以及送线方向实现同步送线功能。According to the calculated wire feeding speed, wire feeding cycle and wire feeding direction, the synchronous wire feeding function is realized.
实施例二Embodiment two
为了配合实施例一中所记载的一种光纤布线机的多轴同步运动控制方法,提供一种光纤布线机的多轴同步运动控制系统,应用于如实施例一中所述的一种光纤布线机的多轴同步运动控制方法,包括:上位机、PLC控制器、机械手臂模组、滑轮组。In order to cooperate with the multi-axis synchronous motion control method of the optical fiber wiring machine described in the first embodiment, a multi-axis synchronous motion control system of the optical fiber wiring machine is provided, which is applied to a kind of optical fiber wiring as described in the first embodiment A multi-axis synchronous motion control method for a machine, including: a host computer, a PLC controller, a mechanical arm module, and a pulley block.
具体的,所述上位机用于解析布线路径基础数据以获得光纤布线路径数据,所述PLC控制器用于接收光纤布线路径数据,所述滑轮组固定于机械手臂模组上,所述滑轮组包括至少两个定滑轮以及一个动滑轮,所述动滑轮设置于两个定滑轮之间,所述动滑轮的一侧设置有动滑轮检测传感器,光纤从其中一个所述定滑轮的上方穿入,并从所述动滑轮的下方缠绕至另一个定滑轮的上部,所述机械手臂模组控制伺服电机、步进电机、滑轮组在X、Y轴上沿着布线路径进行移动以及控制步进电机的角度以调整光纤的布线走线方向。Specifically, the upper computer is used to analyze the basic data of the wiring path to obtain the data of the optical fiber wiring path, the PLC controller is used to receive the data of the optical fiber wiring path, the pulley block is fixed on the mechanical arm module, and the pulley block includes at least two a fixed pulley and a movable pulley, the movable pulley is arranged between two fixed pulleys, a movable pulley detection sensor is arranged on one side of the movable pulley, the optical fiber penetrates from above one of the fixed pulleys, and passes from the movable pulley The lower part is wound to the upper part of another fixed pulley. The robot arm module controls the servo motor, stepping motor, and pulley block to move along the wiring path on the X and Y axes and controls the angle of the stepping motor to adjust the routing of the optical fiber. line direction.
以机械手臂模组控制伺服电机、步进电机以及滑轮组在X/Y轴上进行移动,由于滑轮组至少包括两个定滑轮、一个动滑轮,当光纤线辊在使用过程中随着光纤的铺设消耗,线辊的运动直径逐渐减少时,光纤会提起滑轮,下方的动滑轮检测传感器将检测到滑轮提起,同时触发快速出线程序,即此时步进电机将采用快速出线模式,其采用快速电机快速状态下的同步速度进行匹配,与X/Y轴实现同步快速出线。而当光纤线辊直径充足时,滑轮会下落,此时步进电机以慢速状态下的同步速度进行匹配。Use the robot arm module to control the servo motor, stepping motor and pulley block to move on the X/Y axis. Since the pulley block includes at least two fixed pulleys and one movable pulley, when the optical fiber roller is in use, it will be consumed with the laying of the optical fiber. When the moving diameter of the wire roller gradually decreases, the optical fiber will lift the pulley, and the moving pulley detection sensor below will detect the pulley lifting, and at the same time trigger the fast wire-out program, that is, the stepping motor will adopt the fast wire-out mode at this time, and it adopts the fast motor under the fast state The synchronous speed is matched, and the X/Y axis can be synchronized and quickly exit the line. And when the diameter of the optical fiber roll is sufficient, the pulley will fall, and the stepper motor will match at the synchronous speed in the slow state.
在一个实施例中,所述机械手臂模组为四轴机械手臂模组,所述四轴机械手臂模组包括有X轴伺服组、Y轴伺服组、Z轴伺服组、R轴伺服组,所述Y轴伺服组固定于X轴伺服组的移动端,所述Z轴伺服组固定于Y轴伺服组的移动端,所述R轴伺服组固定于Z轴伺服组的一侧。In one embodiment, the robot arm module is a four-axis robot arm module, and the four-axis robot arm module includes an X-axis servo group, a Y-axis servo group, a Z-axis servo group, and an R-axis servo group, The Y-axis servo group is fixed on the moving end of the X-axis servo group, the Z-axis servo group is fixed on the moving end of the Y-axis servo group, and the R-axis servo group is fixed on one side of the Z-axis servo group.
通过X、Y、Z、R四个轴组成四轴机械手臂模组进行工作。The four-axis robot arm module is composed of X, Y, Z, and R axes to work.
在一个实施例中,所述X轴伺服组、Y轴伺服组控制伺服电机、步进电机、滑轮组在X、Y轴上沿着布线路径进行移动,所述R轴控制步进电机的角度以调整光纤的布线走线方向,所述伺服电机、步进电机、滑轮组固定于Z轴伺服组的一侧。In one embodiment, the X-axis servo group and the Y-axis servo group control the servo motors, stepping motors, and pulleys to move along the wiring path on the X and Y axes, and the R-axis controls the angle of the stepping motors to Adjust the wiring direction of the optical fiber, and the servo motor, stepping motor, and pulley block are fixed on one side of the Z-axis servo group.
即Z轴伺服组在布线是不参与运动,仅作为支撑,通过Z轴进行线辊以及各个设备的安装,采用X轴伺服组、Y轴伺服组、Z轴伺服组、R轴伺服组,分别对各个结构行控制,以X轴伺服组、Y轴伺服组控制整体在平面上的移动,并以R轴伺服组控制布线方向。That is, the Z-axis servo group does not participate in the movement during the wiring, but only serves as a support. The wire roller and various equipment are installed through the Z-axis. The X-axis servo group, the Y-axis servo group, the Z-axis servo group, and the R-axis servo group are used, respectively. Control each structure, use the X-axis servo group and Y-axis servo group to control the movement of the whole on the plane, and use the R-axis servo group to control the wiring direction.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. within range.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211567451.4A CN115903159A (en) | 2022-12-07 | 2022-12-07 | Multi-axis synchronous motion control method and control system of optical fiber wiring machine |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211567451.4A CN115903159A (en) | 2022-12-07 | 2022-12-07 | Multi-axis synchronous motion control method and control system of optical fiber wiring machine |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN115903159A true CN115903159A (en) | 2023-04-04 |
Family
ID=86493662
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211567451.4A Pending CN115903159A (en) | 2022-12-07 | 2022-12-07 | Multi-axis synchronous motion control method and control system of optical fiber wiring machine |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115903159A (en) |
-
2022
- 2022-12-07 CN CN202211567451.4A patent/CN115903159A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6948255B2 (en) | Communication method and common control bus interconnecting a controller and a precision measurement assembly | |
| CN103111753B (en) | Full-automatic wafer dicing saw control system based on vision | |
| CN107081787A (en) | Kinetic characteristic detection method based on industrial robot built-in sensors signal | |
| CN110096035A (en) | High-precision high-speed sports platform Synchronous motion control system and method based on Open VPX | |
| EP4398480A1 (en) | Magnetic transport line driving system, magnetic transport line, and magnetic transport line driving method | |
| CN105881504A (en) | Delta robot control system with traction visual teaching function | |
| CN115167198B (en) | Wafer deviation rectifying system and method of double-end mechanical arm | |
| CN105824270A (en) | Multi-shaft motion controller and control method of closed-loop PWM pulse | |
| CN110515358B (en) | Control method of automatic production line parallel control system based on integrated controller | |
| CN111230323A (en) | Special-shaped cutting machining control system and method based on double-shaft track position coordinates | |
| CN115903159A (en) | Multi-axis synchronous motion control method and control system of optical fiber wiring machine | |
| CN111857042B (en) | Five-axis high-precision positioning control system based on PMAC and working method | |
| CN103246253A (en) | Multi-motor distributed type control system under wireless network and multi-motor distributed type control method | |
| CN101806580A (en) | Motion control system and method for high-precision image measuring apparatus | |
| CN100590559C (en) | Interface control card for high-precision laser etching system | |
| CN111384876A (en) | Dual-axis motor driving system and method based on dual-core processing | |
| CN103744354A (en) | PLC control system for manufacturing robot, and control method thereof | |
| CN102081377A (en) | Thermal error compensation device on basis of numerical control workbench | |
| CN210155652U (en) | Mouse test system | |
| CN108983699A (en) | Three-axis numerical control drilling machine control system and its control method based on PLC | |
| CN1990196A (en) | Process for moving a robot | |
| CN210895108U (en) | EtherCAT bus four-axis parallel mechanical arm control system | |
| CN208873040U (en) | PLC-based three-axis CNC drilling machine control system | |
| CN117970841A (en) | Automatic control method based on pulse signal triaxial synchronous motion target simulator | |
| CN1996187A (en) | AC Servo System with Distributed Motion Controller |
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 |