CONTROL DEVICE, INTERFERENCE CHECK DEVICE, AND CONTROL SYSTEM

By calculating prohibited movement amounts on the control device, the system simplifies interference checking and reduces PC communication needs, addressing data management complexities and ensuring accurate interference detection across various operational conditions.

JP7568854B2Active Publication Date: 2024-10-16FANUC LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023528863
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-06-16
Publication Date
2024-10-16
Estimated Expiration
2041-06-16

AI Technical Summary

Technical Problem

Existing control systems face complications in managing data for interference checks, particularly when predicting the preceding position of moving parts, which can lead to incorrect interference checks, especially in complex scenarios or manual operations, and require significant communication time with a PC.

Method used

The introduction of a prohibited movement amount calculation on the control device side, allowing interference determination without transmitting the preceding position to the PC, using a control device and interference check device that analyze machining programs to determine distribution movement amounts and prohibited movement distances.

Benefits of technology

Enables efficient interference checking without managing two position coordinates, simplifying data processing and handling multiple prediction scenarios, including manual operations, while reducing the need for costly high-performance PCs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007568854000002
    Figure 0007568854000002
  • Figure 0007568854000003
    Figure 0007568854000003
  • Figure 0007568854000004
    Figure 0007568854000004
Patent Text Reader

Abstract

A control device according to the present disclosure comprises: a command analysis unit that analyzes the block of a processing program; a distribution unit that generates a distributed movement for each distribution period on the basis of the analysis result of the command analysis unit and calculates the position of a moving unit, the position being updated according to the distributed movement; and an interference determination unit that determines the presence or absence of an interference between the moving unit and an interfering object on the basis of a prohibited movement that is calculated by an interference checking device on the basis of the position and is a distance for which a movement from the position of the moving unit may cause an interference. If it is determined that an interference may occur, the movement of the moving unit is stopped.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a control device, an interference check device, and a control system. [Background technology]

[0002] In industrial machines such as machine tools controlled by a control device, when a moving part moves along a predetermined moving axis, interference may occur with an interfering object within the moving range. FIG. 10 is a diagram showing a spindle 301 to which a tool 303 as a moving part is attached, and a table 305, a workpiece 309, and a jig 307 for fixing the workpiece 309 as interfering objects. If the spindle 301 and the tool 303 continue to move in the direction of the arrow in the figure, the spindle 301 will eventually interfere with the jig 307. If interference occurs, the moving part or the interfering object may be damaged, or the axis or motor of the machine may break. For this reason, some control devices are equipped with an interference check function that checks in advance for the possibility of interference between the moving part and the interfering object, and stops the movement of the moving part if interference occurs.

[0003] There are two types of interference check functions: technology that checks for interference on the control device side, and technology that checks for interference on the PC side connected to the control device. Control devices allocate a large portion of their computational resources to controlling industrial machines. When interference checks are performed on the control device side, in many cases only simple processing can be performed. For this reason, when interference checks cannot be performed using the computational resources on the control device side, such as when the shape definition of an interfering object is complex, a function that checks for interference on the PC side connected to the control device is used (for example, Patent Document 1, etc.).

[0004] FIG. 11 is a sequence chart showing the flow of processing when the control device and the PC cooperate to check for interference. When the control device and the PC cooperate to check for interference, the control device calculates the coordinate values ​​of the position where the interference check is performed, and stores the calculated coordinate values ​​at time t A The data is sent to the PC at time t BThe PC that receives the coordinates at time t uses a pre-stored model of the moving part and the interfering object (e.g., a three-dimensional model) to check whether interference will occur when the moving part is moved to the position of the transmitted coordinates. Then, the PC reports the result of the interference check at time t C At time t D The control device receives the result of the interference check at time t and determines whether or not to stop the movement of the moving part based on the result of the interference check. If it is necessary to stop the moving part, E At time t F The moving part stops at

[0005] In general, when a moving part is stopped based on the result of an interference check, as shown in FIG. 11, the time required for the interference check process (t C -t B ), the time required for collision detection (t E -t D ) and the time required for the moving part to stop (t F -t E ), it is necessary to take into account a certain margin and perform an interference check in advance for the coordinate values ​​of the destination to which the moving part will move in the future. In addition, when the control device and the PC work together to check for interference, the communication time (t B -t A ) and (t E -t D ) must be taken into consideration. Therefore, the control device calculates the preceding position (predicted position) where the moving part will move after these times have passed as the coordinate value to be subject to the interference check, and the PC performs an interference check on this preceding position. [Prior art documents] [Patent documents]

