Compensator derivation device, position error compensation device, machine tool, transfer function derivation method and program
The compensator derivation device addresses the limitations of existing compensators by deriving a mechanical transfer function to compensate for machine tool vibrations, enhancing machining accuracy by considering posture and friction, and reducing positional errors.
Patent Information
- Application Number
- JP2020141113
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-08-24
- Publication Date
- 2024-08-14
- Estimated Expiration
- 2040-08-24
AI Technical Summary
Existing compensators for machine tools fail to accurately account for the effects of posture, friction, and backlash, limiting the effectiveness of reducing positional errors due to machine tool vibrations.
A compensator derivation device that acquires frequency characteristic data, derives a mechanical transfer function, and calculates a compensator to compensate for positioning errors using a machine's vibration characteristics, considering the machine's mass, moment of inertia, and rigidity, and incorporates a servo control device to adjust position commands.
The solution effectively reduces positioning errors in machine tools by accurately modeling the machine's dynamics, allowing for highly accurate machining and compensating for nonlinear characteristics such as posture and friction.
Smart Images

Figure 0007532736000016 
Figure 0007532736000014 
Figure 0007532736000012
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a compensator derivation device, a position error compensation device, a machine tool, and a transfer function derivation method and program. [Background technology]
[0002] When performing high-precision machining using a machine tool, it is necessary to consider the influence of vibration of the machine tool. FIG. 7 shows an example of a gate-type machine tool. The machine tool 1 shown in FIG. 7 includes a machine tool body 5, a ram 7 supported on the machine tool body 5 so as to be movable along the Z-axis direction, and an attachment 8 detachably attached to the tip of the ram 7. The machine tool body 5 includes a bed 2, a table 3 arranged on the bed 2 and movable along the X-axis direction, a gate-type column 4 arranged to straddle the table 3, and a saddle 6 movable along the Y-axis direction on the column 4. The table 3 is movable along the X-axis direction by a ball screw drive mechanism. A cross rail 9 is attached to the column 4 in the Y-axis direction, and the saddle 6 moves on the cross rail 9 so that the saddle 6 can move along the Y-axis direction. The ram 7 is attached to the saddle 6 so as to be movable along the Z-axis direction. An attachment 8 for performing cutting and the like is attached to the tip of the ram 7. For example, the machine tool 1 is equipped with a CAM (computer aided manufacturing) system and a control device, and the CAM system reads CAD (computer aided design) data of the workpiece and generates NC (numerical control) data, and the control device controls the movement of the saddle 6 and ram 7 based on the NC data.
[0003] In the machine tool 1 illustrated in FIG. 7, when a movement is performed in which the acceleration is discontinuous in the YZ plane (for example, the trajectory of the movement of the tip of the ram 7 is L-shaped), transient vibrations may occur in the column 4. When the column 4 vibrates, an error occurs between the tip position of the ram 7 and the target position indicated by the NC data, which affects the machining accuracy. In order to improve the machining accuracy, it is necessary to reduce the error between the tip position of the ram 7 and the target position caused by the vibration of the column 4. In order to compensate for this position error, a compensator may be provided in the control device. This compensator may be designed using a physical model expressed by a simple formula (for example, a one-dimensional equation of motion) based on the mass, moment of inertia, and stiffness of parts of main components (for example, the column 4, the saddle 6, and a motor (not shown) that drives the movement of the saddle 6) in order to express the vibration characteristics of the machine tool 1 (for example, Patent Document 1). [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2011-3137 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, in the compensator designed as described above, the number of components is reduced and the physical model is simplified, so that it is not possible to take into account the influence of the posture, friction, backlash, etc. of each component, and there is a limit to the effect of reducing the position error.
[0006] Therefore, an object of the present disclosure is to provide a compensator derivation device, a position error compensation device, a machine tool, a transfer function derivation method, and a program that can solve the above-mentioned problems. [Means for solving the problem]
[0007] According to one aspect of the present disclosure, a compensator derivation device includes a data acquisition unit that acquires frequency characteristic data of a machine that vibrates, a mechanical transfer function derivation unit that derives a mechanical transfer function that is a transfer function that approximates the frequency characteristic data, and a compensator derivation unit that uses the mechanical transfer function to derive a compensator for compensating for a positioning error due to vibration of the machine.
[0008] According to one aspect of the present disclosure, a position error compensation device obtains a position command for the moving mechanism, compensates for the position command using the compensator calculated by the compensator derivation device, and outputs the compensated position command.
[0009] According to one aspect of the present disclosure, a machine tool includes a machine tool body, a moving mechanism supported by the machine tool body for moving a tool, and a control device having the above-mentioned position error compensation device and controlling the moving mechanism based on the position command after compensation to the moving mechanism.
[0010] According to one aspect of the present disclosure, a transfer function deriving method includes the steps of acquiring frequency characteristic data of a machine with vibration, deriving a mechanical transfer function that is a transfer function that approximates the frequency characteristic data, and deriving a compensator for compensating for a positioning error due to vibration of the machine using the mechanical transfer function.
[0011] According to one aspect of the present disclosure, a program causes a computer to execute the steps of acquiring frequency characteristic data of a machine that vibrates, deriving a mechanical transfer function that is a transfer function that approximates the frequency characteristic data, and deriving a compensator for compensating for positioning error due to vibration of the machine using the mechanical transfer function. Effect of the Invention
[0012] According to the compensator derivation device, position error compensation device, machine tool, transfer function derivation method, and program of the present disclosure, it is possible to reduce the position error of a moving mechanism. [Brief description of the drawings]
[0013] [Figure 1] FIG. 4 illustrates an example of a moving mechanism according to an embodiment. [Diagram 2] FIG. 1 illustrates an example of a servo control device according to an embodiment. [Diagram 3] FIG. 2 illustrates an example of a compensator derivation device according to an embodiment. [Figure 4] 11 is a flowchart illustrating an example of a process for calculating a compensator according to an embodiment. [Diagram 5] FIG. 4 is a diagram illustrating an example of frequency characteristic data according to an embodiment. [Figure 6] FIG. 1 illustrates an example of a compensator design method according to an embodiment. [Figure 7] FIG. 1 is a schematic perspective view showing an example of a gate-type machine tool. [Figure 8] FIG. 2 is a diagram illustrating an example of a hardware configuration of a servo control device and a compensator derivation device according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] <Embodiment> (Configuration of the moving mechanism) FIG. 1 is a diagram illustrating an example of a moving mechanism according to an embodiment of the present disclosure. FIG. 1 shows a schematic configuration of a ball screw drive mechanism that controls the position of the saddle 6 in the Y-axis direction in the machine tool 1 of FIG. 7 so as to coincide with a command position θ. The ball screw drive converts the rotational motion of a motor 90 into linear motion by a ball screw feed section 93 consisting of a ball screw nut 91 and a ball screw shaft 92, and moves the saddle 6 in the Y-axis direction. The motor 90 is provided with a motor encoder 94 that detects a motor speed ωM. The motor encoder 94 outputs the detected motor speed ωM to a servo control device 100. The ball screw drive mechanism is provided with a linear scale 95. The linear scale 95 is configured to detect a position θ that indicates the position of the saddle 6 in the Y-axis direction. L and outputs it to the servo control device 100.
[0015] The servo control device 100 calculates a command torque τ based on the command position θ, and outputs the command torque τ to the motor 90. This causes the motor 90 to rotate, rotates the ball screw shaft 92, and moves the ball screw nut 91 and the saddle 6 fixedly connected thereto in the Y-axis direction. The position of the ram 7 may also be controlled in the Z-axis direction by a similar mechanism. When the saddle 6 moves in the Y-axis direction or the ram 7 moves in the Z-axis direction during cutting or other processing, vibrations are generated in the column 4, and these vibrations affect the accuracy of the position control of the saddle 6 and the ram 7. The servo control device 100 includes a machine deflection compensation unit 20 (FIG. 2) for compensating for positioning errors caused by vibrations of the column 4.
[0016] FIG. 2 is a diagram illustrating an example of a servo control device according to an embodiment. The servo control device 100 includes a mechanical deflection compensation unit 20, a velocity feedforward unit 40, a subtraction unit 41, a multiplication unit 42, a subtraction unit 43, and a proportional integral calculation unit 44. The mechanical deflection compensation unit 20 is configured with a quadratic transfer function 21 for compensation (hereinafter, also referred to as "compensator 21"). Note that in other embodiments, the compensator 21 does not have to be a quadratic transfer function, and may be a third or higher order transfer function. The mechanical deflection compensation unit 20 compensates for the command position θ using the compensator 21, and outputs the compensated command position θ'. A subtraction unit 41 subtracts the compensated command position θ' from the position θ of the saddle 6. L The multiplier 42 multiplies the deviation position Δθ by a position loop gain K P and outputs the deviation speed ΔV. The speed feedforward unit 40 is configured to calculate a compensation speed V' that compensates for position error factors such as "strain," "deflection," and "viscosity" occurring in the motor 90 and the saddle 6. The subtraction unit 43 outputs a command speed V obtained by adding the compensation speed V' output from the speed feedforward unit 40 to the deviation speed ΔV and subtracting the motor speed ωM from the sum. The proportional integral calculation unit 44 performs proportional integral calculation of the command speed V and outputs a command torque τ. The proportional integral calculation unit 44 calculates a speed loop gain K V , integral time constant T V , and the torque constant K TUsing this, τ = VK T {K V (1+(1 / T V In this embodiment, the object is to calculate a compensator 21 for controlling the position of the saddle 6 so that the position of the tip of the ram 7 in the Y-axis direction coincides with the command position θ.
[0017] As shown in FIG. 1, the command torque τ is output to a motor 90 of the machine tool 1, but can also be output to, for example, a multibody dynamics (MBD) model 200 (hereinafter, simply referred to as the "MBD model 200") of the machine tool 1. The MBD model 200 is a three-dimensional model of the machine tool 1 constructed during multibody dynamics analysis. When a product consisting of a plurality of parts is defined as a multibody, the multibody analysis is a numerical analysis technique for analyzing the dynamics of a multibody that is interconnected from the part level to the product level, and the MBD model 200 is an analysis model used in this analysis. The MBD model 200 is characterized by the rigidity of the components (including machine element components such as ball screws) that constitute the moving mechanism of the machine tool 1, the shape of the structural components, and material properties such as density and Young's modulus as identification parameters. The MBD model 200 can simulate the operation of each component of the machine tool 1, but it is desirable to be able to express the operation in six degrees of freedom in each axial direction and around each axis in three dimensions. The MBD model 200 is constructed at the design stage of the machine tool 1, and is used to understand the machine performance such as the mechanical operation and vibration characteristics.
[0018] For example, when the servo control device 100 inputs a command torque τ to the MBD model 200, the MBD model 200 simulates the movement of the saddle 6 in the Y-axis direction, and calculates the motor speed ωM and the position θ of the saddle 6 in the Y-axis direction when the command torque τ is output to the motor 90. L The motor speed ωM and position θ Lto the servo control device 100, which calculates the next command torque τ by the above process and outputs the value to the MBD model 200. By repeating this process, the saddle 6 can be moved to the target position on the MBD model 200. In addition, the MBD model 200 can calculate the change in deflection position caused by the movement of the saddle 6 in the Y-axis direction, and the forces acting on each component such as the cross rail 9 and the column 4.
[0019] Furthermore, for example, when the shapes, densities, and Young's moduli of the components (parts, etc.) of the machine tool 1 and the stiffness of machine element parts such as ball screws connecting the parts are input to the MBD model 200 and a hammering test simulation is performed on the tip of the ram 7 on the MBD model 200, the MBD model 200 can calculate the vibration (acceleration) at the tip of the ram 7 due to the hammering. The frequency response of the machine tool 1 can be obtained by analyzing the acceleration calculated by the MBD model 200.
[0020] In this embodiment, the vibration of the machine tool 1 is simulated by the MBD model 200, and frequency characteristic data of the machine tool 1 is obtained from the frequency response at that time. Then, the compensator derivation device 10 derives a compensator 21 that can reduce position error due to vibration, based on this frequency characteristic data. Next, the compensator derivation device 10 will be described.
[0021] (Configuration of the compensator derivation device) FIG. 3 is a diagram illustrating an example of a compensator derivation device according to an embodiment. As shown in FIG. 3, the compensator derivation device 10 includes a data acquisition unit 11, a mechanical transfer function derivation unit 12, a compensator derivation unit 13, an output unit 14, and a storage unit 15. The data acquiring unit 11 acquires frequency characteristic data of the machine tool 1 obtained by analyzing the vibrations simulated by the MBD model 200. In this embodiment, the frequency characteristic data means data indicating the frequency characteristics of gain (gain characteristics) and the frequency characteristics of phase (phase characteristics). The mechanical transfer function derivation unit 12 derives a quadratic transfer function that approximates the frequency characteristic data obtained from the analysis result of the MBD model 200 acquired by the data acquisition unit 11. This quadratic transfer function represents the relationship between the input and the output when the input is a command position θ and the output is the actual position of the saddle 6 in the Y-axis direction relative to the command position θ. In this embodiment, the parameters of the quadratic transfer function are determined so that the waveform when the mechanical transfer function is graphed approximates the waveform of the frequency characteristic data. For example, when the quadratic transfer function G m (s) to G m (s)=(As 2 +Bs+1) / (Cs 2 +Ds+1) · · · (0) When the above equation is satisfied, the mechanical transfer function derivation unit 12 detects the peak frequency, notch frequency, peak gain, and notch gain from the frequency characteristic data, and determines the parameters A, B, C, and D in the equation (0) using the peak frequency, notch frequency, peak gain, and notch gain. The second-order transfer function can be expressed by the following equation (1).
[0022]
number
[0023] Here, ω P is the peak frequency of the frequency response data, ω N is the notch frequency of the frequency characteristic data, ζ P is the peak gain of the frequency response data, ζ N is the notch gain of the frequency response data, and s is the Laplace operator. In the following description, the second-order transfer function that approximates the frequency characteristic data obtained from the analysis results of the MBD model 200 is also referred to as the "mechanical transfer function."
[0024] The compensator derivation unit 13 derives a quadratic transfer function (compensator 21) for compensating for a positioning error due to machine vibration, based on the quadratic transfer function of equation (1). For example, the compensator derivation unit 13 derives the compensator 21 using the inverse of the mechanical transfer function derived by the mechanical transfer function derivation unit 12. An example of the compensator is shown in the following equation (2).
[0025]
number
[0026] The output section 14 outputs the compensator 21 to the mechanical deflection compensation section 20 . The storage unit 15 stores data necessary for the calculation of the compensator 21, such as frequency characteristic data.
[0027] (Compensator calculation process) Next, the calculation process of the compensator 21 by the compensator derivation device 10 will be described with reference to FIG. 4 and FIG. FIG. 4 is a flowchart illustrating an example of a calculation process of a compensator according to an embodiment. FIG. 5 is a diagram illustrating an example of frequency characteristic data according to an embodiment. First, the data acquisition unit 11 acquires frequency characteristic data (step S1). Now, let us refer to Figure 5. Waveform C1 in the upper diagram of Figure 5 is a waveform indicated by frequency characteristic (gain characteristic) data obtained by analyzing the frequency response obtained when an impact is applied to the tip of the ram 7 on the MBD model 200 (a hammering test simulation is performed). The vertical axis of the upper diagram of Figure 5 is gain (dB) indicating the ratio of the magnitude of vibration at the tip of the ram 7 to the impact input in the hammering test simulation, and the horizontal axis is frequency (Hz). The lower diagram of Figure 5 shows an enlarged view of a portion of the upper diagram of Figure 5. The data acquisition unit 11 acquires the frequency characteristic data (waveform C1) and writes and stores it in the memory unit 15.
[0028] Next, the mechanical transfer function derivation unit 12 derives a mechanical transfer function (step S2). The mechanical transfer function derivation unit 12 calculates the second-order transfer function G m For example, curve fitting is performed to approximate the waveform shown by (s) to the waveform C1 (especially in the range including the peaks and notches of the waveform C1), and the second-order transfer function G m In addition, for example, the mechanical transfer function deriving unit 12 determines the parameters of the peak C1 of the waveform C1 shown in the lower diagram of FIG.P and Notch C1 N A second-order transfer function G that approximates the waveform C1 based on m Specifically, the mechanical transfer function deriving unit 12 may derive a peak C1 of the waveform C1. P and Notch C1 N Identify the peak frequency ω P , peak gain ζ P , notch frequency ω N , notch gain ζ N The mechanical transfer function derivation unit 12 detects the peak frequency ω P , peak gain ζ P , notch frequency ω N , notch gain ζ N to the parameters to derive a second-order transfer function Gm(s) that approximates the waveform C1. Specifically, the mechanical transfer function deriving unit 12 applies (1 / ω N 2 ) and set parameter B to (2ζ N / ω N ) and set parameter C to (1 / ω P 2 ) and set the parameter D to (2ζ P / ω P ) to set the
[0029] The mechanical transfer function derivation unit 12 determines the peak frequency ω P , peak gain ζ P , notch frequency ω N , notch gain ζ N The waveform of the mechanical transfer function (Equation (1)) derived using is shown in C2 of FIG. 5. Comparing the waveform C2 with the waveform C1, it can be seen that the waveform C2 is similar to the waveform C1 in the range including the peaks and notches. It is possible to derive a third or higher order transfer function that more precisely approximates the waveform C1 over a wider range, but it has been verified that the position error of the tip of the ram 7 is sufficiently compensated for by the compensator 21 calculated based on a second order transfer function. Of course, in other embodiments, the mechanical transfer function may be a transfer function other than a second order transfer function (such as a third order transfer function).
[0030] Next, the compensator derivation unit 13 derives the compensator 21 (step S3). Specifically, the compensator derivation unit 13 uses the second-order transfer function G m (s) (mechanical transfer function) reciprocal, 1 / G m Calculate (s) (equation (2)).
[0031] Next, the output unit 14 outputs the compensator 21 to the mechanical deflection compensation unit 20 (step S4). The mechanical deflection compensation unit 20 receives and sets the compensator 21 expressed by equation (2).
[0032] The compensation of the position error by the compensator 21 is performed as follows. When a command position θ is input, the mechanical deflection compensation unit 20 compensates for the command position θ by the compensator of equation (2) and outputs the compensated command position θ'. The servo control device 100 uses the compensated command position θ' to calculate the motor command value τ through various processes described with reference to FIG. 2, and controls the position of the saddle 6 in the Y-axis direction. It has been confirmed that the compensator 21 of this embodiment can reduce the position error in the position control of the ram 7 more than a conventional compensator designed based on a physical model of the main components.
[0033] In the above, the compensator 21 is calculated using the MBD model 200. When an actual machine tool 1 corresponding to the MBD model 200 exists, the accuracy of the MBD model 200 and the compensator 21 can be improved by the method shown in FIG. FIG. 6 is a diagram showing an example of a compensator design method (a method for determining the compensator 21) according to an embodiment. First, a hammering test simulation is performed on the MBD model 200 to obtain a frequency response (step S11). Next, the mechanical transfer function derivation unit 12 derives a mechanical transfer function using frequency characteristic data obtained by analyzing the frequency response (step S12). Next, the compensator derivation unit 13 derives a compensator 21 from the mechanical transfer function (step S13). Next, the compensator 21 calculated in step S13 is set in the mechanical deflection compensation unit 20, and a coupled simulation of the servo control device 100 and the mechanical deflection compensation unit 20 is performed (step S14). For example, the servo control device 100 moves the ram 7 on the MBD model 200 based on predetermined NC data, and records the tip position, tip speed, and tip acceleration of the ram 7 during that time in the storage unit of the computer on which the MBD model 200 operates at predetermined time intervals. Next, actual machine verification is performed using the machine tool 1 (actual machine) (step S15). For example, the servo control device 100 moves the ram 7 of the machine tool 1 (actual machine) based on the same NC data used in the coupled simulation in step S14, and records the tip position, tip speed, and tip acceleration of the ram 7 during that time in the storage device at predetermined time intervals. Then, the data recorded in step S14 and the data recorded in step S15 are compared and evaluated, and the identification parameters of the components included in the MBD model 200 are fine-tuned so that the MBD model 200 can accurately simulate the operation of the machine tool 1 (step S16). The processes in steps S11 to S16 are repeated until the difference between the actual measurement results by the actual machine and the analysis results by the MBD model 200 falls within an allowable range.
[0034] 6, a correlation analysis is performed between the vibration data measured from the machine tool 1 (actual machine) and the vibration data calculated by the MBD model 200, thereby improving the accuracy of the vibration characteristics calculated by the MBD model 200, and as a result, the accuracy of the compensator 21 is also improved. In addition, by deriving the compensator 21 from the MBD model 200 that has been fine-tuned by the correlation analysis between the vibration data measured from the machine tool 1 (actual machine) and the MBD model 200, it is possible to deal with individual differences in the machine tool 1 due to manufacturing variations. The machine tool 1 having the compensator 21 of this embodiment can realize high-precision machining of molds and the like.
[0035] As described above, according to this embodiment, the frequency characteristics of the machine tool 1 can be obtained by using the MBD model 200 of the machine tool 1. In the MBD model 200, the mass and moment of inertia are considered three-dimensionally, and the positions at which components (parts, etc.) are connected are also reproduced based on design information, so that the reproducibility of the model can be made closer to that of the actual machine, compared with a conventional one-dimensional physical model. In addition, the MBD model 200 can reproduce the movement of the ram 7 including the influence of backlash and the like that occurs between components, which is difficult to achieve by desk study. Therefore, even if the actual machine does not exist, the compensator 21 can be derived based on the MBD model 200 to obtain a highly accurate compensator 21. In addition, by using the MBD model 200, it is possible to obtain a frequency response at a position that cannot be measured by the actual machine (for example, a position where the vibration characteristics specific to the machine tool 1 can be measured more accurately), and it is possible to calculate a highly accurate compensator 21. Furthermore, as explained using Figure 6, by using the MBD model 200, it is possible to calculate the compensator 21 with a certain accuracy before manufacturing the machine tool 1, and after manufacturing the machine tool 1, the compensator 21 can be adjusted to match the actual machine tool 1.
[0036] In conventional methods, it was necessary to theoretically study the parameters of a one-dimensional physical model. However, according to this embodiment, the compensator 21 can be derived based on the frequency characteristics of the machine tool 1, so there is no need to adjust the parameters of the physical model.
[0037] In addition, by approximating frequency characteristic data that includes nonlinear characteristics such as posture, friction, and backlash, and deriving a second-order transfer function (mechanical transfer function), it is possible to derive a compensator that takes nonlinear characteristics into account.
[0038] In the above description, frequency characteristic data is obtained from MBD model 200 and compensator 21 is derived, but frequency characteristic data may be obtained by performing a simulation of a hammering test on machine tool 1 (actual machine) and compensator 21 may be calculated by the process described with reference to Fig. 4. Also, an example has been described in which a position error is compensated for in the movement control of saddle 6 in machine tool 1 in the Y-axis direction, but a similar compensator 21 may be used to compensate for a position error in the movement control of ram 7 in the Z-axis direction.
[0039] In addition, the above explanation has been directed to compensation of position error in the position control of the saddle 6 of the machine tool 1, but the application of the compensator 21 of this embodiment is not limited to the machine tool 1, and the compensator 21 can be applied to the position control of a moving mechanism in various structures equipped with a moving mechanism, such as an industrial robot or a ship.
[0040] FIG. 8 is a diagram illustrating an example of a hardware configuration of a servo control device and a compensator derivation device according to an embodiment. The computer 900 includes a CPU 901 , a main memory device 902 , an auxiliary memory device 903 , an input / output interface 904 , and a communication interface 905 . The above-described servo control device 100 and compensator derivation device 10 are implemented in a computer 900. The above-described functions are stored in the auxiliary storage device 903 in the form of a program. The CPU 901 reads the program from the auxiliary storage device 903, loads it in the main storage device 902, and executes the above-described processing in accordance with the program. The CPU 901 also reserves a storage area in the main storage device 902 in accordance with the program. The CPU 901 also reserves a storage area in the auxiliary storage device 903 for storing data being processed in accordance with the program.
[0041] In addition, a program for realizing all or part of the functions of the servo control device 100 and the compensator derivation device 10 may be recorded in a computer-readable recording medium, and the program recorded in the recording medium may be read into a computer system and executed to perform processing by each functional unit. The term "computer system" as used herein includes hardware such as an OS and peripheral devices. In addition, if a WWW system is used, the term "computer system" also includes a homepage providing environment (or display environment). In addition, the term "computer-readable recording medium" refers to a portable medium such as a CD, DVD, or USB, and a storage device such as a hard disk built into a computer system. In addition, if the program is distributed to the computer 900 through a communication line, the computer 900 that receives the program may deploy the program in the main storage device 902 and execute the above processing. In addition, the above program may be for realizing part of the above-mentioned functions, and may further be capable of realizing the above-mentioned functions in combination with a program already recorded in the computer system.
[0042] Although several embodiments of the present invention have been described above, these embodiments are presented as examples and are not intended to limit the scope of the invention. These embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope of the invention and its equivalents described in the claims, as well as the scope and spirit of the invention.
[0043] <Additional Notes> The compensator derivation device 10, the position error compensation device (mechanical deflection compensation unit 20), and the transfer function derivation method and program described in each embodiment can be understood, for example, as follows.
[0044] (1) A compensator derivation device 10 according to a first aspect includes a data acquisition unit 11 that acquires frequency characteristic data of a machine (moving mechanism) that vibrates, a mechanical transfer function derivation unit 12 that derives a mechanical transfer function, which is a transfer function that approximates the frequency characteristic data, and a compensator derivation unit 13 that uses the mechanical transfer function to derive a compensator for compensating for positioning error due to vibration of the machine. This makes it possible to derive a transfer function (compensator) for compensating for the error between the target position and the actual position of the machine caused by vibrations of a structure that occur when a machine (moving mechanism) that involves vibration is operated (moved).
[0045] (2) A compensator derivation device 10 according to a second aspect is the compensator derivation device 10 of (1), wherein the mechanical transfer function derivation unit 12 detects a peak frequency, a notch frequency, a peak gain, and a notch gain of the frequency characteristic data, and sets parameters of the transfer function using the peak frequency, the notch frequency, the peak gain, and the notch gain to derive the transfer function.
[0046] (3) The compensator derivation device 10 according to a third aspect is the compensator derivation device 10 according to (1) to (2), wherein the mechanical transfer function derivation unit 12 is P is the peak frequency of the frequency characteristic data, ω N is the notch frequency of the frequency characteristic data, ζ P is the peak gain of the frequency characteristic data, ζ N is the notch gain of the frequency characteristic data, and s is the Laplace operator, the following transfer function is derived.
number
[0047] (4) A compensator derivation device 10 according to a fourth aspect is the compensator derivation device 10 of (1) to (3), wherein the frequency characteristic data is the frequency characteristic of the structure simulated by a multibody dynamics (MBD) model of the structure. This makes it possible to use an MBD model constructed at the design stage of a structure to derive a compensator before the structure is manufactured.
[0048] (5) The compensator deriving device 10 according to a fifth aspect is the compensator deriving device 10 of (4), wherein the mechanical analysis model has at least the stiffness, shape, density and Young's modulus of components that make up the machine as identification parameters.
[0049] (6) The compensator derivation device 10 according to a sixth aspect is the compensator derivation device 10 of (1) to (5), in which the compensator derivation unit 13 derives an inverse of the transfer function as the compensator 21.
[0050] (7) The compensator derivation device 10 according to a seventh aspect is the compensator derivation device 10 according to (1) to (6), wherein the compensator number derivation unit 13 calculates ω P is the peak frequency of the frequency characteristic data, ω N is the notch frequency of the frequency characteristic data, ζ P is the peak gain of the frequency characteristic data, ζ N is the notch gain of the frequency characteristic data, and s is the Laplace operator, the following compensator is derived.
number
[0051] (8) The compensator derivation device 10 according to an eighth aspect is the compensator derivation device 10 of (1) to (7), in which the mechanical transfer function is a quadratic transfer function.
[0052] (9) A position error compensation device (mechanical deflection compensation unit 20) according to a ninth aspect acquires a position command for the moving mechanism, compensates for the position command using the compensator 21 calculated by the compensator derivation device 10 according to any one of the first to eighth aspects, and outputs the compensated position command. This makes it possible to compensate for the error between the target position and the actual position of the moving mechanism caused by vibrations of the structure that occur when the moving mechanism is moved.
[0053] (10) A machine tool 1 in a tenth aspect includes a machine tool body 5, a moving mechanism (column 4) supported by the machine tool body for moving a tool, and a control device (servo control device 100) that is equipped with the above-mentioned position error compensation device and controls the moving mechanism based on the position command after compensation to the moving mechanism. This makes it possible to achieve high-precision machining.
[0054] (11) A method for deriving a compensator transfer function according to an eleventh aspect includes the steps of acquiring frequency characteristic data of a machine with vibration, deriving a transfer function that approximates the frequency characteristic data, and deriving a compensator for compensating for a positioning error due to vibration of the machine using the transfer function.
[0055] (12) A program according to a twelfth aspect causes a computer 900 to execute the steps of acquiring frequency characteristic data of a machine that vibrates, deriving a mechanical transfer function that is a transfer function that approximates the frequency characteristic data, and deriving a compensator for compensating for positioning error due to vibration of the machine using the mechanical transfer function. [Explanation of symbols]
[0056] 1...Machine tools 2. Bed 3. Table 4. Column 5...Machine tool body 6. Saddle 7. Ram 8. Attachment 9. Cross rail 10...compensator derivation device 11 Data acquisition section 12. Mechanical transfer function derivation section 13...compensator derivation part 14 Output section 15...Storage section 20 Mechanical deflection compensation unit (position error compensation device) 21...compensator 40...Speed feedforward section 41...Subtraction section 42 Multiplication section 43... Subtraction section 44...Proportional integral calculation section 90 Motor 91 Ball screw nut 92 Ball screw shaft 93 Ball screw feed section 94 Motor Encoder 95···Linear scale 100 Servo control device 200···MBD Model 900...Computer 901··CPU 902...Main memory 903...Auxiliary storage device 904 Input / Output Interface 905 Communication Interface
Claims
1. A data acquisition unit that acquires frequency characteristic data of a machine that vibrates; a mechanical transfer function derivation unit that derives a mechanical transfer function that is a transfer function that approximates the frequency characteristic data; a compensator derivation unit that derives a compensator for compensating for a positioning error caused by vibration of the machine using the mechanical transfer function; Equipped with the frequency characteristic data is obtained by a simulation for obtaining a frequency response from vibrations simulated by applying an impact to a multibody dynamics (MBD) model of the machine; The mechanical transfer function derivation unit derives the mechanical transfer function from the following formula, where Gm(s) is the mechanical transfer function, ω P is a peak frequency of the frequency characteristic data, ω N is a notch frequency of the frequency characteristic data, ζ P is a peak gain of the frequency characteristic data, ζ N is a notch gain of the frequency characteristic data, and s is a Laplace operator: [0010] The compensator is the inverse of the mechanical transfer function. Compensator derivation device.
2. The mechanical analysis model has at least the stiffness, shape, density and Young's modulus of components constituting the machine as identification parameters. The compensator deriving device according to claim 1 .
3. The compensator derivation unit is P is the peak frequency of the frequency characteristic data, ω N is the notch frequency of the frequency characteristic data, ζ P is the peak gain of the frequency characteristic data, ζ N is a notch gain of the frequency characteristic data, and s is a Laplace operator, the following compensator is derived: [0025] The compensator deriving device according to claim 1 or 2.
4. The mechanical transfer function is a second-order transfer function. The compensator deriving device according to any one of claims 1 to 3.
5. Obtaining a position command for the machine; The position command is compensated by the compensator calculated by the compensator derivation device according to any one of claims 1 to 4, and the compensated position command is output to the machine. Position error compensation device.
6. A machine tool body, a movement mechanism for moving a tool, which is the machine supported by the machine tool body; A position error compensation device according to claim 5, a control device that controls the moving mechanism based on the position command after compensation for the moving mechanism; A machine tool comprising:
7. Obtaining frequency characteristic data of a machine that vibrates; Deriving a mechanical transfer function that is a transfer function that approximates the frequency characteristic data; deriving a compensator for compensating for a positioning error due to vibration of the machine using the machine transfer function; having the frequency characteristic data is frequency characteristic data of the machine obtained by a simulation in which a frequency response is obtained from vibrations simulated by applying an impact to a mechanical analysis model of the machine, When Gm(s) is the mechanical transfer function, ω P is a peak frequency of the frequency characteristic data, ω N is a notch frequency of the frequency characteristic data, ζ P is a peak gain of the frequency characteristic data, ζ N is a notch gain of the frequency characteristic data, and s is a Laplace operator, the mechanical transfer function is derived by the following formula: [0030] The compensator is the inverse of the mechanical transfer function. Transfer function derivation method.
8. On the computer, Obtaining frequency characteristic data of a machine that vibrates; Deriving a mechanical transfer function that is a transfer function that approximates the frequency characteristic data; deriving a compensator for compensating for a positioning error due to vibration of the machine using the machine transfer function; Run the command, the frequency characteristic data is frequency characteristic data of the machine obtained by a simulation in which a frequency response is obtained from vibrations simulated by applying an impact to a mechanical analysis model of the machine, When Gm(s) is the mechanical transfer function, ω P is a peak frequency of the frequency characteristic data, ω N is a notch frequency of the frequency characteristic data, ζ P is a peak gain of the frequency characteristic data, ζ N is a notch gain of the frequency characteristic data, and s is a Laplace operator, the mechanical transfer function is derived by the following formula: [0045] The compensator is the inverse of the mechanical transfer function. program.
Citation Information
Patent Citations
Servo control apparatus
JP2010123018A
Teaching signal generating method for track control, track control device and machine tool
JP2010186461A
Servo controller
JP2011003137A
Gear processing evaluation method, gear, gear processing management device, and gear processing apparatus
JP2015188993A
Servo control device
WO2002082194A1
