Machining simulation device and machining simulation method

The processing simulation device and method calculate transfer characteristics from motor and control parameters, enabling efficient and accurate machining simulation of machine tools without test runs or specialized knowledge, addressing the complexity of obtaining machine tool transfer functions.

WO2024224457A1PCT designated stage expired Publication Date: 2024-10-31FANUC LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/016159
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-24
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

Obtaining the transfer function of a machine tool for machining simulation requires data collection and specialized knowledge, making it cumbersome and time-consuming.

Method used

A processing simulation device and method that calculates transfer characteristics based on motor and control parameters, allowing simulation of machine tool behavior without test runs or specialized knowledge, using a transfer characteristic generation unit and simulation execution unit to generate and apply transfer characteristics that satisfy predetermined requirements such as response frequencies and resonance frequencies.

Benefits of technology

Enables accurate machining simulation without the need for data collection or specialized knowledge, improving efficiency and accuracy by simulating machine tool behavior using calculated transfer characteristics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023016159_31102024_PF_FP_ABST
    Figure JP2023016159_31102024_PF_FP_ABST
Patent Text Reader

Abstract

Provided is a machining simulation device capable of obtaining a machine-tool transfer function without requiring data collection and expert knowledge. The machining simulation device comprises: a transmission characteristic generation unit that generates a transmission characteristic of a machine tool; and a simulation execution unit that simulates behavior of the machine tool by using the transmission characteristic. The transmission characteristic generation unit includes: a control information acquisition unit that acquires motor information and a control parameter of a motor control system of the machine tool; a motor characteristic calculation unit that calculates a motor characteristic on the basis of the motor information; a control characteristic calculation unit that calculates a control characteristic of the motor control system on the basis of the control parameter; and a transmission characteristic calculation unit that calculates the transmission characteristic satisfying a predetermined requirement on the basis of the motor characteristic and the control characteristic.
Need to check novelty before this filing date? Find Prior Art

Description

Machining simulation device and machining simulation method

[0001] The present disclosure relates to a machining simulation device and a machining simulation method, and more particularly to a machining simulation device and a machining simulation method that simulate the behavior of a machine tool using a transfer function that indicates the transfer characteristics of the machine tool.

[0002] Techniques for simulating the behavior of a machine tool using a transfer function that indicates the transfer characteristics of the machine tool are described in Patent Documents 1 to 4.

[0003] Patent Document 1 describes a numerical control method that can perform machining in a short time without causing scratches on the machined surface even if the commanded path contains errors. Specifically, Patent Document 1 describes that the numerical control method predicts the trajectory of a machining tool when the speed of a machine tool is controlled based on a commanded path and commanded feedrate commanded in a machining program based on transfer characteristics from a commanded position to a machining position, and determines an allowable feedrate based on a feature value that represents a temporal change in the position of the machining tool on the predicted trajectory and its allowable value. The feature value used is the acceleration of the machining tool on the predicted trajectory, or the normal component of the acceleration, etc.

[0004] Patent Document 2 describes a machining simulation device that prevents the occurrence of chatter due to resonance and improves surface accuracy, etc. Specifically, Patent Document 2 describes that the machining simulation device executes a machining simulation on graphic data prior to machining, simulates the frequency of forced vibration due to intermittent cutting and / or the frequency of load fluctuation based on machining information using a machining simulation means, and creates a numerical control command using a numerical control command creation means based on the frequencies obtained from the simulation.The patent document also describes that the machining simulation device allows the spindle rotation speed to be reflected in actual machining and machining program creation under conditions suitable for actual machining, so that the frequency of forced vibration due to intermittent cutting and / or the frequency of load fluctuation or their integral multiple harmonic frequencies do not become close to the natural vibration frequencies of the machine, tool, jig, workpiece, etc., and therefore chatter due to resonance can be prevented.

[0005] Patent Document 3 describes a machining method for determining compensation data in a short period of time. Specifically, Patent Document 3 describes a machining method for machining a non-circular workpiece, including a first step of separating profile data of the non-circular workpiece into data for the workpiece spindle and data for the tool feed axis, Fourier transforming each data, and calculating a gain and phase at each frequency, a second step of calculating a gain and phase at each frequency from a transfer function of a contour-machining spindle device and a transfer function of a tool feed axis device, a third step of adding the gain and phase at each frequency determined in the second step to the gain and phase at each frequency determined in the first step for the workpiece spindle and tool feed axis, a fourth step of performing an inverse Fourier transform on the frequency data for the workpiece spindle and tool feed axis of the non-circular workpiece determined in the third step, a fifth step of creating compensation data, which is machining data for the workpiece spindle and tool feed axis of the non-circular workpiece obtained in the fourth step, and machining the non-circular workpiece based on the compensation data.

[0006] Patent Document 4 describes a machining simulation device for a machine tool that is capable of performing a machining simulation with high accuracy while suppressing an increase in time. Specifically, Patent Document 4 describes that the machining simulation device performs a machining simulation of a machine tool that machines a workpiece using a tool based on a machining program, and includes a machine simulation unit that estimates a position of the tool by simulating the movement of the machine tool when it operates based on the machining program based on a position command and a transfer characteristic of the machine tool, and a machining simulation unit that performs a machining simulation of the workpiece based on tool information and the estimated tool position.