[0006] [Patent Document 1] JP 2008-027376 A Summary of the Invention [Problem to be solved by the invention]

[0007] Incidentally, in the case of PC-linked interference check using the preceding position, the control device needs to manage two types of data: the current position and the preceding position. This poses the problem that the process of managing data becomes cumbersome. Also, in a machining program that branches depending on the machining status and the status of peripheral devices, the predicted preceding position may be divided into two or more candidates depending on the situation. In such a case, if the prediction of the preceding position is incorrect, there is a problem that interference check cannot be performed correctly. Furthermore, even when the preceding position cannot be predicted in advance, such as in manual operation, there are cases where it is desirable to perform PC-linked interference check. Therefore, in PC-linked interference checks, a technology is desired that enables interference checks to be performed without transmitting the preceding position to the PC. [Means for solving the problem]

[0008] The control device according to the present disclosure solves the above problem by newly introducing the concept of a prohibited movement amount and having the control device determine interference based on the prohibited movement amount calculated by an interference checking device.

[0009] One aspect of the present disclosure is a control device that controls the movement of a moving part of an industrial machine along an axis based on a machining program, and performs an interference check in cooperation with an interference check device that checks for interference between the moving part and an interfering object, the control device comprising: a command analysis unit that analyzes blocks of the machining program; a distribution processing unit that creates a distributed movement amount for each distribution period based on the analysis result of the command analysis unit, calculates a position of the moving part updated by the distributed movement amount and notifies the interference check device; and an interference judgment unit that determines whether or not the moving part interferes with the interfering object based on a prohibited movement amount calculated by the interference check device based on the notified position, and which is a distance by which interference may occur if the moving part moves from the position of the moving part, and when the interference judgment unit determines that interference will occur between the moving part and the interfering object, the control device stops the movement of the moving part.

[0010] Another aspect of the present disclosure is an interference check device that performs interference check between a moving part that moves along an axis of an industrial machine and an interfering object, the interference check device including a model data storage unit that stores models of the moving part and the interfering object, and a prohibited movement amount calculation unit that calculates a prohibited movement amount that may cause interference by moving from the position of the moving part based on the position of the moving part notified by a control device that controls the industrial machine and the models of the moving part and the interfering object stored in the model data storage unit, and transmits the calculated prohibited movement amount to the control device. This is an interference checking device.

[0011] Another aspect of the present disclosure is a control system in which a control device that controls the movement of a moving part of an industrial machine along an axis based on a machining program and an interference check device that checks for interference between the moving part and an interfering object work together to perform an interference check, the interference check device including a model data storage unit that stores models of the moving part and the interfering object, and a prohibited movement amount calculation unit that calculates a prohibited movement amount by which interference may occur by moving from a position of the moving part, based on a position of the moving part notified from the control device and the model of the moving part and the interfering object stored in the model data storage unit, the control device including a command analysis unit that analyzes blocks of the machining program, a distribution processing unit that creates a distributed movement amount for each distribution period based on a result of the analysis by the command analysis unit, calculates a position of the moving part updated based on the distributed movement amount and notifies the interference check device, and an interference determination unit that determines whether or not the moving part interferes with the interfering object based on the prohibited movement amount calculated by the prohibited movement amount calculation unit, and when the interference determination unit determines that interference will occur between the moving part and the interfering object, the movement of the moving part is stopped. Effect of the Invention

[0012] According to one embodiment of the present disclosure, it becomes possible to perform an interference check in cooperation with a PC without transmitting a previous position to the PC. [Brief description of the drawings]

