Control system, control method, design processing method, and program
Patent Information
- Application Number
- CN202480089396.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-03-28
- Filing Date
- 2024-11-05
- Publication Date
- 2026-10-13
AI Technical Summary
[0010]本公开实现了使得更容易提高对象的机械加工质量的优点。
Smart Images

Figure CN122910446A_ABST
Abstract
Description
Technical Field
[0001] This disclosure generally relates to control systems, control methods, design processing methods, and procedures. More particularly, this disclosure relates to control systems for controlling cutting machines, control methods for control systems, design processing methods for filters to be applied to control systems, and procedures. Background Technology
[0002] Patent Document 1 discloses a technique applicable to a numerical control device that can reduce table vibration using a configuration for moving a table to a predetermined position. This numerical control device includes an estimation compensation unit, which includes an estimation unit. The estimation unit estimates the table speed based on a vibration model. The estimation compensation unit calculates the relative speed by subtracting the table speed from the speed command, thereby generating a compensation command based on the relative speed. The compensation command output by the estimation compensation unit is then used to compensate for the torque command generated by the speed controller. Existing technical documents Patent documents
[0003] Patent Document 1: Japanese Patent Application Publication No. 2023-122980 Summary of the Invention
[0004] Considering the potential for vibrations during machining of an object using a cutting machine due to factors such as inappropriate machining conditions and tool wear and / or deterioration, there is room for further improvement in the quality of the machined object (e.g., the quality of the machined surface shape). Patent Document 1 discloses a technique for reducing table vibration. However, creating a vibration model according to this technique can be quite cumbersome. Therefore, there is a growing need for means to more easily achieve this objective.
[0005] A control system according to one aspect of this disclosure controls a cutting machine that uses the power of an electric motor to cut an object. The control system includes a position controller, a speed controller, a torque controller, a filter unit, and a compensation unit. The position controller controls the position of the motor based on a position command from the motor. The speed controller controls the speed of the motor based on the output of the position controller. The torque controller controls the torque of the motor based on the output of the speed controller. The filter unit includes at least one filter for extracting periodic vibration components of the motor. The compensation unit outputs a compensation command for compensating for the torque of the motor based on the periodic vibration components extracted by the filter. The periodic vibration components belong to a frequency band lower than the cutting frequency at which the object is being cut.
[0006] According to another aspect of this disclosure, a control method is used for a control system for controlling a cutting machine that uses the power of a motor to cut an object. The control method includes a position control step, a speed control step, a torque control step, an extraction step, and a compensation step. The position control step includes controlling the position of the motor according to a position command. The speed control step includes controlling the speed of the motor based on the output of the position control step. The torque control step includes controlling the torque of the motor based on the output of the speed control step. The extraction step includes extracting a periodic vibration component of the motor using at least one filter included in a filter unit of the control system. The compensation step includes outputting a compensation command to compensate for the torque of the motor based on the periodic vibration component extracted in the extraction step. The periodic vibration component is a component belonging to a frequency band lower than the cutting frequency at which the object is being cut.
[0007] According to another aspect of this disclosure, the program is designed to cause one or more processors to perform the above-described control method.
[0008] The design processing method according to another aspect of this disclosure is a design processing method for filters applicable to the above-described control system. The design processing method includes an acquisition processing step, a determination processing step, and a setting processing step. The acquisition processing step includes: acquiring machining data collected during the cutting process of the object by the cutting machine, and shape data related to the shape of the machined surface of the object. The determination processing step includes: determining the periodic vibration components of the motor based on the machining data and the shape data. The setting processing step includes: setting the parameters of the filter based on the determination results obtained in the determination processing step.
[0009] According to another aspect of this disclosure, the procedure is designed to cause one or more processors to perform the above-described processing method.
[0010] This disclosure achieves the advantage of making it easier to improve the machining quality of objects. Attached Figure Description
[0011] Figure 1 This is a block diagram illustrating the configuration of a machining system including a control system according to a typical embodiment; Figure 2 This is a block diagram illustrating the configuration of a motor controller that has the functions of this control system; Figure 3 This is a block diagram illustrating the configuration of a personal computer (PC) with the functions of this control system; Figure 4This is a block diagram illustrating the configuration of the control system and the cutting machine; Figure 5A This is a conceptual diagram illustrating the feed direction for single-axis machining; Figure 5B This is a conceptual diagram illustrating the feed direction for dual-axis machining; Figure 6 This is a block diagram illustrating the configuration of the milling model used in this control system; Figure 7 It is a conceptual diagram showing the tools and objects used to illustrate what a milling model is; Figure 8 The waveforms show the results of the machining simulation (motor rotation speed) obtained with and without a filter, both with and without a filter. Figure 9 It is a characteristic diagram related to the motor torque command and the shape of the machined surface obtained through frequency analysis of the control system; Figure 10A This is a gain plot showing the characteristic plot (Borde plot) of the "oscillation probability" when using the three types of filters of the control system and when not using filters. Figure 10B This is a phase diagram showing the characteristic plot (Bode plot) of the "oscillation probability" in the case of using the three types of filters of the control system and in the case of not using filters; Figure 11A This is a gain plot showing the degree of undulation reduction (Borde plot) in the case of using the three types of filters of the control system and in the case of not using filters; Figure 11B This is a phase diagram showing the characteristic plot (Bob plot) of the "ripple reduction" when using the three types of filters of the control system and when not using filters. Figure 12 This is a conceptual diagram illustrating an exemplary screen image displayed by the screen display unit of the control system; Figure 13 This is a flowchart illustrating a first operational example of the control system; Figure 14 It is shown Figure 13 The flowchart shown illustrates the details of the automatic filter design. Figure 15 This is a flowchart illustrating a second operational example of the control system; Figure 16This is a block diagram illustrating the configuration of a motor controller having the functions of a first variant of the control system; Figure 17 This is a block diagram illustrating the configuration of a motor controller having the functions of a second variation of the control system; Figure 18 This is a block diagram illustrating the configuration of a motor controller having the functions of a third variation of this control system; Figure 19 This is a block diagram illustrating the configuration of a motor controller having the functions of a fourth variation of this control system; and Figure 20 This is a block diagram illustrating the configuration of a motor controller having the functions of a fifth variation of this control system. Detailed Implementation
[0012] (summary) Control systems, control methods, design processing methods, and procedures according to embodiments and variations thereof will be described with reference to the accompanying drawings. Note that the embodiments and variations thereof described below are merely exemplary embodiments among the various embodiments and variations of this disclosure and should not be construed as limiting. Rather, these exemplary embodiments and variations thereof can be readily modified in various ways according to design choices or any other factors without departing from the scope of this disclosure. Optionally, the configuration of any variations described later may be suitably combined with the exemplary embodiments or any other variations.
[0013] Note that the numerical values, shapes, materials, constituent elements, corresponding positions and connection modes of these constituent elements, steps, and order of steps described in the following description of embodiments and variations are merely examples and should not be construed as limiting the scope of this disclosure. It should also be noted that, as used herein, “rotation” of a component means rotation of the component about its own axis.
[0014] According to one aspect of the control system 1 (reference) Figures 1 to 4 This is applied to machining systems. A machining system is a system that includes components for machining objects (workpiece W1: reference). Figure 5A , Figure 5B and Figure 7 Cutting machine X1 (reference) Figure 4 The system has the function of controlling the cutting machine X1. That is, the control system 1 controls the cutting machine X1, which uses a motor (such as...) Figure 1 The servo motor 330 (as shown) is used to cut the object (workpiece W1) with its power.
[0015] The cutting machine X1 is used to operate tools such as end mills (see reference). Figure 5A , Figure 5B and Figure 7A machine tool that cuts objects.
[0016] like Figure 2 and Figure 4 As shown, the control system 1 includes a position controller 233, a speed controller 234, a torque controller 235, a filter unit 3, and a compensation unit 4. Although as... Figure 2 As shown, in the embodiments described below, it is assumed that the compensation unit 4 has the function of the filter unit 3, but the compensation unit 4 can be provided separately from the filter unit 3. In this case, for example, the compensation unit 4 can be placed after the filter unit 3. Alternatively, the function of the compensation unit 4 can also be incorporated into the torque controller 235.
[0017] Position controller 233 controls the position of the motor according to the position command of the motor. The motor includes: a stator as a fixed component; and a rotor rotating relative to the stator. As used herein, "motor position" refers to the angular position (i.e., rotational position) of the rotating rotor. Speed controller 234 controls the speed of the motor according to the speed command of the motor as the output of position controller 233. As used herein, "motor speed" refers to the rotational speed of the rotor. Torque controller 235 controls the torque of the motor according to the torque command of the motor as the output of speed controller 234. Filter unit 3 includes at least one filter F1 for extracting periodic vibration components of the motor. Compensation unit 4 outputs a compensation command for compensating the torque of the motor based on the periodic vibration components extracted by filter F1. The periodic vibration components are components belonging to a frequency band lower than the cutting frequency at which the object is being cut.
[0018] As used in this article, "motor" can refer to the feed motor that moves the tool T1 or the object (servo motor 330; see reference). Figure 1 ).
[0019] Furthermore, the term “cutting frequency” as used herein is also referred to as “intermittent cutting frequency,” “cutting edge passage frequency,” or “cutting vibration frequency,” and means that the frequency per cutting edge is calculated based on the rotational speed of the spindle drive motor used to rotate the tool T1 of the cutting machine X1 and the number of cutting edges of the tool T1 attached to the spindle.
[0020] In the control system 1 with this configuration, the compensation unit 4 outputs a compensation command to compensate for the motor torque based on the periodic vibration components extracted by the filter F1. This makes it easier to reduce vibrations that may occur while the object (workpiece W1) is being cut. Furthermore, the control system 1 with this configuration eliminates the need for creating a vibration model as required by the technology in the aforementioned Patent Document 1, and is therefore easier to implement compared to the technology in Patent Document 1. Therefore, this control system 1 advantageously makes it easier to improve the machining quality of the object.
[0021] According to another control method, a control method for a control system 1 is used to control a cutting machine X1, which uses the power of a motor (such as a servo motor 330) to cut an object (workpiece W1). This control method includes a position control step, a speed control step, a torque control step, an extraction step, and a compensation step. The position control step includes controlling the position of the motor according to a position command. The speed control step includes controlling the speed of the motor based on the output of the position control step (i.e., the speed command of the motor). Specifically, the speed control step includes outputting a torque command for controlling the speed of the motor based on the speed command of the motor as the output of the position control step. The torque control step includes controlling the torque of the motor based on the output of the speed control step (i.e., the compensated torque command of the motor). The extraction step includes extracting the periodic vibration component of the motor using at least one filter F1 included in the filter unit 3 of the control system 1. The compensation step includes outputting a compensation command for compensating the torque of the motor based on the periodic vibration component extracted in the extraction step. The periodic vibration component is a component belonging to a frequency band lower than the cutting frequency at which the object is being cut. This control method advantageously makes it easier to improve the machining quality of objects.
[0022] This control method is used on a computer system (i.e., control system 1). That is, the control method can also be implemented as a computer program. According to another aspect, the program is designed to cause one or more processors to perform the aforementioned control method. Optionally, the program can be stored on a computer-readable, non-transitory storage medium.
[0023] According to another aspect of the design processing method, a design processing method for filter F1 applicable to the aforementioned control system 1 is used. The design processing method includes an acquisition processing step, a determination processing step, and a setting processing step. The acquisition processing step includes acquiring machining data and shape data related to the shape of the machined surface of the object collected during the cutting machine X1 cutting the object (workpiece W1). The determination processing step includes determining the periodic vibration components of the motor based on the machining data and shape data. The setting processing step includes setting the parameters of filter F1 based on the determination results obtained in the determination processing step. This design processing method advantageously makes it easier to improve the machining quality of the object.
[0024] This design processing method is used on a computer system (i.e., control system 1). That is, this design processing method can also be implemented as a computer program. According to another aspect, the program is designed to cause one or more processors to perform the above-described design processing method. Optionally, the program can be stored on a computer-readable, non-transitory storage medium.
[0025] (detail) (1) Overall Configuration The control system 1 and the machining system according to typical embodiments will now be described.
[0026] Figure 1 This is a block diagram illustrating the configuration of a machining system according to this embodiment.
[0027] The machining system is a system for cutting off the workpiece W1, which is the object, and includes a control system 1 and a cutting machine X1 (reference). Figure 4 The control system 1 is applied to this machining system and has the function of controlling the cutting machine X1.
[0028] Control system 1 includes a computer system comprising one or more processors and memory. At least a portion of the functions of control system 1 are performed by causing the processor of the computer system to execute a program stored in the memory of the computer system. The program may be pre-stored in memory. Alternatively, the program may be downloaded via a telecommunications line such as the Internet, or distributed after being stored on a non-transitory storage medium such as a memory card.
[0029] The control system 1 has the functions of calculating the machined shape of the object that has been cut by the cutting machine X1, analyzing the machining data and shape data, automatically designing filter parameters (hereinafter referred to as "automatic filter parameter design function"), calculating the probability of oscillation and / or the degree of reduction of vibration marks, displaying a screen, and other functions. Note that in the following description of the embodiment, it is assumed that the "machined shape" of the object is along the machining surface of the workpiece W1 (i.e., along the machining surface of the workpiece W1). Figure 5A and Figure 5B The shape of the face to which the virtual line S1 is aligned, and which will sometimes be referred to below as the “machined face shape”.
[0030] In this embodiment, as an example, multiple functions of the control system 1 are distributed across... Figure 1 and Figure 2 The motor controller 230 of each servo amplifier 200 shown and Figure 1 and Figure 3 In the personal computer (PC) 100 shown. In particular, among the various functions of the control system 1, the controlled system function is set for the motor controller 230, while the analysis function, the automatic filter parameter design function, and other functions are set for the PC 100.
[0031] In this embodiment, for example, it is assumed that PC 100 is a laptop computer, but it could also be a desktop computer. PC 100 is equipped with software programs that display a user interface (UI) for operating the servo amplifier 200. Figure 1 and Figure 3 (This is marked as "UI software 110"). UI software 110 includes a portion of the multiple functions of control system 1.
[0032] The cutting machine X1 is used for, for example, using a tool T1 such as an end mill (see reference). Figure 5A , Figure 5B and Figure 7 Cut the workpiece W1 (which is fixed on platform B1 (reference)) Figure 2 The machine tool (on which the object is located) includes a servo amplifier 200, a linear encoder 310, a motor encoder 320, and a servo motor 330 (see reference). Figure 1 Note that in Figure 1 The diagram illustrates a machine capable of performing dual-axis machining, and thus, two sets of constituent elements. Each set comprises a servo amplifier 200, a linear encoder 310, a motor encoder 320, and a servo motor 330. Each pair of servo amplifiers 200, even though their feed directions differ, essentially has the same function and is therefore designated by the same reference numerals. The same description applies to each pair of linear encoders 310, each pair of motor encoders 320, and each pair of servo motors 330.
[0033] The servo amplifier 200 is a device for controlling the servo motor 330. The servo motor 330 is an exemplary feed motor for moving the tool T1 or an object. The servo motor 330 is, for example, a rotary motor, but it can also be a linear motor. The servo motor 330 drives, for example, a platform B1 with an object fixed thereon, thereby moving the tool T1 and the object relative to each other.
[0034] like Figure 1 As shown, each group of servo amplifiers 200 includes a communication IF 210, a communication controller 220, a motor controller 230, analog-to-digital (AD) converters 240, 250 and 260, and a PWM controller 270.
[0035] Communication IF 210 is a communication interface such as a communication device for communicating with PC 100. Communication controller 220 controls communication with PC 100 via communication IF 210. For example, communication controller 220 sends data (motor control information) to PC 100 required to calculate the machining shape of an object already machined by cutting machine X1. Motor controller 230 controls the rotational speed of servo motor 330. Motor controller 230 controls PWM controller 270 to send control signals to servo motor 330 to rotate servo motor 330. Additionally, motor controller 230 can receive information representing the rotational position and speed of servo motor 330 as feedback from linear encoder 310, motor encoder 320, and servo motor 330 via AD converters 240, 250, and 260. Motor controller 230 can also use this feedback to adjust the rotational position and speed of servo motor 330. That is, as... Figure 2 As shown, the motor controller 230 has the function of feedback control (FB control) of the rotational position and rotational speed of the servo motor 330.
[0036] (2) Configuration of motor controller Next, we will refer to Figure 2 and Figure 4 The motor controller 230 is described in further detail.
[0037] As described above, among the various functions of the control system 1, the controlled system function is configured for the motor controller 230. Specifically, the motor controller 230 includes a position controller 233, a speed controller 234, a torque controller 235, a filter unit 3, and a compensation unit 4, which are part of the functions of the control system 1. Additionally, the motor controller 230 also includes a position command generation unit 231, a feedforward (FF) controller 232, and a differentiator 236. The motor controller 230 also includes three adders C1, C2, and C3.
[0038] The position command generation unit 231 receives a "position command" related to the position (angle) of the servo motor 330 from an external device such as a host controller, performs filtering processing based on the position command, generates a position command signal, and outputs the position command signal to the FF controller 232 and the position controller 233. The position command signal is input to the adder C1 before being transmitted to the position controller 233.
[0039] Adder C1 outputs to position controller 233 a position command provided by position command generation unit 231 and an indication of the position command already generated by motor encoder 320 (in Figure 2The signal indicating the position deviation between the position (angle) of the servo motor 330 detected by the encoder and the "feedback (FB) position".
[0040] Position controller 233 controls the position of servo motor 330 according to the position command of servo motor 330. Specifically, position controller 233 determines a speed command (such as the rotational speed of servo motor 330) to make the position deviation, which is the sum calculated by adder C1, equal to zero. Position controller 233 outputs a speed command signal to speed controller 234. The speed command signal is input to adder C2 before being transmitted to speed controller 234.
[0041] The FF controller 232 uses a feedforward (FF) control model to generate a feedforward (FF) speed command based on the position command provided by the position command generation unit 231, and outputs the FF speed command signal to the adder C2. The FF speed command provided by the FF controller 232 allows for improved responsiveness of the servo motor 330.
[0042] Differentiator 236 differentiates the position (angle) of servo motor 330 that has been detected by motor encoder 320, and outputs the "feedback (FB) speed" signal as the result of differentiation to adder C2.
[0043] Adder C2 outputs a signal to speed controller 234 and compensation unit 4, which indicates the speed deviation between the speed command provided by position controller 233, the FF speed command provided by FF controller 232, and the "FB speed" which is the result of differentiation performed by differentiator 236.
[0044] Filter unit 3 includes at least one for extracting the periodic vibration components of servo motor 330 (e.g., in...). Figure 2 The example shown is of filter F1. Figure 2 In the illustrated example, filter unit 3 is arranged in parallel with speed controller 234. The periodic vibration component is a component belonging to a frequency band lower than the cutting frequency at which the object (workpiece W1) is being cut. For example, it is assumed that filter F1 is a bandpass filter that only allows the frequency band of the periodic vibration component to pass through. However, filter F1 does not necessarily have to be a bandpass filter, but could also be, for example, a low-pass filter.
[0045] Filter unit 3 extracts periodic vibration components based on machining data obtained by cutting the object (workpiece W1) and the shape of the machined surface of the object. The parameters of filter F1 have been preset based on the machining data and the shape of the machined surface of the object. The machining data includes the speed of the motor. Specifically, the machining data includes, for example, the rotational speed of the feed motor (servo motor 330) used to move the tool T1 or the object. Optionally, the machining data may also include the rotational speed of the spindle drive motor used to rotate the tool T1.
[0046] The filter F1 can be defined by the transfer function expressed by the following equation (1). As used herein, it is assumed that the “parameters” of the filter F1 are three control parameters (i.e., the center angular frequency ω in equation (1)). B At least one of (rad / s), damping ratio ζ, and suppression gain K. Note that s in equation (1) is the Laplace operator.
[0047] [Mathematical Expression 1] (1)
[0048] The "periodic vibration component" is determined based on machining data and the shape of the machined surface of the object. Parameters (center angular frequency ω) are then set based on this determined periodic vibration component. B This allows filter F1 to pass only the frequency band of the periodic vibration component during cutting. Note that how to determine the "periodic vibration component" will be described in detail later.
[0049] The compensation unit 4 outputs a compensation command (torque compensation command) to compensate for the motor torque based on the periodic vibration component extracted by the filter F1 of the filter unit 3. In this embodiment, the compensation unit 4 includes the filter unit 3. Figure 2 In the illustrated example, the compensation unit 4, including the filter unit 3, is arranged in parallel with the speed controller 234. The compensation unit 4 outputs a signal indicating a torque compensation command to the adder C3.
[0050] The speed controller 234 controls the motor speed based on the position command output by the position controller 233. Specifically, the speed controller 234 determines a torque command (such as the torque of the servo motor 330) to make the speed deviation, which is the sum calculated by the adder C2, equal to zero. The speed controller 234 outputs a torque command signal to the torque controller 235. The torque command signal is input to the adder C3 before being transmitted to the torque controller 235.
[0051] Adder C3 outputs a signal to torque controller 235 that indicates the sum calculated by adding the torque compensation command provided by compensation unit 4 to the torque command provided by speed controller 234 (i.e., the compensated torque command).
[0052] The torque controller 235 controls the motor torque based on the torque command (specifically, the compensated torque command) output by the speed controller 234. Specifically, the torque controller 235 generates a command signal based on the compensated torque command, which is the sum calculated by adder C3, and outputs this command signal to the PWM controller 270 (see reference). Figure 1 ; Figure 2 (Not shown in the image). In response, the PWM controller 270 sends a control signal to the servo motor 330 to rotate the servo motor 330 according to the command signal.
[0053] (3) PC configuration Next, we will refer to Figure 1 and Figure 3 PC 100 will be described in further detail.
[0054] PC 100 includes UI software 110 and communication IF 120.
[0055] Communication IF 120 is a communication interface such as a communication device for communicating with each servo amplifier 200. Communication IF 120 receives machining data collected from the servo amplifier 200 during machining of an object using the tool T1 included in the cutting machine X1. Additionally, Communication IF 120 sends operation information to the servo amplifier 200, detailing operation commands input via the UI for operating the servo amplifier 200.
[0056] like Figure 1 and Figure 3 As shown, the UI software 110 includes a screen display unit 111, a data storage unit 112, a machining shape calculation unit 10, and a function unit 12. Additionally, as... Figure 3 As shown, the UI software 110 also includes an acquisition unit 11 and a transmission unit 13 (but in... Figure 1 (Not shown in the image).
[0057] The screen display unit 111 is a functional component used to display the UI for operating the servo amplifier 200 on a monitor screen. Additionally, the screen display unit 111 also displays information relating to at least one of the following: setting information relating to the parameters set for the filter F1 of the filter unit 3 (described later) (e.g., setting information such as damping ratio or suppression gain), and analysis results based on the already set parameters of the filter unit 3. Furthermore, the screen display unit 111 also displays the oscillation probability and the degree of ripple reduction as results of the analysis performed by the functional unit 12 (described later).
[0058] The data storage unit 112 stores information (motor control information) received from the servo amplifier 200, as well as other information. Additionally, the data storage unit 112 stores the setting information and analysis results of the filter unit 3, as well as information related to the oscillation probability and the degree of ripple reduction, which are the results of the analysis performed by the functional unit 12.
[0059] The acquisition unit 11 is a functional component for acquiring machining data included in the information (motor control information) received by the acquisition unit 11 from the servo amplifier 200 via the communication IF 120. In other words, the acquisition unit 11 acquires machining data collected during machining of an object (workpiece W1) using the tool T1 included in the cutting machine X1. The motor control information includes information related to the frequency characteristics of the controlled system provided by the servo amplifier 200 (such as the frequency characteristics in a state where the filter F1 is not set). In the following description, the machining data and the information related to the frequency characteristics will sometimes be collectively referred to as "servo data".
[0060] The machining shape calculation unit 10 is a functional component for calculating the machining shape of an object that has been cut by the cutting machine X1. In other words, the machining shape calculation unit 10 calculates shape data related to the machining shape of the object based on the machining data acquired by the acquisition unit 11.
[0061] Functional unit 12 is a functional component used for signal analysis of machining data and shape data. For example... Figure 3 As shown, the functional unit 12 includes a machining surface shape / servo data analysis unit 120, an automatic filter parameter design unit 121, and an oscillation probability and ripple reduction calculation unit 122. The various functions of the functional unit 12 will be described in detail later.
[0062] The transmitting unit 13 sends the parameter design information generated by the automatic filter parameter design unit 121 to the servo amplifier 200 via the communication IF 120. The motor controller 230 (control system 1) of the servo amplifier 200 changes the parameter settings of the filter F1 of the filter unit 3 according to the parameter design information received therefrom.
[0063] PC 100 is a computer that includes a processor (microprocessor), memory, and other components. The memory may be, for example, read-only memory (ROM) or random access memory (RAM), and may store programs to be executed by the processor. The functions of the screen display unit 111, the machining shape calculation unit 10, the acquisition unit 11, the function unit 12, the transmission unit 13, and other constituent elements are performed by the processor, for example, executing the programs stored in the memory.
[0064] (3.1) Machining Shape Calculation Department The functions of the machining shape calculation unit 10 will be described in further detail.
[0065] The machining shape calculation unit 10 calculates shape data related to the machining shape of the object based on machining data collected during the machining process. As described above, the machining data includes the rotational speed of the feed motor (servo motor 330). Additionally, the machining data may also include the rotational speed of the spindle drive motor. Furthermore, the machining data may also include torque data (motor torque command) of the servo motor 330.
[0066] Optionally, the screen display unit 111 may display shape data calculated by the machining shape calculation unit 10. In this case, the screen display unit 111 is an exemplary display unit for displaying shape data.
[0067] Next, the feed direction D1 in the case of cutting off the object using tool T1 in single-axis machining and the feed direction D2 in the case of cutting the object using tool T1 in two-axis machining will be described.
[0068] Figure 5A An exemplary feed direction D1 is shown in the case of single-axis machining. Figure 5B An exemplary feed direction D2 is shown in the case of biaxial machining. Figure 5A and Figure 5B The workpiece W1 shown is a machined object fixed on platform B1. As an example, it is assumed that the material of workpiece W1 is metal. However, the material of workpiece W1 does not necessarily have to be metal; it could also be resin or wood.
[0069] For example, in the case of single-axis machining, it is assumed that platform B1 is driven by a single servo motor 330 in the x-direction. In the case of dual-axis machining, it is assumed that platform B1 is driven by one of the two servo motors 330 in the x-direction and by the other servo motor 330 in the y-direction.
[0070] like Figure 5A As shown, in the case of single-axis machining, workpiece W1 can be driven only in a specific direction (e.g., in the x-direction), and therefore, workpiece W1 can be cut off in that specific direction. Figure 5B As shown, in the case of biaxial machining, the workpiece W1 can be driven in a randomly selected direction, and therefore can be cut off in that randomly selected direction. Although Figure 1 The diagram shows the components of a cutting machine X1 capable of performing dual-axis machining; however, the cutting machine X1 can also be configured to perform single-axis machining only. That is, the cutting machine X1 may include only one set of components consisting of a servo amplifier 200, a linear encoder 310, a motor encoder 320, and a servo motor 330. Alternatively, the cutting machine X1 may include three or more sets of these components, each consisting of a servo amplifier 200, a linear encoder 310, a motor encoder 320, and a servo motor 330, and can be configured to perform machining along three or more axes. Note that... Figure 5A and Figure 5B The virtual line S1 shown is aligned with the machining surface of the workpiece W1.
[0071] Next, the operation of the machining shape calculation unit 10 will be described in detail.
[0072] For example, the machining shape calculation unit 10 calculates shape data based on machining data and milling model 400. That is, the machining shape calculation unit 10 includes milling model 400. Figure 6 This is a block diagram illustrating the configuration of milling model 400. Figure 7 This is a conceptual diagram of tool T1 and workpiece W1 used to illustrate what milling model 400 is.
[0073] like Figure 6 As shown, the milling model 400 includes, for example, a cutting thickness calculation unit 410, a process gain 420, a compliance 430, and a difference calculation unit 440.
[0074] Cutting thickness calculation unit 410 calculates cutting thickness H1 (reference) Figure 7The cutting thickness H1 indicates the thickness of the portion of workpiece W1 to be cut by tool T1. Specifically, the cutting thickness calculation unit 410 calculates the cutting thickness H1 by adding the following two cutting thicknesses together: the cutting thickness determined by machining conditions such as tool diameter, cutting edge count, or depth of cut in the radial direction (hereinafter referred to as "static cutting thickness"), and the cutting thickness determined by the machining surface S11 one cycle prior and the relative displacement between tool T1 and workpiece W1 (hereinafter referred to as "dynamic cutting thickness"). Note that the dynamic cutting thickness is calculated by the difference calculation unit 440 (described later). Figure 7 As shown, the machined surface S11 formed in the previous cycle is cut off in the current cycle, and therefore, the cut-out thickness H1 in each cycle is affected by the dynamic cut-out thickness in the previous cycle. Figure 7 In the attached figure, reference numeral S12 indicates the machined surface of the current cycle.
[0075] The process gain 420 calculates the cutting resistance based on the cutting thickness H1 calculated by the cutting thickness calculation unit 410. The cutting resistance is as follows: Figure 7 The force is generated at point P1 of the cutting edge, and the direction of the force rotates with the rotation of tool T1. Figure 7 In the attached diagram, reference numeral R1 indicates the rotation direction of tool T1. Process gain 420 transforms the cutting resistance at the point of application of the cutting edge P1 along the tangential direction E1 relative to the rotation of the cutting edge, and the cutting resistance at the point of application of the cutting edge P1 along the normal direction E2 along the rotation of the cutting edge, into feed directions (e.g., ...). Figure 5A Cutting resistance in the x-direction (as shown) and in the vertical direction (e.g., Figure 5A The cutting resistance in the y-direction (as shown).
[0076] Compliance 430 calculates the relative displacement to be generated between tool T1 and workpiece W1 using the cutting resistance in the feed direction and the cutting resistance in the vertical direction, which have already been calculated by process gain 420. In this example, workpiece W1 is assumed to be a rigid body.
[0077] The difference calculation unit 440 calculates the difference between the machined surface S11 formed one cycle prior and the relative displacement calculated by the compliance unit 430 as the dynamic cut-out thickness. The dynamic cut-out thickness is used to calculate the cut-out thickness for the next cycle.
[0078] In this way, the cutting resistance creates a relative displacement between the tool T1 and the workpiece W1, thereby changing the cut thickness.
[0079] The machining shape calculation unit 10 can calculate the trajectory of tool T1 based on the relative displacement calculated by the milling model 400, that is, the change in the coordinates of the cutting edge position of tool T1. In addition, the machining shape calculation unit 10 can also calculate the coordinates of the machining surface of the workpiece W1 that has been cut off due to the change in the coordinates of the cutting edge position, that is, it can calculate the shape data of the machining shape.
[0080] The machining shape calculation unit 10 supplies machining data and the shape data calculated therefrom to the function unit 12, and stores the machining data and shape data in the data storage unit 112.
[0081] The machining data and shape data can each include information about the same point in time during the machining of workpiece W1. The machining shape calculation unit 10 preferably outputs machining data and shape data associated with the time. For example, the machining data may include the spindle speed (i.e., the rotational speed of the spindle drive motor), the rotational speed and torque commands of the x-axis feed motor (servo motor 330), and the rotational speed and torque commands of the y-axis feed motor (servo motor 330). The shape data may include the x-axis machining surface coordinates and y-axis machining surface coordinates calculated based on the machining data.
[0082] As used herein, "rotational speed" refers to, for example, the rotational speed calculated (estimated) by the servo amplifier 200 based on the position (angle) of the servo motor 330 (or spindle drive motor) detected by the motor encoder 320. Furthermore, as used herein, "torque command" refers to the torque command of the servo motor 330 (or spindle drive motor) determined by the motor controller 230 of the servo amplifier 200 through position / speed feedback control. A control signal is sent from the PWM controller 270, causing a drive current based on the torque command to flow through the servo motor 330 (or spindle drive motor). Information related to rotational speed and information related to torque command are included in the motor control information. That is, the motor control information according to this embodiment includes information related to the motor control command and information related to the result of motor control. Optionally, motor control information other than information related to rotational speed and torque command can be added to the output data of the machining shape calculation unit 10.
[0083] The machining data and shape data associated with time can be displayed on the monitor screen of the UI via the display unit 111. Correlating the shape data and machining data allows the user to observe the behavior of the motor during the formation of the machined surface.
[0084] (3.2) Functional Department Next, the functions of functional unit 12 will be described in further detail.
[0085] Functional unit 12 performs signal analysis on the machining data and shape data provided by machining shape calculation unit 10, as well as information related to the frequency characteristics of the controlled system provided by servo amplifier 200. In particular, functional unit 12 has the function of calculating the oscillation probability of the controlled system when using filter F1 with predetermined parameters, and the function of calculating the degree of ripple reduction of the controlled system.
[0086] Specifically, such as Figure 3 As shown, the functional unit 12 includes a machining surface shape / servo data analysis unit 120, a filter parameter automatic design unit 121, and an oscillation probability and ripple reduction calculation unit 122. The screen display unit 111 displays the results of the analysis performed by the functional unit 12 (i.e., the calculation results related to the oscillation probability and ripple reduction). In other words, the results of the analysis performed by the functional unit 12 are displayed on the monitor screen of the UI via the screen display unit 111.
[0087] In the following description, the machining surface shape / servo data analysis unit 120 will be referred to as "analysis unit 120", the filter parameter automatic design unit 121 will be referred to as "design unit 121", and the oscillation probability and ripple reduction degree calculation unit 122 will be referred to as "calculation unit 122".
[0088] Machining processes include, for example, so-called "rough machining," "semi-finish machining," and "finish machining" steps that can be performed sequentially on the machining surfaces of the same object. According to this embodiment, the acquisition of machining data, the calculation of shape data, and the various functions of the functional unit 12 can be performed during pre-executed test machining, or sequentially during the actual "rough machining," "semi-finish machining," and "finish machining" steps; either approach is appropriate. During both the test machining and the actual "rough machining," "semi-finish machining," and "finish machining" steps, machining can be performed with adjustments to machining conditions (such as cutting thickness and feed rate) and the parameters of the filter F1.
[0089] The analysis unit 120 acquires shape data related to the shape of the machined surface and servo data (including machining data and information related to the frequency characteristics of the controlled system) from the machining shape calculation unit 10, and analyzes this data. In other words, the design processing method for the filter F1 applied to the control system 1 according to this embodiment includes an acquisition processing step. The acquisition processing step includes: acquiring machining data collected during the cutting machine X1 cutting the object and shape data related to the shape of the machined surface of the object. The analysis unit 120 performs "frequency analysis" on the shape data and machining data.
[0090] In machining, vibration sometimes occurs on the cutting machine X1 side due to factors such as inappropriate machining conditions, wear and / or deterioration of the cutting edge of tool T1, or mechanical wear, resulting in a decrease in the quality of the machined surface as a result of unstable cutting. Specifically, the occurrence of vibration causes the formation of striped patterns or defects on the machined surface, thereby leading to machining failure.
[0091] For example, Figure 8 This is a waveform diagram illustrating an exemplary change in the rotational speed of the servo motor 330 during cutting (as a result of a machining simulation). Specifically, in Figure 8 In the simulation, the speed change is indicated by a solid waveform when the filter F1 of the control system 1 is set to "compensated", and by a dotted waveform when the filter F1 is not set to "uncompensated". Note that the machining conditions in these machining simulations may include, for example, a spindle drive motor speed of 2000 rpm (cutting frequency of 33 Hz).
[0092] exist Figure 8 In the diagram, the rotational speed variation interval Δh1 corresponds to the cutting frequency (33Hz). Figure 8 In the example shown, the interval Δh2 corresponds to the low-frequency vibration component (7Hz) (i.e., the periodic vibration component) that contributes to the ripples (stripes). The ripples can be reduced by extracting the periodic vibration component using the filter F1 provided on the motor controller 230 side and by compensating the periodic vibration component using the compensation unit 4.
[0093] exist Figure 8 In the enlarged view on the right, the peak variation width ΔW1 in the "uncompensated" case can be, for example, 1.14 rpm, and the peak variation width ΔW2 in the "compensated" case can be, for example, 0.33 rpm. Therefore, it can be seen that, in the "compensated" case, the degree of non-uniformity in the rotational speed of the servo motor 330 can be reduced.
[0094] The control system 1 has the following function: it determines the "periodic vibration component" and automatically designs the parameters of filter F1 to compensate for the periodic vibration component using filter F1.
[0095] The screen display unit 111 preferably displays, on the monitor screen of the UI, information such as... Figure 8 Information related to the analysis results shown (based on the analysis results of filter unit 3 with already set parameters).
[0096] The “frequency analysis” is performed by the analysis unit 120 to determine the frequency components (periodic vibration components) that affect the machined surface.
[0097] The analysis unit 120 performs frequency analysis on machining data and shape data that fall within a time range including the same time point, and outputs the analysis results.
[0098] In this embodiment, the analysis unit 120 performs, for example, analysis using Fast Fourier Transform (FFT) as frequency analysis. Figure 9 It is a characteristic diagram drawn by performing frequency analysis on the motor torque command (machining data, in other words, motor control information) and the shape of the machined surface (shape data). Figure 9 In the diagram, the horizontal axis indicates frequency, and the vertical axis indicates intensity. Figure 9 The upper part indicates the characteristic Q1 of the motor torque command, while Figure 9 The lower part indicates the characteristic Q2 of the shape of the machined surface.
[0099] exist Figure 9 In the example shown, each of the characteristics Q1 of the motor torque command and Q2 of the machined surface shape has two regions (frequency bands) that include the frequency (frequency component) at which the intensity reaches its peak, namely the dotted shaded regions Fr1 and Fr2. As used herein, a "peak" is assumed to be a frequency at which the intensity is higher than at any previous and subsequent frequencies, and at which the intensity is equal to or greater than a specified intensity. Note that the specified intensity to be compared with the intensity of the motor torque command and the specified intensity to be compared with the intensity of the machined surface shape may be different from each other.
[0100] Note that in Figure 9 In the example shown, there are multiple regions (i.e., region Fm1, region Fm2, region Fm3, etc.), each of which includes a frequency component where only the characteristic Q1 of the motor torque command reaches its peak. Region Fm1 includes the cutting frequency (i.e., the frequency at which the cutting edge of tool T1 collides with the workpiece W1 and this frequency is within...). Figure 9 The example shown is for the 33Hz region. Regions Fm2, Fm3, etc., each include frequencies that are n times higher than the cutting frequency. Note that... Figure 9 The regions not shown each include frequencies that are four times or more than four times higher than the cutting frequency.
[0101] Machining data and shape data are correlated on the time axis. Therefore, frequencies falling within a given range can be easily determined through frequency analysis. Figure 9 The frequencies within regions Fr1 and Fr2 (hereinafter sometimes referred to as "peak frequencies") are at which both the intensity of the motor torque command and the intensity of the machined surface shape reach their peak values. That is, due to the roughness of the machined surface, the peak frequencies falling within regions Fr1 and Fr2 of the motor torque command will form peak frequencies falling within regions Fr1 and Fr2. Therefore, this makes it easier to determine the periodic vibration components affecting the machined surface on the cutting machine X1 (e.g., its servo motor 330) side.
[0102] Analysis unit 120 extracts the following frequencies (i.e., frequencies falling on...) Figure 9 The peak frequencies within regions Fr1 and Fr2 in the analysis unit are used to determine the peak frequencies of both the intensity of the motor torque command and the intensity of the machined surface shape. Based on the analysis results, the analysis unit 120 extracts one or more frequencies (at which both the intensity of the machining data and the intensity of the shape data reach their peak values) and defines one or more frequencies as one or more periodic vibration components. The analysis unit 120 extracts one or more frequencies by performing filtering, for example, using a bandpass filter. In other words, the design processing method for the filter F1 applied to the control system 1 according to this embodiment also includes a determination processing step. The determination processing step includes determining (extracting) the periodic vibration components of the motor based on the machining data and the shape data. Alternatively, this extraction processing can be performed by the design unit 121. Note that in Figure 9 In the example shown, the analysis unit 120 extracts two periodic vibration components.
[0103] The analysis unit 120 outputs servo data, frequency analysis results, and information related to one or more periodic vibration components determined therefrom to the design unit 121 and the calculation unit 122. Additionally, the results of the frequency analysis performed by the analysis unit 120 and the information related to one or more periodic vibration components determined therefrom (such as...) Figure 9 The characteristic diagrams shown are output to the display unit 111 and displayed on the monitor screen of the UI via the display unit 111.
[0104] Instead of the aforementioned "frequency analysis" function (or in addition to the aforementioned "frequency analysis" function), the analysis unit 120 may have a "time-frequency analysis" function. If the control system 1 has both the "frequency analysis" function and the "time-frequency analysis" function, the user can determine which of these two functions to perform via the UI. The analysis unit 120 can perform time-frequency analysis as signal analysis on machining data and shape data falling within a time range including the same time point. The analysis unit 120 can perform analysis using, for example, continuous wavelet transform (CWT) as time-frequency analysis. Performing time-frequency analysis (via CWT) also makes it easier to determine the frequencies (peak frequencies) at which both the strength of the motor torque command and the strength of the machined surface shape reach their peak values. In particular, compared to the case of frequency analysis (via FFT), time-frequency analysis (via CWT) makes it easier to determine the timing (in other words, the point of occurrence) at which both the strength of the motor torque command and the strength of the machined surface shape reach their peak values.
[0105] Design unit 121 automatically designs the parameters of filter F1 based on the frequency analysis results provided by analysis unit 120 and information related to one or more determined periodic vibration components. In other words, the design processing method for filter F1 applied to control system 1 according to this embodiment includes a setting processing step. The setting processing step includes setting the parameters of filter F1 based on the determination results obtained in the determination processing step.
[0106] Design unit 121 automatically sets, for example, the three control parameters in equation (1) above. Specifically, design unit 121 sets the periodic vibration component determined by analysis unit 120 as the center angular frequency. In addition, design unit 121 also sets the damping ratio (damping coefficient). Furthermore, design unit 121 also sets the suppression gain (filter gain) in the region where the gain of the closed-loop (CL) of the controlled system is no greater than 0 dB.
[0107] If the analysis unit 120 determines one or more periodic vibration components, the design unit 121 can automatically design as many filters F1 as the determined periodic vibration components. For example, suppose that the analysis unit 120 has determined three periodic vibration components (hereinafter referred to as "the first periodic vibration component, the second periodic vibration component, and the third periodic vibration component"). In this case, the design unit 121 can design three filters F1 with center angular frequencies corresponding to the first, second, and third periodic vibration components, respectively. However, the number of filters F1 to be automatically designed does not necessarily have to be the same as the number of determined periodic vibration components. For example, the design unit 121 can design only one filter F1 with a center angular frequency corresponding to one of the multiple periodic vibration components based on a predetermined constraint (e.g., the periodic vibration component with the highest intensity). Alternatively, the display unit 111 can display the multiple periodic vibration components determined by the analysis unit 120 on the monitor screen of the UI, allowing the user to determine via the UI which of the multiple periodic vibration components will be set to the center angular frequency. In this case, the design unit 121 can design only one filter F1 with a center angular frequency corresponding to a periodic vibration component selected by the user.
[0108] Setting information (such as parameter design information of filter F1) related to one or more filters F1 that have been automatically designed (set) by the design unit 121 is stored in the data storage unit 112. This setting information is also output to the calculation unit 122. The screen display unit 111 preferably displays the setting information (i.e., setting information related to the parameters already set for filter F1 of the filter unit 3) on the monitor screen of the UI. Additionally, the design unit 121 transmits the parameter design information to the servo amplifier 200 via the transmission unit 13.
[0109] The calculation unit 122 has the following function (hereinafter referred to as the "first function"): calculating the probability of oscillation based on servo data (including machining data and information related to the frequency characteristics of the controlled system), the results of frequency analysis performed by the analysis unit 120, and the setting information generated by the design unit 121. Additionally, the calculation unit 122 also has the following function (hereinafter referred to as the "second function"): calculating the degree of ripple (stripe pattern) reduction based on servo data, setting information, and the results of frequency analysis. The calculation unit 122 does not necessarily have both the first and second functions; it may have only one of these two functions.
[0110] Based on information specified by the user via the UI (e.g., Figure 12The calculation unit 122 performs a first function and / or a second function to calculate the oscillation probability (%) and the striation reduction degree (%) in any of the eleven levels (from level 0 to level 10).
[0111] [First Function] Reference Figure 10A and Figure 10B Describe the primary function. Figure 10A and Figure 10B This is a Bode plot showing the "oscillation probability" with and without filters, using three different types of filters F1. Figure 10A It is a gain graph and Figure 10B It is a phase diagram. Figure 10A and Figure 10B Each shows the frequency characteristics of the output signal (representing the rotational speed of the motor) in response to the input signal (target value).
[0112] In the following description, the three types of filters F1 will be referred to as "Filter 1", "Filter 2", and "Filter 3" respectively. The control parameters (damping ratios) are changed for "Filter 1", "Filter 2", and "Filter 3". For example, the damping ratios of "Filter 1", "Filter 2", and "Filter 3" are set to increase sequentially (i.e., so that "Filter 3" has the maximum damping ratio). Note that in... Figure 10A and Figure 10B For convenience, the characteristics of each of the three types of filter F1 are shown together.
[0113] exist Figure 10A and Figure 10B In this context, characteristics G0 and Ph0 are the characteristics without a filter. That is, characteristics G0 and Ph0 are the frequency characteristics exhibited by the servo amplifier 200 without the filter F1 being set.
[0114] exist Figure 10A and Figure 10B In this context, characteristics G1 and Ph1 are characteristics of "Filter 1". Figure 10A and Figure 10B In this context, characteristics G2 and Ph2 are characteristics of "Filter 2". Figure 10A and Figure 10B In this context, characteristics G3 and Ph3 are characteristics of "Filter 3". Characteristics G1–G3 and Ph1–Ph3 are frequency characteristics exhibited by "Filter 1", "Filter 2", and "Filter 3" respectively, based on the frequency characteristics provided by the servo amplifier 200.
[0115] The computing unit 122 plots parameters such as the filter of interest. Figure 10A and Figure 10B The frequency characteristics shown are frequency characteristics, and based on the frequency of phase reversal (e.g., at...). Figure 10B In 10 2 The oscillation probability (%) of the filter is calculated (estimated) by the magnitude of the gain (around Hz), i.e., at what percentage the filter, when applied, makes the cutting machine X1 more prone to oscillation. Note that if the gain is equal to or greater than 0 dB, the oscillation probability of the filter is estimated as 100%. Preferably, a filter that will produce a higher gain is applied, as long as the gain is not greater than 0 dB (as a threshold).
[0116] [Second Function] Next, we will refer to Figure 11A and Figure 11B Describe the second function. Figure 11A and Figure 11B This shows the use of and respectively Figure 10A and Figure 10B The Bode plot shows the characteristic of "ripple reduction" when "Filter 1", "Filter 2", and "Filter 3" are the same as "Filter 1", "Filter 2", and "Filter 3", as well as when no filters are used. Figure 11A It is a gain graph. Figure 11B It is a phase diagram. Figure 11A and Figure 11B Each shows the frequency characteristics of the output signal (representing the rotational speed of the motor) in response to the input signal (vibration disturbance).
[0117] exist Figure 11A and Figure 11B In this context, characteristics G10 and Ph10 are the characteristics without a filter. That is, characteristics G10 and Ph10 are the frequency characteristics exhibited by the servo amplifier 200 without the filter F1 being set.
[0118] exist Figure 11A and Figure 11B In this context, characteristics G11 and Ph11 are characteristics of "Filter 1". Figure 11A and Figure 11B In this context, characteristics G12 and Ph12 are characteristics of "Filter 2". Figure 11A and Figure 11B In this context, characteristics G13 and Ph13 are characteristics of "Filter 3". Characteristics G11-G13 and Ph11-Ph13 are frequency characteristics exhibited by "Filter 1", "Filter 2" and "Filter 3" respectively, based on the frequency characteristics provided by the servo amplifier 200.
[0119] The computing unit 122 plots parameters such as the filter of interest. Figure 11A and Figure 11B The frequency characteristics shown are used to calculate (estimate) the ripple reduction (%) of the filter based on the magnitude of the gain at the low-frequency interference (i.e., the frequency indicated by the point K1). That is, to what extent the application of the filter can reduce the ripple (stripes pattern). It can be considered that the greater the difference (indicated by the arrow K1) of characteristic G11 relative to the case without the filter, the greater the ripple reduction.
[0120] Preferably, filter parameters (such as damping ratio, center angular frequency, and suppression gain) are adjusted to reduce ripple while increasing gain as much as possible, such that the gain (oscillation probability) described for the first function is almost equal to or less than 0 dB.
[0121] (4) Operation of the control system (4.1) First Operation Example Next, we will refer to Figures 12 to 14 This describes a series of processing steps for a "first operational example" of the automatic filter design to be performed by control system 1. Note that... Figure 13 and Figure 14 The flowcharts shown are merely illustrative of operational procedures and should not be construed as restrictive. Optionally, Figure 13 and Figure 14 The processing steps shown can be performed in a different order than those illustrated, and can be omitted as appropriate. Figure 13 and Figure 14 Some of the processing steps illustrated, and / or additional processing steps that may be added as needed.
[0122] [UI Screen] The flowchart illustrating the first operational example ( Figure 13 Before that, refer to Figure 12 . Figure 12 This is a conceptual diagram illustrating the ripple reduction mode screen Sr1 (UI screen). In response to a predetermined operation command input by the user via the UI, the screen display unit 111 displays the ripple reduction mode screen Sr1 on the monitor screen of the UI.
[0123] The ripple reduction mode screen Sr1 includes: an operation button Gr0 for indicating "calculation start"; an operation button Gr1 for accepting mode selection; and an operation button Gr2 for accepting any level of ripple reduction degree among the eleven levels (from level 0 to level 10).
[0124] When the user presses the operation button Gr0 using, for example, the mouse pointer, the control system 1 begins automatic filter design processing.
[0125] In the Gr1 operation button, when the user presses the triangle marker with, for example, the mouse pointer, a list of two modes to select (i.e., "Online" and "Offline" modes) is displayed as a drop-down menu, allowing the user to select one of these two modes. Note that in Figure 12 In the example shown, offline mode was selected. Offline mode corresponds to the first operation example, where filter F1 is automatically designed after cutting (test machining) has already been performed (in offline mode). On the other hand, online mode corresponds to the second operation example (described below), where the automatic design of filter F1 and cutting (which is assumed to be actual cutting in operation, but could also be test machining) are performed simultaneously (in online mode). When the user selects either of these modes and presses the operation button Gr0 to indicate the start of the calculation, the corresponding type of processing begins.
[0126] In the Gr2 operation button, when the triangle marker is pressed, a drop-down menu displays a list of ten reduction levels, from "Level 0" to "Level 10," allowing the user to select any of these reduction levels. Figure 12 In the example shown, the reduction level of "Level 5" is selected. When the user selects any of these reduction levels and presses the Gr0 button (which indicates the start of the calculation), the corresponding type of processing begins. Note that the reduction level corresponds to the suppression gain (filter gain), which is one of the control parameters of filter F1. The reduction level is set such that the higher the selected level, the greater the suppression gain (i.e., the more significantly the fringes are reduced).
[0127] The vibration reduction mode screen Sr1 also includes: a display area Gr3 that displays the "degree of vibration reduction"; a display area Gr4 that displays the "possibility of oscillation"; and a display area Gr5 that displays the "vibration generated".
[0128] Display area Gr3 shows the ripple reduction (%) calculated using the second function with an automatically designed filter F1. Display area Gr4 shows the oscillation probability (%) calculated using the first function with an automatically designed filter F1. Display area Gr5 indicates the "generated vibration" obtained using the automatically designed filter F1, i.e., the number of peaks of the generated vibration and the (measured) frequency corresponding to each peak.
[0129] The vibration reduction mode screen Sr1 also includes: a display area Gr6 displaying "Speed / Torque (Measured)"; a display area Gr7 displaying "Machined Surface Shape (Estimated)"; and a display area Gr8 displaying "FFT (Measured)". In display area Gr6, the measured values of the servo motor's rotational speed and torque, included in the machining data collected through cutting, are displayed as graphs. In display area Gr7, the calculation results (shape data) obtained by the machining shape calculation unit 10 are displayed as graphs. In display area Gr8, the results of the frequency analysis (FFT) performed by the analysis unit 120 are displayed as graphs.
[0130] [Flowchart Part 1] Next, we will refer to Figure 13 The flowchart describes the entire process of the first operation example. The first operation example is an example of automatically designing filter F1 in offline mode after cutting has been completed. As described above, when offline mode is selected in the operation button Gr1 on the ripple reduction mode screen Sr1, filter F1 is automatically designed in offline mode.
[0131] First, PC 100 obtains information related to the frequency characteristics of the controlled system from servo amplifier 200 (in step ST0).
[0132] PC 100 causes servo amplifier 200 to perform test machining as a test cut according to the operation command input by the user via the UI (in step ST1: machining begins).
[0133] When cutting is complete, PC 100 acquires machining data obtained through cutting (such as the rotational speed of servo motor 330) from servo amplifier 200 (in step ST2). Machining data acquisition begins when the user presses the "Calculation Start" button (operation button Gr0) on the ripple reduction mode screen Sr1. The "Calculation Start" button is pressed after the cutting (test machining) is complete.
[0134] PC 100 calculates the shape of the machined surface based on the machining data (in step ST3). Additionally, PC 100 analyzes the machining data and the calculated shape of the machined surface (shape data) (in step ST4). Furthermore, PC 100 determines (extracts) (periodic) vibration components by extracting one or more frequencies at which both the intensity of the machining data and the intensity of the shape data reach their peak values (in step ST5).
[0135] The PC 100 automatically designs filter F1 (in step ST6). Specifically, the PC 100 sets the center angular frequency of filter F1 based on the periodic vibration components extracted therefrom, and sets the damping ratio and filter gain of filter F1.
[0136] Then, PC 100 uses the automatically designed filter F1 to calculate the oscillation probability, the degree of ripple reduction, and others (in step ST7) to display the calculation results on the ripple reduction mode screen Sr1.
[0137] To apply the automatically designed filter F1, the user inputs an operation command via the UI to instruct the application of filter F1. In response, parameter design information is sent from PC 100 to servo amplifier 200. As a result, servo amplifier 200 determines the setting of filter F1 in filter unit 3 based on the parameter design information received therefrom.
[0138] Note that the series of processing steps ST1-ST7 can be repeated multiple times. By allowing the user to adjust the parameters of filter F1 while repeatedly performing the series of processing steps ST1-ST7, the accuracy of vibration compensation performed by filter unit 3 and compensation unit 4 can be further improved.
[0139] [Flowchart Part 2] Next, we will refer to Figure 14 The flowchart is described in further detail. Figure 13 The automatic design process for filter F1 is shown (i.e., steps ST6 and ST7). In Figure 14 In the flowchart, the flow branches to the right or left depending on whether the number of (extracted) periodic vibration components (i.e., the number of filters F1 to be designed) is single or multiple. In this example, the number of (extracted) periodic vibration components is assumed to be one, and the number of filters F1 to be designed and the number of periodic vibration components are also assumed to be one. Therefore, in the following description, only [the specific details will be described]. Figure 14 The process on the right.
[0140] Alternatively, as will be described later with respect to the third variation, the number of filters F1 included in filter unit 3 can also be multiple. The third variation will be described later with respect to the following situation... Figure 14 The process on the left: There are multiple periodic vibration components (extracted), and the number of filters F1 to be designed is also multiple.
[0141] PC 100 determines whether the number "n" of the (extracted) periodic vibration components is multiple (i.e., whether n>1) (in step ST10). In this embodiment, as described above, n=1 is satisfied (i.e., the answer in step ST10 is "no"), and therefore, the process proceeds to... Figure 14 Step ST20 on the right.
[0142] PC 100 (temporarily) sets the damping coefficient (damping ratio) of filter F1 to an initial value (a large value) (in step ST20). The "initial value" in step ST20 could be, for example, 0.5.
[0143] PC 100 (temporarily) sets the filter gain in the region where the gain of the closed-loop (CL) is no greater than 0 dB (in step ST21). Specifically, in step ST21, PC 100 sets the filter gain in the region where the gain of CL is no greater than 0 dB based on the reduction level already selected by the user in operation button Gr2. For example, PC 100 can set the filter gain (at which the gain of CL is 0 dB when using an initial value of 0.5 for the damping factor) to "Level 10" of the reduction level in operation button Gr2, and can set the filter gain based on the reduction level in operation button Gr2 by dividing the filter gain into ten levels from level 0 to level 10. Then, PC 100 calculates the gain of CL when using filter F1 with the damping factor and filter gain temporarily set, and determines whether the gain of CL is equal to or less than 0 dB (threshold) (in step ST22). Note that if the oscillation is significant, PC 100 can set the threshold to be compared with the gain of CL to a value equal to or less than 0 dB.
[0144] If the gain of CL is equal to or less than 0 dB (if the answer in step ST22 is "yes"), then determine the damping factor and filter gain of filter F1 to end the process.
[0145] On the other hand, if the gain of CL is not equal to or less than 0 dB (if the answer in step ST22 is "No"), the damping factor is set to a value less than the current value (in step ST23) to restart the processing step ST21. Thereafter, the damping factor will be adjusted to decrease until the gain of CL becomes equal to or less than 0 dB in step ST22.
[0146] (4.2) Example of the second operation Next, we will refer to Figure 15 This describes a series of processing steps in a "second operation example" that utilizes the automatic design of filter F1 in control system 1. Note that... Figure 15The flowcharts shown are merely illustrative of operational procedures and should not be construed as restrictive. Optionally, Figure 15 The processing steps shown can be performed in a different order than those illustrated, and can be omitted as appropriate. Figure 15 The processing steps shown are a subset of the processing steps, and / or additional processing steps may be added as needed. Note that descriptions of any processing steps in this second operational example that correspond to the corresponding portions of the first operational example described above will be appropriately omitted herein.
[0147] The second operation example is an operation example in which the online mode is selected on the ripple reduction mode screen Sr1. In this operation example, the filter F1 is automatically designed simultaneously in the online state in parallel with the cutting (which is assumed to be the cutting in actual operation, but it can also be test machining).
[0148] First, PC 100 obtains information related to the frequency characteristics of the controlled system from servo amplifier 200 (in step ST30).
[0149] PC 100 causes servo amplifier 200 to perform cutting based on operation commands input by the user via the UI (in step ST31: machining begins).
[0150] Since the online mode is selected, PC 100 performs parallel processing (in step ST32). Specifically, PC 100 acquires machining data (such as the rotational speed of servo motor 330, etc.) collected in real time from servo amplifier 200 while the cutting machine X1 is cutting the object (in step ST321). When the operation button Gr0 on the ripple reduction mode screen Sr1 is pressed after cutting has started, the acquisition of machining data begins. Optionally, in online mode, both cutting and the acquisition of machining data can begin when the operation button Gr0 on the ripple reduction mode screen Sr1 is pressed.
[0151] PC 100 calculates the machined surface shape based on machining data collected in real time in parallel with cutting (in step ST322). Additionally, PC 100 analyzes the calculated machining data and machined surface shape (shape data) in real time in parallel with cutting (in step ST323). Furthermore, PC 100 determines (extracts) (periodic) vibration components in real time in parallel with cutting by extracting one or more frequencies at which both the intensity of the machining data and the intensity of the shape data reach their peak values (in step ST324).
[0152] PC 100 automatically designs filter F1 in real time in parallel with cutting (in step ST325).
[0153] Then, PC 100 uses filter F1, which has been automatically designed in real time in parallel with the cutting process, to calculate the probability of oscillation, the degree of ripple reduction, and others (in step ST326), and displays the calculation results on the ripple reduction mode screen Sr1. Then, the cutting process ends. That is, the parallel processing ends.
[0154] In the second operating example, unlike the first operating example, the parameter design information of the automatically designed filter F1 is automatically sent from PC 100 to servo amplifier 200 during parallel processing. Furthermore, servo amplifier 200 changes the settings of filter F1 in filter unit 3 in real time based on the parameter design information received therefrom during parallel processing. That is, filter unit 3 adjusts the parameters of filter F1 in real time using machining data collected during the cutting machine X1 cutting the object. As a result, vibrations generated during the object cutting are compensated for and reduced in real time.
[0155] Optionally, in this second operation example, as in the first operation example, the user can input an operation command to instruct the application of the automatically designed filter F1 after the cutting (parallel processing) has been completed, so that the parameter design information can be sent to the servo amplifier 200. For example, sending the parameter design information to the servo amplifier 200 after the "rough machining" processing step has been completed allows the use of the filter F1 with the applied parameter design information in the next "semi-finish machining" processing step.
[0156] Note that processing steps ST31 and ST32 can be repeated multiple times. By allowing the user to adjust the parameters of filter F1 while repeatedly performing processing steps ST31 and ST32, the accuracy of vibration compensation performed by filter unit 3 and compensation unit 4 can be further improved.
[0157] (5) Advantages As can be seen from the foregoing description, in the control system 1 (servo amplifier 200) according to this embodiment, the compensation unit 4 outputs a compensation command to compensate for the torque of the servo motor 330 based on the periodic vibration components extracted by the filter F1. For example, this makes it easier to reduce vibrations that may occur while the object (workpiece W1) is being cut. Furthermore, the control system 1 is configured to use the filter F1, and therefore eliminates the need for creating a vibration model required according to the technology of Patent Document 1. Thus, the control system 1 is easier to implement than the technology of Patent Document 1. Therefore, the control system 1 advantageously makes it easier to improve the machining quality of the object.
[0158] Furthermore, the control system 1 (PC 100) according to this embodiment has the functions of automatically designing the filter F1 to be applied to the motor controller 230, calculating the probability of oscillation (first function), calculating the degree of ripple reduction (second function), and displaying this information on a monitor screen. Therefore, the control system 1 not only saves the user a lot of trouble in designing the filter F1, but also allows for the adjustment of the parameters of the highly reliable filter F1. Thus, the control system 1 advantageously makes it easier to improve the machining quality of the object.
[0159] (6) Variations Next, variations of the typical embodiments will be listed one by one. Note that the configuration of any variations described below can be appropriately combined with the typical embodiments or any other variations.
[0160] The function of the control system 1 according to the above typical embodiments can also be implemented as a control method, a filter design and processing method, a computer program, or a non-transitory storage medium storing a computer program.
[0161] The control system 1 according to this disclosure includes a computer system. The computer system includes a processor and memory as its main hardware components. The computer system performs the functions of the control system 1 according to this disclosure by causing the processor to execute a program stored in the computer system's memory. This program may be pre-stored in the computer system's memory. Alternatively, the program may be downloaded via a telecommunications line or distributed after being stored on a non-transitory storage medium (such as a memory card, optical disc, or hard disk drive, any of which is readable by the computer system). The processor of the computer system may consist of one or more electronic circuits including semiconductor integrated circuits (ICs) or large-scale integrated circuits (LSIs). As used herein, "integrated circuit," such as ICs or LSIs, is referred to by different names depending on its degree of integration. Examples of integrated circuits such as ICs and LSIs include integrated circuits referred to as "system LSIs," "very large-scale integrated circuits (VLSIs)," and "extremely large-scale integrated circuits (ULSIs)." Alternatively, a field-programmable gate array (FPGA) that is programmed after the LSI is manufactured, or a reconfigurable logic device that allows reconfiguration of connections or circuit sections within the LSI, may also be used as the processor. These electronic circuits can be integrated together on a single chip or distributed across multiple chips, whichever is appropriate. These multiple chips can be aggregated together in a single device or distributed across multiple devices, without limitation. As used herein, a "computer system" includes a microcontroller comprising one or more processors and one or more memories. Thus, a microcontroller can also be implemented as a single or multiple electronic circuits comprising semiconductor integrated circuits or large-scale integrated circuits.
[0162] In the above embodiment, multiple functions of the control system 1 are integrated together in a single housing. However, this is not a necessary configuration for the control system 1. Alternatively, the components of the control system 1 can be distributed in multiple different housings.
[0163] Conversely, multiple functions of control system 1 can be aggregated together in a single housing. Alternatively, at least a portion of the functions of control system 1 (e.g., a subset of the functions of control system 1) can be implemented, for example, as a cloud computing system.
[0164] (6.1) First variation Next, we will refer to Figure 16 The control system 1 (motor controller 230A) according to the first modification is described below. In the following description, any constituent element of the control system 1 (motor controller 230A) according to the first modification (which functions similarly to the corresponding part of the control system 1 (motor controller 230) according to the above embodiment) will be designated by the same reference numerals as the corresponding parts, and their detailed description will be omitted herein.
[0165] In the motor controller 230 according to the above-described typical embodiment, as Figure 2 As shown, the filter unit 3, including filter F1, is arranged in parallel with the speed controller 234. Additionally, the compensation unit 4, including filter unit 3, is also arranged in parallel with the speed controller 234. However, the filter unit 3 and the compensation unit 4 do not necessarily have to be arranged as shown. Figure 2 The configuration shown.
[0166] In the motor controller 230A according to the first modification, such as Figure 16 As shown, the filter unit 3, including the filter F1, is arranged in parallel with the position controller 233. Additionally, the compensation unit 4, including the filter unit 3, is also arranged in parallel with the position controller 233.
[0167] In the first variation, a signal representing the position deviation (i.e., the position deviation between the position command provided by the position command generation unit 231 and the "FB position" detected by the motor encoder 320) is output from the adder C1 not only to the position controller 233, but also to the compensation unit 4.
[0168] In the first variation, the filter unit 3 may include a differentiator. The result obtained by differentiating the position deviation provided by the adder C1 through the differentiator can be input to the filter F1. The compensation unit 4 outputs a compensation command (i.e., a speed compensation command) for compensating the speed of a motor (such as a servo motor 330) based on the periodic vibration component extracted by the filter F1 included in the filter unit 3. The compensation unit 4 outputs a signal representing the speed compensation command to the adder C3. That is, according to the first variation, the compensation unit 4 compensates for the speed of the motor based on the periodic vibration component extracted by the filter F1 to compensate for the torque of the motor.
[0169] In the first variation, adder C3 adds the speed compensation command provided by compensation unit 4 to the speed command provided by position controller 233, and outputs the resulting sum to adder C2.
[0170] In the first variation, adder C2 outputs a signal to speed controller 234 that represents the speed deviation between the sum calculated by adder C3, the FF speed command provided by FF controller 232, and the "FB speed" as the result of differentiation performed by differentiator 236.
[0171] The configuration of this first variation also advantageously makes it easier to improve the machining quality of the object.
[0172] (6.2) Second variation Next, we will refer to Figure 17 The control system 1 (motor controller 230B) according to the second modification is described below. In the following description, any constituent element of the control system 1 (motor controller 230B) according to the second modification (which functions similarly to the corresponding part of the control system 1 (motor controller 230) according to the above embodiment) will be designated by the same reference numerals as the corresponding parts, and their detailed description will be omitted herein.
[0173] In the motor controller 230 according to the above-described typical embodiment, as Figure 2 As shown, the filter unit 3, including filter F1, is arranged in parallel with the speed controller 234. Additionally, the compensation unit 4, including filter unit 3, is also arranged in parallel with the speed controller 234. However, the filter unit 3 and the compensation unit 4 do not necessarily have to be arranged as shown. Figure 2 The configuration shown.
[0174] In the motor controller 230B according to the second modification, such as Figure 17As shown, the filter unit 3, including filter F1, is arranged in parallel with the position controller 233 and the speed controller 234. Additionally, the compensation unit 4, including filter unit 3, is also arranged in parallel with the position controller 233 and the speed controller 234.
[0175] In the second variation, in the same manner as in the first variation described above, a signal representing the position deviation (i.e., the position deviation between the position command provided by the position command generation unit 231 and the "FB position" detected by the motor encoder 320) is output from the adder C1 not only to the position controller 233, but also to the compensation unit 4.
[0176] In the second variation, the filter unit 3 may include a differentiator. The result obtained by differentiating the position deviation provided by the adder C1 through the differentiator can be input to the filter F1. The compensation unit 4 outputs a torque compensation command for compensating the torque of the motor (such as the servo motor 330) based on the periodic vibration component extracted by the filter F1. The compensation unit 4 outputs a signal representing the torque compensation command to the adder C3. That is, as in the typical embodiment described above, the compensation unit 4 in the second variation outputs a torque compensation command for compensating the torque of the motor based on the periodic vibration component extracted by the filter F1.
[0177] In the second variation, adder C3 adds the torque compensation command provided by compensation unit 4 to the torque command provided by speed controller 234, and outputs the resulting sum to torque controller 235.
[0178] The configuration of this second variation also advantageously makes it easier to improve the machining quality of the object.
[0179] (6.3) Third variation Next, we will refer to Figure 18 The control system 1 (motor controller 230C) according to the third modification is described below. In the following description, any constituent element of the control system 1 (motor controller 230C) according to the third modification (which functions similarly to the corresponding part of the control system 1 (motor controller 230) according to the above embodiment) will be designated by the same reference numerals as the corresponding parts, and their detailed description will be omitted herein.
[0180] In the motor controller 230 according to the above-described typical embodiment, as Figure 2 As shown, filter unit 3 includes only one filter F1. However, the number of filters F1 set does not necessarily have to be one, but can also be multiple.
[0181] In the motor controller 230C according to the third modification, such as Figure 18As shown, as an example, filter unit 3 may include three filters F1 (i.e., first filter F11, second filter F12, and third filter F13) configured in parallel with each other. That is, filter unit 3 includes multiple (e.g., three in this variant) filters F1. The multiple filters F1 extract mutually different periodic vibration components.
[0182] In the third variation, a signal representing the velocity deviation is provided from adder C2 to each of the first filter F11, the second filter F12, and the third filter F13. Each of the first filter F11, the second filter F12, and the third filter F13 extracts the corresponding periodic vibration component from the velocity deviation provided by adder C2.
[0183] In the third variation, the compensation unit 4 outputs three torque compensation commands to compensate for the torque of a motor (such as a servo motor 330) based on three periodic vibration components extracted by the first filter F11, the second filter F12, and the third filter F13, respectively. Note that these three torque compensation commands are added together, and the sum calculated therefrom is output to the adder C3.
[0184] In the third variation, such as Figure 18 As shown, adders C4 and C5 are provided. In the third variation, the torque compensation command provided by the compensation unit 4 is added together by these adders C4 and C5, and the sum calculated therefrom is added by adder C3 to the torque command provided by the speed controller 234, and the sum calculated by adder C3 therefrom is output to the torque controller 235.
[0185] The configuration of this third variation also advantageously makes it easier to improve the machining quality of the object. Furthermore, the configuration of this third variation allows for the use of multiple filters F1 to extract multiple different periodic vibration components, thereby enabling further improvement in the machining quality of the object.
[0186] Multiple filters F1, such as the filter set in this third variation, can be applied in response to the situation where the analysis unit 120 has extracted multiple periodic vibration components during the automatic filter design process of PC 100.
[0187] Reference Figure 14 The flowchart describes the operation process related to the automatic design of the filter when multiple (e.g., three in this modified example) periodic vibration components have been extracted in the analysis unit 120. As described above, Figure 14 The flowchart shows Figure 13 The details of the automatic design process (steps ST6 and ST7) for the filter F1 shown are as follows. Note that since it has already been described... Figure 14 The flowchart on the right side is the main flowchart, therefore only the flow on the right side will be described. Figure 14 The flowchart on the left side.
[0188] PC 100 determines whether the number "n" of the (extracted) periodic vibration components is multiple (whether n>1) (in step ST10). In this variant, as described above, n=3 (i.e., the answer in step ST10 is "yes"), and therefore, the process proceeds to... Figure 14 Step ST11 on the left side of the flowchart shown.
[0189] PC 100 sets i to 1 (as an initial setting) (in step ST11) and determines whether "n+1>i" is satisfied (in step ST12).
[0190] If PC 100 finds that "n+1>i" is not satisfied (if the answer in step ST12 is "no"), then the processing ends at that point. Note that "n+1>i" will definitely be satisfied the first time.
[0191] On the other hand, if PC 100 finds that "n+1>i" is satisfied (if the answer in step ST12 is "yes"), then PC 100 (temporarily) sets the damping coefficient (damping ratio) of the i-th filter F1 to an initial value (a smaller value) (in step ST13). The "initial value" in step ST13 could be, for example, 0.1.
[0192] PC 100 (temporarily) sets the filter gain of the i-th filter F1 in a region where the gain of the closed-loop (CL) is no greater than 0 dB (in step ST14). Specifically, in step ST14, PC 100 sets the filter gain in this region where the gain of CL is no greater than 0 dB based on the reduction level selected by the user in operation button Gr2. Assume the filter gain (at which the gain of CL is equal to 0 dB when using an initial value of 0.1 for the damping factor) is level 10 of the reduction level in operation button Gr2. The filter gain is set based on the reduction level in operation button Gr2, where the filter gain is divided into ten levels (from level 0 to level 10). Then, PC 100 calculates the gain of CL in the case of the i-th filter F1 with the damping factor and filter gain temporarily set, and determines whether the gain of CL is equal to or less than (as a threshold) 0 dB (in step ST15). Note that if oscillations are significant, PC 100 can set the threshold to be compared with the gain of CL to a value equal to or less than 0 dB.
[0193] If the gain of CL is not equal to or less than 0 dB (if the answer in step ST15 is "No"), then the damping coefficient of the i-th filter is set to a value less than the current value (in step ST16) to restart step ST14. The damping coefficient of the i-th filter F1 will be adjusted to decrease until the gain of CL becomes equal to or less than 0 dB in step ST15.
[0194] On the other hand, if the gain of CL is equal to or less than 0 dB (if the answer in step ST15 is "yes"), the damping coefficient and filter gain of the i-th filter F1 are determined. Then, PC 100 sets i to i+1 (in step ST17), and the process returns to processing step ST12 to determine the damping coefficient and filter gain of the next filter F1. In this way, PC 100 automatically designs filters F1 with as many periodic vibration components as (extracted). That is, if the analysis unit 120 has extracted three periodic vibration components, then for filters such as Figure 18 The three filters F1 shown are designed automatically.
[0195] (6.4) Fourth variation Next, we will refer to Figure 19 The control system 1 (motor controller 230D) according to the fourth modification is described below. In the following description, any constituent element of the control system 1 (motor controller 230D) according to the fourth modification (which functions similarly to the corresponding part of the control system 1 (motor controller 230) according to the above embodiment) will be designated by the same reference numerals as the corresponding parts, and their detailed description will be omitted herein.
[0196] In the fourth variation, for example, for platform B1 of the cutting machine X1, sensor V1 is provided as an acceleration sensor. Sensor V1 is an external sensor used to measure the acceleration of platform B1. Sensor V1 sends the measurement result (sensor information) to motor controller 230D.
[0197] In this case, the motor controller 230D of the control system 1 according to this fourth modification has the function of adjusting the parameters of the filter F1 in real time while the cutting machine X1 is cutting the object (workpiece W1). In the motor controller 230D, the filter unit 3 uses sensor information provided by an acceleration sensor (sensor V1) mounted on the cutting machine X1 to adjust the parameters of the filter F1 in real time while the cutting machine X1 is cutting the object. For example, the filter unit 3 changes the center angular frequency of the filter F1 based on the sensor information provided by the sensor V1 (i.e., the acceleration of the platform B1). If, as in the third modification, the filter unit 3 includes multiple filters F1, then the filter unit 3 changes the center angular frequency of each of the multiple filters F1 based on the sensor information provided by the sensor V1.
[0198] The configuration according to this fourth variation also advantageously makes it easier to improve the machining quality of the object. Furthermore, in the configuration according to this fourth variation, sensor information provided by sensor V1 is used to adjust the parameters of filter F1 in real time. Compared to, for example, adjusting the parameters of filter F1 after test machining has been performed, this eliminates the hassle of performing test machining.
[0199] (6.5) Fifth variation Next, we will refer to Figure 20 The control system 1 (motor controller 230E) according to the fifth modification is described below. In the following description, any constituent element of the control system 1 (motor controller 230E) according to the fifth modification (which functions similarly to the corresponding part of the control system 1 (motor controller 230) according to the above embodiment) will be designated by the same reference numerals as the corresponding parts, and their detailed description will be omitted herein.
[0200] In this case, the motor controller 230E of the control system 1 according to this fifth modification, like the fourth modification described above, also has the function of adjusting the parameters of the filter F1 in real time while the cutting machine X1 is cutting the object (workpiece W1). However, in the motor controller 230E, the filter unit 3 uses machining data collected during the cutting machine X1 cutting the object to adjust the parameters of the filter F1 in real time while the object is being cut, which is different from the fourth modification described above. For example, the filter unit 3 changes the center angular frequency of the filter F1 based on machining data (such as rotational speed and position) provided by the servo motor 330. Figure 20In this example, the signal representing machining data is exemplified as being directly input from the servo motor 330 to the filter unit 3. Alternatively, for example, the signal representing machining data may also be input from the motor encoder 320 to the filter unit 3. If, as in the third variation, the filter unit 3 includes multiple filters F1, then the filter unit 3 changes the center angular frequency of each of the multiple filters F1 according to the machining data provided by the servo motor 330.
[0201] The configuration according to this fifth variation also advantageously makes it easier to improve the machining quality of the object. Furthermore, in the configuration according to this fifth variation, the parameters of filter F1 are adjusted in real time using machining data collected while the object is being cut. This eliminates the need for test machining, compared to, for example, adjusting the parameters of filter F1 after test machining has been performed.
[0202] (6.6) Other variations In the above typical embodiments, such as Figure 1 As shown, the PC 100 (which has a software program installed in it for displaying a UI for operating the servo amplifier 200) is equipped with the functions of the control system 1, the machining shape calculation unit 10, and the screen display unit 111.
[0203] Alternatively, at least a portion of the functions of the control system 1's functional unit 12, machining shape calculation unit 10, and screen display unit 111 can be provided for each servo amplifier 200.
[0204] Alternatively, at least some of the functions of the control system 1's functional unit 12, machining shape calculation unit 10, and screen display unit 111 can be provided to the host controller. The host controller contains software for controlling the servo amplifier 200. The host controller can be, for example, a motion controller (such as a programmable logic controller (PLC) or an industrial PC (IPC)).
[0205] Machining data does not necessarily need to include both the rotational speed of the feed motor (servo motor 330) and the rotational speed of the spindle drive motor. Alternatively, machining data may include only the rotational speed of the feed motor.
[0206] In the above-described typical embodiment, as an example, the machining shape calculation unit 10 calculates shape data based on machining data and the milling model 400. However, the machining shape calculation unit 10 does not necessarily have to use the milling model 400; it is sufficient that the machining shape calculation unit 10 can use the machining data collected during the machining of the object to calculate the shape data.
[0207] In the above-described typical embodiment, the platform B1, on which the object is fixed, is moved by a feed motor (servo motor 330). Alternatively, the tool T1 and the object can be moved relative to each other by moving the tool T1.
[0208] In the above-described typical embodiment, as an example, the cutting machine X1 includes a linear encoder 310. Alternatively, the cutting machine X1 may not include the linear encoder 310.
[0209] (Summary) The above-described typical embodiments and their variations provide specific implementations of the following aspects of this disclosure.
[0210] According to the control system (1) of the first aspect, a cutting machine (X1) is controlled to cut an object (workpiece W1) using the power of a motor (such as a servo motor 330). The control system (1) includes a position controller (233), a speed controller (234), a torque controller (235), a filter unit (3), and a compensation unit (4). The position controller (233) controls the position of the motor according to the position command of the motor. The speed controller (234) controls the speed of the motor based on the output of the position controller (233). The torque controller (235) controls the torque of the motor based on the output of the speed controller (234). The filter unit (3) includes at least one filter (F1) for extracting the periodic vibration component of the motor. The compensation unit (4) outputs a compensation command for compensating the torque of the motor based on the periodic vibration component extracted by the filter (F1). The periodic vibration component is a component belonging to a frequency band lower than the cutting frequency at which the object is being cut.
[0211] This makes it easier to improve the machining quality of the object (workpiece W1).
[0212] In the control system (1) based on the second aspect, which can be implemented in conjunction with the first aspect, the filter unit (3) extracts the periodic vibration component based not only on the machining data collected by cutting the object (workpiece W1) but also on the shape of the machined surface of the object.
[0213] This aspect improves the accuracy of the extracted periodic vibration components, thereby allowing for further improvement in the machining quality of the object (workpiece W1).
[0214] In a control system (1) based on a third aspect that can be implemented in combination with the first or second aspect, the filter unit (3) uses machining data collected during the cutting machine (X1) cutting the object (workpiece W1) to adjust the parameters of the filter (F1) in real time during the cutting of the object.
[0215] This aspect allows for the elimination of the hassle of performing test machining, compared to situations where, for example, the parameters of the filter (F1) are adjusted after test machining has already been performed.
[0216] In a control system (1) based on a fourth aspect that can be implemented in conjunction with a second or third aspect, the machining data includes the speed of a motor (such as a servo motor 330).
[0217] This aspect improves the accuracy of the extracted periodic vibration components, thereby allowing for further improvement in the machining quality of the object (workpiece W1).
[0218] In the control system (1) according to the fifth aspect, which can be implemented by combining any of the first to fourth aspects, the filter unit (3) uses sensor information provided by the acceleration sensor (sensor V1) mounted on the cutting machine (X1) to adjust the parameters of the filter (F1) in real time while the cutting machine (X1) is cutting the object (workpiece W1).
[0219] This aspect allows for the elimination of the hassle of performing test machining, compared to situations where, for example, the parameters of the filter (F1) are adjusted after test machining has already been performed.
[0220] In the control system (1) according to the sixth aspect, which can be implemented by combining any of the first to fifth aspects, the filter unit (3) includes multiple filters (F1). The multiple filters (F1) extract multiple periodic vibration components that are different from each other.
[0221] This aspect enables the extraction of multiple different periodic vibration components, thereby allowing for further improvement in the machining quality of the object (workpiece W1).
[0222] The control system (1) according to the seventh aspect, which can be implemented by combining any one of the first to sixth aspects, also includes a screen display unit (111) that displays at least one of setting information and analysis results. The setting information is information related to the parameters set for the filter (F1) of the filter unit (3). The analysis results are based on the filter unit (3) with the parameters set.
[0223] This aspect allows users to check at least one of the displayed setting information related to the parameters already set for the filter (F1) of the filter unit (3) (e.g., setting information related to damping ratio or suppression gain) and the analysis results based on the filter unit (3), thereby improving user-friendliness.
[0224] The control system (1) according to the eighth aspect, which can be implemented by combining any one of the first to seventh aspects, further includes a functional unit (12) which has the function of calculating the oscillation probability of the controlled system when using a filter (F1) with predetermined parameters set, and the function of calculating the degree of reduction of the ripple of the controlled system.
[0225] This makes it easier to determine the fitness of the filter (F1) parameters based on the results of the analysis performed by the functional unit (12).
[0226] The control system (1) based on the ninth aspect, which can be implemented in conjunction with the eighth aspect, also includes a screen display unit (111) that displays the results of the analysis performed by the functional unit (12).
[0227] This aspect makes it easier for users to judge the suitability of the filter (F1) parameters by checking the results of the analysis performed by the functional unit (12) as displayed, thereby improving user-friendliness.
[0228] The control method according to the tenth aspect is a control method for a control system (1) for controlling a cutting machine (X1) that uses the power of a motor (such as a servo motor 330) to cut an object (workpiece W1). The control method includes a position control step, a speed control step, a torque control step, an extraction step, and a compensation step. The position control step includes controlling the position of the motor according to the position command of the motor. The speed control step includes controlling the speed of the motor based on the output of the position control step (i.e., the speed command of the motor). The torque control step includes controlling the torque of the motor based on the output of the speed control step (i.e., the torque command of the motor that has been compensated). The extraction step includes extracting the periodic vibration component of the motor using at least one filter (F1) included in the filter unit (3) of the control system (1). The compensation step includes outputting a compensation command to compensate the torque of the motor based on the periodic vibration component extracted in the extraction step. The periodic vibration component is a component belonging to a frequency band lower than the cutting frequency at which the object is being cut.
[0229] This aspect allows for the provision of control methods that make it easier to improve the machining quality of the object (workpiece W1).
[0230] The procedure according to the eleventh aspect is designed to cause one or more processors to perform the control method according to the tenth aspect.
[0231] This aspect allows for the provision of functions that make it easier to improve the machining quality of the object (workpiece W1).
[0232] The design processing method according to the twelfth aspect is a design processing method for a filter (F1) applicable to a control system (1) according to any one of the first to ninth aspects. The design processing method includes an acquisition processing step, a determination processing step, and a setting processing step. The acquisition processing step includes: acquiring machining data and shape data related to the shape of the machined surface of the object collected during the cutting machine (X1) cutting the object (workpiece W1). The determination processing step includes: determining the periodic vibration component of the motor based on the machining data and the shape data. The setting processing step includes: setting the parameters of the filter (F1) based on the determination results obtained in the determination processing step.
[0233] This aspect allows for the provision of design processing methods for filters (F1) that make it easier to improve the machining quality of objects (workpieces W1).
[0234] The procedure according to aspect thirteen is designed to cause one or more processors to perform the processing method according to aspect twelf.
[0235] This aspect allows for the provision of functions that make it easier to improve the machining quality of the object (workpiece W1).
[0236] Note that the constituent elements according to the second to ninth aspects are not essential constituent elements of the control system (1) and can be appropriately omitted. Explanation of reference numerals in the attached figures
[0237] 1 Control System 3 filter units 4 Compensation Department 12 functional departments 111 Display Unit 233 position controller 234 speed controller 235 Torque Controller 330 servo motor (motor) F1 filter V1 sensor (accelerometer) W1 Workpiece (Object) X1 cutting machine
Claims
1. A control system configured to control a cutting machine, the cutting machine being configured to use the power of an electric motor to cut an object, the control system comprising: A position controller configured to control the position of the motor according to a position command from the motor; A speed controller configured to control the speed of the motor based on the output of the position controller; A torque controller configured to control the torque of the motor based on the output of the speed controller; A filter unit, comprising at least one filter configured to extract periodic vibration components of the motor; as well as The compensation unit is configured to output a compensation command for compensating the torque of the motor based on the periodic vibration components extracted by the at least one filter. The periodic vibration component is a component belonging to a frequency band lower than the cutting frequency at which the object is being cut.
2. The control system according to claim 1, wherein, The filter unit is configured to extract the periodic vibration component based not only on machining data collected by cutting the object, but also on the shape of the machined surface of the object.
3. The control system according to claim 1 or 2, wherein, The filter unit is configured to adjust the parameters of the at least one filter in real time during the cutting process, using machining data collected while the cutting machine is cutting the object.
4. The control system according to claim 2 or 3, wherein, The machining data includes the speed of the motor.
5. The control system according to any one of claims 1 to 4, wherein, The filter unit is configured to adjust the parameters of the at least one filter in real time using sensor information provided by an acceleration sensor mounted on the cutting machine while the cutting machine is cutting the object.
6. The control system according to any one of claims 1 to 5, wherein, The filter unit includes multiple filters, and The filters are configured to extract the periodic vibration components that are different from each other.
7. The control system according to any one of claims 1 to 6 further includes a screen display unit configured to display at least one of setting information and analysis results, the setting information being information relating to parameters set for the at least one filter of the filter unit, and the analysis results being based on the filter unit with the parameters set.
8. The control system according to any one of claims 1 to 7 further includes a functional unit having the functions of calculating the oscillation probability of the controlled system when using the at least one filter with predetermined parameters already set, and calculating the degree of ripple reduction of the controlled system.
9. The control system according to claim 8 further includes a screen display unit configured to display the results of the analysis performed by the functional unit.
10. A control method for a control system, the control system being configured to control a cutting machine, the cutting machine being configured to use the power of an electric motor to cut an object, the control method comprising: A position control step is used to control the position of the motor according to the position command of the motor; A speed control step is used to control the speed of the motor based on the output of the position control step; A torque control step is used to control the torque of the motor based on the output of the speed control step; An extraction step is used to extract the periodic vibration components of the motor using at least one filter included in the filter unit of the control system. as well as The compensation step is used to output a compensation command to compensate the torque of the motor based on the periodic vibration components extracted in the extraction step. The periodic vibration component is a component belonging to a frequency band lower than the cutting frequency at which the object is being cut.
11. A program designed to cause one or more processors to perform the control method according to claim 10.
12. A design processing method for at least one filter suitable for a control system according to any one of claims 1 to 9, the design processing method comprising: The acquisition process is used to acquire machining data collected during the cutting process of the object, as well as shape data related to the shape of the machined surface of the object; The processing steps are determined to determine the periodic vibration components of the motor based on the machining data and the shape data; as well as A setting processing step is used to set the parameters of the at least one filter based on the determination result obtained in the determination processing step.
13. A program designed to cause one or more processors to perform the design processing method according to claim 12.
Citation Information
Patent Citations
Numerical control device and control method
JP2023122980A