[0007] JP 2001-051708 A International Publication No. 2002 / 003155 JP 2002-278609 A JP 2019-152936 A

[0008] Obtaining the transfer function of a machine tool for machining simulation requires data collection work involving test runs of the machine tool and specialized knowledge to analyze the collected data and calculate the transfer characteristics. Therefore, it is desired to obtain the transfer function of a machine tool without requiring data collection involving test runs of the machine tool and specialized knowledge to calculate the transfer characteristics.

[0009] A first representative aspect of the present disclosure is a machining simulation device comprising: a transfer characteristic generation unit that generates transfer characteristics of a machine tool; and a simulation execution unit that simulates behavior of the machine tool using the transfer characteristics, wherein the transfer characteristic generation unit comprises: a control information acquisition unit that acquires control information including motor information of the machine tool and control parameters of a motor control system of the machine tool from a storage unit; a motor characteristic calculation unit that calculates motor characteristics based on the motor information; a control characteristic calculation unit that calculates control characteristics of the motor control system based on the control parameters; and a transfer characteristic calculation unit that calculates the transfer characteristics that satisfy predetermined requirements based on the motor characteristics and the control characteristics, wherein the predetermined requirements include at least one of a response frequency of position control, a response frequency of speed control, a natural frequency of the machine tool, and a resonance frequency of a driving unit and a driven unit in the machine tool.

[0010] A second representative aspect of the present disclosure is a machining simulation method in which a computer executes the following processes: calculating motor characteristics based on motor information of a machine tool; calculating control characteristics of a motor control system of the machine tool based on control parameters of the motor control system; calculating transfer characteristics that satisfy predetermined requirements based on the motor characteristics and the control characteristics; and simulating behavior of the machine tool using the transfer characteristics, wherein the predetermined requirements include at least one of a response frequency of position control, a response frequency of speed control, a natural frequency of the machine tool, and a resonance frequency of a driving unit and a driven unit in the machine tool.

[0011] FIG. 1 is a configuration diagram showing an example of the configuration of a machining simulation system for a machine tool according to an embodiment of the present invention. FIG. 2 is a diagram showing a driving unit and a driven unit of a machine tool using a rigid body model. FIG. 3 is a diagram showing a driving unit and a driven unit of a machine tool using a two-inertia system model. FIG. 4 is a block diagram showing the configuration of a position control loop when a motor control system, a driving unit, and a driven unit form a position control loop. FIG. 5 is a block diagram showing the configuration of a simplified position control loop. FIG. 6 is a block diagram showing the configuration of a speed control loop when a motor control system, a driving unit, and a driven unit form a speed control loop. FIG. 7 is a characteristic diagram schematically showing the frequency response gain of a transfer function. FIG. 8 is a characteristic diagram showing an example of a frequency response gain of speed PI control. FIG. 9 is a characteristic diagram showing an example of a frequency response gain of speed P control. FIG. 10 is a diagram showing an example of a user interface displayed on the display screen of a display device of a personal computer. FIG. 11 is a flowchart showing the operation of the machining simulation device.

[0012] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present disclosure will now be described in detail with reference to the accompanying drawings. Fig. 1 is a block diagram showing an example of the configuration of a machining simulation system for a machine tool according to an embodiment of the present invention.

[0013] As shown in FIG. 1, a machining simulation system 10 for a machine tool includes a machine tool control device 100 and a machining simulation device 200.

[0014] The machine tool control device 100 controls the movement of the feed axis, rotation of the spindle, etc. of the machine tool based on a machining program. The control device 100 has a motor and a driven part that serve as the driving part of the machine tool, and a motor control system that controls the motor. The control device 100 stores motor information of the machine tool and control parameters of the motor control system in a memory unit 101. The motor information and control parameters will be described later. The motor information and control parameters of the machine tool may be stored in a memory unit provided separately from the control device 100. The memory unit may be provided within the machining simulation device 200. If the memory unit is provided separately from the control device 100, the machining simulation system 10 does not need to include the machine tool control device 100.

[0015] The machining simulation device 200 includes a transfer characteristic generation unit 210 and a simulation execution unit 220. The transfer characteristic generation unit 210 calculates a transfer function of the machine tool using motor information and control parameters acquired from the storage unit 101 of the machine tool control device 100. The simulation execution unit 220 uses the calculated transfer function to simulate the control of the machine tool control device 100 based on the machining program, the behavior of the motor and driven parts which are driving parts, and feedback control of the control device 100 based on position information of the driving part and driven part (for example, a position control loop as shown in FIG. 4 described later), and outputs position information of each axis as a simulation result.

[0016] The transfer characteristic generating unit 210 includes a control information acquiring unit 211, a motor characteristic calculating unit 212, a control characteristic calculating unit 213, and a transfer characteristic calculating unit 214. Each component of the transfer characteristic generating unit 210 will be described below.

[0017] (Control information acquisition unit 211) The control information acquisition unit 211 acquires control information including motor information and control parameters from the storage unit 101 of the control device 100 of the machine tool. The motor information is, for example, at least one of the motor inertia (also called motor inertia), inertia ratio, and spring constant. The inertia ratio indicates load inertia / motor inertia. The load inertia is also called load inertia. The motor inertia may also include the inertia of the reducer and ball screw. The control parameters are, for example, the position control proportional gain K of the position control unit included in the motor control system of the control device 100. P , and the speed loop gain K V , the speed control integral gain K of the speed control section 1 and the speed control proportional gain K of the speed control section 2 The storage unit 101 may store the motor inertia as part of a specification or a motor characteristics database. In this case, the control information acquisition unit 211 acquires information that can identify the motor, such as the motor model, from the storage unit 101, and acquires the motor inertia by referring to the specification or the motor characteristics database.