[0013] [Figure 1] 1 is a schematic hardware configuration diagram of a control device and an interference check device according to an embodiment of the present invention; [Diagram 2] 1 is a block diagram showing schematic functions of a control device and an interference check device according to an embodiment of the present invention; [Diagram 3] 1A and 1B are diagrams illustrating examples of a moving part and an interfering object. [Figure 4] 13 is a diagram showing an example in which a moving section is moved in the Y-axis direction. FIG. [Diagram 5] 13 is a diagram showing an example in which a moving section is moved in the X-axis direction. FIG. [Figure 6] 13 is a diagram showing an example of moving a moving part in the B-axis direction. FIG. [Figure 7] 5 is a sequence chart showing a flow of an interference check according to an embodiment of the present invention. [Figure 8A] 10 is a diagram illustrating an example of the relationship between the actual position of a moving part and the current position when the current position is calculated; [Figure 8B] 13 is a diagram illustrating an example of the relationship between the actual position, the current position, and the check position of a moving part when a prohibited movement amount is calculated; [Figure 8C] 11 is a diagram illustrating an example of the relationship between the actual position, current position, check position, and interference position of a moving part at the time of interference determination; [Figure 8D] 11 is a diagram illustrating an example of the relationship between the actual position, current position, check position, and interference position of the moving part when the moving part is stopped. FIG. [Figure 9] FIG. 11 is a block diagram showing a modified example of the control device and the interference check device according to the embodiment of the present invention. [Figure 10] 11A and 11B are diagrams illustrating interference between a moving part and an obstructing object. [Figure 11] 13 is a sequence chart showing a flow of a PC-linked interference check. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. 1 is a schematic hardware configuration diagram showing the main parts of a control device according to one embodiment of the present invention. A control device 1 of the present invention constitutes a control system 4 together with an interference check device 2 constructed on an attached personal computer. The control device 1 controls an industrial machine 3, such as a machine tool or a machining center.

[0015] The CPU 11 provided in the control device 1 according to this embodiment is a processor that controls the entire control device 1. The CPU 11 reads out a system program stored in the ROM 12 via the bus 22, and controls the entire control device 1 in accordance with the system program. The RAM 13 temporarily stores temporary calculation data, display data, various data input from outside, and the like.

[0016] The non-volatile memory 14 is composed of, for example, a memory backed up by a battery (not shown) or an SSD (Solid State Drive), and the memory state is maintained even when the power supply of the control device 1 is turned off. The non-volatile memory 14 stores control programs and data read from the external device 72 via the interface 15, control programs and data input from the input device 71 via the interface 18, and control programs and data acquired from other devices such as the fog computer 6 and the cloud server 7 via the network 5. The data stored in the non-volatile memory 14 may include, for example, data related to the mechanical configuration of the industrial machine 3, data related to interfering objects such as a workpiece or a jig, data related to the movement of a moving part along each axis, and data related to each physical quantity detected by a sensor (not shown) attached to the other industrial machine 3. The control programs and data stored in the non-volatile memory 14 may be expanded in the RAM 13 when executed / used. In addition, various system programs such as a known analysis program are written in advance in the ROM 12.

[0017] The interface 15 is an interface for connecting the CPU 11 of the control device 1 to an external device 72 such as an external storage medium. For example, control programs and setting data used to control the industrial machine 3 are read from the external device 72. In addition, the control programs and setting data edited in the control device 1 can be stored in an external storage medium such as a CF card or USB memory (not shown) via the external device 72. The PLC (Programmable Logic Controller) 16 executes a ladder program to input and output signals to and from the industrial machine 3 and peripheral devices of the industrial machine 3 (for example, a tool changer, an actuator such as a robot, a sensor attached to the industrial machine 3, etc.) via an I / O unit 19 to control the industrial machine 3. In addition, the PLC 16 receives signals from various switches on an operation panel installed on the main body of the industrial machine 3 and peripheral devices, etc., performs necessary signal processing, and then passes the signals to the CPU 11.

[0018] The interface 20 is an interface for establishing a wired or wireless connection between the CPU of the control device 1 and the interference check device 2. The connection between the control device 1 and the interference check device 2 may be established using a technology such as serial communication such as RS-485, Ethernet (registered trademark), optical communication, wireless LAN, Wi-Fi (registered trademark), Bluetooth (registered trademark), etc. The control device 1 exchanges data with the interference check device 2 via the interface 20.

[0019] The display device 70 displays various data loaded into the memory, data obtained as a result of executing programs, etc., outputted via the interface 17. An input device 71 consisting of a keyboard, pointing device, etc., transfers commands and data based on operations by an operator to the CPU 11 via the interface 18.

[0020] The axis control circuit 30 for moving the moving part of the industrial machine 3 receives a movement command amount from the CPU 11 and outputs a movement command to the servo amplifier 40. The servo amplifier 40 receives this command and drives the servo motor 50 of the industrial machine 3. The servo motor 50 has a built-in position and speed detector, and feeds back position and speed feedback signals from this position and speed detector to the axis control circuit 30, respectively, to perform feedback control of the position and speed. Note that while the hardware configuration diagram in Fig. 1 shows only one each of the axis control circuit 30, servo amplifier 40, and servo motor 50, in reality, there are provided as many as the number of moving parts of the industrial machine 3 to be controlled.

