Motor control device, mechanical system, and control method
The control device addresses the challenge of noise handling in industrial machines by switching filter processing frequency bands based on the machine's operating state, improving command correction and operational precision.
Patent Information
- Application Number
- JP2022544526
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-08-24
- Filing Date
- 2021-08-19
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2041-08-19
AI Technical Summary
Existing technologies face challenges in appropriately correcting commands to electric motors in industrial machines based on feedback values, particularly in handling noise components caused by mechanical and electrical disturbances during operation.
A control device that includes a feedback acquisition unit, a filter unit, and a state determination section to switch the frequency band of filter processing based on the operating state of the industrial machine, allowing for effective removal of noise components and precise command correction.
The solution enables appropriate correction of motor commands by effectively filtering noise components, enhancing the precision and stability of industrial machine operations.
Smart Images

Figure 0007544824000008 
Figure 0007544824000014 
Figure 0007544824000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to an electric motor control device, a mechanical system, and a control method. [Background technology]
[0002] A control device for an electric motor is known (for example, Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2011-123616 A Summary of the Invention [Problem to be solved by the invention]
[0004] In industrial machines having electric motors, commands to the electric motors may be corrected based on feedback values from sensors. Conventionally, there has been a demand for a technique that enables such corrections to be appropriately performed. [Means for solving the problem]
[0005] In one aspect of the present disclosure, a control device that controls an electric motor of industrial machinery includes a feedback acquisition unit that acquires a feedback value from the industrial machinery that is operated by operation of the electric motor, a correction unit that corrects a command for operating the electric motor based on the feedback value, a filter unit that performs filter processing on the feedback value supplied to the correction unit to reduce a value of a predetermined frequency band, an operating state determination unit that determines whether or not the operating state of the industrial machinery has changed, and a filter switching unit that switches the frequency band of the filter processing performed by the filter unit from a first frequency band to a second frequency band when the operating state determination unit determines that the operating state has changed.
[0006] In another aspect of the present disclosure, a method for controlling an electric motor of industrial machinery includes obtaining a feedback value from the industrial machinery operated by operation of the electric motor, correcting a command for operating the electric motor based on the feedback value, performing a filter process on the feedback value for the correction to reduce a value of a predetermined frequency band, determining whether or not an operating state of the industrial machinery has changed, and switching the frequency band of the filter process to be performed from a first frequency band to a second frequency band when it is determined that the operating state has changed. Effect of the Invention
[0007] According to the present disclosure, in this embodiment, by switching the frequency band of the filter processing performed by the filter unit depending on the operating state of the industrial machine, it becomes possible for the correction unit to appropriately perform correction. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a block diagram of a machine system according to one embodiment. [Diagram 2] FIG. 1 is a diagram of an industrial machine according to one embodiment. [Diagram 3] 2 is a block diagram showing an example of a control flow of an electric motor in the mechanical system shown in FIG. 1. [Figure 4] The frequency characteristics of the filter processing are shown. [Diagram 5] This shows the frequency characteristics of noise components caused by changes in the operating state of industrial machinery. [Figure 6] The frequency characteristics of the filter processing are shown. [Figure 7] The frequency characteristics of the filter processing are shown. [Figure 8] 2 is a flowchart showing an example of a filter control flow of the mechanical system shown in FIG. 1. [Figure 9] 1. FIG. 4 is a block diagram showing another example of the control flow of the electric motor in the mechanical system shown in FIG. [Figure 10] 1. FIG. 4 is a block diagram showing still another example of the control flow of the electric motor in the mechanical system shown in FIG. [Figure 11] 1. FIG. 4 is a block diagram showing still another example of the control flow of the electric motor in the mechanical system shown in FIG. [Figure 12] FIG. 11 is a block diagram of a machine system according to another embodiment. [Figure 13] FIG. 13 is a diagram of an industrial machine according to another embodiment. [Figure 14] 13 is a block diagram showing an example of a control flow of an electric motor in the mechanical system shown in FIG. 12. [Figure 15] FIG. 11 is a block diagram of a machine system according to yet another embodiment. [Figure 16] FIG. 13 is a diagram of an industrial machine according to yet another embodiment. [Figure 17] 16 is a block diagram showing an example of a control flow of an electric motor in the mechanical system shown in FIG. 15. [Figure 18] FIG. 11 is a block diagram of a machine system according to yet another embodiment. [Figure 19] FIG. 13 is a diagram of an industrial machine according to yet another embodiment. [Figure 20] 19 is a block diagram showing an example of a control flow of an electric motor in the mechanical system shown in FIG. 18. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, an embodiment of the present disclosure will be described in detail with reference to the drawings. In various embodiments described below, similar elements are given the same reference numerals, and duplicated explanations will be omitted. First, a machine system 10 according to one embodiment will be described with reference to Figs. 1 and 2. The machine system 10 includes an industrial machine 12 and a control device 14 that controls the industrial machine 12.
[0010] In this embodiment, the industrial machine 12 is a machine tool that processes a workpiece. Specifically, the industrial machine 12 has a tool 16, a driven body 18, a moving mechanism 20, and a sensor 22. The moving mechanism 20 moves the tool 16 and the driven body 18 relatively. More specifically, the moving mechanism 20 has an electric motor 24 and a ball screw mechanism 26. The ball screw mechanism 26 has a ball screw 26a that extends straight along the axis A, and a nut member 26b that screws into the ball screw 26a. One end of the ball screw 26a is connected to an output shaft 24a of the electric motor 24.
[0011] In this embodiment, the driven body 18 is a work table having a flat workpiece mounting surface 18a, and a workpiece W is mounted on the workpiece mounting surface 18a via a jig (not shown). A nut member 26b of a ball screw mechanism 26 is fixed to the driven body 18. The electric motor 24 is, for example, a servo motor, and rotates the ball screw 26a in response to a command from the control device 14, thereby reciprocating the driven body 18 along the axis A.
[0012] The sensor 22 is an encoder (or a Hall element) or the like that detects the rotational position (or rotational angle) of the electric motor 24. The sensor 22 continuously (e.g., periodically) detects the rotational speed V of the electric motor 24 by time-differentiating the detected rotational position of the electric motor 24, and outputs a speed feedback value FB V The signals are sequentially supplied to the control device 14.
[0013] The control device 14 is a computer having a processor 30, a memory 32, and an I / O interface 34. The processor 30 is communicatively connected to the memory 32 and the I / O interface 34 via a bus 35, and performs arithmetic processing to realize various functions described below while communicating with the memory 32 and the I / O interface 34.
[0014] The memory 32 has a RAM or a ROM, etc., and temporarily or permanently stores various data. The I / O interface 34 has, for example, an Ethernet (registered trademark) port, a USB port, an optical fiber connector, or an HDMI (registered trademark) terminal, and communicates data with an external device via wired or wireless communication under instructions from the processor 30.
[0015] 3 is a block diagram showing a control flow of the electric motor 24. The control device 14 has a position command generating unit 36, a speed command generating unit 38, a torque command generating unit 40, a current control unit 42, a filter unit 44, a filter switching unit 46, and a gain 48. The processor 30 is responsible for arithmetic processing for realizing the functions of the position command generating unit 36, the speed command generating unit 38, the torque command generating unit 40, the current control unit 42, the filter unit 44, the filter switching unit 46, and the gain 48.
[0016] The control flow of the electric motor 24 will be described below. The processor 30 receives a speed feedback value FB from the sensor 22 of the industrial machine 12 via the I / O interface 34. V This velocity feedback value FB V is time-series data showing the amplitude value of the rotation speed V of the electric motor 24 in a time series.
[0017] In this manner, in the present embodiment, the processor 30 receives the feedback value FB V The feedback acquisition unit 52 (FIG. 1) acquires the velocity feedback value FB acquired from the sensor 22. V is input to a subtractor 54 and an integrator 56. The integrator 56 receives the speed feedback value FB V is integrated over time to obtain the position feedback value FB P and outputs it to the subtractor 58.
[0018] In addition, the feedback value FB obtained from the sensor 22 V is input to the filter unit 44. The filter unit 44 outputs the feedback value FB VThe filter unit 44 performs a filter process on the feedback value FB. The details of this filter process will be described later. V The filter unit 44 performs a filtering process on the velocity feedback value FB V By multiplying this by gain G1, the speed correction value C V and outputs it to the adder 60.
[0019] When the electric motor 24 is operated to operate the industrial machine 12, the position command generating unit 36 generates a position command PC in accordance with the operation program OP and outputs it to the subtractor 58. The subtractor 58 subtracts the position feedback value FB P The result is subtracted from the position deviation ΔP and output to the speed command generating unit 38. The speed command generating unit 38 generates a speed command VC based on the position deviation ΔP and outputs it to the adder 60.
[0020] The adder 60 adds a speed correction value C to the speed command VC. V In this way, the gain 48 generates the corrected speed command VC' by adding the speed feedback value FB V Based on the speed correction value C V and adder 60 generates the speed correction value C V In this embodiment, the speed command VC is corrected by the feedback value FB V A correction unit 62 is configured to correct the command VC based on the above.
[0021] Here, during operation of the industrial machine 12, the driven body 18 and the workpiece W may vibrate slightly due to the elasticity of components (e.g., the driven body 18, the ball screw mechanism 26, the output shaft 24a of the electric motor 24, etc.) of the industrial machine 12. In this embodiment, the correction unit 62 is configured to perform correction to cancel such micro-vibrations.
[0022] The corrected speed command VC' output from the adder 60 is input to the subtractor 54. The subtractor 54 subtracts the speed feedback value FB V The torque command generating unit 40 generates a torque command TC based on the speed deviation ΔV′ and outputs it to the current control unit 42.
[0023] The current control unit 42 generates a voltage signal VS (e.g., a PWM control signal) based on the torque command value TC and transmits it to the servo amplifier 64 via the I / O interface 34. The servo amplifier 64 amplifies the voltage signal VS and inputs it to the electric motor 24 of the industrial machine 12. The electric motor 24 drives the driven body 18 (i.e., the workpiece W) in response to the input voltage signal VS.
[0024] In this document, the signals passing through the control line from the position command generator 36 to the electric motor 24 are defined as “commands” for operating the electric motor 24. Thus, in this embodiment, the position command PC, the position deviation δP, the speed command VC, the corrected speed command VC′, the speed deviation δV′, the torque command TC, and the voltage signal VS constitute the commands for operating the electric motor 24.
[0025] In this way, the processor 30 generates the commands PC, ΔP, VC, VC', ΔV', TC, and VS in accordance with the operation program OP, and controls the operation of the electric motor 24. Then, the processor 30 operates the industrial machine 12 so that the workpiece W is machined by the tool 16 while the driven body 18 is moved by the operation of the electric motor 24.
[0026] The filter unit 44 is a feedback value FB (in this embodiment, a speed feedback value FB V ) is subjected to a filter process FR that reduces the value of a predetermined frequency band. FIG. 4 shows an example of the filter process FR executed by the filter unit 44. The filter process FR shown in FIG. A In this case, the filter unit 44 has a cutoff frequency f a Higher frequency band [f>f a] is subjected to filtering (i.e., low-pass filtering) to reduce the amplitude value of
[0027] The filtering process FR of the filter unit 44 for the feedback value FB A is not limited to low-pass filtering, for example, in the frequency band [f>f a ] and the cutoff frequency f a Lower frequency band [f≦f a ], or a notch filter process that reduces a specific frequency (or frequency band).
[0028] This filter processing FR A This makes it possible to remove high-frequency noise components N1 due to electrical noise, etc., from the feedback value FB supplied to the correction unit 62. a is defined by the operator as a frequency lower than the frequency band of the noise component N1 at which the noise component N1 can be removed.
[0029] On the other hand, when the operating state of the industrial machine 12 changes as described later, a mechanical shock may be applied to the components of the industrial machine 12 (e.g., the driven body 18, the ball screw mechanism 26, the output shaft 24a of the electric motor 24, etc.). At this time, the feedback value FB detected by the sensor 22 (specifically, the speed feedback value FB V ) includes a noise component N2 due to the mechanical shock.
[0030] An example of such a noise component N2 is shown in Fig. 5. In the example shown in Fig. 5, the noise component N2 is filtered by the filter FR A The cutoff frequency f a Lower frequency bands than f b ~f c Therefore, when such a noise component N2 is included in the feedback value FB, the above-mentioned filtering process FR A In this case, the noise component N2 cannot be removed.
[0031] FIG. 6 shows an example of a filter process FR capable of removing such a noise component N2. B In this case, the filter unit 44 has a cutoff frequency f d ( <f b ) higher frequency band [f>f d ] is used to perform filtering (low-pass filtering) to reduce the amplitude value. B This makes it possible to remove the noise component N2 from the feedback value FB supplied to the correction unit 62.
[0032] 7 shows another example of the filter processing FR capable of removing the noise component N2. C In this case, the filter unit 44 has a cutoff frequency f d to cutoff frequency f e (f c <f e <f a ) frequency band [f d <f<f e ] and the cutoff frequency f a Higher frequency band [f>f a ], a filter process is performed to reduce the amplitude value. C For example, f d <f<f e Notch filter processing that blocks the frequency band of f>f a This can be achieved by combining low-pass filtering to block the frequency band.
[0033] This filter processing FR C This makes it possible to remove the noise component N2 from the feedback value FB supplied to the correction unit 62. C Frequency band: f d <f<f e The cutoff frequency f d and f e can be set by, for example, determining in advance the frequency characteristics of the noise component N2 by an experimental method, a simulation, or the like.
[0034] In this embodiment, the filter unit 44 is configured to execute digital filter (FIR filter, IIR filter, etc.) processing. The filter unit 44 uses the feedback value FB and a predetermined filter coefficient α A (tap coefficient, etc.) to execute the filter processing FR A . This filter coefficient α A is a parameter that determines the frequency band [f > f A of the filter processing FR a .
[0035] Also, the filter unit 44 uses the feedback value FB and a predetermined filter coefficient α B to execute the filter processing FR B . This filter coefficient α B is a parameter that determines the frequency band [f B < f] of the filter processing FR d . Also, the filter unit 44 uses the feedback value FB and a predetermined filter coefficient α C to execute the filter processing FR C . This filter coefficient α C is a parameter that determines the frequency band [f C < f < f d < f e , f a < f] of the filter processing FR
[0036] Here, in this embodiment, the filter switching unit 46, in response to a change in the operating state of the industrial machine 12, changes the frequency band of the filter processing FR from the frequency band [f > f A (first frequency band) of the filter processing FR a to the frequency band [f > f B (second frequency band) of the filter processing FR d , or to the frequency band [f C < f < f d < f e , f a < f](second frequency band) of the filter processing FR
[0037] For example, the filter switching unit 46 switches the filter coefficient α A corresponding to the frequency band [f > f a of the filter process FR A (the first filter coefficient) to the filter coefficient α B corresponding to the frequency band [f > f d of the filter process FR B (the second filter coefficient), thereby switching the frequency band f of the filter process FR from the frequency band [f > f a to the frequency band [f > f d .
[0038] Alternatively, the filter switching unit 46 switches the filter coefficient α A to the filter coefficient α C corresponding to the frequency band [f d < f < f e , f a < f] of the filter process FR C (the second filter coefficient), thereby switching the frequency band of the filter process FR from the frequency band [f > f a to the frequency band [f d < f < f e , f a < f].
[0039] Note that, as shown in FIG. 6, in this embodiment, the frequency band [f > f B of the filter process FR d is a frequency band lower than the frequency band [f > f A of the filter process FR a : f d < f < f a and includes it. Also, as shown in FIG. 7, the frequency band [f C < f < f d , f e < f] of the filter process FR a is a frequency band lower than the frequency band [f > f A of the filter process FR a : f d < f < f e and includes it.
[0040] The filter control flow will be described below with reference to Fig. 8. The flow shown in Fig. 8 is started when the processor 30 receives a filter control start command from a higher-level controller, an operator, a computer program, or the like. This filter control start command is transmitted, for example, when the processor 30 starts the operation of the industrial machine 12.
[0041] In step S1, the processor 30 starts acquiring the feedback value FB. Specifically, the processor 30 acquires the speed feedback value FB from the sensor 22. V In step S2, the processor 30 functions as the filter unit 44 and performs the filter processing FR shown in FIG. A In step S3, the processor 30 functions as the correction unit 62 and corrects the command VC based on the feedback value FB (in this embodiment, the speed feedback value FB V ) to start the correction operation.
[0042] In step S4, the processor 30 determines whether or not the operating state of the industrial machine 12 has changed. As an example, after starting the flow of Fig. 8, the processor 30 monitors the commands PC, ΔP, VC, VC', ΔV', TC or VS to the electric motor 24, and determines that the operating state of the industrial machine 12 has changed when the command PC, ΔP, VC, VC', ΔV', TC or VS has changed beyond a predetermined threshold value β.
[0043] For example, when the tool 16 comes into contact with the workpiece W and starts machining during operation of the industrial machine 12, the above-mentioned mechanical shock occurs. When the tool 16 comes into contact with the workpiece W and starts machining in this manner, it is considered that the operating state of the industrial machine 12 has changed. When the tool 16 comes into contact with the workpiece W and starts machining, among the commands to the electric motor 24, the torque command TC and the voltage signal VS may suddenly change (for example, increase).
[0044] Therefore, the processor 30 can detect that the processing of the workpiece W has started (i.e., that the operating state of the industrial machine 12 has changed) by detecting a change in the torque command TC or the voltage signal VS. In this step S4, the processor 30 determines that the operating state of the industrial machine 12 has changed (i.e., YES) when the torque command TC or the voltage signal VS has changed beyond the threshold value β1.
[0045] Furthermore, the above-mentioned mechanical shock may occur when there is a sudden change in the speed or acceleration of the driven body 18 (i.e., the electric motor 24) relative to the tool 16. When there is such a sudden change in the speed or acceleration of the driven body 18 (the electric motor 24), it is deemed that the operating state of the industrial machine 12 has changed.
[0046] When the speed or acceleration of the driven body 18 (motor 24) changes suddenly, the command PC, VC, VC', TC or VS to the motor 24 may change suddenly. In this step S4, the processor 30 determines that the operating state of the industrial machine 12 has changed (i.e., YES) when the command PC, VC, VC', TC or VS has changed beyond the threshold value β2. Alternatively, the processor 30 may obtain the slope of the command PC, VC, VC', TC or VS by differentiating the command with respect to time, and determine YES when the slope exceeds a threshold value β3.
[0047] As another example, the processor 30 monitors the feedback value FB from the sensor 22, and when the feedback value FB changes beyond a predetermined threshold value γ, it determines that the operating state of the industrial machine 12 has changed. Here, when the tool 16 comes into contact with the workpiece W and starts machining, or when the speed or acceleration of the driven body 18 (the electric motor 24) changes suddenly, the feedback value FB from the sensor 22 may change suddenly. Therefore, the processor 30 can detect a change in the operating state of the industrial machine 12 by detecting the change in the feedback value FB.
[0048] Specifically, in step S4, the processor 30 calculates the speed feedback value FBV The processor 30 may determine YES when the speed feedback value FB exceeds a predetermined threshold value γ1. V The acceleration feedback value FB A The acceleration feedback value FB A may be judged as YES when the difference exceeds a predetermined threshold value γ2.
[0049] Alternatively, the processor 30 may receive a current feedback value FB from the motor 24 via the I / O interface 34 as the feedback value FB. I Or load torque KF B τ Then, the processor 30 may obtain the current feedback value FB I Or load torque FB τ may be judged as YES when the difference exceeds a predetermined threshold value γ3.
[0050] As yet another example, the processor 30 may determine that the operating state of the industrial machine 12 has changed when the operation mode DM of the industrial machine 12 defined by the operation program OP is switched. An example of the operation mode DM will be described with reference to Table 1 below. [Table 1]
[0051] In the example shown in Table 1, the operation mode DM includes a positioning mode defined by the command "G00" of the operation program OP and a machining mode defined by the command "G01" of the operation program OP. Here, in the positioning mode, the processor 30 executes a feed operation to move the driven body 18 to a work preparation position at a speed V1.
[0052] On the one hand, in the machining mode, the processor 30 executes an approach operation of moving the driven body 18 from the work preparation position to the machining start position where the tool 16 contacts the workpiece W at a speed V2 (<V1), and then executes a machining operation of machining the workpiece W with the tool 16 while moving the driven body 18. The processor 30 switches the operation mode DM between the positioning mode and the machining mode according to the command sentences "G00" and "G01" of the operation program OP.
[0053] When the operation mode DM is switched from the positioning mode to the machining mode and the machining of the workpiece W is started, the above-described mechanical shock occurs. When the operation mode DM is switched in this way, it is regarded that the operation state of the industrial machine 12 has changed. For example, in this step S4, the processor 30 determines YES when the operation mode DM is switched from the positioning mode to the machining mode. More specifically, the processor 30 determines YES when the command sentence "G01" is received during the execution of the command sentence "G00" of the operation program OP.
[0054] Alternatively, the processor 30 may determine YES when a predetermined time t1 has elapsed since the operation mode DM was switched from the positioning mode to the machining mode. Here, as described above, after switching from the positioning mode (command sentence "G00") to the machining mode (command sentence "G01"), the approach operation is executed, and then the tool 16 and the workpiece W come into contact with each other and machining is started. Therefore, the actual contact between the tool 16 and the workpiece W occurs at a time point after the time t1 required for the approach operation has elapsed since the time point when the operation mode DM was switched from the positioning mode (command sentence "G00") to the machining mode (command sentence "G01").
[0055] In step S4, the processor 30 measures the elapsed time t since the operation mode DM was switched from the positioning mode to the machining mode, and may determine YES when the elapsed time t reaches the time t1. This time t1 can be predetermined by the operator so as to coincide with the time required for the approach operation.
[0056] Alternatively, the processor 30 sequentially acquires the rotational position of the electric motor 24 detected by the sensor 22, and acquires the distance d that the driven body 18 has moved from the time when the operation mode DM was switched from the positioning mode to the machining mode based on the rotational position. Here, in the approach operation described above, the driven body 18 moves by a predetermined distance d1.
[0057] The processor 30 may determine YES in step S4 when the acquired distance d reaches a predetermined threshold value d1 after the operation mode DM is switched from the positioning mode to the machining mode. This threshold value d1 can be predetermined by an operator so as to match the distance that the driven body 18 moves in the approach operation.
[0058] Other examples of the operation mode DM will be described with reference to Table 2 below. [Table 2]
[0059] In the example shown in Table 2, the operation mode DM includes a first processing mode that is executed when the mode switching signal is "00" (or "OFF"), and a second processing mode that is executed when the mode switching signal is "01" (or "ON"). The mode switching signal (e.g., a PMC signal) is stored, for example, in the memory 32, and is switched between "00" (ON) and "01" (OFF) in synchronization with the operation program OP.
[0060] Thus, the first machining mode and the second machining mode are operation modes defined by the operation program OP through a mode switching signal. Here, in the first machining mode, the processor 30 performs a light cutting operation in which the tool 16 is pressed against the workpiece W with a force F1 and the driven body 18 is moved at a speed V3 relative to the tool 16 to cut the workpiece W.
[0061] On the other hand, in the second machining mode, the processor 30 presses the tool 16 against the workpiece W with a force F2 (>F1) and moves the driven body 18 at a speed V4 (>V3) relative to the tool 16, while performing a heavy cutting operation to cut the workpiece W with a larger cutting amount than in the light cutting operation. The processor 30 switches the operation mode DM between the first machining mode and the second machining mode in response to the mode switching signals "00" and "01". When the operation mode DM switches between the first machining mode and the second machining mode, the above-mentioned mechanical shock may occur. When the operation mode DM switches in this manner, it is considered that the operating state of the industrial machine 12 has changed.
[0062] For example, if the first processing mode is being executed after the flow of Fig. 8 starts, the processor 30 determines YES in step S4 when the operation mode DM is switched from the first processing mode to the second processing mode. More specifically, the processor 30 determines YES when the mode switching signal is switched from "00" to "01".
[0063] On the other hand, if the second processing mode is being executed after the flow of Fig. 8 starts, the processor 30 determines YES in this step S4 when the operation mode DM is switched from the second processing mode to the first processing mode. More specifically, the processor 30 determines YES when the mode switching signal is switched from "01" to "00".
[0064] As described above, the processor 30 outputs the command (PC, ΔP, VC, VC', ΔV', TC, VS) to the motor 24, the feedback value FB (FB V , F.B. A ), or the operation program OP of the industrial machinery 12, the processor 30 determines whether the operating state of the industrial machinery 12 has changed. Therefore, in this embodiment, the processor 30 functions as an operating state determination unit 66 (FIG. 1) that determines whether the operating state of the industrial machinery 12 has changed. If the processor 30 determines YES in step S4, the processor 30 proceeds to step S5, whereas if the processor determines NO in step S4, the processor 30 proceeds to step S8.
[0065] In step S5, the processor 30 functions as the filter switching unit 46 and switches the frequency band of the filter process FR executed by the filter unit 44 from the first frequency band to the second frequency band. As an example, the processor 30 starts the filter process FR in step S2 A with a frequency band of [f > f a (FIG. 4) to the frequency band of the filter process FR B with a frequency band of [f > f d (FIG. 6). As another example, the processor 30 switches the frequency band of the filter process FR from the frequency band of the filter process FR A started in step S2 with a frequency band of [f > f a to the frequency band of the filter process FR C with a frequency band of [f d < f < f e , f a < f](FIG. 7).
[0066] At this time, the processor 30 may switch discontinuously (i.e., stepwise) from the first frequency band [f > f a to the second frequency band [f > f d or [f d < f < f e , f a < f]. For example, when switching from the first frequency band [f > f a to the second frequency band [f > f d , the processor 30 can switch from the cut-off frequency f a of the first frequency band [f > f a to the cut-off frequency f d of the second frequency band [f > f d in one step or stepwise in n steps (n is a positive number of 2 or more). Also, when switching from the first frequency band [f > f a to the second frequency band [f d < f < f e , f a < f], the processor 30 may switch so that the frequency band of f d < f < f e is formed stepwise in one step or multiple steps.
[0067] Alternatively, the processor 30 may switch from the first frequency band [f > f a to the second frequency band [f > f d or [f d < f < f e 、f a < f] such that the frequency band changes continuously over time. For example, when switching from the first frequency band [f > f a to the second frequency band [f > f d , the processor 30 may switch from the cut-off frequency f a to the cut-off frequency f d such that the cut-off frequency changes continuously over time.
[0068] Also, when switching from the first frequency band [f > f a to the second frequency band [f d < f < f e 、f a < f], the processor 30 may switch such that the frequency band of f d < f < f e is gradually formed (e.g., the frequency band gradually expands). Thus, by continuously changing the frequency band of the filter process FR, it is possible to prevent mechanical shock from occurring due to the switching of the filter process FR.
[0069] In step S6, the processor 30 determines whether a predetermined condition CD is satisfied. This condition CD is a condition for switching the frequency band [f > f B or FR C or [f d < f < f d 、f e < f] of the filter process FR after the switching in step S5 back to the frequency band [f > f a of the filter process FR in step S3. A of the filter process FR in step S3. a is a condition for switching back again.
[0070] Here, the noise component N2 caused by the above-mentioned mechanical shock does not occur continuously for a long period of time, but often occurs instantaneously. Therefore, after the noise component N2 disappears, the filter processing FR is performed again in step S3. A To return to , the operator sets condition CD as the condition under which the effect of noise component N2 disappears.
[0071] For example, the condition CD may be defined as a predetermined time t0 having elapsed since the operating state of the industrial machine 12 has changed. In this case, the processor 30 measures the elapsed time t from the point in time at which YES is determined in step S4 (or the start or end point of step S5), for example. Then, when the elapsed time t reaches the predetermined time t0, the processor 30 determines that the condition CD is satisfied (i.e., YES).
[0072] Alternatively, the condition CD may be a command PC, δP, VC, VC', δV', TC or VS to the motor 24, or a feedback value FB from the sensor 22. V Or FB A For example, the processor 30 may determine that the condition CD is satisfied (i.e., YES) when the number of rotations of the electric motor 24 (or the moving distance of the driven body 18) defined by the position command PC reaches a predetermined threshold. If the processor 30 determines YES, the process proceeds to step S7, whereas if the processor 30 determines NO, the process proceeds to step S9.
[0073] In step S7, the processor 30 functions as the filter switching unit 46 and switches the frequency band of the filter processing FR from the second frequency band to the first frequency band. B Frequency band [f>f d ], the processor 30 selects the frequency band [f>f d ], then filter processing FR A Frequency band [f>f a As another example, in step S5, the filter processing FR C Frequency band [fd <f<f e , f a When switched to <f], the processor 30 sets the frequency band from [f d <f<f e , f a to the frequency band [f>f a .
[0074] In step S8, the processor 30 determines whether the operation of the industrial machine 12 has ended. For example, the processor 30 can determine from the operation program OP whether the processing of the workpiece W has ended. When the processor 30 determines that the processing of the workpiece W has ended, it determines YES, stops the operation of the electric motor 24, and thus ends the operation of the industrial machine 12. Then, the processor 30 ends the flow shown in FIG. 8. On the other hand, when the processor 30 determines NO, it returns to step S4.
[0075] When it is determined NO in step S6 described above, in step S9, the processor 30 determines whether the operation of the industrial machine 12 has ended in the same manner as in step S8 described above. When the processor 30 determines YES, it ends the operation of the industrial machine 12 and ends the flow shown in FIG. 8. On the other hand, when it determines NO, it returns to step S6.
[0076] As described above, in the present embodiment, when the processor 30 determines that the operation state of the industrial machine 12 has changed (YES in step S4), the frequency band of the filter process FR is changed from the first frequency band [f>f a to the second frequency band [f>f d or [f d <f<f e , f a <f]. According to this configuration, by setting the second frequency band to include the frequency band of the noise component N2 caused by the mechanical shock described above, the noise component N2 can be removed from the feedback value FB supplied to the correction unit 62.
[0077] On the other hand, if a change in the operating state of the industrial machine 12 is not detected (step S4 continues to be determined as NO), the processor 30 performs a filter process FR on the feedback value FB in the filter unit 44. A By performing the above, it is possible to remove high frequency noise components N1 due to electrical noise or the like from the feedback value FB.
[0078] At the same time, the filter unit 44 filters the feedback value FB at a cutoff frequency f a A wide frequency band below (f≦f a ), the correction unit 62 can make correction to the command VC over a wider frequency band, thereby improving the effect of correction by the correction unit 62. As described above, according to the present embodiment, by switching the frequency band of the filter process FR performed by the filter unit 44 in accordance with the operating state of the industrial machine 12, it becomes possible for the correction unit 62 to appropriately perform correction.
[0079] In this embodiment, the processor 30 also generates commands (PC, ΔP, VC, VC', ΔV', TC, VS) for the electric motor 24, feedback values FB (FB V , F.B. A ), or based on the operation program OP of the industrial machine 12. For example, the processor 30 determines that the operating state has changed when the command or feedback value has changed beyond the threshold value β or γ.
[0080] Alternatively, the processor 30 determines that the operating state has changed when the operation mode DM defined by the operation program OP is switched (specifically, when the operation mode DM is switched, when a predetermined time t1 has elapsed from the time, or when the vehicle has moved a predetermined distance d1 from the time). This configuration allows the timing at which the operating state changes to be determined with high accuracy.
[0081] In this embodiment, the processor 30 functions as a filter unit 44 and calculates the feedback value FB and a filter coefficient α A, α B or α C is used to perform the filter process FR A , FR B or FR C as a digital filter process. And the processor 30 functions as a filter switching unit 46, and by switching the filter coefficient α between the coefficients α A , α B and α C , the frequency band of the filter process FR is switched between the first frequency band [f > f a and the second frequency band [f > f d or [f d < f < f e and f a < f]. According to this configuration, the processor 30 can switch the frequency band of the filter process FR quickly and accurately.
[0082] Also, in this embodiment, the processor 30 functions as a filter switching unit 46, and after switching the frequency band of the filter process FR to the second frequency band in step S5, according to a predetermined condition CD, the frequency band is switched from the second frequency band to the first frequency band (steps S6 and S7).
[0083] According to this configuration, when the operating state of the industrial machine 12 changes, the noise component N2 can be blocked by the filter process FR B or FR C . On the other hand, after satisfying the condition CD (that is, after the disappearance of the noise component N2), by switching back to the filter process FR A again, while removing the high-frequency noise component N1, the effect of the correction by the correction unit 62 can be enhanced.
[0084] Note that steps S6, S7, and S9 may be omitted from the flow shown in Fig. 8. For example, when the operation mode DM is switched from the first machining mode to the second machining mode as shown in Table 2 during operation of the industrial machine 12, the processor 30 may proceed to step S8 after step S5 without executing steps S6, S7, and S9, and may loop step S8 if it determines NO in step S8. In this case, the processor 30 may continue to execute the filter processing FR after switching in step S5 until it determines YES in step S8. B or FR C will continue to be implemented.
[0085] Next, another example of the control flow of the electric motor 24 will be described with reference to Fig. 9. In the control device 14 shown in Fig. 9, a subtractor 54 subtracts the speed feedback value FB from the sensor 22 from the speed command VC output by the speed command generating unit 38. V The result is output as a speed deviation ΔV. Then, the torque command generating unit 40 generates a torque command TC based on the speed deviation ΔV.
[0086] On the other hand, the speed feedback value FB obtained from the sensor 22 V is input to the differentiator 68. The differentiator 68 calculates the speed feedback value FB V The acceleration feedback value FB A The filter unit 44 outputs the acceleration feedback value FB A In the same manner as in the above embodiment, the filter processing FR A , F.R. B or FR C Selectively execute.
[0087] In this case, the acceleration feedback value FB A The filter unit 44 performs the filtering process FR A The cutoff frequency f a , Filtering FR B The cutoff frequency f d , or filter processing FR C The cutoff frequency fd , f e and f a may have the same cut-off frequency as the form shown in FIG. 3 (i.e., the filter processing for the speed feedback value FB V ), or may be uniquely determined for the acceleration feedback value FB A as a different cut-off frequency.
[0088] The filter unit 44 performs filter processing FR A on the acceleration feedback value FB A , FR B or FR C and inputs it to the gain 48. The gain 48 multiplies the input acceleration feedback value FB A by a gain to generate an acceleration correction value C A and inputs it to the adder 60. The adder 60 adds the acceleration correction value C A to the torque command TC generated by the torque command generation unit 40 to generate a corrected torque command TC'. Therefore, the gain 48 and the adder 60 constitute a correction unit 62 that corrects the torque command TC based on the feedback value FB A .
[0089] Also in the form shown in FIG. 9, the processor 30 executes the flow shown in FIG. 8, and according to the change in the operating state of the industrial machine 12, the frequency band of the filter processing FR executed by the filter unit 44 is changed from the first frequency band [f > f a to the second frequency band [f > f d or [f d < f < f e , f a < f].
[0090] Next, referring to FIG. 10, another example of the control flow of the electric motor 24 will be described. In the form shown in FIG. 10, the speed feedback value FB V from the sensor 22 is supplied to the filter unit 44A in the same manner as the form shown in FIG. 3. After being subjected to filter processing FR by the filter unit 44A, it is supplied to a correction unit 62A composed of a gain 48A and an adder 60A.
[0091] On the one hand, the speed feedback value FB from the sensor 22 V is supplied to the filter section 44B through the differentiator 68 in the same form as shown in FIG. 9, and after being subjected to the filter processing FR in the filter section 44B, it is supplied to the correction section 62B composed of the gain 48B and the adder 60B. The filter switching section 46 switches the frequency bands of the filter processing FR executed by the filter sections 44A and 44B, respectively.
[0092] Also in the form shown in FIG. 10, the processor 30 executes the flow shown in FIG. 8, and according to the change in the operating state of the industrial machine 12, the frequency bands of the filter processing FR executed by the filter sections 44A and 44B are changed from the first frequency band [f > f a to the second frequency band [f > f d or [f d < f < f e , f a < f].
[0093] Note that the cut-off frequency of the filter processing FR (FR V , FR A , FR B or FR C ) executed by the filter section 44A for the speed feedback value FB A and the cut-off frequency of the filter processing FR (FR A , FR B or FR C ) executed by the filter section 44B for the acceleration feedback value FB
[0094] For example, when the filter sections 44A and 44B execute the filter processing FR V and FB A for the feedback values FB A respectively, the cut-off frequency f A of the filter processing FR a_A executed by the filter section 44A and the cut-off frequency f A of the filter processing FR a_Bmay be the same as each other or may be different.
[0095] In addition, the filter units 44A and 44B respectively receive the feedback value FB V and F.B. A Filter processing FR B When performing the filtering process FR B The cutoff frequency f d_A and the filter processing FR B The cutoff frequency f d_B may be the same as each other or may be different.
[0096] In addition, the filter units 44A and 44B respectively receive the feedback value FB V and F.B. A Filter processing FR C When performing the filtering process FR C The cutoff frequency f d_A , f e_A and f a_A and the filter processing FR C The cutoff frequency f d_B , f e_B and f a_B may be the same (f d_A =f d_B , f e_A =f e_B , f a_A =f a_B ), or may be different (f d_A ≠f d_B , f e_A ≠f e_B , f a_A ≠f a_B ).
[0097] Furthermore, when the processor 30 switches the frequency bands of the filter units 44A and 44B from the first frequency band to the second frequency band in step S5, the processor 30 may change the second frequency band between the filter units 44A and 44B. For example, in step S5, the processor 30 may change the filter processing FR performed by the filter unit 44A to a filter processing FR A Filtering from FR B (or FR C ), while the filter processing FR executed by the filter unit 44B is switched to the filter processing FR A Filtering from FR C (or FR B ) may be used.
[0098] Next, still another example of the control flow of the electric motor 24 will be described with reference to Fig. 11. In the embodiment shown in Fig. 11, the speed feedback value FB V is passed through a differentiator 68, a filter section 44, and a gain 48 to obtain an acceleration correction value C A to the adder 60.
[0099] On the other hand, the torque command generating unit 40 has a proportional gain 70, an integral gain 72, and an integrator 74. The proportional gain 70 multiplies the speed deviation ΔV output from the subtractor 54 by a gain G2 to generate a torque command T1, and outputs the torque command T1 to the adder 76. On the other hand, the integral gain 72 multiplies the speed deviation ΔV output from the subtractor 54 by a gain G3 to generate a torque command T2, and outputs the torque command T2 to the adder 60.
[0100] The adder 60 adds the torque command T2 output from the integral gain 72 to the acceleration correction value C output from the gain 48. A The integrator 74 integrates the correction torque command T2' and outputs the result to the adder 76. The adder 76 adds the correction torque command T2' to the torque command T1 output from the proportional gain 70 to generate the torque command TC and outputs the torque command TC to the current control unit 42.
[0101] Here, the torque commands T1 and T2 and the corrected torque command T2' constitute a torque command TC for controlling the torque of the electric motor 24, and the torque command TC constitutes a command for operating the electric motor 24 as described above. Thus, in the present embodiment, the correction unit 62 is composed of the gain 48 and the adder 60, and corrects a signal (torque command T2) used for generating the torque command TC in the torque command generation unit 40.
[0102] Also in the present embodiment, the processor 30 executes the flow shown in FIG. 8, and according to the change in the operating state of the industrial machine 12, the frequency band of the filter process FR executed by the filter unit 44 is changed from the first frequency band [f > f a to the second frequency band [f > f d or [f d < f < f e , f a < f].
[0103] Note that in the present embodiment, the case where the correction unit 62 corrects the signal T2 used for generating the command TC in the torque command generation unit 40 has been described, but the present invention is not limited to this, and it may be configured to correct a signal used for generating the command VC or VS in the speed command generation unit 38 or the current control unit 42.
[0104] Next, referring to FIGS. 12 and 13, a machine system 80 according to another embodiment will be described. The machine system 80 includes an industrial machine 82 and a control device 14 that controls the industrial machine 82. Here, the industrial machine 82 is different from the above-described industrial machine 12 in that it further includes a sensor 84.
[0105] The sensor 84 is a linear scale, a displacement sensor, or the like, and is disposed opposite to the driven body 18 (or the workpiece W). The sensor 84 continuously (e.g., periodically) detects the position P (e.g., coordinates) of the driven body 18 (or the workpiece W) in the direction of the axis A, and sequentially transmits it as a position feedback value FB P2 to the I / O interface 34 of the control device 14.
[0106] The processor 30 of the control device 14 functions as a feedback acquisition unit 52 and receives the position feedback value FB from the sensor 84 through the I / O interface 34. P2 This position feedback value FB P2 is time-series data indicating the position P of the driven body 18 in a time series.
[0107] 14 shows an example of a control flow of the electric motor 24 in the mechanical system 80. The control flow shown in FIG. 14 differs from FIG. 10 in the following points. Specifically, the position feedback value FB P2 is input to a differentiator 86. The differentiator 86 calculates the position feedback value FB P2 is time-differentiated to obtain the velocity feedback value FB V2 to the filter unit 44A and the differentiator 68.
[0108] As in the embodiment shown in FIG. 10, the speed feedback value FB V2 is filtered by the filter unit 44A and then supplied to a correction unit 62A including a gain 48A and an adder 60A. V2 is time-differentiated by a differentiator 68, filtered by a filter unit 44B, and then supplied to a correction unit 62B including a gain 48B and an adder 60B.
[0109] Next, a filter control flow executed by the processor 30 of the machine system 80 will be described with reference to Fig. 8. The flow according to this embodiment differs from the above-described embodiment in step S4. In step S4, the processor 30 determines whether the operating state of the industrial machine 82 has changed based on the distance L between the industrial machine 82 and the workpiece W.
[0110] Specifically, after the start of step S1, the processor 30 calculates the position feedback value FB P2 Based on this, the processor 30 calculates the distance L between the industrial machine 82 and the workpiece W. For example, the processor 30 calculates the position feedback value FBP2 At the same time, the position data of the tool 16 of the industrial machine 82 is acquired.
[0111] Then, the processor 30 calculates the distance L (FIG. 13) between the tool 16 and the workpiece W from the position data of the tool 16 and the position feedback value FB. P2 As described above, in the present embodiment, the processor 30 functions as a distance acquisition unit 88 (FIG. 12) that calculates the distance L based on the feedback value FB. P2
[0112] Then, in step S4, the processor 30 functions as an operation state determination unit 66, and determines that the operation state of the industrial machine 82 has changed (i.e., YES) when the distance L becomes smaller than a predetermined threshold value ε. Here, when the distance L becomes smaller than the predetermined threshold value ε, it can be considered that the tool 16 contacts the workpiece W and machining starts.
[0113] Then, in step S5, the processor 30 functions as a filter switching unit 46, and switches the frequency band of the filter process FR executed by the filter units 44A and 44B from the first frequency band [f > f a to the second frequency band [f > f d or [f d < f < f e , f a < f].
[0114] As described above, in the present embodiment, the processor 30 determines whether or not the operation state of the industrial machine 82 has changed (specifically, the tool 16 contacts the workpiece W) based on the distance L. According to this configuration, the processor 30 can determine the timing at which the operation state of the industrial machine 82 changes with higher accuracy. Then, at the timing when the operation state changes, the processor 30 sets the frequency band of the filter process FR in the filter units 44A and 44B to a frequency band [f > f d or [f d < f < f e , f aIt can be switched to <f>.
[0115] Next, with reference to FIGS. 15 and 16, another embodiment of the machine system 90 will be described. The machine system 90 includes an industrial machine 92 and a control device 14 that controls the industrial machine 92. The industrial machine 92 is different from the industrial machine 82 described above in that it includes a sensor 94.
[0116] The sensor 94 is an acceleration sensor and is provided on the driven body 18. The sensor 94 continuously (e.g., periodically) detects the acceleration of the driven body 18 (or the workpiece W) and sequentially transmits it as an acceleration feedback value FB A2 to the I / O interface 34 of the control device 14.
[0117] The processor 30 of the control device 14 functions as a feedback acquisition unit 52 and sequentially acquires the acceleration feedback value FB A2 from the sensor 94 through the I / O interface 34. This acceleration feedback value FB A2 is time-series data showing the amplitude value of the acceleration of the driven body 18 in time series.
[0118] FIG. 17 shows an example of the control flow of the electric motor 24 in the machine system 90. The control flow shown in FIG. 17 is different from FIG. 9 in the following points. Specifically, the acceleration feedback value FB A2 acquired from the sensor 94 is input to the filter unit 44. The filter unit 44 performs a filter process FR on the acceleration feedback value FB A2 and supplies it to a correction unit 62 composed of a gain 48 and an adder 60.
[0119] Also in the form shown in FIG. 17, the processor 30 executes the flow shown in FIG. 8, and according to the change in the operating state of the industrial machine 12, the frequency band of the filter process FR executed by the filter unit 44 is changed from the first frequency band [f > f a to the second frequency band [f > f d or [f d <f < f e 、fa Switch to <f>.
[0120] Next, with reference to FIGS. 18 and 19, another embodiment of the machine system 100 will be described. The machine system 100 includes an industrial machine 102 and a control device 14 that controls the industrial machine 102. The industrial machine 102 is a press machine. Specifically, the industrial machine 102 includes driven bodies 18A and 18B, a first moving mechanism 108, a second moving mechanism 110, sensors 22A, 22B, 84, and 112.
[0121] The driven body 18B is a die cushion of the press machine and is provided so as to be movable in the direction of the axis A. A workpiece (not shown) is placed on the driven body 18B. On the other hand, the driven body 18A is a slide of the press machine and is disposed opposite to the upper side of the driven body 18B so as to be movable in the direction of the axis A.
[0122] The first moving mechanism 108 includes an electric motor 24A and a crank mechanism 114. The electric motor 24A rotationally drives its output shaft 24a in accordance with a command from the control device 14. The crank mechanism 114 converts the rotational motion of the output shaft 24a of the electric motor 24A into a reciprocating motion in the direction of the axis A of the driven body 18A.
[0123] The second moving mechanism 110 includes an electric motor 24B, pulleys 116 and 118, a belt 120, a ball screw 122, and a linear motion part 124. The electric motor 24B rotationally drives its output shaft 24a in accordance with a command from the control device 14. The pulley 116 is fixed to the output shaft 24a of the electric motor 24B, and a tooth part is formed on its outer peripheral surface. The pulley 118 is fixed to the lower end of the ball screw 122, and a tooth part is formed on its outer peripheral surface.
[0124] The belt 120 has teeth formed on its inner peripheral surface, and is stretched around the outer peripheral surfaces of the pulleys 116 and 118. The teeth formed on the outer peripheral surfaces of the pulleys 116 and 118 and the teeth formed on the inner peripheral surface of the belt 120 engage with each other. As a result, the rotational force of the output shaft 24a of the electric motor 24B is transmitted to the ball screw 122 via the pulleys 116 and 118 and the belt 120, causing the ball screw 122 to rotate around the axis A. The linear motion part 124 is installed so as to be movable in the direction of the axis A, and is fixed to the driven body 18B.
[0125] A bolt member 126 is fixed to the center of the linear motion portion 124, and a ball screw 122 is screwed into the bolt member 126. As the electric motor 24B rotates the ball screw 122, the bolt member 126 is reciprocated, whereby the driven body 18B is reciprocated in the direction of the axis A.
[0126] The sensor 22A is an encoder (or a Hall element) that detects the rotational position of the electric motor 24A. Like the above-mentioned sensor 22, the sensor 22A detects the rotational speed V of the electric motor 24A by time-differentiating the detected rotational position of the electric motor 24A, and outputs a speed feedback value FB V The signals are sequentially supplied to the control device 14.
[0127] Similarly, the sensor 22B is an encoder (or a Hall element) or the like that detects the rotational position of the electric motor 24B, and similarly to the above-mentioned sensor 22, detects the rotational speed V of the electric motor 24B by time-differentiating the detected rotational position of the electric motor 24B, and obtains a speed feedback value FB V The signals are sequentially supplied to the control device 14 as the signals.
[0128] The sensor 84 is a linear scale or a displacement sensor, etc., and is disposed opposite the driven body 18A. The sensor 84 continuously (e.g., periodically) detects the position P (e.g., coordinates) of the driven body 18A in the direction of the axis A, and outputs a position feedback value FB P2 These are then sequentially sent to the I / O interface 34 of the control device 14.
[0129] The sensor 112 is a force sensor or a pressure sensor, and detects the force F3 applied by the driven body 18B to the driven body 18A. In this document, the force F3 refers not only to force (unit: N) but also to pressure (unit: N / m 2 , Pa). In this embodiment, the sensor 112 is built into the driven body 18B. The sensor 112 continuously (for example, periodically) detects the force F3 generated by the driven body 18B and outputs a force feedback value FB F These are then sequentially sent to the I / O interface 34 of the control device 14.
[0130] The processor 30 functions as a feedback acquisition unit 52 and receives a speed feedback value FB V , Position feedback value FB P2 , and the force feedback value FB F The processor 30 controls the electric motors 24A and 24B individually to move the driven body 18A downward so that the workpiece placed on the driven body 18B is sandwiched between the driven body 18A and the driven body 18B, and then moves the driven bodies 18A and 18B downward in synchronization with each other to press the workpiece with a die (not shown).
[0131] 20 shows an example of a control flow of the electric motor 24B. When the driven bodies 18A and 18B are moved downward while a workpiece is sandwiched between them, the processor 30 calculates the force feedback value FB F Based on this, the force F3 is set to a predetermined target value F α The force control is performed to maintain the
[0132] Specifically, the processor 30 calculates a force command FC (= a target value F α Then, the processor 30 subtracts the force feedback value FB obtained from the sensor 112 from the force command value FC using a subtractor (not shown). F The result is output as a force deviation ΔF to the speed command generating unit 38. As a result, the electric motor 24B adjusts the force F3 to the target value F αWhile maintaining the above state, the driven body 18B is moved downward in synchronization with the driven body 18A.
[0133] On the other hand, the position feedback value FB obtained from the sensor 84 P2 is input to a differentiator 86, where it is time-differentiated to obtain a speed feedback value FB V2 The filter unit 44 outputs the velocity feedback value FB V2 The speed command VC generated by the speed command generating unit 38 is filtered by a filter FR and supplied to a correction unit 62 including a gain 48 and an adder 60. The correction unit 62 converts the speed command VC generated by the speed command generating unit 38 into a speed correction value C V In the present embodiment, the correction unit 62 is configured to perform correction to reduce the above-mentioned force deviation ΔF caused by the movement of the driven body 18A.
[0134] Next, a filter control flow in the mechanical system 100 will be described with reference to Fig. 8. After the flow shown in Fig. 8 starts, the processor 30 of the mechanical system 100 calculates the feedback value FB (speed feedback value FB V , Position feedback value FB P2 , and the force feedback value FB F ) is acquired. Then, in step S2, the processor 30 starts the filtering process FR A Then, in step S3, the correction unit 62 starts to correct the command VC.
[0135] In step S4, the processor 30 102 As an example, the processor 30 determines whether the operating state of the vehicle has changed. F , current feedback value FB I Or load torque FB τWhen [[ID=]] changes beyond a predetermined threshold value γ, it is determined as YES. As another example, when a command to the motor 24B (for example, torque command TC or voltage signal VS) changes beyond a threshold value β, the industrial machine 102 is determined to have changed its operating state (that is, YES).
[0136] As yet another example, the processor 30 functions as a distance acquisition unit 88 and obtains the distance L between the industrial machine 102 and the workpiece based on the position feedback value FB P2 acquired from the sensor 84. Specifically, the processor 30 obtains the distance L between the driven body 18A and the workpiece (or the driven body 18B) from the position feedback value FB P2 and the position data of the driven body 18B. Then, when the distance L becomes smaller than a predetermined threshold value ε, the processor 30 determines it as YES.
[0137] And in step S5, the processor 30 switches the frequency band of the filter process FR from the first frequency band [f > f a ] to the second frequency band [f > f d ] or [f d < f < f e , f a < f ]. Here, the cut-off frequency f A of the filter process FR a executed by the filter unit 44 shown in FIG. 20, the cut-off frequency f B of the filter process FR d , or the cut-off frequency f C of the filter process FR d , f e and f a may be the same cut-off frequency as the form shown in FIG. 3 or FIG. 9, or may be uniquely determined for the machine system 100 as different cut-off frequencies.
[0138] Thereafter, the processor 30 sequentially executes steps S6 to S9 in the same manner as in the above-described embodiment. Thus, also in the machine system 100, when the operating state of the industrial machine 102 changes, the filter process FR Bor FR C can block the noise component N2 from the feedback value FB V2 It should be understood that as the control flow of the motor 24A or 24B, the control flow as shown in FIGS. 3, 9, 10, 11, 14, or 17 can be applied.
[0139] In the above-described embodiment, when the filter switching unit 46 switches the frequency band of the filter process FR, the frequency band of the filter process FR B [f > f d , or the frequency band of the filter process FR C [f d < f < f e , f a < f] may be determined based on the commands PC, δP, VC, VC’, δV’, TC, VS to the motors 24, 24A, 24B, or the feedback value FB from the sensors 22, 22A, 22B, 84, 94, 112.
[0140] For example, the processor 30 may generate a learning model LM showing the correlation between the command to the motor or the feedback value FB from the sensor and the frequency characteristics of the noise component N2, and determine the frequency band of the filter process FR based on the command or the feedback value FB and the learning model LM.
[0141] Hereinafter, an example of the learning method of the learning model LM will be described. The processor 30 repeatedly tries the operation of the industrial machine 12 so that a change in the operating state of the industrial machine 12 occurs, and obtains the time change characteristics or frequency characteristics of the command or feedback value FB acquired at this time and the frequency characteristics (frequency band) of the noise component N2 generated in the feedback value FB as a learning data set DS.
[0142] Then, the processor 30 uses the learning data set DS to perform, for example, supervised learning, to generate a learning model LM that indicates a correlation between the command or feedback value and the frequency characteristics of the noise component N2. The processor 30 executes a learning cycle in which the learning data set DS is acquired and the learning model LM is updated every time a trial of operation of the industrial machine 12 is repeated. This makes it possible to derive the learning model LM to an optimal solution.
[0143] Then, in step S5, the processor 30 inputs the command or feedback value acquired when the driving state changes to the learning model LM. Then, the learning model LM outputs the frequency characteristic of the noise component N2 that has a correlation with the command or feedback value when the driving state changes. The processor 30 performs the filter processing FR so as to include the frequency band of the output noise component N2. B , F.R. C (i.e., the cutoff frequency f d , f e In this way, the processor 30 can determine the frequency band of the filtering process FR based on the command to the motor or the feedback value FB from the sensor.
[0144] In addition, the filter processing FR shown in FIG. A , F.R. B and F.R. C The frequency characteristic shown in is merely an example, and the filter 12 may be configured to have any frequency characteristic depending on the noise components to be blocked. The above-mentioned industrial machine 12 may also include a plurality of moving mechanisms for moving the driven body 18 in a plurality of directions. In this case, the processor 30 may execute the above-mentioned filter control flow for the electric motor of each moving mechanism. The position command generator 36 may also be deleted from the above-mentioned embodiment. In this case, the position command generator 36 may be provided in a higher-level controller, and the processor 30 may receive a position command PC from the higher-level controller.
[0145] In the embodiment described above, in step S4 of FIG. 8, the processor 30 (operating state determination unit 66) determines the commands (PC, ΔP, VC, VC', ΔV', TC, VS) to the electric motor 24, the feedback value FB (FB V , F.B. A ) or the case where it is determined whether or not the operating state of the industrial machine 12 has changed based on the operation program OP of the industrial machine 12 has been described.
[0146] However, the present invention is not limited to this. For example, the processor 30 may detect a time t V In step S4, the elapsed time from the start of operation is estimated as the time t V When the time t V can be estimated, for example, from the operating program.
[0147] In the above embodiment, the filter unit 44 is configured as a digital filter. However, the filter unit 44 may be configured as an analog filter. For example, the filter unit 44 may include a filter processing FR A and an analog filter unit 44α capable of performing the above-mentioned filtering process. B An analog filter unit 44β capable of performing the above-mentioned filtering process, or a filtering process FR C and an analog filter section 44γ capable of performing the above.
[0148] The processor 30 may switch the frequency band of the filter processing FR by switching between the analog filter unit 44α and the analog filter unit 44β or 44γ. Although the present disclosure has been described above through the embodiments, the above-mentioned embodiments do not limit the invention according to the claims. [Explanation of symbols]
[0149] 10,80,90,100 Mechanical Systems 12,82,92,102 Industrial machinery 14 Control device 22,22A,22B,84, 94, 112 Sensors 24,24A,24B electric motor 30 processors 44, 44A, 44B, 44α, 44β, 44γ Filter section 46 Filter switching section 62, 62A, 62B Correction section 66 Driving state determination unit 88 Distance acquisition part
Claims
1. A control device for controlling an electric motor of an industrial machine, a feedback acquisition unit that acquires a feedback value from the industrial machine that is operated by an operation of the electric motor; a correction unit that corrects a command for operating the electric motor based on the feedback value; a filter unit that performs a filtering process on the feedback value supplied to the correction unit to reduce a value in a predetermined frequency band; an operating state determination unit that determines whether an operating state of the industrial machine has changed, and determines that the operating state has changed when the numerical value indicated by the command or the feedback value exceeds a predetermined threshold; a filter switching unit that switches the frequency band of the filter process performed by the filter unit from a first frequency band to a second frequency band lower than the first frequency band when the driving state determination unit determines that the driving state has changed.
2. the command includes a torque command to the electric motor; The control device according to claim 1 , wherein the operating condition determining unit determines that the operating condition has changed when the torque indicated by the torque command exceeds the threshold value.
3. A control device for controlling an electric motor of an industrial machine, a feedback acquisition unit that acquires a feedback value from the industrial machine that is operated by an operation of the electric motor; a correction unit that corrects a command for operating the electric motor based on the feedback value; a filter unit that performs a filtering process on the feedback value supplied to the correction unit to reduce a value in a predetermined frequency band; an operating state determination unit that determines whether or not an operating state of the industrial machine has changed; a filter switching unit that switches the frequency band of the filtering process performed by the filter unit from a first frequency band to a second frequency band when the driving state determination unit determines that the driving state has changed; a distance acquisition unit that determines a distance between the industrial machine and a workpiece based on the feedback value, The driving condition determination unit determines that the driving condition has changed when the distance becomes smaller than a predetermined threshold.
4. A control device for controlling an electric motor of an industrial machine, a feedback acquisition unit that acquires a feedback value from the industrial machine that is operated by an operation of the electric motor; a correction unit that corrects a command for operating the electric motor based on the feedback value; a filter unit that performs a filtering process on the feedback value supplied to the correction unit to reduce a value in a predetermined frequency band; an operating state determination unit that determines whether or not an operating state of the industrial machine has changed, and determines that the operating state has changed when an operating mode of the industrial machine defined by an operation program of the industrial machine is switched; a filter switching unit that switches the frequency band of the filter process performed by the filter unit from a first frequency band to a second frequency band when the driving state determination unit determines that the driving state has changed.
5. the filter unit performs the filtering process by using the feedback value and a predetermined filter coefficient; The control device according to any one of claims 1 to 4, wherein the filter switching unit switches from the first frequency band to the second frequency band by switching from a first filter coefficient corresponding to the first frequency band to a second filter coefficient corresponding to the second frequency band.
6. The control device according to any one of claims 1 to 5, wherein the filter switching unit switches from the first frequency band to the second frequency band in a stepwise manner, or switches the frequency band so as to change continuously over time.
7. The control device according to claim 1 , wherein the second frequency band includes a frequency band lower than the first frequency band.
8. The control device according to any one of claims 1 to 7, wherein the filter switching unit switches the frequency band from the second frequency band to the first frequency band in accordance with a predetermined condition after switching the frequency band of the filter processing.
9. A control device according to any one of claims 1 to 8; A machine system comprising: the electric motor; and the industrial machine having a sensor that acquires the feedback value and supplies the feedback value to the control device.
10. 1. A method for controlling an electric motor of an industrial machine, comprising: obtaining a feedback value from the industrial machine operated by the operation of the electric motor; correcting a command for operating the electric motor based on the feedback value; performing a filtering process on the feedback value for the correction to reduce a value in a predetermined frequency band; When determining whether or not an operating state of the industrial machine has changed, it is determined that the operating state has changed when the numerical value indicated by the command or the feedback value exceeds a predetermined threshold value; a frequency band for performing the filtering process, the frequency band being switched from a first frequency band to a second frequency band lower than the first frequency band, when it is determined that the operating state has changed.
11. 1. A method for controlling an electric motor of an industrial machine, comprising: obtaining a feedback value from the industrial machine operated by the operation of the electric motor; correcting a command for operating the electric motor based on the feedback value; performing a filtering process on the feedback value for the correction to reduce a value in a predetermined frequency band; determining a distance between the industrial machine and a workpiece based on the feedback value; When determining whether or not an operating state of the industrial machine has changed, it is determined that the operating state has changed when the calculated distance becomes smaller than a predetermined threshold value; a frequency band for performing the filtering process being switched from a first frequency band to a second frequency band when it is determined that the operating state has changed.
12. 1. A method for controlling an electric motor of an industrial machine, comprising: obtaining a feedback value from the industrial machine operated by the operation of the electric motor; correcting a command for operating the electric motor based on the feedback value; performing a filtering process on the feedback value for the correction to reduce a value in a predetermined frequency band; when determining whether or not the operating state of the industrial machine has changed, it is determined that the operating state has changed when an operating mode of the industrial machine defined by an operation program of the industrial machine is switched; a frequency band for performing the filtering process being switched from a first frequency band to a second frequency band when it is determined that the operating state has changed.
Citation Information
Patent Citations
Position control device of electric motor
JP1997093998A
Servo control system for enhancing accuracy of high-speed oscillating operation
JP2011123616A
Motor control device
JP2020047228A