[0018] (Motor characteristics calculation unit 212) The motor characteristics calculation unit 212 calculates the motor characteristics based on the motor information. When a mechanical model of the motor, which is the driving unit of the machine tool, and the driven unit is represented by the rigid body model shown in FIG. 2, the motor information is expressed as the motor inertia J M , inertia ratio R, the motor characteristic M 1 is expressed as the transfer function of Equation 1 (Equation 1 below), where s is the variable of the Laplace transform.

[0019] When the mechanical model of the motor and driven part of the machine tool is expressed as a two-inertia system model shown in Figure 3, the motor information is expressed as the motor inertia J M , natural frequency ω O , resonant frequency ω P Then, the motor characteristic M 2 is expressed by the transfer function of Equation 2 (Equation 2 below). In Equation 2, the natural frequency ω O , resonant frequency ω P is the motor inertia J M , inertia ratio R, spring constant K of the spring element between the motor inertia and the load inertia S is calculated using Equation 3 (Equation 3 below). Natural frequency ω of the two-inertia system model O is the natural frequency of the free vibration of the driven part when the driving part is fixed, and is sometimes called the anti-resonance frequency. The resonant frequency ω of the two-inertia system model P is the frequency at which the driver and driven parts vibrate in opposite phases.

[0020] A transfer function that couples the motor inertia and the load inertia with a spring element is described, for example, in "Research on Low-Frequency Vibration Suppression Control Using a Two-Inertia System Model for the Feed Axis of an NC Machine Tool," by Heisuke Iwashita et al., Journal of the Japan Society for Precision Engineering, Vol. 82, No. 8, 2016.

[0021] (Control characteristic calculation unit 213) The control characteristic calculation unit 213 calculates the control characteristics of the motor control system based on the control parameters. When the motor control system, driver, and driven units included in the control device 100 form a position control loop, the position control loop is shown in the block diagram of FIG. 4. As shown in FIG. 4, the position control loop can be represented by a position control unit 111, a speed control unit 112, a machine model unit 113 consisting of a driver and driven units, and an integrator 114. As shown in FIG. 4, the position control loop is often configured as a double loop with a speed control loop inside. In FIG. 4, y' represents the position command, y represents the position result, r represents the speed command, u represents the manipulated variable, and w represents the speed result. The manipulated variable u is, for example, a torque command, but in a servo motor, it is represented by a torque constant K T Through this, torque = K T × current holds, the manipulated variable u may be a current.

[0022] Since the response frequency of the position control loop must be lower than the response frequency of the speed control loop inside, the position control loop can be treated as the configuration shown in the block diagram of Figure 5 by regarding the closed loop transfer function from the speed command r to the actual speed w as 1 in the configuration of the block diagram of Figure 4 for simplicity. When the position control loop has the configuration shown in the block diagram of Figure 5, the position control loop is made up of a position control unit 111 and an integrator 114, and the motor control system corresponds to the position control unit 111. Control characteristic C of position control unit 111, which is the motor control system P is C P =K P The control parameter is the position control proportional gain K P This becomes:

[0023] When the motor control system, driver, and driven parts included in the control device 100 form a speed control loop, the speed control loop is shown in the block diagram of Fig. 6. The speed control loop can be represented by a speed control unit 112 and a mechanical model unit 113 consisting of the driver and driven parts. The speed control unit 112 corresponds to the motor control system.

[0024] Control characteristic C of the speed control unit 112 that serves as the motor control system VIn the case of speed PI control, K is expressed by Equation 4 (hereinafter, Equation 4). V is the speed loop gain, K 1 is the speed control integral gain, K 2 is the speed control proportional gain. The control parameters are the speed loop gain K V , speed control integral gain K 1 and speed control proportional gain K 2 This becomes: In the case of speed P control, the control characteristic C of the speed control section V In Equation 4, K 1 = 0, K 2 = 1, and C V =K V The control parameter is the speed loop gain K V This becomes:

[0025] (Transfer characteristic calculation unit 214) The transfer characteristic calculation unit 214 calculates the transfer characteristic of the machine tool by changing at least one of the motor characteristic calculated by the motor characteristic calculation unit 212 and the control characteristic calculated by the control characteristic calculation unit 213 so as to satisfy predetermined requirements. The predetermined requirement is at least one of the response frequency of position control, the response frequency of speed control, the natural frequency of the machine tool, and the resonance frequency of a driving unit and a driven unit in the machine tool. The predetermined requirements will be described later. The value of the predetermined requirement may be provided by a user, or the transfer characteristic calculation unit 214 may obtain it from the memory unit 101 of the control device 100, a memory unit provided outside the control device 100, or a memory unit provided within the machining simulation device.

[0026] First, the transfer characteristics of the machine tool will be explained. The closed loop transfer function G C is the open loop transfer function G O Using C = G O / (1+G O ) is shown.