[0021] A spindle control circuit 60 receives a spindle rotation command and outputs a spindle speed signal to a spindle amplifier 61. The spindle amplifier 61 receives this spindle speed signal and rotates a spindle motor 62 of an industrial machine at the commanded rotation speed to drive a tool. A position coder 63 is connected to the spindle motor 62, and the position coder 63 outputs a feedback pulse in synchronization with the rotation of the spindle, and the feedback pulse is read by the CPU 11.

[0022] On the other hand, the interference check device 2 according to this embodiment is constructed on a PC attached to the control device 1. The CPU 211 included in the interference check device 2 is a processor that controls the entire interference check device 2. The CPU 211 reads out a system program stored in a ROM 212 via a bus 222, and controls the entire interference check device 2 in accordance with the system program. The RAM 213 temporarily stores temporary calculation data, display data, various data input from outside, and the like.

[0023] The non-volatile memory 214 is composed of, for example, a memory backed up by a battery (not shown) or an SSD (Solid State Drive), and the memory state is maintained even when the power supply of the interference check device 2 is turned off. The non-volatile memory 214 stores data acquired from the control device 1 via the interface 220, data and programs read from an external device 272 via the interface 215, data and programs input via the input device 271, etc. The data and programs stored in the non-volatile memory 214 may be expanded in the RAM 213 when executed / used. In addition, various system programs such as known processing programs, analysis programs, and 3D simulation programs are written in advance in the ROM 212.

[0024] The interface 215 is an interface for connecting the CPU 211 of the interference check device 2 to an external device 272 such as a USB device. For example, a program and each parameter used for analysis can be read from the external device 272. In addition, the program and each parameter edited in the interference check device 2 can be stored in an external storage means via the external device 272.

[0025] The interface 220 is an interface for connecting, by wire or wirelessly, the CPU 211 of the interference check device 2 and the control device 1. The interference check device 2 exchanges data with the control device 1 via the interface 220.

[0026] The display device 270 displays various data read into the memory, data obtained as a result of executing a machining program, a system program, etc., outputted via an interface 217. An input device 271 consisting of a keyboard, a pointing device, etc., transmits commands, data, etc. based on operations by an operator to the CPU 211 via an interface 218.

[0027] 2 is a schematic block diagram showing functions of the control device 1 according to the first embodiment of the present invention. Each function of the control device 1 according to this embodiment is realized by the CPU 11 of the control device 1 shown in FIG. 1 executing a system program and controlling the operation of each part of the control device 1.

[0028] The control device 1 of this embodiment includes a command analysis unit 110, a distribution processing unit 115, a movement command output unit 120, an acceleration / deceleration processing unit 125, a servo control unit 130, and an interference determination unit 135. The interference check device 2 includes a prohibited movement amount calculation unit 210. Furthermore, a machining program 180 used for controlling the industrial machine 3 is stored in advance on the RAM 13 to the nonvolatile memory 14 of the control device 1.

[0029] The command analysis unit 110 reads commands for each block from the machining program 180, analyzes the commands, and creates executable data. The command analysis unit 110 outputs the executable data to the distribution processing unit 115.

[0030] The distribution processing unit 115 calculates a distributed movement amount for each distribution period for moving each axis at the commanded movement amount and speed based on the executable data input from the command analysis unit 110. The distribution processing unit 115 outputs the calculated distributed movement amount to the movement command output unit 120 and the prohibited movement amount calculation unit 210 provided in the interference check device 2. The distribution processing unit 115 also updates the current position information of each axis of the industrial machine 3 stored in a current position register (not shown) by adding the calculated distributed movement amount. Then, the distribution processing unit 115 outputs the updated current position information as a check position to the interference determination unit 135 and the prohibited movement amount calculation unit 210 provided in the interference check device 2.

[0031] The movement command output unit 120 outputs the distributed movement amount calculated by the distribution processing unit 115 to the acceleration / deceleration processing unit 125. Furthermore, when the interference determination unit 135 determines that interference will occur, the movement command output unit 120 stops outputting the distributed movement amount to the acceleration / deceleration processing unit 125.

[0032] The acceleration / deceleration processing unit 125 performs a predetermined acceleration / deceleration process on the distributed movement amount input from the movement command output unit 120. Then, the acceleration / deceleration processed movement command is output to the servo control unit 130 as the distributed movement amount subjected to the acceleration / deceleration process. Then, the servo control unit 130 controls the driving of the servo motor 50 attached to the industrial machine 3 based on the input distributed movement amount.

