Motor control device and motor control method
阅读说明:本技术 电动机控制装置和电动机控制方法 (Motor control device and motor control method ) 是由 藤原弘 田泽徹 三枝史岳 于 2018-05-18 设计创作,主要内容包括:一种电动机控制装置(300),其反馈控制系统的控制带宽能够变更,所述电动机控制装置用于对电动机或负载的状态量进行反馈控制,所述电动机控制装置(300)具备:滤波器系数能够变更的陷波滤波器(302),其配置于反馈控制系统内;陷波控制部(304),其变更陷波滤波器(302)的作为中心频率的陷波频率,使得去除由与电动机相关的机械共振引起的振动成分;以及控制系数设定部(305),其根据控制带宽和陷波频率来变更控制带宽和陷波滤波器(302)的滤波器系数中的至少一方,使得反馈控制系统稳定化。(A motor control device (300) capable of changing a control bandwidth of a feedback control system for feedback-controlling a state quantity of a motor or a load, the motor control device (300) comprising: a notch filter (302) capable of changing filter coefficients, which is disposed in the feedback control system; a notch control unit (304) that changes the notch frequency of the notch filter (302) as the center frequency so as to remove the vibration component caused by the mechanical resonance of the motor; and a control coefficient setting unit (305) for changing at least one of the control bandwidth and the filter coefficient of the notch filter (302) in accordance with the control bandwidth and the notch frequency, thereby stabilizing the feedback control system.)
1. A motor control device capable of changing a control bandwidth of a feedback control system for feedback-controlling a state quantity of a motor or a load, the motor control device comprising:
a notch filter having a changeable filter coefficient, which is disposed in the feedback control system;
a notch control unit that changes a notch frequency of the notch filter, which is a center frequency, so as to remove a vibration component caused by mechanical resonance related to the motor; and
and a control coefficient setting unit configured to change at least one of the control bandwidth and a filter coefficient of the notch filter in accordance with the control bandwidth and the notch frequency, thereby stabilizing the feedback control system.
2. The motor control device according to claim 1,
the control coefficient setting unit may change at least one of the control bandwidth and the notch frequency only when the notch frequency is lower than a predetermined reference value, so as to stabilize the feedback control system.
3. The motor control device according to claim 1 or 2,
the notch control unit changes the notch frequency only within a predetermined notch frequency range.
4. The motor control device according to claim 3,
the predetermined range of notch frequencies is determined such that the notch frequencies do not overlap with a control bandwidth of the feedback control system.
5. A motor control device capable of changing a control bandwidth of a feedback control system for feedback-controlling a state quantity of a motor or a load, the motor control device comprising:
a first notch filter and a second notch filter having changeable filter coefficients, the first notch filter and the second notch filter being arranged in series in the feedback control system;
a first notch control unit that changes a first notch frequency, which is a center frequency of the first notch filter, so as to remove a vibration component caused by mechanical resonance related to the motor;
a second notch control unit that changes a second notch frequency, which is a center frequency of the second notch filter, so as to remove a vibration component caused by mechanical resonance related to the motor; and
and a control coefficient setting unit configured to change at least one of the control bandwidth, the filter coefficient of the first notch filter, and the filter coefficient of the second notch filter in accordance with the control bandwidth, the first notch frequency, and the second notch frequency, so as to stabilize the feedback control system.
6. A motor control method for feedback-controlling a state quantity of a motor or a load by a motor control device capable of changing a control bandwidth of a feedback control system, the motor control method comprising:
a notch control step of changing a notch frequency, which is a center frequency, of a notch filter that is disposed in the feedback control system and whose filter coefficient can be changed so as to remove a vibration component caused by mechanical resonance related to the motor; and
and a control coefficient setting step of changing at least one of the control bandwidth and a filter coefficient of the notch filter in accordance with the control bandwidth and the notch frequency so as to stabilize the feedback control system.
Technical Field
The present invention relates to a motor control device for controlling a driving operation such as a speed and a position of a motor and a mechanical load driven by the motor, and more particularly to a motor control device having a function of suppressing mechanical resonance generated during driving or the like.
Background
Conventionally, a motor control device capable of suppressing vibration due to mechanical resonance is known (for example, see patent document 1).
Disclosure of Invention
Problems to be solved by the invention
However, in the conventional motor control device, the mechanical resonance frequency may overlap with the control bandwidth of the feedback control system, and oscillation may occur due to instability of the feedback control system.
The present invention has been made in view of the above-described problems, and an object thereof is to provide a motor control device and a motor control method that can prevent hunting due to an unstable feedback control system in advance, compared to the related art.
Means for solving the problems
A motor control device according to an aspect of the present invention is a motor control device capable of changing a control bandwidth of a feedback control system for feedback-controlling a state quantity of a motor or a load, the motor control device including: a notch filter having a changeable filter coefficient, which is disposed in the feedback control system; a notch control unit that changes a notch frequency of the notch filter, which is a center frequency, so as to remove a vibration component caused by mechanical resonance related to the motor; and a control coefficient setting unit that changes at least one of the control bandwidth and the filter coefficient of the notch filter in accordance with the control bandwidth and the notch frequency, thereby stabilizing the feedback control system.
A motor control method according to an aspect of the present invention is a method for feedback-controlling a state quantity of a motor or a load by a motor control device capable of changing a control bandwidth of a feedback control system, the method including: a notch control step of changing a notch frequency, which is a center frequency, of a notch filter that is disposed in the feedback control system and whose filter coefficient can be changed so as to remove a vibration component caused by mechanical resonance related to the motor; and a control coefficient setting step of changing at least one of the control bandwidth and a filter coefficient of the notch filter in accordance with the control bandwidth and the notch frequency so as to stabilize the feedback control system.
ADVANTAGEOUS EFFECTS OF INVENTION
According to the motor control device and the motor control method, it is possible to prevent hunting caused by an unstable feedback control system in advance as compared with the conventional one.
Drawings
Fig. 1 is a block diagram showing an example of the configuration of a motor control device according to embodiment 1.
Fig. 2 is a diagram showing an example of frequency characteristics of a notch filter.
Fig. 3 is a block diagram showing an example of the configuration of the notch control unit in embodiment 1.
Fig. 4 is a diagram showing an example of the configuration of the feedback control unit in embodiment 1.
Fig. 5 is a diagram showing an example of frequency characteristics of the motor speed with respect to the speed command in embodiment 1.
Fig. 6 is a block diagram showing an example of the configuration of a motor control device in embodiment 2.
Detailed Description
(original Commission to obtain one embodiment of the present invention)
Generally, a motor control device has a feedback control system configured therein for matching a motor operation with an operation command. A method is known in which a notch filter for attenuating a specific frequency component is provided in a feedback control system of a motor control device to prevent the occurrence of mechanical resonance vibration when there is mechanical resonance between a motor and a mechanical load. If the mechanical resonance frequency coincides with the notch frequency, which is the frequency attenuated by the notch filter, the mechanical resonance vibration component is attenuated by the notch filter, and the mechanical resonance vibration can be suppressed. However, when the mechanical resonance frequency changes due to long-term operation of the mechanical device, a shift occurs between the trap frequency and the mechanical resonance frequency, and it becomes impossible to suppress the mechanical resonance vibration. In order to suppress mechanical resonance vibration even when the mechanical resonance frequency changes greatly, it is necessary to always match the trap frequency with the mechanical resonance frequency.
Conventionally, as such a motor control device, there is a technique described in patent document 1. The technique is as follows: when mechanical resonance vibration occurs during operation of the motor, the mechanical resonance vibration component is extracted from the speed information of the motor, and the trap frequency is sequentially changed so that the amplitude of the extracted vibration component is reduced, thereby automatically adjusting the trap frequency to always coincide with the mechanical resonance frequency.
The inventors have found that the following problems occur in the conventional motor control device.
The notch filter used to suppress the mechanical resonance vibration has an effect of delaying the phase in a frequency band equal to or lower than the notch frequency. When the notch frequency overlaps with the control bandwidth of the feedback control system, the notch filter destabilizes the feedback control system, thereby causing oscillation. Therefore, in the case of using a notch filter, it is necessary to reduce the control bandwidth of the feedback control system with respect to the notch frequency so that the notch frequency does not overlap with the control bandwidth of the feedback control system. However, in the conventional motor control device, only consideration is given to making the notch frequency and the mechanical resonance frequency always coincide with each other, and therefore, when the mechanical resonance frequency falls to a degree that overlaps with the control bandwidth of the feedback control system due to deterioration of the mechanical components or the like caused by long-time operation of the mechanical equipment, the notch frequency also falls to a degree that overlaps with the control bandwidth of the feedback control system, and there is a possibility that an operation abnormality occurs with oscillation caused by instability of the feedback control system. When an abnormal operation occurs, the deteriorated mechanism member is replaced to repair the mechanical equipment, but unlike the opportunity of regular equipment maintenance, it takes time to prepare for replacement of the member, replacement work, and the like, and a large amount of time is required until the equipment is restarted. Therefore, in the mechanical equipment, it is desired to prevent operation abnormality such as oscillation in advance.
In view of the above problems, the present inventors have obtained a motor control device and a motor control method according to one embodiment of the present invention.
A motor control device according to an aspect of the present invention is a motor control device that can change a control bandwidth of a feedback control system and performs feedback control of a state quantity of a motor or a load, the motor control device including: a notch filter having a changeable filter coefficient, which is disposed in the feedback control system; a notch control unit that changes a notch frequency of the notch filter, which is a center frequency, so as to remove a vibration component caused by mechanical resonance related to the motor; and a control coefficient setting unit that changes at least one of the control bandwidth and the filter coefficient of the notch filter in accordance with the control bandwidth and the notch frequency, thereby stabilizing the feedback control system.
The motor control device changes at least one of a control bandwidth and a filter coefficient of a notch filter to stabilize a feedback control system.
Therefore, according to the motor control device, compared to the conventional device, it is possible to prevent the oscillation caused by the instability of the feedback control system.
For example, it is also possible to provide: the control coefficient setting unit may change at least one of the control bandwidth and the notch frequency only when the notch frequency is lower than a predetermined reference value, so as to stabilize the feedback control system.
In this way, by setting the predetermined reference value to a frequency value much higher than the control bandwidth of the feedback control system, it is possible to limit the change of at least one of the control bandwidth and the filter coefficient of the notch filter to a case where the frequency of the mechanical resonance is decreased to a degree that the frequency of the mechanical resonance is overlapped with the control bandwidth.
For example, it is also possible to provide: the notch control unit changes the notch frequency only within a predetermined notch frequency range.
This can prevent the notch frequency from becoming an undesirable frequency band.
For example, it is also possible to provide: the predetermined range of notch frequencies is determined such that the notch frequencies do not overlap with a control bandwidth of the feedback control system.
This can prevent oscillation caused by the instability of the feedback control system due to the change of the notch frequency.
For example, it is also possible to provide: a motor control device for feedback-controlling a state quantity of a motor or a load, the control bandwidth of which can be changed in a feedback control system, includes: a first notch filter and a second notch filter having changeable filter coefficients, the first notch filter and the second notch filter being arranged in series in the feedback control system; a first notch control unit that changes a first notch frequency, which is a center frequency of the first notch filter, so as to remove a vibration component caused by mechanical resonance related to the motor; a second notch control unit that changes a second notch frequency, which is a center frequency of the second notch filter, so as to remove a vibration component caused by mechanical resonance related to the motor; and a control coefficient setting unit that changes at least one of the control bandwidth, the filter coefficient of the first notch filter, and the filter coefficient of the second notch filter in accordance with the control bandwidth, the first notch frequency, and the second notch frequency, thereby stabilizing the feedback control system.
Thus, even when there are 2 mechanical resonance frequencies, it is possible to prevent oscillation due to the instability of the feedback control system.
A motor control method according to an aspect of the present invention is a method for feedback-controlling a state quantity of a motor or a load by a motor control device capable of changing a control bandwidth of a feedback control system, the motor control method including: a notch control step of changing a notch frequency, which is a center frequency, of a notch filter that is disposed in the feedback control system and whose filter coefficient can be changed so as to remove a vibration component caused by mechanical resonance related to the motor; and a control coefficient setting step of changing at least one of the control bandwidth and a filter coefficient of the notch filter in accordance with the control bandwidth and the notch frequency so as to stabilize the feedback control system.
In the motor control method, at least one of the control bandwidth and the filter coefficient of the notch filter is changed to stabilize the feedback control system.
Therefore, according to this motor control method, compared to the conventional method, it is possible to prevent hunting caused by an unstable feedback control system.
The general or specific aspects can be realized by a system, a method, an integrated circuit, a computer program, or a computer-readable recording medium such as a CD-ROM, and can be realized by any combination of a system, a method, an integrated circuit, a computer program, or a recording medium.
Embodiments of the present invention will be described below with reference to the drawings. The present invention is not limited to the embodiments described below. The embodiments described below all show a preferred specific example of the present invention. The numerical values, shapes, materials, constituent elements, arrangement positions and connection modes of the constituent elements, steps, order of the steps, and the like shown in the following embodiments are examples, and the present invention is not limited thereto. The invention is limited only by the claims. Therefore, among the components in the following embodiments, those not described in the independent claims representing the most generic concept of the present invention are not necessarily essential to achieving the object of the present invention, and are described as a more preferable configuration.
(embodiment mode 1)
Fig. 1 is a block diagram showing an example of the configuration of a motor control device according to a first embodiment. The motor control device 300 is a motor control device for feedback-controlling the state quantity of the
As shown in fig. 1, the motor control device 300 is connected to the
Motor control device 300 includes a
The
The
The
In this way, motor control device 300 internally configures a feedback control system so that speed command Vs matches motor speed Vm.
Further, motor control device 300 includes therein:
The control coefficient setting unit 305 changes the control bandwidth based on the control bandwidth and the notch frequency, thereby stabilizing the feedback control system. More specifically, the control coefficient setting unit 305 receives a notch frequency ω n controlled by the
Next, details of the
[ numerical formula 1]
In (equation 1), ω n1 is a notch frequency coefficient of the
As an example of characteristics of the
When the notch frequency ω n1 of the
FIG. 3 is a diagram showing an example of the configuration of the
The
Oscillation component Vb1 output from
Notch filter for
In the present embodiment, as the characteristic of
[ numerical formula 2]
Here, ω n2 is a notch frequency coefficient corresponding to the notch frequency of
Notch
Here, in
Notch
In this way, notch frequency ω n is controlled so as to coincide with the frequency of the vibration component included in vibration component Vb 1. The notch frequency ω n2 of the
As described above, when motor speed Vm includes a mechanical resonance vibration component,
Here, focusing on fig. 2 showing an example of the frequency characteristic of the
However, since the notch frequency of the
The control coefficient setting unit 305 receives a control coefficient signal Sn indicating the current control coefficient of the
To describe the method of changing the control parameter of the
Fig. 4 shows an example of the configuration of the
Control coefficient signal Sn and notch frequency ω n are input to control coefficient setting unit 305, and it is determined whether or not the feedback control system configured inside motor control device 300 is stable based on the input information. When it is determined that the feedback control system is unstable, a control coefficient setting signal Cn for changing the control coefficient of the
Next, a method of changing the control coefficient of the
Fig. 5 shows an example of the frequency characteristic of the motor speed with respect to the speed command in the case where
Generally, as an index indicating the control bandwidth of the feedback control system, a frequency value (corresponding to wc in fig. 5) is used, which is a value at which the gain characteristic of the output with respect to the frequency characteristic of the input is at least-3 dB ≈ 0.71, and this frequency value is referred to as the cutoff frequency of the feedback control system. The control coefficient setting unit 305 calculates the cutoff frequency of the feedback control system from the input control coefficient signal Sn, and determines whether or not the feedback control system is unstable from the calculated values of the cutoff frequency and the notch frequency.
The upper limit of the ratio of the cut-off frequency to the notch frequency of the feedback control system is set in advance in the control coefficient setting unit 305. The control coefficient setting unit 305 determines that the feedback control system is stable if the ratio of the cut-off frequency to the notch frequency of the feedback control system is equal to or less than a predetermined value. When the trap frequency is lowered to such an extent that it overlaps with the control bandwidth of the feedback control system due to the lowering of the mechanical resonance frequency and the ratio of the cut-off frequency to the trap frequency of the feedback control system exceeds the upper limit value, it is determined that the feedback control system is unstable, and a control coefficient is calculated such that the ratio of the cut-off frequency to the trap frequency of the feedback control system is equal to or less than the preset upper limit value. The control coefficient setting unit 305 outputs a control coefficient setting signal Cn indicating that the control coefficient of the
In this way, even when the notch frequency falls to a level that overlaps the control bandwidth of the feedback control system, the control coefficient of the
As described above, when the mechanical resonance frequency is reduced to such an extent that it overlaps the control bandwidth of the feedback control system, the motor control device 300 of the present embodiment can prevent oscillation due to instability of the feedback control system in advance by reducing the control bandwidth of the feedback control system.
In the present embodiment, the configuration in which the control coefficient setting unit 305 changes the control bandwidth based on the control bandwidth and the notch frequency to stabilize the feedback control system has been described, but the configuration in which the control coefficient setting unit 305 changes at least one of the control bandwidth and the filter coefficient of the
In the present embodiment, the configuration in which the
In the present embodiment, the notch frequency of
In the present embodiment, the presence or absence of vibration is determined based on the output of the
In the present embodiment, the
By adopting such a configuration, the motor control device 300 controls the operation of the motor so that the speed command Vs coincides with the speed of the mechanical load, and therefore the difference between the speed command and the speed of the mechanical load is smaller.
(embodiment mode 2)
Fig. 6 is a diagram showing an example of the configuration of a motor control device according to embodiment 2. In fig. 6, the same functions and operations as those in fig. 1 showing the configuration of embodiment 1 described above are omitted. In
In
The first notch filter 502a and the second notch filter 502b are the same as the
The notch frequency ω n1a and the notch frequency ω n1b are set to different values so as to correspond to any of the 2 mechanical resonance frequencies. In order to change the notch frequency of each notch filter, a first notch controller 504a corresponding to the first notch filter 502a and a second notch controller 504b corresponding to the second notch filter 502b are provided.
The first notch controlling unit 504a and the second notch controlling unit 504b are the same as the
In order to allow the 2 notch filters to detect the change of the different mechanical resonance frequencies, for example, the pass bandwidths of the oscillation extracting filters existing inside the notch control units may be set to bandwidths that are centered around the 2 different mechanical resonance frequencies and do not overlap with each other. Thus, each of the 2 notch control units can be controlled so that the frequency of the oscillation generated by the change in the corresponding mechanical resonance frequency matches the notch frequency of the corresponding notch filter without being affected by the change in the other mechanical resonance frequency.
Control
Next, a method of changing the control coefficient of the
As described above, when the smaller notch frequency of the 2 notch filters is reduced to a level that overlaps the control bandwidth of the feedback control system, the control coefficient of the
By configuring to change the control coefficient of the
As described above, in the
In the present embodiment, the configuration is provided with 2 notch filters and notch control units, but there may be 3 or more. In this case, each notch filter and notch control unit may perform the same operation as in the present embodiment. With this configuration, even when there are 3 or more mechanical resonances, when at least one mechanical resonance frequency falls to a degree that overlaps with the control bandwidth of the feedback control system with respect to a change in each mechanical resonance frequency, it is possible to prevent oscillation due to instability of the feedback control system by reducing the control bandwidth of the feedback control system.
In embodiment 1 and embodiment 2, the motor control device has a feedback control unit that performs feedback control so that the motor speed follows the speed command, and may be configured as follows: the motor control device further includes a feedforward control unit that calculates a torque command for matching the motor speed with the speed command based on the speed command, in addition to the feedback control unit.
In embodiment 1 and embodiment 2, the motor control device is configured to control the motor speed, and may be configured to control the motor position.
Industrial applicability
The present invention can be widely applied to a control device for a motor that drives a machine device in which a mechanical resonance frequency changes.
Description of the reference numerals
100: an electric motor; 200: a speed detector; 300. 500: a motor control device; 301: a feedback control unit; 302: a notch filter; 303: a torque control unit; 304: a trap control unit; 305. 505: a control coefficient setting unit; 502 a: a first notch filter; 502 b: a second notch filter; 504 a: a first notch control unit; 504 b: a second notch control unit; 3011: a subtractor; 3012: a proportional controller; 3013: an integrator; 3014: an integral controller; 3015: an adder; 3016: a control coefficient update unit; 3041: a vibration extraction filter; 3042: a notch filter for detection; 3043: a notch frequency changing unit.