[0027] The transfer characteristic calculation unit 214 calculates the closed loop transfer function G of the position control loop as follows: PC (s), the closed-loop transfer function G of the speed control loop VC (s) is calculated as the closed-loop transfer function G of the position control loop.PC (s) is the open loop transfer function G of the position control loop shown in FIG. PO (s) is G PO (s) = K P / s, which is shown in Equation 5 (Equation 5 below).

[0028] The closed-loop transfer function G of the speed control loop VC (s) is the open loop transfer function G VO Since (s) is expressed by Equation 6 (hereinafter Equation 6), it is expressed by Equation 7 (hereinafter Equation 7). In Equations 6 and 7, M represents the motor characteristics, and when the mechanical model is expressed as a rigid body model, M=M 1 When the mechanical model is expressed as a two-inertia system model, M = M 2 This becomes:

[0029] The closed-loop transfer function G of the speed control loop VC (s) is the speed P control in Equation 7. 1 = 0, K 2 = 1, and is shown in Equation 8 (Equation 8 below).

[0030] Next, the predetermined requirement will be explained (when the predetermined requirement is the response frequency of position control).

[0031] If the transfer function is a rational function of s, when the command a is a sine wave of frequency ω, the controlled variable b also becomes a sine wave of frequency ω. In this case, the amplitude ratio between the command a and the controlled variable b is called the frequency response gain at frequency ω. The transfer function G of the closed loop is C The frequency response gain of (s) can be calculated by Equation 9 (below) by replacing s with jω, in units of decibels (dB).

[0032] Generally, the frequency response gain of a closed-loop transfer function is near 0 dB when the frequency response gain of the open-loop transfer function is 0 dB or greater. When the frequency response gain of a closed-loop transfer function is near 0 dB (amplitude ratio 1), it means that the controlled variable b follows the command a. Therefore, the frequency at which the frequency response gain of the closed-loop transfer function crosses or reaches a maximum between 0 dB and -3 dB (amplitude ratio 1 / √2) is called the control response frequency. Also, the frequency at which the frequency response gain of the open-loop transfer function crosses 0 dB is called the control response frequency.

[0033] The transfer function G of Equation 5 PC By replacing s in (s) with jω, we obtain Equation 10 (the following Equation 10), which gives ω=K, where 20log|G(jω)|=-3 dB. P is the response frequency of the position control.

[0034] (When the predetermined requirement is the response frequency of speed control) When the control characteristic C is speed P control and the motor characteristic M is a two-inertia system model, the transfer function of the open loop of the speed control loop is expressed by Equation 11 (hereinafter Equation 11). The frequency response gain of the transfer function of Equation 11 is shown schematically in the gain diagram of Fig. 7. In Fig. 7, the horizontal axis is a logarithmic scale of frequency. The point where the frequency response gain intersects with 0 dB is the response frequency, the point where the frequency response gain takes a minimum value is the natural frequency, and the point where the frequency response gain takes a maximum value is the resonant frequency.

[0035] As shown in Figure 7, the frequency values ​​are generally as follows: resonance frequency > natural frequency > response frequency of speed control. This relationship is also true for speed PI control. When the frequency ω is equal to or lower than the response frequency of speed control, the resonance frequency ω P >Natural frequency ω O >Frequency ω(ω P >ω O >ω), and ω P 2 >ω O 2 >ω 2 Therefore, s in Equation 2 2 You can ignore this. Equation 2 is s 2If is ignored, it becomes equal to Equation 1. That is, when considering the response frequency of speed control, Equation 1 showing a rigid body model can be used as the motor characteristic M.

[0036] <In the Case of Speed ​​PI Control> Considering the case of speed PI control as the control characteristic C and using a rigid body model as the motor characteristic M, Equation 7 can be expressed as Equation 12 (hereinafter, Equation 12).

[0037] When s in Equation 12 is replaced with jω, Equation 12 is expressed as Equation 13 (hereinafter Equation 13). The frequency response gain is expressed as in Equation 14 (Equation 14 below) using Equation 13.

[0038] In Equation 14, the frequency response gain is 0 dB or more up to the value of Equation 15 (hereinafter Equation 15) where the absolute value of the denominator is equal to the absolute value of the numerator. Therefore, the value ω of Equation 15 is set as the response frequency of the speed PI control. FIG. 8 is a characteristic diagram showing an example of a frequency response gain of the speed PI control.

[0039] <In the Case of Speed ​​P Control> Considering the case of speed P control as the control characteristic C and using a rigid body model as the motor characteristic M, the frequency response gain is expressed as K 1 = 0, K 2 = 1, and this is shown in Equation 16 (Equation 16 below). In Equation 16, the value ω of Equation 17 (hereinafter Equation 17) at which 20 log |G(jω)|=−3 dB is set as the response frequency of the speed P control. FIG. 9 is a characteristic diagram showing an example of the frequency response gain of the speed P control.

[0040] (When the predetermined requirement is the natural frequency or resonance frequency of the machine tool) As described above, when the motor, which is the driving part of the machine tool, and the driven part are represented by the two-inertia system model shown in FIG. 3, the motor information is expressed as the motor inertia J M , natural frequency ω O , resonant frequency ω P Then, the motor characteristic M 2 is expressed by Equation 2. In Equation 2, the natural frequency ωO , resonant frequency ω P is the motor inertia J M , inertia ratio R, spring constant K of the spring element between the motor inertia and the load inertia S These natural frequencies ω are expressed as follows: O , resonant frequency ω P is the natural frequency and resonant frequency of the machine tool.