[0033] The interference determination unit 135 determines whether or not there is interference in the movement of the moving parts of the industrial machine 3, based on the check position input from the distribution processing unit 115 and the prohibited movement amount of each axis input from the interference check device 2. More specifically, the interference determination unit 135 compares the distributed movement amount of each axis beyond the check position input from the distribution processing unit 115 (distributed movement amount calculated by the distribution processing unit 115) with the prohibited movement amount of each axis from the check position input from the interference check device 2. Then, if the distributed movement amount is equal to or greater than the prohibited movement amount, it determines that interference will occur. If the interference determination unit 135 determines that interference will occur, it outputs a message to that effect to the movement command output unit 120.

[0034] Meanwhile, each function of the interference check device 2 according to this embodiment is realized by a CPU 211 included in the interference check device 2 shown in Fig. 1 executing a system program and controlling the operation of each part of the interference check device 2. The interference check device 2 of this embodiment includes a prohibited movement amount calculation unit 210. Also, on the RAM 213 to the non-volatile memory 214 of the interference check device 2, a model data storage unit 280 is provided in which models indicating the shapes of the moving parts of the industrial machine 3 and interfering objects such as a workpiece, a table, and a jig are stored in advance.

[0035] The prohibited movement amount calculation unit 210 performs a simple simulation process based on the models of the moving part and the interfering object stored in the model data storage unit 280. Then, it calculates the prohibited movement amount indicating how far the moving part needs to be moved from the check position along each axis before there is a possibility that the moving part and the interfering object will interfere with each other. The prohibited movement amount calculation unit 210 transmits the calculated prohibited movement amount for each axis to the control device 1.

[0036] A method for calculating the prohibited movement amount by the prohibited movement amount calculation unit 210 will be described with reference to Figs. 3 to 6. Fig. 3 is a diagram showing an arrangement of a spindle 301 to which a tool 303 as a moving part is attached, a table 305 and a workpiece 309 as interfering objects, and a jig 307 for fixing the workpiece 309. The prohibited movement amount calculation unit 210 performs a simulation process and calculates the positional relationship between the moving part at the check position and the interfering object. Fig. 3 shows a case where a moving part is located at the current position output to the prohibited movement amount calculation unit 210 by the distribution processing unit 115.

[0037] Next, the prohibited movement amount calculation unit 210 calculates the movement amount from the check position by the movement unit. W For example, if the moving part moves in the Y-axis direction at an allowable speed v ymax In this case, the moving part is moved in the Y-axis direction within the check time range T W Between v ymax ×T W 4, the prohibited movement amount calculation unit 210 calculates the distance from the check position along the Y axis by ±v ymax ×T W The simulation is carried out to see whether interference occurs between the moving part and the interfering object when the moving part is moved to a position at a distance of v ymax ×T W A predetermined distance Δd y The moving part is moved in steps and a simulation is performed at each position. Then, it is judged whether interference occurs in each case and the distance range where interference does not occur is obtained. This distance where interference does not occur can be calculated as the prohibited movement amount. In the example of Figure 4, the moving part is moved along the Y axis by ±v ymax ×T W Since no interference occurs between the moving part and the interfering object even if it is moved by the distance, the prohibited movement amount in the Y-axis direction is not calculated (there are no restrictions on the Y-axis in either the positive or negative directions).

[0038] On the other hand, the moving part moves in the X-axis direction at an allowable speed v xmaxIf it is possible to move the moving part in the X-axis direction, the check time width T W Between v xmax ×T W Therefore, as shown in FIG. 5, the prohibited movement amount calculation unit 210 calculates the distance from the check position along the X axis by ±v xmax ×T W In the example shown in Figure 5, the moving part is moved along the X axis by ±v xmax ×T W If the distance is moved by -d in the negative direction of the X axis, xcol In such a case, the prohibited movement amount calculation unit 210 calculates the prohibited movement amount in the negative X-axis direction as d xcol (There are no restrictions in the positive X-axis direction.)

[0039] The prohibited movement amount calculation unit 210 can calculate the prohibited movement amount not only for linear axes but also for rotary axes. For example, as shown in FIG. 6, consider a case where the prohibited movement amount of the B-axis is to be calculated in an industrial machine 3 equipped with a B-axis. In this case, the B-axis moves at an allowable angular velocity ω amax If the moving part can rotate with the B axis, the moving part rotates with the check time width T W Between ω amax ×T W As shown in FIG. 6, the prohibited movement amount calculation unit 210 can rotate the check position by an angle of ±ω amax ×T W In the example of Figure 6, the moving part is rotated by ±ω along the B axis. amax ×T W When rotated by an angle of -d in the negative direction of the B axis, acol In such a case, the prohibited movement amount calculation unit 210 calculates the prohibited movement amount in the negative direction of the B axis by d acol (There are no restrictions in the positive direction of the B axis.)

