Motor control device
The motor control device addresses the challenge of resonance suppression by using measurement commands to determine optimal filter widths, ensuring accurate and stable motor control by dynamically adjusting the filter settings based on resonance frequencies, effectively reducing output peaks and maintaining flat output characteristics.
Patent Information
- Application Number
- PCT/JP2023/015128
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-14
- Publication Date
- 2024-10-17
AI Technical Summary
Existing motor control systems struggle to effectively suppress resonance peaks and maintain smooth frequency response characteristics due to changes in operating conditions, which affect the accuracy of motor control.
A motor control device that includes a torque command creation unit, a filter unit, an operation command creation unit, a measurement command creation unit, and a filter setting unit, which uses measurement commands with varying waveforms and amplitudes to determine the optimal filter width based on resonance frequencies, ensuring accurate suppression of resonance peaks and maintaining flat output characteristics.
The device effectively reduces output peaks caused by resonance, achieving more accurate and stable motor control by dynamically adjusting the filter width in response to changes in resonance frequencies, thereby optimizing motor performance.
Smart Images

Figure JP2023015128_17102024_PF_FP_ABST
Abstract
Description
Motor control device
[0001] The present invention relates to a motor control device.
[0002] In a motor control device, a technique is known in which a filter is provided to reduce the gain near the resonant frequency of the control loop, thereby suppressing the resonance peak and smoothing the frequency response characteristics.It has also been proposed to measure the frequency response characteristics of the control loop and adjust the filter width according to the frequency response characteristics (see, for example, Patent Document 1).
[0003] Japanese Patent Application Laid-Open No. 2007-306753
[0004] In an ideal model, the frequency response characteristics of the control loop are constant, but in a real motor drive system, the frequency response characteristics can change depending on the operating conditions. Therefore, a technology that can more appropriately suppress the resonance peak in a motor drive system is desired.
[0005] A motor control device according to one aspect of the present disclosure includes a torque command creation unit that receives a speed command specifying a motor speed and creates a torque command specifying a drive torque of the motor in accordance with the speed command; a filter unit that reduces the value of a set frequency range of the speed command or the torque command; an operation command creation unit that creates an operation command that is the speed command for operating the motor; a measurement command creation unit that creates a plurality of measurement commands that are the speed commands or the torque commands having predetermined waveforms in order to adjust the set value of the filter unit; a response characteristic calculation unit that calculates the frequency response characteristic of a signal downstream of the torque command creation unit with respect to the measurement command; and a filter setting unit that determines the frequency width of the set frequency range of the filter unit using the resonance frequencies corresponding to the frequency response characteristics with respect to at least two of the measurement commands.
[0006] 1 is a block diagram illustrating a configuration of a motor control device according to an embodiment of the present disclosure; FIG. 2 is a graph illustrating a change in frequency response characteristics due to differences in measurement command sweep directions in the motor control device of FIG. 1; and FIG. 3 is a flowchart illustrating a procedure for determining setting values of a filter unit in the motor control device of FIG.
[0007] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present disclosure will now be described with reference to the accompanying drawings. Fig. 1 is a block diagram showing the configuration of a motor control device 1 according to an embodiment of the present disclosure.
[0008] Motor control device 1 controls motor 3 via amplifier 2. That is, motor control device 1 inputs a torque command specifying the torque required to operate motor 3 at a target speed at that time to amplifier 2. Motor control device 1 is configured to perform feedback control to optimize the torque command by checking the value detected by speed detector 31, which detects the speed of motor 3.
[0009] The motor control device 1 includes an operation command creation unit 11, a torque command creation unit 12, a filter unit 13, a measurement command creation unit 14, a response characteristic calculation unit 15, a measurement condition determination unit 16, and a filter setting unit 17. The motor control device 1 can be realized by causing one or more computers having a memory, a processor, an input / output interface, etc. to execute an appropriate control program. The components of the motor control device 1 are classifications of the functions of the motor control device 1, and do not necessarily have to be clearly distinguishable in terms of physical configuration and program configuration.
[0010] The driving command creation unit 11 creates a driving command, which is a speed command that specifies the speed of the motor 3, in order to operate the motor 3. The driving command creation unit 11 reads data that specifies the operation required of the motor 3, that is, the waveform of changes in the speed of the motor 3, such as an operation program written in a language such as G-code, and continuously outputs values that indicate the rotational speed of the motor 3 when the motor 3 is operated in accordance with the operation program. For example, the driving command creation unit 11 may be configured to generate a position command that specifies the rotational position of the motor 3, and create a driving command from the position command.
[0011] In response to the input speed command, the torque command generator 12 generates a torque command that specifies the drive torque of the motor 3. In other words, the torque command generator 12 calculates the magnitude of the drive torque required of the motor 3 to actually rotate at the speed specified by the speed command.
[0012] The filter unit 13 receives the torque command from the torque command generation unit 12 and reduces the value of the set frequency range of the input torque command. As a specific example, the filter unit 13 may be configured to perform a Fourier transform on the input torque command, multiply the value of the set frequency range by a relatively small gain, and then perform an inverse Fourier transform to generate a speed command with a reduced set frequency value.
[0013] The measurement command generator 14 generates a plurality of measurement commands having predetermined waveforms in order to adjust the setting values of the filter unit 13. In this embodiment, the measurement commands generated by the measurement command generator 14 are speed commands input to the torque command generator 12, but may also be torque commands input to the amplifier 2. The measurement commands generated by the measurement command generator 14 preferably have a waveform whose value changes periodically and is swept to change the frequency, so that the response characteristic calculator 15 can easily calculate the frequency response characteristics. The measurement commands may be, for example, triangular waves, rectangular waves, sawtooth waves, etc., but are preferably sinusoidal waves to reduce the calculation load on the response characteristic calculator 15. The measurement commands may also change in, for example, a ramp shape, impulse shape, M-sequence signal shape, etc.
[0014] The measurement command generating unit 14 of this embodiment includes a sweep direction inverting unit 141 that inverts the sweep direction of the measurement command and an amplitude changing unit 142 that changes the amplitude of the measurement command. This allows the measurement command generating unit 14 to generate three or more measurement commands. The measurement command generating unit 14 may be configured to generate different measurement commands in a predetermined order, or may be configured to change the mode of the measurement command in response to the determination result of the measurement condition determining unit 16. The mode of change of the measurement command in the measurement command generating unit 14 may be a combination of the selection of the sweep direction by the sweep direction inverting unit 141 and the change of the amplitude by the amplitude changing unit 142, in any order.
[0015] The sweep direction inversion unit 141 sets whether the frequency of the measurement command is swept in a decreasing direction, where the frequency gradually decreases from a high frequency, or in an increasing direction, where the frequency gradually increases from a low frequency. When the measurement command is swept in a decreasing direction and when it is swept in an increasing direction, there is a possibility that the calculated resonance frequency will differ, as shown in the example of Fig. 2. In general, the resonance frequency when the frequency is swept in a decreasing direction can be smaller than the resonance frequency when the frequency is swept in an increasing direction.
[0016] The amplitude change unit 142 sets the amplitude of the measurement command. Changing the amplitude of the measurement command may also change the profile of the frequency response characteristics and shift the resonant frequency. For example, the amplitude change unit 142 may be configured to select one amplitude from a plurality of predetermined amplitudes, to change the amplitude by multiplying the current amplitude by a predetermined ratio, or to change the amplitude by adding a predetermined deviation to the current amplitude.
[0017] The response characteristic calculation unit 15 calculates the frequency response characteristic of a signal downstream of the torque command generation unit 12 in response to a measurement command. Note that the term "signal downstream of the torque command generation unit 12" refers to a signal output from the torque command generation unit 12 and components downstream of the torque command generation unit 12, and is not determined by the signal input (feedback) position. Even if there is a component (e.g., an amplifier, filter, etc.) that processes the signal before feedback, the fed-back signal is considered a "signal downstream of the torque command generation unit 12" based on the signal flow up to the output position of the signal. In the illustrated embodiment, the response characteristic calculation unit 15 calculates the frequency response characteristic of the motor 3 in response to the measurement command based on the feedback value from the motor 3 in response to the measurement command, i.e., the detection value of the speed detector 31. The frequency response characteristic may be the gain of the target signal in response to the measurement command, or the phase difference of the motor 3's speed in response to the measurement command, or may include both the gain and the phase difference. Using the frequency response characteristics of both the gain and the phase difference allows for more appropriate setting of the frequency width (filter width) of the set frequency range for reducing the speed command of the filter unit 13.
[0018] The measurement condition determination unit 16 determines whether it is necessary to calculate a frequency response characteristic using a different measurement command based on frequency response characteristics already measured in response to multiple measurement commands. The measurement condition determination unit 16 may be configured to cause the measurement command creation unit 14 to create a measurement command with different conditions if the relationship between the newly measured frequency response characteristic and the previously measured frequency response characteristic does not satisfy a predetermined determination condition. For example, the measurement condition determination unit 16 may be configured to cause the amplitude change unit 142 to gradually increase or decrease the amplitude of the measurement command until the frequency response characteristic satisfies the predetermined determination condition. The measurement condition determination unit 16 may also be configured to allow a user to set a determination condition, such as a threshold value.
[0019] Specifically, if the resonant frequency does not move from the frequency response characteristic of the measurement command of the previous amplitude even when the amplitude of the measurement command is increased or decreased, i.e., if the difference in the resonant frequency is equal to or less than a set threshold, the measurement condition determination unit 16 may be configured to request the filter setting unit 17 to determine the setting value of the filter unit 13 without measuring a new frequency response characteristic. The measurement condition determination unit 16 may determine whether or not a new frequency response characteristic measurement is necessary based on, for example, the gain of the frequency response or the input / output ratio of the time response. Furthermore, if it is clear that the partial frequency response characteristic obtained before the measurement command generation unit 14 completes the sweep of the measurement command does not satisfy the determination condition, the measurement condition determination unit 16 may request the measurement command generation unit 14 to interrupt the sweep of the measurement command and start outputting a measurement command of a different condition.
[0020] The filter setting unit 17 uses the resonance frequencies corresponding to the frequency response characteristics for at least two measurement commands to determine the frequency width of the set frequency range of the filter unit 13. When the measurement condition determination unit 16 measures the frequency response characteristics for three or more measurement commands, it is preferable to determine the frequency width based on the maximum and minimum values of the resonance frequencies corresponding to those measurement commands. In other words, the filter setting unit 17 can be configured to calculate the filter width by taking into account the maximum and minimum frequencies of the same resonance point that have shifted due to changes in the measurement commands.
[0021] The filter setting unit 17 is configured to store necessary information when the response characteristic calculation unit 15 calculates the frequency response characteristic. When frequency response characteristics are calculated for three or more measurement commands, the filter setting unit 17 may be configured to sequentially delete information not used in calculating the setting value of the filter unit 13, that is, to overwrite old information with new information and store the information. For example, the filter setting unit 17 may be configured to store only the minimum and maximum values of the resonance frequency, and to overwrite the minimum value if the resonance frequency of a newly acquired frequency response characteristic is smaller than the stored minimum value, and to overwrite the maximum value if the resonance frequency of a newly acquired frequency response characteristic is larger than the stored maximum value.
[0022] As a specific example, let f1 be the minimum resonant frequency, x1 be the filter width set by a known method from the profile of the frequency response characteristics having that resonant frequency, f2 be the maximum resonant frequency, and x2 be the filter width based on the profile of the frequency response characteristics. The center frequency of the filter is set between f1 and f2, and the filter width is a frequency width that encompasses the range of f1±x1 and the range of f2±x2. Specifically, when f1 is the center frequency of the filter, the filter width W can be the larger of 2*(f2-f1+x2 / 2) and x1. Furthermore, when the average frequency of f1+f2 [(f1+f2) / 2] is the center frequency of the filter, if x2>x1, the filter width W=2*((f2-f1) / 2+x2 / 2), and if x1>x2, the filter width W=2*((f2-f1) / 2+x1 / 2).
[0023] 2 is a flowchart showing a procedure for determining the setting value of the filter unit 13 in the motor control device 1. Determining the setting value of the filter unit 13 includes a step of initially setting a measurement command (step S1), a step of measuring a frequency response characteristic (step S2), a step of checking whether a judgment condition is met (step S3), a step of changing the setting of the measurement command (step S4), and a step of calculating the setting value (step S5). In this procedure, the amplitude and other parameters of the measurement command are changed in step S4, and the frequency response characteristic for the measurement command is measured in step S2, repeatedly, until the judgment condition is met in step S3. If the judgment condition is met in step S3, the filter width and other parameters are set in step S5 based on the frequency response characteristic obtained so far.
[0024] As described above, the motor control device 1 includes the measurement command generator 14 that generates multiple measurement commands and the filter setting unit 17 that determines the filter width of the filter unit 13 by taking into account the corresponding resonance frequencies in the multiple measurement commands, so that it can effectively reduce output peaks due to resonance even if the resonance frequency shifts due to input. In other words, the motor control device 1 can make the profile of the output characteristics of the motor 3 relatively flat, thereby achieving more accurate control of the motor 3.
[0025] The following supplementary note is further disclosed regarding the above embodiment and modified examples. (Supplementary Note 1) A motor control device (1) includes a torque command creation unit (12) that receives a speed command specifying the speed of a motor (3) and creates a torque command specifying the drive torque of the motor (3) in accordance with the speed command, a filter unit (13) that reduces the value of a set frequency range of the speed command or the torque command, an operation command creation unit (11) that creates operation commands that are speed commands for operating the motor (3), a measurement command creation unit (14) that creates a plurality of measurement commands that are speed commands or torque commands having predetermined waveforms in order to adjust the set value of the filter unit (13), a response characteristic calculation unit (15) that calculates a frequency response characteristic of a signal downstream of the torque command creation unit (12) with respect to the measurement command, and a filter setting unit (17) that determines a frequency width of a set frequency range of the filter unit (13) using a resonance frequency corresponding to the frequency response characteristic with respect to at least two measurement commands.
[0026] (Supplementary Note 2) In the motor control device (1) of Supplementary Note 1, the measurement command is swept so that its value changes periodically and its frequency changes, and the measurement command creation unit (14) may have a sweep direction reversal unit (141) that reverses the sweep direction of the measurement command.
[0027] (Supplementary Note 3) In the motor control device (1) of Supplementary Notes 1 and 2, the measurement command generation unit (14) may have an amplitude change unit (142) that changes the amplitude of the measurement command.
[0028] (Supplementary Note 4) In the motor control device (1) of Supplementary Notes 1 to 3, the filter setting unit (17) may determine the frequency width based on the maximum and minimum values of the resonance frequencies corresponding to the plurality of measurement commands.
[0029] (Supplementary Note 5) The motor control device (1) of Supplementary Notes 1 to 4 may further include a measurement condition determination unit (16) that determines whether it is necessary to calculate a frequency response characteristic based on a different measurement command from the frequency response characteristics based on a plurality of measurement commands.
[0030] Although the present disclosure has been described in detail above, the present disclosure is not limited to the individual embodiments described above. Various additions, substitutions, modifications, partial deletions, etc. are possible in these embodiments without departing from the gist of the present disclosure or the spirit of the present disclosure derived from the content of the claims and their equivalents. These embodiments can also be implemented in combination. For example, in the above-described embodiments, the order of each operation and the order of each process are shown as examples and are not limited to these. The same applies when numerical values or mathematical expressions are used in the description of the above-described embodiments.
[0031] For example, in the motor control device according to the present disclosure, the measurement command generator may be configured to output only two types of measurement commands, differing only in the sweep direction. In this case, the measurement condition determination unit is unnecessary, and the filter setting unit may be configured to determine the filter width immediately after calculating the frequency response characteristics of the two types of measurement commands using their resonance frequencies. Furthermore, in the motor control device according to the present disclosure, the measurement command generator may only include an amplitude changer. Furthermore, while the torque command is filtered in the above-described embodiment, a speed command may also be filtered. Furthermore, while a speed signal is fed back from the motor in the above-described embodiment, a position signal, a torque signal, or the like may also be fed back. Furthermore, the position at which the feedback signal is input may vary depending on the signal being fed back.
[0032] REFERENCE SIGNS LIST 1 Motor control device 11 Operation command generation unit 12 Torque command generation unit 13 Filter unit 14 Measurement command generation unit 141 Sweep direction reversal unit 142 Amplitude change unit 15 Response characteristic calculation unit 16 Measurement condition determination unit 17 Filter setting unit 2 Amplifier 3 Motor 31 Speed detector
Claims
1. A motor control device comprising: a torque command creation unit that receives an input of a speed command specifying the speed of a motor and creates a torque command that specifies the driving torque of the motor in accordance with the speed command; a filter unit that reduces a value of a set frequency range of the speed command or the torque command; an operation command creation unit that creates an operation command, which is the speed command for operating the motor; a measurement command creation unit that creates a plurality of measurement commands, which are the speed commands or the torque commands having predetermined waveforms, in order to adjust the setting value of the filter unit; a response characteristic calculation unit that calculates the frequency response characteristic of the signal downstream of the torque command creation unit with respect to the measurement command; and a filter setting unit that determines the frequency width of the set frequency range of the filter unit using the corresponding resonant frequencies of the frequency response characteristics with respect to at least two of the measurement commands.
2. A motor control device as described in claim 1, wherein the measurement command is swept so that its value changes periodically and its frequency changes, and the measurement command creation unit has a sweep direction reversal unit that reverses the sweep direction of the measurement command.
3. The motor control device according to claim 1 or 2, wherein the measurement command generating section has an amplitude changing section that changes the amplitude of the measurement command.
4. A motor control device according to any one of claims 1 to 3, wherein the filter setting section determines a frequency width based on a maximum value and a minimum value among the resonance frequencies corresponding to the plurality of measurement commands.
5. The motor control device according to claim 4, further comprising a measurement condition determination unit that determines whether or not it is necessary to calculate the frequency response characteristic based on a different measurement command from the frequency response characteristics based on a plurality of the measurement commands.
Citation Information
Patent Citations
Frequency characteristic identification method and drive control method
JP2003316402A
Method and apparatus for measuring frequency characteristic
JP2007192731A
Method for adjusting parameters for notch filter, program, and motor controller
JP2007306753A
Servo control device having function for displaying online automatic adjustment situation of control system
JP2017022855A