[0041] The following describes a method for calculating the transfer characteristics of a machine tool that satisfy predetermined requirements by the transfer characteristic calculation unit 214. The transfer characteristic generation unit 210 included in the machining simulation device 200 is a personal computer application software and has a user interface shown in FIG.

[0042] 10 is a diagram showing an example of a user interface displayed on the display screen of a display device of a personal computer. As shown in FIG. 10, the display screen displays values ​​read from the control information acquired by the control information acquisition unit 211, such as the position control proportional gain K P , speed loop gain K V , speed control integral gain K 1 , speed control proportional gain K 2 and other control parameters, and motor inertia J M , inertia ratio R, spring constant K S Specifically, as shown in FIG. 10, the position control proportional gain K P is 30, speed loop gain K V is 1, speed control integral gain K 1 is 1089, speed control proportional gain K 2 is 10.164, motor inertia J M is 0.022 [kgm 2 ], inertia ratio R is 1.2, spring constant K S The value 6878 [Nm] is displayed on the display screen. These control parameters and motor information are changed based on the predetermined requirements entered by the user. An area is displayed on the left side of the screen for selecting the axis for which you want to generate a model from the multiple axes of the machine tool.

[0043] The user sets predetermined requirements in an input form (not shown). For example, Fig. 10 shows the setting result in the input form, "Speed ​​control response frequency: target 50 Hz," with the dashed line in the graph indicating 50 Hz.

[0044] 10, the transfer characteristic calculation unit 214 changes the control characteristics or motor characteristics in accordance with predetermined requirements, and provides the generated transfer characteristics to the simulation execution unit 220. Details of the operation of changing the control characteristics or motor characteristics in accordance with predetermined requirements will be described later.

[0045] The display screen displays the frequency response of the open loop transfer function obtained from the results read from the control information. When the user presses the reflect button and the transfer characteristic calculation unit 214 changes the control characteristics or motor characteristics in accordance with predetermined requirements and generates a transfer function, the frequency response is rewritten based on the generated transfer characteristics. It is also possible to overlay the frequency response based on the generated transfer characteristics without rewriting the frequency response. Furthermore, the frequency response is calculated based on the transfer function G taking feedback into account. C It may be based on (s).

[0046] Furthermore, the timing at which the transfer characteristic calculation unit 214 changes the control characteristics or motor characteristics or changes the display of the frequency response does not have to be when the reflect button is pressed, but may be, for example, when the user changes a specified requirement in the input form.