[0040] In addition, the above-mentioned method of calculating the prohibited movement amount does not take into account the range of the combined movement of each axis of the industrial machine 3. Therefore, it is not possible to check for interference in the strict sense. However, the T W By setting T to a small value, interference check can be performed with sufficient accuracy. For example, T W By keeping the time to the end of the interference check to within several hundred milliseconds, it is possible to perform an interference check with a precision sufficient to avoid interference that may occur in machining with a normal machine tool. With this method, the amount of calculation required for the interference check is significantly smaller than when the interference check is performed taking into account the range obtained by combining the movements of each axis. Therefore, by adopting the above-mentioned method for calculating the prohibited movement amount, the PC used in the interference check device 2 can be made relatively inexpensive, and the overall introduction cost can be reduced.

[0041] Of course, when the target is an industrial machine 3 with a small number of axes, the amount of calculation in the interference check device 2 is sufficiently small, so a strict interference check may be performed taking into account the composite movement amount of each axis. Also, by constructing the interference check device 2 on a high-performance PC, it is possible to calculate a more strict prohibited movement amount taking into account the composite movement amount of each axis even when the number of axes is large, and use this as the present invention. When configured in this way, the prohibited movement amount of each axis may be created in the form of a function whose value changes depending on the range of the movement amount of the other axis, and output to the control device 1.

[0042] For example, in the above example, the prohibited movement amount calculation unit 210 calculates the prohibited movement amount in the negative X-axis direction as d xcol -M x (M x is the margin amount on the X-axis), and the prohibited movement amount in the negative direction on the B-axis is d acol -M a (M a is the margin amount on the B axis).

[0043] 7 is a sequence chart showing the flow of interference check processing in the control system 4 in which the above-mentioned control device 1 and interference check device 2 cooperate with each other. When the control device 1 and the interference check device 2 cooperate to check interference, the control device 1 calculates the coordinate values ​​of the position where the interference check is performed, and outputs the calculated coordinate values ​​at time t A At time t B The interference check device 2 receives the coordinate values ​​of the check position, and calculates the coordinate values ​​of the check position by using a model of the moving part and the interfering object stored in advance. W The system checks whether interference occurs within the range in which the moving part can move along each axis during the time t C The signal is transmitted to the control device at time t D The control device 1 receives the prohibited movement amount for each axis at time t E At time t F The moving part stops at

[0044] 8A to 8D, the relationship between the actual position of the moving part of the industrial machine 3 at each time point when an interference check is being performed, the current position of the moving part set in the current position register of the control device 1, and the check position checked by the interference check device 2 will be described. In Fig. 8A to 8D, the arrows indicate the movement path 405 of the moving part commanded by the machining program 180. Also, the black circle indicates the actual position 410 of the moving part, the white circle indicates the current position 415 of the moving part set in the register, the white triangle indicates the check position 420, and the black square indicates the interference position 425.

[0045] FIG. 8A shows the time t A 4 is a diagram showing the positional relationship between the actual position 410 and the current position 415 at time t AIn the control device 1, the current position of the moving part set in the current position register is updated based on the distributed moving amount. Then, the updated current position is output as the check position to the interference check device 2. As illustrated in Fig. 8A, while the moving part is moving, the actual position 410 of the moving part of the industrial machine 3 always lags behind the updated current position 415 in the control device 1.

[0046] FIG. 8B shows the time t B 8B is a diagram showing the positional relationship between an actual position 410, a current position 415, and a check position 420 in the time t. During the time until the current position output from the distribution processing unit 115 is input to the interference check device 2 as a check position, the control device 1 performs analysis of the machining program 180 and each of the distribution processes, and the industrial machine 3 moves a moving part. Therefore, as shown in FIG. 8B, the actual position 410 and the current position 415 are A On the other hand, the check position 420 is located further along the movement path 405 than at time t A After that, the actual position 410 and the current position 415 continue to move along the movement path 405 even while the prohibited movement amount calculation unit 210 is calculating the prohibited movement amount.

