CALCULATION DEVICE AND COMPUTER-READABLE STORAGE MEDIUM
The computing device and storage medium convert positional deviations into a common coordinate system to accurately calculate and correct synchronization errors between angled master and slave axes, improving multi-axis machine tool precision.
Patent Information
- Application Number
- DE112023005575
- Authority / Receiving Office
- DE · DE
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-24
- Publication Date
- 2025-12-18
AI Technical Summary
Existing technologies fail to accurately calculate the deviation between a master axis and a slave axis positioned at an angle, as simple subtraction of positional deviations is insufficient.
A computing device and storage medium that convert positional deviations of master and slave axes into a common coordinate system, allowing for precise calculation of the deviation magnitude and synchronization error detection.
Enables accurate calculation and correction of synchronization errors between axes, even when they are angled, enhancing precision in multi-axis machine tools.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
TECHNICAL AREA
[0001] The present invention relates to a calculating device and a computer-readable storage medium. GENERAL STATE OF THE ART
[0002] There are conventional technologies for synchronous control of a master axis and a slave axis in a multi-axis machine tool (see, for example, patent literature example 1). In a case where a master axis and a slave axis are moved along an axis in a coordinate system, the magnitude of the deviation between the master axis and the slave axis is calculated by subtracting one of the positional deviations of the master axis and the slave axis from the other positional deviation. DOCUMENTATION OF THE STATE OF TECHNOLOGY PATENT LITERATURE
[0003] Patent literature example 1: Japanese patent disclosure no. 2003-131712 Brief presentation problems that the invention is intended to solve
[0004] However, if the slave axis is positioned at an angle to the master axis, the correct magnitude of the deviation cannot simply be calculated by subtracting one of the positional deviations of the master and slave axes from the other. Therefore, there is a need for a technology that can accurately calculate the magnitude of the deviation between a master axis and a slave axis positioned at an angle to the master axis. MEANS TO SOLVENT THE PROBLEM
[0005] A computing device of the present disclosure comprises a acquisition unit for obtaining a first value representing a positional deviation of a master axis and a second value representing a positional deviation of a slave axis arranged at a predetermined angle to the master axis; a conversion unit for performing at least either a conversion of the first value obtained by the acquisition unit into a third value representing a positional deviation of the master axis in a predetermined coordinate system, or a conversion of the second value obtained by the acquisition unit into a fourth value representing a positional deviation of the slave axis in the predetermined coordinate system;a calculation unit for calculating the magnitude of the deviation between the positional deviation of the master axis and the positional deviation of the slave axis in the predetermined coordinate system based on the first and fourth values, the second and third values, or the third and fourth values; and an output unit for outputting the magnitude of the deviation calculated by the calculation unit.
[0006] A computer-readable storage medium of the present disclosure stores instructions that allow a computer to obtain a first value representing a positional deviation of a master axis and a second value representing a positional deviation of a slave axis arranged at a predetermined angle to the master axis; at least either to convert the obtained first value into a third value representing a positional deviation of the master axis in a predetermined coordinate system, or to convert the obtained second value into a fourth value representing a positional deviation of the slave axis in the predetermined coordinate system;to calculate, based on the first and fourth values, the second and third values, or the third and fourth values, the magnitude of the deviation between the positional deviation of the master axis and the positional deviation of the slave axis in the predetermined coordinate system; and to output the calculated magnitude of the deviation. BRIEF DESCRIPTION OF THE DRAWINGS Fig. Figure 1 shows an example of a system that includes a computing device; Fig. Figure 2 is a block diagram showing an example of a hardware setup of the computing device; Fig. Figure 3 is a block diagram showing an example of functions of the computing device; Fig. 4 shows an inclination of a steering axis; Fig. 5A shows a position deviation; Fig. 5B shows a different positional deviation; Fig. Figure 6A shows a positional deviation of an inclined axis; Fig. Figure 6B shows a different positional deviation of the inclined axis; Fig. Figure 7A shows an example of a processing machine; Fig. Figure 7B shows another example of the processing machine; Fig. Figure 8A shows another example of the processing machine; Fig. Figure 8B shows yet another example of the processing machine; Fig. Figure 9 is a flowchart showing an example of processes that are performed in the computing device; Fig. Figure 10 is a block diagram showing an example of a hardware setup of the processing machine; Fig. Figure 11 is a block diagram showing an example of functions of the computing device set up in a numerical control system; and Fig. Figure 12 is a flowchart showing an example of processes that are performed in the computing device. DETAILED DESCRIPTION
[0007] With reference to the drawings, a description of a computing device and a computer-readable storage medium according to embodiments of the present disclosure will now be given. In the following description, elements having the same or similar functions are designated by the same reference numerals. Moreover, a repeated description of these elements may be omitted.
[0008] The expression "based on XX" in this application means "at least on the basis of XX" and may also be based on factors other than XX. The expression "based on XX" is not limited to cases where XX is used directly, but also includes cases where a calculation or modification is performed on XX. This "XX" is any element (e.g., any piece of information).
[0009] Fig. Figure 1 shows an example of a system that includes a computing device. The system includes a computing device 1 and a processing machine 2. The computing device 1 and the processing machine 2 are connected to each other via a network N.
[0010] The calculation device 1 is designed to calculate the extent of deviation between several control axes arranged at angles to each other in the machining center 2. The calculation device 1 is, for example, installed in a personal computer (PC), a server, or a mobile device.
[0011] The processing machine 2 comprises a machine tool, a laser machine, or a 3D printer. The machine tool is, for example, a machining center, a lathe, or a multi-purpose machine. The control axes include, for example, an X-axis, a Y-axis, and a Z-axis. The extent of the deviation will be described in detail later.
[0012] The machining center 2 has multiple systems. In each system, control axes operate based on a machining program. For example, the control axes in each system operate in several coordinate systems that differ from one another. However, the control axes in each system can also operate in a common coordinate system. The multi-system machining center 2 is, for example, a lathe with an upper tool holder and a lower cutting tool, or a multi-purpose machine with multiple spindle heads.
[0013] The machine tool 2 has a numerical control 3. The numerical control 3 is configured to control the machine tool 2. For example, the numerical control 3 controls the operation of the control axes of the machine tool 2.
[0014] Network N provides a wired or wireless connection between computer 1 and processing machine 2. For example, network N could be an internet connection or a local area network (LAN).
[0015] Fig. Figure 2 is a block diagram showing an example of a hardware configuration of the computing device 1. The computing device 1 includes, for example, a hardware processor 101, a bus 102, a read-only memory (ROM) 103, a random-access memory (RAM) 104, a non-volatile memory 105, an interface 106, an input / output device 107, and a communication device 108.
[0016] The hardware processor 101 is configured to control the entire computing device 1 using a system program. The hardware processor 101 reads a system program stored in the ROM 103 via bus 102. The hardware processor 101 is, for example, a central processing unit (CPU) or an electronic circuit.
[0017] Bus 102 is a communication channel that connects the hardware components of computing device 1. The hardware components of computing device 1 exchange data with each other via bus 102.
[0018] The ROM 103 is a storage device that stores the system program and similar data. The ROM 103 is a computer-readable storage medium.
[0019] The RAM 104 is a memory device that temporarily stores various data. The RAM 104 serves as a workspace that allows the hardware processor 101 to process the various data.
[0020] The non-volatile memory 105 is a storage device that retains data even when the power supply to the computing device 1 is switched off. The non-volatile memory 105 is configured to store, for example, a program for calculating the magnitude of a deviation. The non-volatile memory 105 is a computer-readable storage medium. The non-volatile memory 105 consists, for example, of a battery-backed storage device or a solid-state drive (SSD).
[0021] Interface 106 is configured to connect bus 102 to input / output device 107. Interface 106 transmits, for example, the various data processed by hardware processor 101 to input / output device 107.
[0022] The input / output device 107 is configured to receive various data via interface 106 and display this data on a monitor. Furthermore, the input / output device 107 accepts input of various data and transmits this data via interface 106, for example, to the hardware processor 101.
[0023] The input / output device 107 includes, for example, a monitor, a keyboard, and a mouse. The input / output device 107 can be a touch panel. If the input / output device 107 is a touch panel, it is, for example, a capacitive touch panel. The touch panel is not limited to the capacitive type; it can also be another type of touch panel.
[0024] The communication device 108 is configured to communicate with the machine tool 2 via network N. The communication device 108 sends data to the numerical control 3, which controls the machine tool 2, and receives data from it.
[0025] Fig. Figure 3 is a block diagram showing an example of the functions of the computing device 1. For example, the computing device 1 has a receiving unit 111, a conversion unit 112, a computing unit 113, an output unit 114, and a determination unit 115. The receiving unit 111, the conversion unit 112, the computing unit 113, the output unit 114, and the determination unit 115 are implemented, for example, such that the hardware processor 101 performs arithmetic using the system program stored in the ROM 103 and a program for calculating the extent of the deviation stored in the non-volatile memory 105.
[0026] The acquisition unit 111 is configured to acquire a first value representing a positional deviation of a master axis and a second value representing a positional deviation of a slave axis arranged at a predetermined angle to the master axis.
[0027] The master axis is a control axis that operates according to a command based on a machining program. For example, the master axis is a control axis contained in a first system.
[0028] The slave axis is a control axis that operates based on a duplicated command for the master axis. For example, the slave axis operates based on a pulse signal generated by duplicating a pulse signal for the master axis. This means that the master axis and the slave axis are controlled synchronously. In other words, the slave axis is a control axis that follows the master axis. For example, the slave axis is a control axis contained in a second system that is different from the first system.
[0029] Fig. Figure 4 shows a tilt of a control axis. At least one of the slave and master axes is arranged at an angle to orthogonal axes. The orthogonal axes are three axes that are orthogonal to each other. For example, the orthogonal axes include two axes that are orthogonal to each other and arranged horizontally, and one axis that is orthogonal to both axes. In the example shown in Fig. As shown in Figure 4, the X-axis and the Yi-axis are orthogonal axes. However, the Yi-axis is a hypothetical axis.
[0030] For example, a Y-axis is arranged at an angle to the horizontally oriented X-axis. An axis arranged at angles to orthogonal axes is called an inclined axis. In the example shown in Fig. As shown in Figure 4, the Y-axis is a tilted axis. A coordinate system that contains a tilted axis is called a tilted coordinate system.
[0031] Even if a control axis is inclined, the machining program determines a motion command using coordinate values on the orthogonal axes. When a machine tool assembly 2 is moved along the Y-axis, the coordinate values of the Y-axis, which is orthogonal to the X-axis, are used to determine the motion command. In this case, the numerical control 3 converts the Y-axis coordinate values determined by the machining program into Y-axis coordinate values for moving the assembly. That is, the numerical control 3 converts coordinate values in an orthogonal coordinate system into coordinate values in an inclined coordinate system for controlling the control axis. The orthogonal coordinate system is a coordinate system with three axes that are orthogonal to each other.
[0032] Fig. 5A and Fig. Figure 5B shows positional deviations. Here, positional deviations of the orthogonal axes are described. An Xm-axis and a Ym-axis in Fig. 5A each represent an X-axis and a Y-axis of a master axis belonging to the first system. An Xs-axis and a Ys-axis in Fig. 5B represents the X-axis and Y-axis of a slave axis belonging to the second system. The first system, for example, has a first spindle head. The second system, for example, has a second spindle head.
[0033] A position deviation is a difference between a command value when a structure such as a spindle head moves along the control axis, and an actual degree of movement of the structure.
[0034] For example, during the execution of a machining program, a motion command is issued in a control cycle to move the spindle head along the Ym-axis from position 0 to position 100. The motion command is, for example, a pulse signal.
[0035] However, it can happen that the first spindle head can only reach position 60 in the relevant control cycle. More precisely, it can happen that the movement is not performed for a range of motion that corresponds to the pulse signal output in a given control cycle. In this case, the position deviation of the Ym axis is 40. In other words, the first value indicating the position deviation of the master axis is 40.
[0036] When a motion command is issued to move the first spindle head along the Ym-axis from position 0 to position 100, a similar motion command is issued for the Ys-axis. That is, a motion command is issued to move the second spindle head along the Ys-axis from position 0 to position 100. In the control cycle during which the first spindle head reaches position 60, the second spindle head might, for example, only reach position 50. In this case, the position deviation of the Ys-axis is 50. With other values, the second value, which specifies the position deviation of the slave axis, is also 50.
[0037] Next, the magnitude of deviation will be described. The magnitude of deviation represents the difference between the positional deviation of the master axis and the positional deviation of the slave axis. In a case where the master axis and the slave axis are orthogonal axes, the magnitude of deviation represents the difference between the first value and the second value. The examples in Fig. 5A and Fig. As shown in 5B, the magnitude of the deviation is 10. The magnitude of the deviation represents the size of a synchronization error.
[0038] Fig. 6A and Fig. Figure 6B shows the positional deviations of the inclined axes. The Yi axis in Fig. 6A is a hypothetical axis that is orthogonal to the Xm-axis. The Xm-axis and the Y-axis correspond, respectively, to the X-axis and Y-axis of the master axis belonging to the first system. The Ym-axis is arranged at an angle of 30 degrees to the Yi-axis. In other words, the angle between the Xm-axis and the Ym-axis is 60 degrees.
[0039] The Yi axis in Fig. 6B is a hypothetical axis that is orthogonal to the Xs-axis. The Xs-axis and Ys-axis correspond to the X-axis and Y-axis, respectively, of the slave axis belonging to the second system. The Ys-axis is oriented at an angle of 45 degrees to the Y-axis. In other words, the angle between the Xs-axis and the Ys-axis is 45 degrees.
[0040] When the first spindle head is moved along the Ym-axis based on the machining program for the first system, a command value for the Yi-axis is converted into a command value for the Ym-axis. That is, a command value in the orthogonal coordinate system is converted into a command value in the inclined coordinate system. Command values shown below in the inclined coordinate system are rounded to one decimal place.
[0041] For example, if the first spindle head is moved from position 0 to position 100 on the Yi axis, a command value of 100 for the first spindle head is converted into a command value of 115.5 for the Ym axis. When a move command is executed to move the first spindle head to position 115.5 on the Ym axis, the first spindle head is moved to a position of 69.3 on the Ym axis. This means that the movement range of the first spindle head is 69.3. In this case, the positional deviation of the first spindle head on the Ym axis is 46.2.
[0042] When the first spindle head moves along the Ym-axis, the second spindle head moves in synchronization with the first. In this case, the command value for the Ym-axis is converted to the command value for the Yi-axis, and then the command value for the Yi-axis is converted to the command value for the Ys-axis. In other words, the command value for the first spindle head in the inclined coordinate system is converted to the command value in the orthogonal coordinate system, and then the command value in the orthogonal coordinate system is converted to the command value for the second spindle head in the inclined coordinate system.
[0043] For example, if the second spindle head is moved from position 0 to position 100 on the Yi-axis in the orthogonal coordinate system, a command value of 100 for the Yi-axis is converted into a command value of 141.4 for the Ys-axis. If a move command is executed to move the second spindle head to position 141.4 on the Ys-axis, the second spindle head will move to a position of 70.7 on the Ys-axis. This means that the range of motion of the second spindle head is 70.7. In this case, the positional deviation of the second spindle head on the Ys-axis is 70.7. Now let's return to the description in Fig. 3 back.
[0044] The conversion unit 112 is configured to perform at least one of the following actions: either converting the first value obtained by the acquisition unit 111 into a third value representing the positional deviation of the master axis in a predefined coordinate system, or converting the second value obtained by the acquisition unit 111 into a fourth value representing the positional deviation of the slave axis in the predefined coordinate system. In other words, the conversion unit 112 converts the positional deviation of the master axis and the positional deviation of the slave axis into positional deviations of the master axis and the slave axis in a common coordinate system. The predefined coordinate system is either an inclined or an orthogonal coordinate system.
[0045] For example, if the master axis is included in the inclined coordinate system, conversion unit 112 converts the positional deviation of the master axis to the positional deviation of an orthogonal axis. This means that the converted positional deviation of the master axis in the orthogonal coordinate system is the third value. In the example shown in Fig. As shown in Figure 6A, the conversion unit 112 converts the position deviation of 46.2 on the Ym axis into a position deviation of 40 on the Yi axis.
[0046] Or, if the slave axis is included in the inclined coordinate system, the conversion unit 112 converts the positional deviation of the slave axis into a positional deviation of the orthogonal axis. That is, the converted positional deviation of the slave axis in the orthogonal coordinate system is the fourth value. In the example shown in Fig. As shown in Figure 6B, the conversion unit 112 converts the position deviation of 70.7 on the Ys axis into a position deviation of 50 on the Yi axis.
[0047] In a case where the master axis is in the orthogonal coordinate system and the slave axis is in the inclined coordinate system, conversion unit 112 does not convert the positional deviation of the master axis. In a case where the master axis is in the inclined coordinate system and the slave axis is in the orthogonal coordinate system, conversion unit 112 does not convert the positional deviation of the slave axis.
[0048] The conversion unit 112 can convert any positional deviation of the master axis and the positional deviation of the slave axis into a positional deviation in the coordinate system of the other axis. For example, in a case where the master axis is in the orthogonal coordinate system and the slave axis is in the inclined coordinate system, the conversion unit 112 can convert the positional deviation of the master axis into a positional deviation in the inclined coordinate system. Alternatively, in a case where the master axis is in the inclined coordinate system and the slave axis is in the orthogonal coordinate system, the conversion unit 112 can convert the positional deviation of the slave axis into a positional deviation in the inclined coordinate system.
[0049] It is also possible that the master axis is contained in a first inclined coordinate system and the slave axis is contained in a second inclined coordinate system that differs from the first inclined system. In this case, the conversion unit 112 can convert the positional deviation of the master axis in the first inclined coordinate system into the positional deviation of the slave axis in the second inclined coordinate system. Alternatively, the conversion unit 112 can convert the positional deviation of the slave axis in the second inclined coordinate system into the positional deviation of the master axis in the first inclined coordinate system. Alternatively, the conversion unit 112 can convert the positional deviation of the master axis and the positional deviation of the slave axis into positional deviations in a third coordinate system that differs from the first and second coordinate systems.
[0050] The calculation unit 113 calculates, based on any of the first and fourth values, the second and third values, or the third and fourth values, a magnitude of deviation between the positional deviation of the master axis and the positional deviation of the slave axis in a predetermined coordinate system.
[0051] If the master axis is contained in the orthogonal coordinate system and the slave axis is contained in the inclined coordinate system, the computation unit 113 calculates the magnitude of the deviation based on the first and fourth values. The computation unit 113 calculates the magnitude of the deviation by obtaining either the difference between the first and fourth values or the absolute value of that difference.
[0052] If the master axis is in the inclined coordinate system and the slave axis is in the orthogonal coordinate system, the computation unit 113 calculates the magnitude of the deviation based on the second and third values. The computation unit 113 calculates the magnitude of the deviation by obtaining either the difference between the second and third values or the absolute value of that difference.
[0053] If the master axis is contained in the first inclined coordinate system and the slave axis is contained in the second inclined coordinate system, which differs from the first, the computation unit 113 calculates the magnitude of the deviation based on the second and fourth values. The computation unit 113 calculates the magnitude of the deviation by obtaining either the difference between the second and fourth values or an absolute value of the difference between the second and fourth values.
[0054] The examples that are in Fig. 6A and Fig. As shown in Figure 6B, calculation unit 113 calculates the magnitude of the deviation based on the second and fourth values. The magnitude of the deviation calculated by calculation unit 113 is 10.
[0055] Output unit 114 outputs the magnitude of the deviation calculated by calculation unit 113. For example, output unit 114 displays the magnitude of the deviation on the monitor of input / output device 107.
[0056] The determination unit 115 compares the extent of the deviation, calculated by the computation unit 113, with a predefined threshold and determines whether or not a synchronization error exists between the master axis and the slave axis. For example, the determination unit 115 determines whether or not a synchronization error exists during each control cycle.
[0057] The threshold value can be defined, for example, in a parameter. The parameter is stored, for example, in a predetermined area in non-volatile memory 105.
[0058] Unit of determination 115 determines that a synchronization error exists if, for example, the extent of the deviation exceeds the predefined threshold. If, for example, the extent of the deviation calculated by unit of calculation 113 is lower than or equal to the predefined threshold, unit of determination 115 determines that no synchronization error exists.
[0059] If the determining unit 115 has determined that a synchronization error has occurred, the output unit 114 outputs information indicating the occurrence of the synchronization error. For example, the information indicating the occurrence of the synchronization error is displayed by the output unit 114 on the monitor of the input / output device 107.
[0060] Fig. 7A and Fig. Figure 7B shows an example of machining device 2. For example, machining device 2 has a first system and a second system. The first system contains a first spindle head H1. The second system contains a second spindle head H2. The first spindle head H1 and the second spindle head H2 are both arranged in the same direction when viewed from a workpiece W. For example, the first spindle head H1 and the second spindle head H2 are arranged above the workpiece W.
[0061] The coordinate system of the first system is an inclined coordinate system. More precisely, the Ym-axis is arranged at an angle of θ1 degree to a Ymi-axis. The Ymi-axis is a hypothetical axis that is orthogonal to the Xm-axis. The angle of θ1 degree indicates, for example, an installation error that occurred during the machine's installation.
[0062] The coordinate system of the second system is also an inclined coordinate system. More precisely, the Ys-axis is positioned at an angle of θ2 degrees to a Ysi-axis, which differs from the angle of θ1 degree. The Ysi-axis is a hypothetical axis that is orthogonal to the Xs-axis. The angle of θ2 degrees, for example, indicates an installation error that occurred during the machine's installation.
[0063] The Xm-axis and the Xs-axis are parallel to each other. Furthermore, the Z-axis is an axis common to both the inclined coordinate system in the first system and the inclined coordinate system in the second system.
[0064] Fig. 8A and Fig. Figure 8B shows an example of machine tool 2. For example, the machine tool has the first system and the second system. The first system contains the first spindle head H1. The second system contains the second spindle head H2. The first spindle head H1 and the second spindle head H2 are arranged in different directions relative to the workpiece W. For example, the first spindle head H1 is located above the workpiece W. The second spindle head H2 is located below the workpiece W.
[0065] The coordinate system in the first system is an inclined coordinate system. More precisely, the Ym-axis is inclined at an angle of θ1 degree to the Ymi-axis. The Ymi-axis is a hypothetical axis that is orthogonal to the Xm-axis. The angle of θ1 degree indicates, for example, an installation error that occurred during the machine's installation.
[0066] The coordinate system in the second system is also an inclined coordinate system. More precisely, the Ys-axis is positioned at an angle of θ2 degrees to the Ysi-axis, which differs from the angle of θ1 degrees. However, the absolute value of the angle θ1 is equal to the absolute value of the angle θ2. That is, the equation θ1 = -θ2 holds true. The Ysi-axis is a hypothetical axis that is orthogonal to the Xs-axis. The angle of θ2 degrees, for example, indicates an installation error that occurred during the machine's installation.
[0067] The Xm-axis and the Xs-axis are parallel to each other. However, the positive and negative directions of the Xm-axis and the Xs-axis are opposite to each other. Furthermore, a Zm-axis and a Zs-axis are parallel to each other. The Zm-axis and the Zs-axis can be the Z-axis, which is common to the inclined coordinate system in the first system and the inclined coordinate system in the second system.
[0068] Fig. Figure 9 is a flowchart showing an example of processes performed in the computing device 1. First, the acquisition unit 111 in the computing device 1 obtains the first value and the second value (step SA1).
[0069] Then the conversion unit 112 performs at least either a conversion of the first value to the third value or a conversion of the second value to the fourth value (step SA2).
[0070] Then, the calculation unit 112 calculates the magnitude of the deviation (step SA3). Subsequently, the output unit 114 outputs the magnitude of the deviation (step SA4).
[0071] Then, the determination unit 115 determines whether a synchronization error exists or not (step SA5). The output unit 114 then outputs the result of the determination (step SA6). The processes in steps SA1 to SA6 are repeated in each control cycle, and these processes are terminated when the processing program is complete.
[0072] Now, an example of the implementation of the computing device 1 in the numerical control system 3 will be described. In this example, the computing unit 1 controls the machine tool 2.
[0073] Fig. Figure 10 is a block diagram showing an example of the hardware setup of the machine tool 2. The machine tool 2 has a numerical control 3, an input / output device 4, a servo amplifier 5, a servo motor 6, a spindle amplifier 7, a spindle motor 8, and an auxiliary device 9.
[0074] The numerical control 3 is configured to control the machine tool 2. For example, the numerical control 3 includes a hardware processor 301, a bus 302, a read-only memory (ROM) 303, a random-access memory (RAM) 304, and a non-volatile memory 305.
[0075] Hardware processor 301 is configured to control the entire numerical control system 3 using a system program. Hardware processor 301 reads a system program, and similar data, stored in ROM 303 via bus 302. Hardware processor 301 is, for example, a CPU or an electronic circuit.
[0076] Bus 302 is a communication channel that connects the hardware components of the numerical control system 3. These hardware components exchange data with each other via bus 302.
[0077] The ROM 303 is a storage device that stores the system program and similar data. The ROM 303 is a computer-readable storage medium.
[0078] The RAM 304 is a memory device that temporarily stores various data. The RAM 304 serves as a workspace that allows the hardware processor 301 to process this data.
[0079] The non-volatile memory 305 is a storage device that retains data even when the power supply to the numerical control 3 is switched off. For example, the non-volatile memory 305 is configured to store a program for calculating the magnitude of a deviation. The non-volatile memory 305 is a computer-readable storage medium. The non-volatile memory 305 consists, for example, of a storage device supported by a battery or a solid-state drive (SSD).
[0080] The numerical control 3 also includes an interface 306, an axis control circuit 307, a spindle control circuit 308, a programmable logic controller (PLC) 309 and an I / O unit 310.
[0081] Interface 306 is configured to connect bus 302 to input / output device 4. For example, interface 306 transmits the various data processed by hardware processor 101 to input / output device 4.
[0082] The input / output device 4 is configured to receive various data via interface 306 and display this data on a screen. Furthermore, the input / output device 4 accepts input of various data and transmits this data via interface 306, for example, to the hardware processor 301.
[0083] The input / output device 4 is, for example, a touch panel. If the input / output device 4 is a touch panel, it is, for example, a capacitive touch panel. The touch panel is not limited to the capacitive type; it can also be another type of touch panel. The input / output device 4 is installed on a control panel (not shown) that houses the numerical control 3.
[0084] The axis control circuit 307 is configured to control the servo motor 6. The axis control circuit 307 receives a control command from the hardware processor 301 and sends various commands to the servo amplifier 5 to drive the servo motor 6. For example, the axis control circuit 307 sends a torque command to the servo amplifier 5 to control the torque of the servo motor 6.
[0085] The servo amplifier 5 supplies an electrical current to the servo motor 6 in response to the commands from the axis control circuit 307.
[0086] The servomotor 6 is driven by the electrical current supplied by the servo amplifier 5. One servomotor 6 is provided for each control axis of the machine tool 2. If the machine tool 2 is a five-axis machine tool, the servomotor 6 comprises, for example, one servomotor for the X-axis, one servomotor for the Y-axis, one servomotor for the Z-axis, one servomotor for the A-axis, and one servomotor for the C-axis. In this case, one axis control circuit 301 and one servo amplifier 305 are provided for each servomotor 6.
[0087] The servomotor 6 is, for example, coupled to a ball screw drive for moving a component of the machine tool. The servomotor 6 is driven in such a way that the component of the machine tool 2, such as the spindle head, is moved along a predetermined control axis.
[0088] The servomotor 6 has an encoder (not shown) configured to detect the position and feed rate of a control axis. Position and feed rate feedback information, indicating the position and feed rate of the control axis detected by the encoder, respectively, is fed back to the axis control circuit 307. This enables the axis control circuit 307 to perform feedback control on each control axis.
[0089] The spindle control circuit 308 is configured to control the spindle motor 8. The spindle control circuit 308 receives a control command from the hardware processor 301 and sends a command to drive the spindle motor 8 to the spindle amplifier 7. For example, the spindle control circuit 308 sends a spindle speed command to control the rotational speed of the spindle motor 8 to the spindle amplifier 7.
[0090] In response to the command from the spindle control circuit 308, the spindle amplifier 7 supplies an electrical current to the spindle motor 8.
[0091] The spindle motor 8 is driven by the electrical current supplied by the spindle amplifier 7. The spindle motor 8 is coupled to a spindle and rotates the spindle.
[0092] Fig. Figure 10 shows only the servo motor 6 and the spindle motor 8 for operating one system. However, if the machine tool 2 has multiple systems, the machine tool 2 has one servo motor 6 and one spindle motor 8 for each of the multiple systems.
[0093] PLC 309 is configured to control auxiliary device 9 by executing a ladder program. PLC 309 issues commands to auxiliary device 9 via I / O unit 310.
[0094] The I / O unit 310 is an interface configured to connect the PLC 309 to the auxiliary device 9. The I / O unit 310 transmits the commands received from the PLC 309 to the auxiliary device 9.
[0095] Auxiliary device 9 is installed in machine tool 2 and configured to perform auxiliary tasks within machine tool 2. Auxiliary device 9 operates based on commands received from I / O unit 310. Auxiliary device 9 can be a device located in the vicinity of machine tool 2. For example, auxiliary device 9 could be a tool turret, a coolant injection device, or a drive device for opening / closing a door.
[0096] Fig. Figure 11 is a block diagram showing an example of the functions of the computing device 1, which is set up in the numerical control device 3. In addition to the functions described in Figure 1, the computing device 1 has the following functions: Fig. Figure 3 shows a control unit 116. The control unit 116 is configured to control each control axis of the machining center 2 based on the machining program.
[0097] The control unit 116 duplicates the movement range of the master axis to control the slave axis. The control unit 116 duplicates a pulse signal for the master axis and controls the slave axis based on the duplicated pulse signal.
[0098] For example, in the example shown in [reference to example], control unit 116 duplicates [the following]. Fig. 6A and Fig. Figure 6B shows a range of motion of 115.5 for the Ym axis and generates a range of motion of 141.4 for the Ys axis. The control unit 116 controls the Ys axis, which is the slave axis, based on the generated range of motion of 141.4.
[0099] The control unit 110 corrects the range of motion of the slave axis using the magnitude of the deviation calculated by the computation unit 113. More precisely, the control unit 116 controls the range of motion of the slave axis so that it matches the range of motion of the master axis. For example, the control unit 116 increases the torque of the slave axis so that its range of motion matches that of the master axis.
[0100] In the example that is in Fig. 6A and Fig. As shown in Figure 6B, the magnitude of the deviation in the orthogonal coordinate system is 10. The control unit 116 converts this magnitude of deviation of 10 into the magnitude of deviation of 14.1 on the Ys axis. The control unit 116 then uses the converted magnitude of deviation of 14.1 to correct the movement of the slave axis. For example, the control unit 116 corrects the movement of the slave axis in a control cycle that follows the control cycle in which the magnitude of deviation was calculated.
[0101] Fig. Figure 12 is a flowchart showing an example of processes that are carried out in the computing device 1, which is set up in the numerical control device 3.
[0102] First, the control unit 116 controls the control axes based on the machining program (step SB1). Then, the acquisition unit 111 obtains the first value and the second value (step SB2).
[0103] Then the conversion unit 112 performs at least either the conversion of the first value into the third value or the conversion of the second value into the fourth value (step SB3).
[0104] Next, the calculation unit 112 calculates the extent of the deviation (step SB4). Then, the output unit 114 outputs the extent of the deviation (step SB5).
[0105] The determination unit 115 then determines whether a synchronization error exists (step SB6). The output unit 114 then outputs the result of the determination (step SB7). Subsequently, the control unit 116 corrects the range of motion of the slave axis (step SB8). The processes in steps SB1 to SB8 are repeated in each control cycle, and these processes are terminated when the machining program is complete.
[0106] As described above, the calculating device 1 comprises the acquisition unit 111 for obtaining the first value, which represents the positional deviation of the master axis, and the second value, which represents the positional deviation of the slave axis, which is arranged at a predetermined angle to the master axis; the conversion unit 112 for performing at least either the conversion of the first value obtained by the acquisition unit 111 into the third value, which represents the positional deviation of the master axis in a predetermined coordinate system, or the conversion of the second value obtained by the acquisition unit 111 into the fourth value, which represents the positional deviation of the slave axis in the predetermined coordinate system;the calculation unit 113 for calculating the magnitude of the deviation between the positional deviation of the master axis and the positional deviation of the slave axis in the predetermined coordinate system based on the first and fourth values, the second and third values, or the third and fourth values; and the output unit 114 for outputting the magnitude of the deviation calculated by the calculation unit 113.
[0107] Furthermore, the computer-readable storage medium stores the instructions that allow a computer to obtain the first value, representing the positional deviation of the master axis, and the second value, representing the positional deviation of the slave axis, which is arranged at the predetermined angle to the master axis; at least either to convert the obtained first value into the third value, representing the positional deviation of the master axis in a predetermined coordinate system, or to convert the obtained second value into the fourth value, representing the positional deviation of the slave axis in the predetermined coordinate system; and, based on the first and fourth values, the second and third values, or the third and fourth values, to calculate the magnitude of the deviation between the positional deviation of the master axis and the positional deviation of the slave axis in the predetermined coordinate system.and to output the calculated extent of the deviation.;
[0108] This allows the calculating device 1 or the computer to calculate the magnitude of the deviation between the positional deviation of the master axis and the positional deviation of the slave axis, which is arranged at an angle to the master axis. This means that the magnitude of the deviation between the master axis and the slave axis can be calculated even if the inclination angles of the master axis and the slave axis differ.
[0109] The predetermined coordinate system is either an inclined or an orthogonal coordinate system. Therefore, the calculating device 1 can calculate the extent of the deviation in different coordinate systems. Accordingly, the calculating device 1 can easily correct an error between the master axis and the slave axis.
[0110] The computation device 1 further includes the determination unit 115, which compares the extent of the deviation with a predefined threshold value to determine whether or not a synchronization error exists between the master axis and the slave axis. This means that the computation device 1 does not need to correct the synchronization error if the error is within an acceptable range. Consequently, the computation device 1 can reduce the control load on the numerical controller 3.
[0111] In addition, the computing device 1 also includes the control unit 116, which duplicates the range of motion of the master axis to control the slave axis. Therefore, the computing device 1 can perform synchronization control between the master axis and the slave axis.
[0112] Furthermore, the control unit 116 corrects the range of motion of the slave axis using the extent of the deviation calculated by the computation unit 113. In other words, the computation unit 1 can correct a synchronization error between the master axis and the slave axis. This allows the computation unit 1 to precisely control the machine tool 2.
[0113] The present disclosure has been described in detail, but is not limited to the individual embodiments described above. Therefore, various additions, substitutions, modifications, partial omissions, and so forth may be made to these embodiments without deviating from the core of the disclosure or from the spirit of the disclosure derived from the content described in the claims and their equivalents. Furthermore, these embodiments may be implemented in combination.
[0114] The following are supplementary remarks on the embodiments of the present disclosure. Supplementary note (1)
[0115] A computing device comprises a acquisition unit for obtaining a first value representing a positional deviation of a master axis and a second value representing a positional deviation of a slave axis arranged at a predetermined angle to the master axis; a conversion unit for performing at least either a conversion of the first value obtained by the acquisition unit into a third value representing a positional deviation of the master axis in a predetermined coordinate system, or a conversion of the second value obtained by the acquisition unit into a fourth value representing a positional deviation of the slave axis in the predetermined coordinate system;a calculation unit for calculating the magnitude of the deviation between the positional deviation of the master axis and the positional deviation of the slave axis in the predetermined coordinate system based on the first and fourth values, the second and third values, or the third and fourth values; and an output unit for outputting the magnitude of the deviation calculated by the calculation unit. Supplementary note (2)
[0116] In the calculation device according to Supplementary Note (1), the predetermined coordinate system is an inclined coordinate system or an orthogonal coordinate system. Supplementary note (3)
[0117] The calculation device according to Supplementary Note (1) or (2) further includes a determination unit for comparing the extent of the deviation with a predetermined threshold value in order to determine whether or not there is a synchronization error between the master axis and the slave axis. Supplementary note (4)
[0118] The calculating device according to one of the Supplementary Notes (1) to (3) further comprises a control unit for duplicating a range of motion of the master axis in order to control the slave axis. Supplementary note (5)
[0119] In the calculation device according to Supplementary Note (4), the control unit corrects the degree of movement of the slave axis using the degree of deviation calculated by the calculation unit. Supplementary note (6)
[0120] A computer-readable storage medium stores instructions that allow a computer to obtain a first value representing a positional deviation of a master axis and a second value representing a positional deviation of a slave axis arranged at a predetermined angle to the master axis; to convert at least either the obtained first value into a third value representing a positional deviation of the master axis in a predetermined coordinate system, or the obtained second value into a fourth value representing a positional deviation of the slave axis in the predetermined coordinate system; and, based on the first and fourth values, the second and third values, or the third and fourth values, to calculate the magnitude of the deviation between the positional deviation of the master axis and the positional deviation of the slave axis in the predetermined coordinate system.and to output the calculated extent of the deviation.; LIST OF REFERENCE MARKS 1 Calculation device 101 Hardware processor 102 Bus 103 ROM 104 RAM 105 non-volatile memory 106 Interface 107 Input / Output Device 108 Communication device 111 Acquisition unit 112 conversion unit 113 Calculation unit 114 output units 115 Unit of determination 116 Control unit 2 processing machines 3 numerical control 301 Hardware processor 302 Bus 303 ROM 304 RAM 305 non-volatile memory 306 Interface 307 Axle control circuit 308 Spindle control circuit 309 PLC 310 I / O unit 4 Input / Output Device 5 servo amplifiers 6 servo motors 7 Spindle Amplifiers 8 spindle motor 9 Aid facility QUOTES INCLUDED IN THE DESCRIPTION
[0000] This list of documents cited by the applicant was automatically generated and is included solely for the reader's convenience. The list is not part of the German patent or utility model application. The DPMA accepts no liability for any errors or omissions. Cited patent literature
[0000] JP 2003-131712
[0003]
Claims
A calculating device comprising a acquisition unit for obtaining a first value representing a positional deviation of a master axis and a second value representing a positional deviation of a slave axis arranged at a predetermined angle to the master axis; a conversion unit for performing at least either a conversion of the first value obtained by the acquisition unit into a third value representing a positional deviation of the master axis in a predetermined coordinate system, or a conversion of the second value obtained by the acquisition unit into a fourth value representing a positional deviation of the slave axis in the predetermined coordinate system;a calculation unit for calculating the magnitude of the deviation between the positional deviation of the master axis and the positional deviation of the slave axis in the predetermined coordinate system based on the first and fourth values, the second and third values, or the third and fourth values; and an output unit for outputting the magnitude of the deviation calculated by the calculation unit. Calculation device according to claim 1, wherein the predetermined coordinate system is an inclined coordinate system or an orthogonal coordinate system. Calculation device according to claim 1 or 2, further comprising a determination unit for comparing the extent of the deviation with a predetermined threshold value in order to determine whether or not there is a synchronization error between the master axis and the slave axis. Calculation device according to one of claims 1 to 3, further comprising a control unit for duplicating a movement range of the master axis in order to control the slave axis. Calculation device according to claim 4, wherein the control unit corrects the degree of movement of the slave axis using the degree of deviation calculated by the calculation unit. A computer-readable storage medium that stores instructions allowing a computer to obtain a first value representing a positional deviation of a master axis and a second value representing a positional deviation of a slave axis arranged at a predetermined angle to the master axis; to convert at least the obtained first value into a third value representing a positional deviation of the master axis in a predetermined coordinate system, or to convert the obtained second value into a fourth value representing a positional deviation of the slave axis in the predetermined coordinate system; and to calculate, based on the first and fourth values, the second and third values, or the third and fourth values, the magnitude of the deviation between the positional deviation of the master axis and the positional deviation of the slave axis in the predetermined coordinate system.and to output the calculated extent of the deviation.
Citation Information
Patent Citations
2003-131712