[0047] The numerical values ​​shown in Fig. 10 may be rounded to an appropriate number of decimal places, but the number of decimal places has no special meaning and is not particularly limited. Also, in Fig. 10, a rotary motor is assumed and the unit of motor inertia is inertia [kgm 2 However, if a linear motor is used, the unit of inertia may be mass [kg]. The spring constant is also in units of Nm assuming a torsion spring, but if an expansion spring is used, the unit may be N / m.

[0048] The natural frequency ω shown in Equation 3 O and the resonant frequency ω PThe frequency ω shown in Equation 10, the frequency ω shown in Equation 15, and the frequency ω shown in Equation 16 are angular frequencies [rad / s]. On the other hand, the unit of the frequencies shown as examples of the screen display and the predetermined requirements in FIG. 10 is Hz, but these units may also be rad / s.

[0049] An example of an operation in which the transfer characteristic calculation unit 214 changes the control characteristics or motor characteristics in accordance with the predetermined requirements in order to calculate the transfer characteristics of a machine tool that satisfy the predetermined requirements will be described below. (1) The position control proportional gain K is set to satisfy the "response frequency of position control" that is the predetermined requirement. P If the user specifies 10 Hz as the response frequency of the position control, the frequency of 10 Hz is expressed as an angular frequency of 10 x 2π (rad / s) = 62.832 (rad / s). As explained using Equation 10, the position control proportional gain K P is equal to the response frequency of the position control, the position control proportional gain K P Is, K P = 10 × 2π = 62.832. The control characteristic C is set to satisfy the "response frequency of position control" which is a predetermined requirement. P Position control proportional gain K P is changed from 30 shown in FIG. 10 to 62.832.

[0050] (2) Set the speed loop gain K to satisfy the specified requirement "speed control response frequency." V Example of changing (in the case of speed PI control) The left side of Equation 15 is changed to fc [Hz] to obtain Equation 18 (Equation 18 below). In Equation 18, the motor inertia J M Generally, in PI control, the speed control integral gain K 1 and speed control proportional gain K 2 Here, the speed control integral gain K 1 The remaining speed loop gain K VThe user may change only one of the inertia ratio R and the inertia ratio R by using a detailed setting item not shown in Fig. 10, or may change one of them preferentially within an allowable range by using a detailed setting item, and change the other if the predetermined requirement cannot be met within the allowable range. In this example, the speed control response frequency of 50 Hz, which is the predetermined requirement, is set by changing the speed loop gain K V An example of satisfying the requirement by changing only the speed loop gain K V and calculate the speed loop gain K V Ask for. In this way, the control characteristic C is adjusted to satisfy the "speed control response frequency" which is a predetermined requirement. V Speed ​​loop gain K V is changed from 1 to 2.191 and the control characteristic C V will be changed.

[0051] (3) Set the speed loop gain K to satisfy the specified requirement "speed control response frequency." V Example of changing (in the case of speed P control) The left side of Equation 17 is changed to fc [Hz] to obtain Equation 20 (Equation 20 below). In Equation 20, the motor inertia J M is not changed. In this example, first, a case will be considered in which the predetermined requirement of "speed control response frequency" of 50 Hz is satisfied by changing the inertia ratio R. Equation 20 is solved for the inertia ratio R, and the inertia ratio R is obtained using Equation 21 (hereinafter, Equation 21). The inertia ratio R can be 0 without load inertia, but it cannot be a negative number. Therefore, assuming R=0, we can change Equation 20 to K V When solving for the velocity loop gain K V is expressed as in Equation 22 (Equation 22 below). In this way, the motor characteristic M is adjusted to satisfy the "speed control response frequency" which is a predetermined requirement. 1 The inertia ratio R changes from 1.2 to 0, and the control characteristic C V Speed ​​loop gain K V is changed from 1 to 6.912, and the motor characteristic M1 and control characteristic C V will be changed.

[0052] (4) The spring constant K is set to satisfy the specified requirement "natural frequency of the machine tool." S Example of changing the natural frequency ω shown in Equation 3 O , the spring constant K S is solved to obtain Equation 23 (Equation 23 below). If the predetermined requirement is a natural frequency of 45 Hz, then Equation 23 determines the spring constant K as shown in Equation 24 (hereinafter Equation 24): S is obtained. In this way, the spring constant K of the motor characteristics is set to satisfy the "natural frequency of the machine tool" which is a predetermined requirement. S The motor characteristic M is changed from 6878 [Nm] to 2111 [Nm] as shown in FIG. 2 will be changed.

[0053] (5) The spring constant K is set to satisfy the specified requirement "resonance frequency of the driving part and the driven part in the machine tool." S Example of changing the resonant frequency ω shown in Equation 3 P , the spring constant K S is solved to obtain Equation 25 (Equation 25 below). If the predetermined requirement is a resonant frequency of 80 Hz, then Equation 25 determines the spring constant K as shown in Equation 26 (hereinafter Equation 26): S is obtained. In this way, the spring constant K, which is a motor characteristic, is set to satisfy the "resonant frequency of the machine tool" which is a predetermined requirement. S The motor characteristic M is changed from 6878 [Nm] to 3032 [Nm] as shown in FIG. 2 will be changed.

[0054] In the above examples (4) and (5), the spring constant K S However, the inertia ratio R may be changed. SThe user may change only one of the inertia ratio R and the inertia ratio B using a detailed setting item not shown in FIG. 10, or may change one of them preferentially within an allowable range using the detailed setting item, and change the other if the predetermined requirements cannot be met within the allowable range.

[0055] The transfer characteristic calculation unit 214 can change at least one of the motor inertia, inertia ratio, spring constant, position control proportional gain, speed loop gain, speed control integral gain, and speed control proportional gain so that the transfer characteristics satisfy predetermined requirements. When a rigid body system model that takes load inertia into account is not used as the motor characteristics (R = 0), the transfer characteristic calculation unit 214 can use a rigid body system model in which load inertia is added to motor inertia so that the transfer characteristics satisfy predetermined requirements. Furthermore, when a rigid body system model is used as the motor characteristics, the transfer characteristic calculation unit 214 can use a two-inertia system model in which the motor inertia and load inertia are coupled by a spring element so that the transfer characteristics satisfy predetermined requirements.

[0056] In the above-described embodiment, more accurate simulation results can be expected for the control characteristics and motor characteristics by considering more factors. For example, in academic literature, damping is taken into account when a two-inertia system model is first derived. However, even if the simulation execution unit takes damping or nonlinearity into account, the damping or nonlinearity may be ignored in the calculations for determining the control characteristics or motor characteristics to be changed by the transfer characteristic calculation unit. This is because damping and nonlinearity have lower sensitivity to frequency characteristics such as response frequency, natural frequency, and resonant frequency than control gain, inertia ratio, and spring constant.

[0057] The above has described each component of the machining simulation device 200. Next, a machining simulation method will be described. In the following description, an example in which the machining simulation method is executed using the machining simulation device 200 will be described, but the method may be executed in a device other than the machining simulation device 200.

[0058] FIG. 11 is a flowchart showing the operation of the machining simulation device.

[0059] In step S1, the control information acquisition unit 211 acquires control information including motor information and control parameters. The motor information is, for example, at least one of the motor inertia, inertia ratio, and spring constant of the motor. The control parameters are, for example, the position control proportional gain K P , speed loop gain K V , the speed control integral gain K of the speed control section 1 , and the speed control proportional gain K of the speed control section 2 At least one of the following is true.

[0060] In step S2, the motor characteristics calculation unit 212 calculates the motor characteristics based on the motor information.

[0061] In step S3, the control characteristic calculation unit 213 calculates the control characteristics of the motor control system based on the control parameters. Step S3 may be performed before step S2 or in parallel with step S2.

[0062] In step S4, the transfer characteristic calculation unit 214 determines whether or not a predetermined requirement has been input. If it has been input, the process proceeds to step S5, and if it has not been input, the process proceeds to step S6.

[0063] In step S5, the transfer characteristic calculation unit 214 changes at least one of the motor characteristics calculated by the motor characteristic calculation unit 212 and the control characteristics calculated by the control characteristic calculation unit 213 so as to satisfy the input specified requirements.

[0064] In step S6, transfer characteristic calculation unit 214 calculates the transfer characteristic of the machine tool based on at least one of the changed motor characteristic and control characteristic if at least one of the motor characteristic and the control characteristic has been changed in step S5. If the predetermined requirement has not been input in step S4, transfer characteristic calculation unit 214 calculates the transfer characteristic of the machine tool based on at least one of the motor characteristic calculated by motor characteristic calculation unit 212 and the control characteristic calculated by control characteristic calculation unit 213.

[0065] In step S7, the simulation execution unit 220 uses the calculated transfer function to simulate the control of the machine tool control unit 100 based on the machining program, the behavior of the motor which is the driving unit and the driven unit, and the feedback control of the control unit 100 based on the position information of the driving unit and the driven unit, and outputs the position information of each axis as the simulation result.

[0066] The components included in the machining simulation device of the above-described embodiment can be realized by hardware, software, or a combination thereof. "Implemented by software" here means that the components are implemented by a computer reading and executing a program. To realize the components included in the machining simulation device by software or a combination thereof, the machining simulation device includes a processor such as a CPU (Central Processing Unit). The processor functions as an execution unit. The machining simulation device may include multiple processors operating in parallel. The machining simulation device also includes an auxiliary storage device such as an HDD (Hard Disk Drive) that stores various programs such as application software or an OS (Operating System), and a main storage device such as a RAM (Random Access Memory) that stores programs required for the processor to execute the functions and operations of the machining simulation device described with reference to FIGS. 1 and 6 and data temporarily required by the programs. The machining simulation device may include multiple main storage devices.

[0067] The machining simulation device has a processor that reads application software or an OS from the auxiliary storage device, and executes calculations based on the application software or the OS while loading the read application software or the OS into the main storage device. Furthermore, various hardware components of the machining simulation device are controlled based on the results of the calculations. This realizes the functional blocks of this embodiment.

[0068] The components included in the machining simulation device can be realized by hardware including electronic circuits, etc. When the machining simulation device is configured by hardware, some or all of the functions of the components included in the machining simulation device can be configured by an integrated circuit (IC), such as an application specific integrated circuit (ASIC), a gate array, a field programmable gate array (FPGA), or a complex programmable logic device (CPLD).

[0069] The program can be stored and supplied to a computer using various types of non-transitory computer-readable media. Non-transitory computer-readable media include various types of tangible storage media. Examples of non-transitory computer-readable media include magnetic recording media (e.g., hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R / Ws, and semiconductor memories (e.g., mask ROMs, PROMs (Programmable ROMs), EPROMs (Erasable PROMs), flash ROMs, and RAMs (Random Access Memory)). The program may also be supplied to the computer by various types of transient computer readable media.

[0070] The effect of the machining simulation device and machining simulation method of the above-described embodiments is that the transfer function of a machine tool can be obtained without requiring data collection involving test runs of the machine tool and specialized knowledge for calculating the transfer characteristics.

[0071] Although the present disclosure has been described above, the present disclosure is not limited to the individual embodiments and modifications described above. Various additions, substitutions, changes, partial deletions, etc. are possible to these embodiments and modifications within the scope of the gist of the present disclosure, or within the scope of the gist of the present disclosure derived from the content of the claims and their equivalents. Furthermore, these embodiments and modifications can also be implemented in combination. For example, in the above-described embodiments, the order of each operation and the order of each process are shown as examples and are not limited to these.

[0072] The following supplementary note is further disclosed regarding the above embodiment: (Supplementary note 1) A machining simulation device (200) comprising: a transfer characteristic generation unit (210) that generates transfer characteristics of a machine tool; and a simulation execution unit (220) that simulates behavior of the machine tool using the transfer characteristics, wherein the transfer characteristic generation unit comprises: a control information acquisition unit (211) that acquires control information including motor information of the machine tool and control parameters of a motor control system of the machine tool from a storage unit; a motor characteristic calculation unit (212) that calculates motor characteristics based on the motor information; a control characteristic calculation unit (213) that calculates control characteristics of the motor control system based on the control parameters; and a transfer characteristic calculation unit (214) that calculates the transfer characteristics that satisfy predetermined requirements based on the motor characteristics and the control characteristics, wherein the predetermined requirements include at least one of a response frequency of position control, a response frequency of speed control, a natural frequency of the machine tool, and a resonance frequency of a driving unit and a driven unit in the machine tool.

[0073] (Supplementary Note 2) The machining simulation device according to Supplementary Note 1, wherein the motor information includes at least one of a motor inertia, an inertia ratio, and a spring constant of a motor, and the control parameters include at least one of a position control proportional gain, a speed loop gain, a speed control integral gain, and a speed control proportional gain.

[0074] (Supplementary Note 3) The machining simulation device according to Supplementary Note 2, wherein the motor characteristic calculation unit (212) calculates the motor characteristics using a rigid body model including the motor inertia and the inertia ratio, or a two-inertia body model including the motor inertia, the inertia ratio, and the spring constant.

[0075] (Supplementary Note 4) The machining simulation device according to Supplementary Note 2, wherein the control characteristic calculation unit (213) calculates the control characteristic using the position control proportional gain.

[0076] (Supplementary Note 5) The machining simulation device according to Supplementary Note 2, wherein the control characteristic calculation unit (213) calculates the control characteristic using the speed loop gain, or the speed loop gain, the speed control integral gain, and the speed control proportional gain.

[0077] (Supplementary Note 6) The machining simulation device according to Supplementary Note 1, wherein the motor characteristics include at least one of motor inertia, inertia ratio, and spring constant, the control characteristics include at least one of position control proportional gain, speed loop gain, speed control integral gain, and speed control proportional gain, and the transfer characteristic calculation unit (214) changes at least one of the motor inertia, the inertia ratio, the spring constant, the position control proportional gain, the speed loop gain, the speed control integral gain, and the speed control proportional gain so that the transfer characteristics satisfy the predetermined requirement.

[0078] (Supplementary Note 7) The machining simulation device according to Supplementary Note 1, wherein the transfer characteristic calculation unit (214) adds load inertia to motor inertia or couples the motor inertia and load inertia with a spring element so that the transfer characteristic satisfies the predetermined requirement.

[0079] (Supplementary Note 8) A machining simulation method in which a computer executes the following processes: calculating motor characteristics based on motor information of a machine tool; calculating control characteristics of a motor control system of the machine tool based on control parameters of the motor control system; calculating transfer characteristics that satisfy predetermined requirements based on the motor characteristics and the control characteristics; and simulating behavior of the machine tool using the transfer characteristics, wherein the predetermined requirements include at least one of a response frequency of position control, a response frequency of speed control, a natural frequency of the machine tool, and a resonance frequency of a driving unit and a driven unit in the machine tool.

[0080] REFERENCE SIGNS LIST 10 Machining simulation system 100 Machine tool control device 101 Storage unit 200 Machining simulation device 210 Transfer characteristic generation unit 211 Control information acquisition unit 212 Motor characteristic calculation unit 213 Control characteristic calculation unit 214 Transfer characteristic calculation unit 220 Simulation execution unit

Claims

1. A machining simulation device comprising: a transfer characteristic generation unit which generates transfer characteristics of a machine tool; and a simulation execution unit which simulates the behavior of the machine tool using the transfer characteristics, wherein the transfer characteristic generation unit comprises: a control information acquisition unit which acquires control information including motor information of the machine tool and control parameters of a motor control system of the machine tool from a memory unit; a motor characteristic calculation unit which calculates motor characteristics based on the motor information; a control characteristic calculation unit which calculates control characteristics of the motor control system based on the control parameters; and a transfer characteristic calculation unit which calculates the transfer characteristics which satisfy specified requirements based on the motor characteristics and the control characteristics, wherein the specified requirements include at least one of a response frequency of position control, a response frequency of speed control, a natural frequency of the machine tool, and a resonance frequency between a driving unit and a driven unit in the machine tool.

2. The machining simulation device according to claim 1, wherein the motor information includes at least one of motor inertia, inertia ratio, and spring constant due to the motor, and the control parameters include at least one of position control proportional gain, speed loop gain, speed control integral gain, and speed control proportional gain.

3. The machining simulation device according to claim 2, wherein the motor characteristics calculation unit calculates the motor characteristics using a rigid body model including the motor inertia and the inertia ratio, or a two-inertia body model including the motor inertia, the inertia ratio and the spring constant.

4. The machining simulation device according to claim 2, wherein the control characteristic calculation unit calculates the control characteristic using the position control proportional gain.

5. The machining simulation device according to claim 2, wherein the control characteristic calculation unit calculates the control characteristic using the speed loop gain, or the speed loop gain, the speed control integral gain, and the speed control proportional gain.

6. The machining simulation device of claim 1, wherein the motor characteristics include at least one of motor inertia, inertia ratio, and spring constant, the control characteristics include at least one of position control proportional gain, speed loop gain, speed control integral gain, and speed control proportional gain, and the transfer characteristic calculation unit changes at least one of the motor inertia, inertia ratio, spring constant, position control proportional gain, speed loop gain, speed control integral gain, and speed control proportional gain so that the transfer characteristic satisfies the specified requirement.

7. The machining simulation device according to claim 1, wherein the transfer characteristic calculation unit adds load inertia to motor inertia or couples the motor inertia and load inertia with a spring element so that the transfer characteristic satisfies the specified requirements.

8. A machining simulation method in which a computer executes the following processes: calculating motor characteristics based on motor information of a machine tool; calculating control characteristics of a motor control system of the machine tool based on control parameters of the motor control system; calculating transfer characteristics that satisfy specified requirements based on the motor characteristics and the control characteristics; and simulating the behavior of the machine tool using the transfer characteristics, wherein the specified requirements include at least one of a response frequency of position control, a response frequency of speed control, a natural frequency of the machine tool, and a resonance frequency between a driving unit and a driven unit in the machine tool.

Citation Information

Patent Citations

  • Servo control method

    JP1993207769A

  • Positioning device

    JP1995110716A

  • Motor controller

    JP2013055751A

  • Servo control device

    WO2020217597A1