[0047] FIG. 8C shows the time t D 4 is a diagram showing the positional relationship between an actual position 410, a current position 415, a check position 420, and an interference position 425 in the time period from when the prohibited movement amount calculation unit 210 calculates the prohibited movement amount for each axis to when the amount is output to the control device 1, the actual position 410 and the current position 415 continue to move along the movement path 405. After that, at the time when the interference determination unit 135 determines that interference will occur (time t E ), the actual position 410 of the moving part must be at least the distance before the check position + prohibited movement amount, i.e., the interference position 425. If it is at least the distance before the stop, as shown in FIG. 8D, F At this point, the movement of the moving part stops just before the interference position 425.

[0048] As can be understood from the above explanation, from the time when the control device 1 transmits the check position to the interference check device 2, the interference check device 2 calculates the prohibited movement amount, and until the control device 1 receives the calculated prohibited movement amount, the control device 1 continues to analyze the commands of the machining program 180 and update the current position, and the moving part of the industrial machine 3 continues to move. Therefore, from the perspective of the control device 1, until the judgment result at the check position output to the interference check device 2 is returned, the interference judgment unit 135 needs to judge interference using the previous check position and prohibited movement amount. If the check cycle of the interference check device 2 is set to T PC Then, the check position notification time T1 = (t B -t A ), the prohibited movement amount calculation processing time T C =(t C -t B ), prohibited movement amount notification time T2=(t D -t C ), interference detection processing time T3 = (t E -t D ), the time it takes to decelerate to a stop T S =(t F -t E ), then, for example, the check time interval T W By doing so, the ranges of interference checks in the calculation of each prohibited movement amount will overlap. Therefore, while the calculation of the prohibited movement amount is being requested to the interference check device 2, the range of interference determination using the previous check position and prohibited movement amount can be fully covered.

[0049]

number

[0050] The control device 1 having the above configuration can perform an interference check in cooperation with the interference check device 2 (PC) without transmitting the preceding position to the interference check device 2. The control device 1 does not need to manage two position coordinates, the current position and the preceding position, so it can manage the moving position of the moving part with simple processing. In addition, since the control device 1 can perform an interference check using the position it currently knows, it can also handle cases where there are two or more predicted candidates for the preceding position depending on the situation. Similarly, it can also be applied to cases where the preceding position cannot be predicted in advance, such as manual driving.

[0051] Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described examples of the embodiments, and can be embodied in various forms by making appropriate modifications. For example, when the distribution processing unit 115 of the control device 1 transmits the check position, the check time width T W The check time width T W Examples of information useful for identifying the range in which the moving part can move include information such as the allowable speed, allowable acceleration, allowable jerk, current speed, whether the axis is moving, etc. The prohibited movement amount calculation unit 210 uses this information to calculate the check time width T W For example, the range in which the moving part can move can be calculated more precisely using the current speed and the allowable acceleration. W Since the speed that can be reached between these speeds can be calculated, the movement range of the moving part can be limited by using this as the maximum speed. Also, if a certain axis does not move, the calculation for that axis can be omitted. This information contributes to reducing the calculation cost in the interference check device 2.

[0052] In the above embodiment, the interference determination unit 135 compares the prohibited movement amount with the distributed movement amount calculated by the distribution processing unit 115, and determines that interference will occur if the distributed movement amount is equal to or greater than the prohibited movement amount. However, the interference determination unit 135 may compare the prohibited movement amount with the distributed movement amount obtained by performing a predetermined acceleration / deceleration processing on the acceleration / deceleration processing unit 125.

[0053] FIG. 9 is a schematic block diagram showing functions of the control device 1 when a position calculated based on the distributed movement amount accelerated and decelerated by the acceleration / deceleration processing unit 125 is used as a check position. In the control device 1 according to this modification, the interference determination unit 135 compares the distributed movement amount beyond the check position input from the acceleration / deceleration processing unit 125 with the prohibited movement amount for each axis from the check position input from the interference check device 2. Then, if the distributed movement amount beyond the check position input from the acceleration / deceleration processing unit 125 is equal to or greater than the prohibited movement amount, it determines that interference will occur. If the interference determination unit 135 determines that interference will occur, it notifies the movement command output unit 135 to that effect. 120 Then, the movement command output unit 120 When the interference determination unit 135 determines that interference will occur, it stops outputting the movement command to the servo control unit 130 .

[0054] The distributed movement amount that has been subjected to acceleration / deceleration processing by the acceleration / deceleration processing unit 125 is output as a movement command to the servo control unit 130. Therefore, the control device 1 of this modified example can perform a more rigorous interference check compared to the case where interference is determined based on the distributed movement amount calculated by the distribution processing unit 115. [Explanation of symbols]

[0055] 1 Control device 2. Interference check device 3. Industrial machinery 4. Control System 5. Network 6. Fog Computer 7. Cloud Server 11 CPU 12 ROM 13 RAM 14 Non-volatile memory 15,17,18,20 Interface 19 I / O Unit 22 Bus 30-axis control circuit 40 Servo Amplifier 50 Servo motor 60 Spindle control circuit 61 Spindle amplifier 62 Spindle motor 63 Position Coder 70 Display device 71 Input Devices 72 External equipment 110 Command analysis section 115 Distribution processing unit 120 Movement command output section 125 Acceleration / deceleration processing unit 130 Servo control unit 135 Interference detection section 180 Machining Programs 210 Prohibited movement amount calculation section 211 CPU 212 ROM 213 RAM 214 Non-volatile memory 215,217,218,220 Interface 222 Bus 270 Display device 271 Input Device 272 External equipment 280 Model Data Storage Unit 301 Main shaft 303 Tools 305 Table 307 Jig 309 Work 405 Travel Path 410 Actual position 415 Current location 420 Check position 425 Interference Position

Claims

1. A control device that controls the movement of a moving part of an industrial machine along an axis based on a machining program, and performs an interference check in cooperation with an interference check device that checks for interference between the moving part and an interfering object, comprising: A command analysis unit that analyzes a block of the machining program; a distribution processing unit that creates a distributed movement amount for each distribution period based on the analysis result of the command analysis unit, calculates an updated position of the moving unit based on the distributed movement amount, and notifies the interference check device of the updated position; an interference determination unit that determines whether or not the moving unit interferes with the interfering object based on a prohibited movement amount that is calculated by the interference check device based on the notified position and is a distance that may cause interference if the moving unit moves from the position of the moving unit; and Equipped with When the interference determination unit determines that interference occurs between the moving unit and the interfering object, the movement of the moving unit is stopped. Control device.

2. An acceleration / deceleration processing unit that performs a predetermined acceleration / deceleration process on the distribution movement amount for each distribution period created by the distribution processing unit, the interference determination unit determines whether or not there is interference between the moving unit and the obstructing object by comparing a movement amount beyond the position calculated based on a distributed movement amount subjected to a predetermined acceleration / deceleration process by the acceleration / deceleration processing unit with the prohibited movement amount; The control device according to claim 1 .

3. the distribution processing unit notifies the interference check device of information useful for identifying a range in which the movable unit can move, in addition to the position of the movable unit; The control device according to claim 1 .

4. An interference check device for checking interference between a moving part that moves along an axis of an industrial machine and an interfering object, a model data storage unit that stores models of the moving unit and the interfering object; a prohibited movement amount calculation unit that calculates a prohibited movement amount by which interference may occur if the moving unit moves from the position of the moving unit, based on a position of the moving unit notified by a control device that controls the industrial machine and a model of the moving unit and the interfering object stored in the model data storage unit, Transmitting the calculated prohibited movement amount to the control device; Interference checking device.

5. a movement range of the movable part in the interference check is set so as to partially overlap with a movement range of the movable part in an interference check in a next period; 5. The interference checking device according to claim 4.

6. A control system for performing interference checks in cooperation with a control device that controls the movement of a moving part of an industrial machine along an axis based on a machining program and an interference check device that checks for interference between the moving part and an interfering object, comprising: The interference check device includes: a model data storage unit that stores models of the moving unit and the interfering object; a prohibited movement amount calculation unit that calculates a prohibited movement amount that may cause interference by moving from the position of the moving unit, based on the position of the moving unit notified from the control device and a model of the moving unit and the interfering object stored in the model data storage unit; Equipped with The control device includes: A command analysis unit that analyzes a block of the machining program; a distribution processing unit that creates a distributed movement amount for each distribution period based on the analysis result of the command analysis unit, calculates an updated position of the moving unit based on the distributed movement amount, and notifies the interference check device of the updated position; an interference determination unit that determines whether or not there is interference between the moving unit and the interfering object based on the prohibited movement amount calculated by the prohibited movement amount calculation unit, When the interference determination unit determines that interference occurs between the moving unit and the interfering object, the movement of the moving unit is stopped. Control system.

Citation Information

Patent Citations

  • Interference checking method

    JP1997027046A

  • Numerical control device

    JP2007172068A

  • Numerical control device

    JP2008027376A

  • Machine tool numerical control device

    JP2009075799A

  • Interference check device, interference check method, and machine tool having the interference check device

    WO2010004960A1