Frequency characteristic measurement method and frequency characteristic measurement device
The frequency characteristic measurement method and device address the challenges of precision and component safety by calculating excitation signal amplitudes based on servo system characteristics, enabling accurate measurements in systems with large inertia or resonance.
Patent Information
- Application Number
- PCT/JP2024/015610
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-26
- Filing Date
- 2024-04-19
- Publication Date
- 2024-10-31
AI Technical Summary
Conventional methods for measuring frequency characteristics of servo systems face challenges in achieving high precision due to issues with signal strength and potential damage to system components, particularly in systems with large inertia, friction, resonance, or anti-resonance.
A frequency characteristic measurement method and device that automatically calculates the amplitude of the excitation signal based on the system's inertia and friction characteristics, using signals with specific frequency components to measure frequency characteristics in narrower ranges, ensuring accurate measurements while minimizing the risk of component damage.
This approach allows for highly accurate frequency characteristic measurements in servo systems with large inertia or friction, and those that include resonance or anti-resonance, by optimizing signal strength and reducing the risk of component damage.
Smart Images

Figure JP2024015610_31102024_PF_FP_ABST
Abstract
Description
Frequency characteristic measuring method and frequency characteristic measuring device
[0001] The present disclosure relates to a frequency characteristic measuring method for measuring the frequency characteristic of a servo system.
[0002] Conventionally, a technique for measuring the frequency characteristics of a servo system is known (see, for example, Japanese Patent Application Laid-Open No. 2003-122998).
[0003] Japanese Patent Application Laid-Open No. 2019-91141
[0004] It is desirable to measure the frequency characteristics of a servo system with high accuracy.
[0005] Therefore, an object of the present disclosure is to provide a frequency characteristic measuring method and the like that can obtain highly accurate frequency characteristics of a servo system.
[0006] A frequency characteristic measurement method according to one aspect of the present disclosure is a frequency characteristic measurement method for measuring the frequency characteristic of a servo system, the method including a first output step of outputting a first excitation signal in a first frequency range to the servo system, a first frequency characteristic calculation step of calculating a first frequency characteristic of the servo system in the first frequency range based on a first identification input signal that is input to the servo system to obtain the frequency characteristic of the servo system and a first identification output signal that is output from the servo system to obtain the frequency characteristic of the servo system, the first identification input signal being a signal acquired at a first sampling period from the servo system to which the first excitation signal is input, and The method includes a second output step of outputting to the servo system a second excitation signal generated based on the first frequency characteristic in a second frequency range that is a part of a wave number range; and a second frequency characteristic calculation step of calculating a second frequency characteristic of the servo system in the second frequency range based on a second identification input signal that is input to the servo system to obtain the frequency characteristic of the servo system and a second identification output signal that is output from the servo system to obtain the frequency characteristic of the servo system, the second excitation signal being acquired at a second sampling period that is equal to or greater than the first sampling period from the servo system to which the second excitation signal is input.
[0007] A frequency characteristic measurement device according to one aspect of the present disclosure is a frequency characteristic measurement device for measuring the frequency characteristic of a servo system, comprising: a first output unit that outputs a first excitation signal in a first frequency range to the servo system; a frequency characteristic calculation unit that calculates a first frequency characteristic of the servo system in the first frequency range based on a first identification input signal that is input to the servo system to obtain the frequency characteristic of the servo system and a first identification output signal that is output from the servo system to obtain the frequency characteristic of the servo system, the first identification input signal being a signal acquired at a first sampling period from the servo system to which the first excitation signal is input, and and a second output unit that outputs to the servo system a second excitation signal generated based on the first frequency characteristic in a second frequency range that is a part of a frequency range of the first frequency range, wherein the frequency characteristic calculation unit further calculates a second frequency characteristic of the servo system in the second frequency range based on a second identification input signal that is input to the servo system in order to obtain the frequency characteristic of the servo system and a second identification output signal that is output from the servo system in order to obtain the frequency characteristic of the servo system, the second excitation signal being acquired at a second sampling period that is equal to or greater than the first sampling period from the servo system to which the second excitation signal is input.
[0008] According to the frequency characteristic measuring method and the like according to one aspect of the present disclosure, it is possible to obtain highly accurate frequency characteristics of a servo system.
[0009] FIG. 1 is a block diagram showing the configuration of a frequency characteristic measurement system according to a first embodiment. FIG. 2A is a waveform diagram showing an example of a white noise signal. FIG. 2B is a waveform diagram showing an example of a multi-sine wave signal. FIG. 2C is a waveform diagram showing an example of a sine wave sweep signal. FIG. 2D is a waveform diagram showing an example of a step signal. FIG. 2E is a waveform diagram showing an example of a ramp signal. FIG. 3 is a Bode plot showing an example of a first frequency characteristic calculated by a frequency characteristic calculation unit according to the first embodiment. FIG. 4 is a Bode plot showing an example of a frequency characteristic calculated by a frequency characteristic calculation unit according to the first embodiment. FIG. 5 is an example of a Bode plot in which the first frequency characteristic calculated by the frequency characteristic calculation unit according to the first embodiment and the frequency characteristic of a servo system approximated as a rigid body are superimposed. FIG. 6 is a Bode plot showing an example of a second frequency characteristic calculated by the frequency characteristic calculation unit according to the first embodiment. FIG. 7 is a flowchart of a first frequency characteristic measurement process according to the first embodiment. FIG. 8 is a diagram for explaining why the second frequency characteristic has higher accuracy than the first frequency characteristic when the second frequency range is narrower than the first frequency range. FIG. 9 is a block diagram showing the configuration of a frequency characteristic measurement system according to a second embodiment. FIG. 10 is a Bode plot showing an example of a third frequency characteristic calculated by the frequency characteristic calculation unit according to the second embodiment. FIG. 11 is a Bode plot showing an example of a fourth frequency characteristic calculated by the frequency synthesis unit according to the second embodiment. FIG. 12 is a flowchart of a second frequency characteristic measurement process according to the second embodiment. FIG. 13 is an example of a Bode plot in which the first frequency characteristic calculated by the frequency characteristic calculation unit according to the second embodiment and the frequency characteristic of a servo system approximated to a rigid body are superimposed. FIG. 14 is a block diagram showing the configuration of a frequency characteristic measurement system according to a first modification. FIG. 15 is a block diagram showing the configuration of a frequency characteristic measurement system according to a second modification. FIG. 16 is a block diagram showing the configuration of a frequency characteristic measurement system according to a third modification.
[0010] (How one aspect of the present disclosure was achieved) When measuring the frequency characteristics of a servo system by inputting a vibration signal containing frequency components in the frequency band whose frequency characteristics are to be measured into the servo system, it is necessary to set conditions such as the sampling period, frequency resolution, and frequency range in advance.
[0011] If these conditions are not set appropriately, it may not be possible to measure the resonant frequency and / or anti-resonant frequency correctly, or it may not be possible to grasp the frequency characteristics in these frequency bands with fine resolution.
[0012] Furthermore, when measuring frequency characteristics, it is necessary to set the amplitude of the excitation signal in advance.
[0013] In a servo system with a relatively large inertia or a relatively large friction, if the amplitude of the excitation signal is relatively small, the signal strength of the excitation signal may be insufficient, making it impossible to measure the frequency characteristics accurately.
[0014] Furthermore, in a servo system that includes anti-resonance, the excitation signal may be attenuated in the anti-resonance frequency band where the gain is relatively low, resulting in insufficient signal strength of the excitation signal, making it impossible to measure the frequency characteristics accurately.
[0015] Conversely, in a servo system that includes resonance, if the amplitude of the excitation signal is made relatively large in an attempt to accurately measure the frequency characteristics, the excitation signal may be amplified in the resonance frequency band where the gain is relatively high, which may damage the devices that make up the servo system.
[0016] In particular, when measuring the frequency characteristics of a wide frequency range at once using an excitation signal that has all frequency components, such as a pseudo-random signal, or an excitation signal that allows you to specify the frequency range to be measured, such as a sinusoidal sweep signal, the signal strength of the frequency components in the resonant frequency band is greater when limiting the frequency range to be measured and measuring the frequency characteristics of a specific frequency range using an excitation signal that has only frequency components in that specific frequency range, which increases the possibility of damaging the devices that make up the servo system.
[0017] In this way, in order to obtain highly accurate frequency characteristics, it is necessary to set the amplitude of the excitation signal relatively large and measure the frequency characteristics. However, on the other hand, setting the amplitude of the excitation signal relatively large increases the risk of damaging the devices that make up the servo system.
[0018] Therefore, to obtain highly accurate frequency characteristics, it is necessary to make the amplitude of the excitation signal as large as possible without damaging the devices that make up the servo system. However, it is not easy to set such an amplitude.
[0019] For this reason, the inventors have conducted extensive research and experiments to find a frequency characteristic measurement method that can obtain highly accurate frequency characteristics of a servo system, even if the servo system to be measured for frequency characteristics has relatively large inertia or relatively large friction, or includes resonance or anti-resonance.
[0020] As a result, the inventors have discovered the following: First, the amplitude of the excitation signal is automatically calculated based on the total inertia or friction characteristics of the servo system, and an excitation signal including frequency components in the entire frequency band to be measured for frequency characteristics is input to measure the frequency characteristics of the servo system, thereby grasping the overall picture of the frequency characteristics of the servo system. Next, based on the grasped overall picture of the frequency characteristics of the servo system, a new excitation signal including more frequency components in a portion of the entire measured frequency band is input at a sampling period equal to or longer than that of the initial measurement, and the frequency characteristics of the servo system are measured. By doing this, the inventors have discovered that even if the servo system to be measured for frequency characteristics has a relatively large inertia or a relatively large friction, or includes resonance or anti-resonance, it is possible to obtain a highly accurate frequency characteristic of the servo system based on the frequency characteristics measured first and second.
[0021] Based on this finding, the inventors further conducted research and experiments, and came up with the frequency characteristic measuring device according to the present disclosure described below.
[0022] A frequency characteristic measurement method according to one aspect of the present disclosure is a frequency characteristic measurement method for measuring the frequency characteristic of a servo system, the method including a first output step of outputting a first excitation signal in a first frequency range to the servo system, a first frequency characteristic calculation step of calculating a first frequency characteristic of the servo system in the first frequency range based on a first identification input signal that is input to the servo system to obtain the frequency characteristic of the servo system and a first identification output signal that is output from the servo system to obtain the frequency characteristic of the servo system, the first identification input signal being a signal acquired at a first sampling period from the servo system to which the first excitation signal is input, and The method includes a second output step of outputting to the servo system a second excitation signal generated based on the first frequency characteristic in a second frequency range that is a part of a wave number range; and a second frequency characteristic calculation step of calculating a second frequency characteristic of the servo system in the second frequency range based on a second identification input signal that is input to the servo system to obtain the frequency characteristic of the servo system and a second identification output signal that is output from the servo system to obtain the frequency characteristic of the servo system, the second excitation signal being acquired at a second sampling period that is equal to or greater than the first sampling period from the servo system to which the second excitation signal is input.
[0023] According to the above frequency characteristic measuring method, the second frequency range of the second excitation signal is narrower than the first frequency range of the first excitation signal, and therefore, when the first excitation signal and the second excitation signal provide the same amount of energy to the servo system, the signal strength of the second excitation signal is stronger than the signal strength of the first excitation signal in the second frequency range.
[0024] Therefore, according to the above frequency characteristic measuring method, it is possible to obtain a second frequency characteristic in the second frequency range that is more accurate than the first frequency characteristic.
[0025] Furthermore, according to the above frequency characteristic measuring method, the second sampling period is equal to or longer than the first sampling period.
[0026] Generally, the frequency resolution of a frequency characteristic is calculated by dividing the sampling frequency, which is the reciprocal of the sampling period, by the number of measurement data points. Therefore, if the number of measurement data points is the same when calculating the first frequency characteristic and the second frequency characteristic, the frequency resolution of the second frequency characteristic will be finer than the frequency resolution of the first frequency characteristic.
[0027] Therefore, according to the above frequency characteristic measuring method, it is possible to obtain a second frequency characteristic in the second frequency range that is more accurate than the first frequency characteristic.
[0028] In this way, according to the above frequency characteristic measuring method, it is possible to obtain highly accurate frequency characteristics of a servo system.
[0029] The second sampling period may be greater than the first sampling period.
[0030] The first excitation signal may be any one of a pseudo-random signal, a multi-sine wave signal, a sine wave sweep signal, a step signal, and a ramp signal.
[0031] The second excitation signal may be either a multi-sine wave signal or a sine wave sweep signal.
[0032] By making the second excitation signal a signal whose frequency range can be specified, the second frequency range can be reliably made narrower than the first frequency range. As a result, when the first excitation signal and the second excitation signal impart the same amount of energy to the servo system, the signal strength of the second excitation signal can be reliably made stronger than the signal strength of the first excitation signal in the second frequency range.
[0033] Furthermore, the method may further include a first measurement condition calculation step of calculating the amplitude of the first vibration signal based on at least one of the total inertia and friction characteristics of the servo system, and in the first output step, the first vibration signal having the amplitude of the first vibration signal calculated in the first measurement condition calculation step may be output to the servo system.
[0034] This makes it possible to output to the servo system a first vibration signal with a more appropriate amplitude according to at least one of the total inertia and the friction characteristics of the servo system.
[0035] Therefore, according to the above-mentioned frequency characteristic measurement method, it is possible to suppress a decrease in the accuracy of the frequency characteristics due to insufficient signal strength of the first vibration signal in the first frequency range, and / or to suppress the risk of damage to devices that constitute the servo system due to excessive signal strength of the first vibration signal.
[0036] Furthermore, the method may further include a second measurement condition calculation step of calculating the amplitude of the second vibration signal based on the first frequency characteristic, and in the second output step, the second vibration signal having the amplitude of the second vibration signal calculated in the second measurement condition calculation step may be output to the servo system.
[0037] This makes it possible to output the second vibration signal having a more appropriate amplitude according to the first frequency characteristic to the servo system.
[0038] Therefore, according to the above frequency characteristic measuring method, it is possible to obtain a more accurate second frequency characteristic in the second frequency range while suppressing the risk of damage to devices that constitute the servo system.
[0039] Furthermore, the method may further include a third output step of outputting to the servo system a third excitation signal generated based on the first frequency characteristic in a third frequency range that is a part of the first frequency range and is a range including a first frequency higher than a lower limit frequency of the second frequency range and a second frequency equal to or higher than an upper limit frequency of the second frequency range; and a third frequency characteristic calculation step of calculating a third frequency characteristic of the servo system in the third frequency range based on a third identification input signal that is acquired from the servo system to which the third excitation signal is input at a third sampling period that is equal to or higher than the first sampling period and that is input to the servo system to obtain the frequency characteristic of the servo system, and a third identification output signal that is output from the servo system to obtain the frequency characteristic of the servo system.
[0040] According to the above frequency characteristic measuring method, the third frequency range of the third excitation signal is narrower than the first frequency range of the first excitation signal, and therefore, when the first excitation signal and the third excitation signal provide the same amount of energy to the servo system, the signal strength of the third excitation signal is stronger than the signal strength of the first excitation signal in the third frequency range.
[0041] Therefore, according to the above frequency characteristic measuring method, it is possible to obtain a third frequency characteristic in the third frequency range that is more accurate than the first frequency characteristic.
[0042] Furthermore, according to the above frequency characteristic measuring method, the third sampling period is equal to or longer than the first sampling period.
[0043] In general, the frequency resolution of the frequency characteristics is calculated by dividing the sampling frequency, which is the reciprocal of the sampling period, by the number of measurement data points. Therefore, if the number of measurement data points is the same when calculating the first frequency characteristic and the third frequency characteristic, the frequency resolution of the third frequency characteristic will be finer than the frequency resolution of the first frequency characteristic.
[0044] Therefore, according to the above frequency characteristic measuring method, it is possible to obtain a third frequency characteristic in the third frequency range that is more accurate than the first frequency characteristic.
[0045] Furthermore, the method may further include a frequency characteristic synthesis step of synthesizing the second frequency characteristic and the third frequency characteristic to calculate a fourth frequency characteristic of the servo system.
[0046] This makes it possible to obtain a frequency characteristic with higher accuracy than the first frequency characteristic in a fourth frequency range that is wider than the second and third frequency ranges.
[0047] The third sampling period may be greater than the first sampling period.
[0048] The second frequency range and the third frequency range may be continuous.
[0049] This eliminates the overlapping range between the second frequency range and the third frequency range, and therefore, a frequency characteristic with higher accuracy than the first frequency characteristic can be obtained in the wider fourth frequency range compared to when the second frequency range and the third frequency range overlap.
[0050] The lower limit frequency of the third frequency range may be within the second frequency range.
[0051] At least one of the second frequency range and the third frequency range may include at least one of a resonance frequency and an anti-resonance frequency of the servo system.
[0052] This makes it possible to obtain a frequency characteristic with higher accuracy than the first frequency characteristic in a frequency range that includes at least one of the resonant frequency and the anti-resonant frequency.
[0053] Furthermore, the method may further include a fourth output step of outputting at least one of the second frequency characteristic, the third frequency characteristic, and the fourth frequency characteristic to a display device.
[0054] As a result, a user using the above frequency characteristic measurement method can grasp at least one of the second frequency characteristic, the third frequency characteristic, and the fourth frequency characteristic by visually checking the display device.
[0055] Furthermore, the method may further include a first measurement condition calculation step of calculating the amplitude of the first vibration signal based on at least one of the total inertia and friction characteristics of the servo system and control parameter settings of the servo system, and a second measurement condition calculation step of calculating the amplitude of the second vibration signal based on the first frequency characteristic and the control parameter settings, wherein in the first output step, the first vibration signal having the amplitude of the first vibration signal calculated in the first measurement condition calculation step is output to the servo system, and in the second output step, the second vibration signal having the amplitude of the second vibration signal calculated in the second measurement condition calculation step is output to the servo system.
[0056] This makes it possible to output to the servo system a first vibration signal with a more appropriate amplitude according to at least one of the total inertia and the friction characteristics of the servo system and the control parameters of the servo system.
[0057] Therefore, according to the above-mentioned frequency characteristic measurement method, it is possible to suppress a decrease in the accuracy of the frequency characteristics due to insufficient signal strength of the first vibration signal in the first frequency range, and / or to suppress the risk of damage to devices that constitute the servo system due to excessive signal strength of the first vibration signal.
[0058] Furthermore, it is possible to output to the servo system a second vibration signal with a more appropriate amplitude according to the first frequency characteristic and the control parameters of the servo system.
[0059] Therefore, according to the above frequency characteristic measuring method, it is possible to obtain a more accurate second frequency characteristic in the second frequency range while suppressing the risk of damage to devices that constitute the servo system.
[0060] The first identification output signal and the second identification output signal may include sensor information indicating a state quantity of the driven body obtained by sensing the driven body in the servo system.
[0061] Furthermore, the first output step may output the first vibration signal multiple times, the second output step may output the second vibration signal multiple times, the first frequency characteristic calculation step may calculate the first frequency characteristic based on the first identification input signal and the first identification output signal, which are acquired multiple times from each of the servo systems to which the first vibration signal is input multiple times, and the second frequency characteristic calculation step may calculate the second frequency characteristic based on the second identification input signal and the second identification output signal, which are acquired multiple times from each of the servo systems to which the second vibration signal is input multiple times.
[0062] This makes it possible to obtain a more accurate frequency characteristic of the servo system.
[0063] The first identification input signal and the second identification input signal may have the same number of samples.
[0064] This allows the memory area for storing the first identification input signal and the memory area for storing the second identification signal to be used as a common memory area, eliminating the need to reserve additional memory area for storing the identification input signals.
[0065] A frequency characteristic measurement device according to one aspect of the present disclosure is a frequency characteristic measurement device for measuring the frequency characteristic of a servo system, comprising: a first output unit that outputs a first excitation signal in a first frequency range to the servo system; a frequency characteristic calculation unit that calculates a first frequency characteristic of the servo system in the first frequency range based on a first identification input signal that is input to the servo system to obtain the frequency characteristic of the servo system and a first identification output signal that is output from the servo system to obtain the frequency characteristic of the servo system, the first identification input signal being a signal acquired at a first sampling period from the servo system to which the first excitation signal is input, and and a second output unit that outputs to the servo system a second excitation signal generated based on the first frequency characteristic in a second frequency range that is a part of a frequency range of the first frequency range, wherein the frequency characteristic calculation unit further calculates a second frequency characteristic of the servo system in the second frequency range based on a second identification input signal that is input to the servo system in order to obtain the frequency characteristic of the servo system and a second identification output signal that is output from the servo system in order to obtain the frequency characteristic of the servo system, the second excitation signal being acquired at a second sampling period that is equal to or greater than the first sampling period from the servo system to which the second excitation signal is input.
[0066] According to the frequency characteristic measuring device, the second frequency range of the second excitation signal is narrower than the first frequency range of the first excitation signal. Therefore, when the first excitation signal and the second excitation signal provide the same amount of energy to the servo system, the signal strength of the second excitation signal is stronger than the signal strength of the first excitation signal in the second frequency range.
[0067] Therefore, the frequency characteristic measuring device can obtain a second frequency characteristic in the second frequency range that is more accurate than the first frequency characteristic.
[0068] Furthermore, in the frequency characteristic measuring device, the second sampling period is equal to or greater than the first sampling period.
[0069] Generally, the frequency resolution of a frequency characteristic is calculated by dividing the sampling frequency, which is the reciprocal of the sampling period, by the number of measurement data points. Therefore, if the number of measurement data points is the same when calculating the first frequency characteristic and the second frequency characteristic, the frequency resolution of the second frequency characteristic will be finer than the frequency resolution of the first frequency characteristic.
[0070] Therefore, the frequency characteristic measuring device can obtain a second frequency characteristic in the second frequency range that is more accurate than the first frequency characteristic.
[0071] In this way, the frequency characteristic measuring device can obtain highly accurate frequency characteristics of a servo system.
[0072] Specific examples of a frequency response measurement system according to one aspect of the present disclosure will be described below with reference to the drawings. Each of the embodiments shown here illustrates a specific example of the present disclosure. Therefore, the numerical values, shapes, components, component arrangements and connection configurations, steps (processes), and step sequences shown in the following embodiments are merely examples and are not intended to limit the present disclosure. Furthermore, each figure is a schematic diagram and is not necessarily an exact illustration. In each figure, components that are substantially the same as those in other figures are assigned the same reference numerals, and redundant explanations are omitted or simplified.
[0073] (Embodiment 1) Hereinafter, a frequency characteristic measurement system according to embodiment 1 will be described. This frequency characteristic measurement system is a system for measuring the frequency characteristic of a servo system.
[0074] <Configuration> FIG. 1 is a block diagram showing the configuration of a frequency characteristic measurement system 1 according to the first embodiment.
[0075] As shown in FIG. 1, the frequency characteristic measurement system 1 includes a frequency characteristic measurement device 10 and a servo system 20 .
[0076] The servo system 20 is an object whose frequency characteristics are to be measured by the frequency characteristic measurement device 10, and includes a motor control device 21, a motor 22, a load 23, and a first state quantity measurement device 24.
[0077] The motor 22 is controlled by the motor control device 21 and drives the load 23. Here, the motor 22 will be described as being a rotary motor. However, the motor 22 is not necessarily limited to being a rotary motor, and may be, for example, a linear motor.
[0078] The load 23 is a driven body in the servo system 20 and is driven by the motor 22 .
[0079] The first state quantity measuring device 24 measures a state quantity of the servo system 20 from the servo system 20 and outputs a state signal indicating the measured state quantity of the servo system 20. Here, the first state quantity measuring device 24 will be described as outputting a state quantity related to the motor 22 as the state signal. More specifically, the first state quantity measuring device 24 will be described as an encoder that measures the rotational position of the motor 22 and outputs a state signal indicating the rotational position of the motor 22. However, the first state quantity measuring device 24 is not necessarily limited to the encoder as long as it is a device that can measure the state quantity of the servo system 20 and output a state signal indicating the measured state quantity of the servo system 20. The first state quantity measuring device 24 may be, for example, a sensor that measures the rotational speed of the motor 22 and outputs a state signal indicating the rotational speed of the motor 22.
[0080] The motor control device 21 controls the motor 22 so that the input state quantity command matches the state quantity of the motor. In the first embodiment, the motor control device 21 controls the motor 22 based on the excitation signals (a first excitation signal and a second excitation signal, described below) output from the frequency characteristic measurement device 10. Here, the excitation signals output from the frequency characteristic measurement device 10 are described as torque commands (hereinafter also referred to as "input torque commands") that command the torque of the motor 22. Furthermore, the motor control device 21 is described as outputting a feedback torque command to the motor 22, using the first state signal output from the first state quantity measurement device 24, when the input torque command is input from the frequency characteristic measurement device 10, so that the input torque command matches the torque generated by the motor. However, the motor control device 21 is not necessarily limited to the above configuration as long as it can control the motor 22 based on the excitation signals output from the frequency characteristic measurement device 10. For example, the motor control device 21 may be configured to output the excitation signal output from the frequency characteristic measurement device 10 directly to the motor 22 without performing feedback control on the excitation signal.
[0081] Here, the vibration signal output from the frequency characteristic measuring device 10 is described as an input torque command, but the vibration signal output from the frequency characteristic measuring device 10 does not necessarily have to be limited to an input torque command, and may be, for example, an input speed command that commands the speed of the motor 22, or an input position command that commands the position of the motor 22.
[0082] The frequency characteristic measuring device 10 includes a first output section 11, a second output section 12, a frequency characteristic calculation section 13, a frequency characteristic output section 15, and a vibration signal selection section 16, and measures the frequency characteristics of a servo system 20.
[0083] The frequency characteristic measurement apparatus 10 may be realized, for example, by a computer device having a processor, a memory, and an input / output interface, in which the processor executes a program stored in the memory.
[0084] The first output unit 11 has a first measurement condition calculation unit 111 and a first excitation signal generation unit 112, and outputs a first excitation signal in a first frequency range.
[0085] The first measurement condition calculation unit 111 receives total inertia information indicating the total inertia of the servo system 20, which is the sum of the inertia of the motor 22 and the load 23, and calculates the amplitude of the first vibration signal based on the total inertia indicated by the input total inertia information.
[0086] The input of the total inertia information to the first measurement condition calculation unit 111 is realized, for example, by a user of the frequency characteristic measuring device 10 inputting the total inertia information indicating the total inertia calculated from design information of the servo system 20, etc., into the first measurement condition calculation unit 111 via an input / output interface, etc., provided in the frequency characteristic measuring device 10.
[0087] When outputting a vibration signal to the servo system 20 to vibrate it, a vibration signal with a larger amplitude is required as the total inertia of the servo system 20 increases. For this reason, the first measurement condition calculation unit 111 may calculate the amplitude of the first vibration signal by, for example, multiplying the total inertia indicated by the total inertia information by a predetermined coefficient.
[0088] Here, the first measurement condition calculation unit 111 is described as receiving total inertia information and calculating the amplitude of the first vibration signal based on the total inertia indicated by the total inertia information. However, for example, the first measurement condition calculation unit 111 may receive friction characteristic information indicating the friction characteristics of the servo system 20 and calculate the amplitude of the first vibration signal based on the friction characteristics indicated by the friction characteristic information. Alternatively, for example, the first measurement condition calculation unit 111 may receive total inertia information and friction characteristic information and calculate the amplitude of the first vibration signal based on the total inertia indicated by the total inertia information and the friction characteristic information indicated by the friction characteristic information.
[0089] For example, if the amplitude of the first excitation signal is small compared to the friction torque of the load 23, the load 23 does not move sufficiently even when the first excitation signal is output to the servo system 20, and therefore it is not possible to accurately measure the frequency characteristics of the servo system 20. For this reason, by calculating the amplitude of the first excitation signal based on the friction characteristics indicated by the friction characteristic information, it is possible to measure the frequency characteristics of the servo system 20 with high accuracy.
[0090] When friction characteristic information indicating the friction torque of the load 23 is input to the first measurement condition calculation unit 111, the first measurement condition calculation unit 111 may calculate the amplitude of the first vibration signal, for example, by multiplying the friction torque indicated by the friction characteristic information by a predetermined coefficient.
[0091] Furthermore, when total inertia information indicating the total inertia of the servo system 20 and friction characteristic information indicating the friction torque of the load 23 are input to the first measurement condition calculation unit 111, the first measurement condition calculation unit 111 may calculate the amplitude of the first vibration signal as, for example, the sum of the value obtained by multiplying the total inertia indicated by the total inertia information by a predetermined coefficient and the value obtained by multiplying the friction torque indicated by the friction characteristic information by a predetermined coefficient.
[0092] The first vibration signal generator 112 generates a first vibration signal having the amplitude calculated by the first measurement condition calculator 111 based on the amplitude of the first vibration signal, and outputs the generated first vibration signal to the vibration signal selector 16. Here, the first frequency range is described as the entire frequency range of the frequency characteristics measured by the frequency characteristic measurement apparatus 10. Also, as described above, the first vibration signal is described as a torque command (first torque command) that commands the torque of the motor 22.
[0093] The first excitation signal output by the first excitation signal generator 112 is any one of a white noise signal, a multi-sine wave signal, a sine wave sweep signal, a step signal, and a ramp signal.
[0094] FIG. 2A is a waveform diagram showing an example of a white noise signal, FIG. 2B is a waveform diagram showing an example of a multi-sine wave signal, FIG. 2C is a waveform diagram showing an example of a sine wave sweep signal, FIG. 2D is a waveform diagram showing an example of a step signal, and FIG. 2E is a waveform diagram showing an example of a ramp signal.
[0095] 2A to 2E, the horizontal axis represents time and the vertical axis represents torque.
[0096] 2A is a type of pseudorandom signal that uniformly includes all frequency components in a frequency band equal to or less than half the sampling period. Although white noise signals are affected by noise in the high-frequency band, they are characterized by including a wide range of frequency components and being easy to generate.
[0097] The multi-sine wave signal illustrated in FIG. 2B requires a frequency range to be set, making signal generation relatively complicated, but it has the advantage of providing strong signal strength within the set frequency range and having a very uniform frequency spectrum throughout the set frequency range.
[0098] The sine wave sweep signal illustrated in FIG. 2C requires a frequency range to be set, but has the characteristics of providing a strong signal strength within the set frequency range and having a uniform frequency spectrum over most of the set frequency range.
[0099] The step signal illustrated in FIG. 2D has the advantage that the signal is easy to generate, although the signal strength is weak in the high frequency band.
[0100] The ramp signal illustrated in FIG. 2E has the advantage that the signal strength is weak in the high frequency band, but the signal is easy to generate.
[0101] Here, the first vibration signal output from the first output unit 11 is described as a white noise signal.
[0102] Returning to FIG. 1 again, the description of the frequency characteristic measuring system 1 will be continued.
[0103] The excitation signal selection unit 16 selects either the first excitation signal output from the first output unit 11 or the second excitation signal (described later) output from the second output unit 12, and outputs the selected first excitation signal or second excitation signal to the servo system 20 as an excitation signal.
[0104] The frequency characteristic calculation unit 13 calculates the frequency characteristics of the servo system 20 based on an identification input signal that is input to the servo system 20 to obtain the frequency characteristics of the servo system 20 and an identification output signal that is output from the servo system 20 to obtain the frequency characteristics of the servo system 20. In this case, the frequency characteristic calculation unit 13 obtains the identification input signal and the identification output signal by sampling.
[0105] Here, the identification input signal may be, for example, the excitation signal itself output from the frequency response measurement apparatus 10, or a control signal generated in the motor control device 21 based on the excitation signal output from the frequency response measurement apparatus 10 in order to drive the motor 22. Here, the control signal generated in the motor control device 21 based on the excitation signal output from the frequency response measurement apparatus 10 in order to drive the motor 22 may be, for example, a feedback torque command. Here, the identification input signal will be described as being the excitation signal input to the servo system 20.
[0106] Furthermore, the identification output signal may be, for example, a state signal output from the first state quantity measuring device 24. Here, the identification output signal will be described as being a state signal output from the first state quantity measuring device 24.
[0107] That is, (1) when a first excitation signal in a first frequency range output from the frequency characteristic measurement device 10 is input to the servo system 20, the frequency characteristic calculation unit 13 calculates a first frequency characteristic of the servo system 20 in the first frequency range based on the first excitation signal and the first status signal acquired at a first sampling period. Also, (2) when a second excitation signal in a second frequency range output from the frequency characteristic measurement device 10 is input to the servo system 20, the frequency characteristic calculation unit 13 calculates a second frequency characteristic of the servo system 20 in the second frequency range based on the second excitation signal and the second status signal acquired at a second sampling period that is equal to or longer than the first sampling period.
[0108] More specifically, (1) when a first excitation signal is input to the servo system 20, the frequency characteristic calculation unit 13 calculates a first frequency characteristic of the servo system 20 in a first frequency range based on a first input torque command acquired at a first sampling period output from the motor control device 21 in the servo system 20 to which the first excitation signal is input, and a first state signal acquired at a first sampling period output from the first state quantity measuring device 24 in the servo system 20 to which the first excitation signal is input. In addition, (2) when a second vibration signal is input to the servo system 20, the frequency characteristic calculation unit 13 calculates a second frequency characteristic of the servo system 20 in a second frequency range based on a second input torque command acquired at a second sampling period equal to or greater than the first sampling period and output from the motor control device 21 in the servo system 20 to which the second vibration signal is input, and a second state signal acquired at a second sampling period equal to or greater than the first sampling period and output from the first state quantity measuring device 24 in the servo system 20 to which the second vibration signal is input.
[0109] Here, the frequency characteristic calculated by the frequency characteristic calculation unit 13 is explained as being the frequency characteristic of the rotation speed [rpm] of the motor 22 relative to the input torque [Nm] input to the servo system 20 .
[0110] FIG. 3 is a Bode diagram showing an example of the first frequency characteristic calculated by the frequency characteristic calculation section 13 when the frequency characteristic measurement apparatus 10 outputs the first vibration signal.
[0111] 3, the horizontal axis represents frequency, and the vertical axis represents gain G shown in equation (1). Here, the responsiveness of the rotation speed to the input torque command for each frequency is shown as gain.
[0112]
[0113] In FIG. 3, each black circle indicates the gain at each frequency calculated based on equation (1), and each line connects these points.
[0114] 3, there is a point in the first frequency range where the gain variation with increasing frequency changes from increasing to decreasing, i.e., where the gain variation with increasing frequency becomes convex upward. The frequency at this point is the resonant frequency of servo system 20. Also, there is a point in the first frequency range where the gain variation with increasing frequency changes from decreasing to increasing, i.e., where the gain variation with increasing frequency becomes convex downward. The frequency at this point is the anti-resonant frequency of servo system 20.
[0115] The resonance and anti-resonance of the servo system 20 are vibration characteristics that have a significant impact on the operational control of the motor 22 by the motor control device 21, and accurately grasping the resonance frequency and anti-resonance frequency is extremely important in measuring the frequency characteristics of the servo system 20. Therefore, it is desirable to measure the frequency characteristics in the resonance and anti-resonance frequency bands with high precision.
[0116] Here, the frequency characteristic calculation unit 13 is described as calculating a gain characteristic, which is a type of Bode plot, as the frequency characteristic. However, the frequency characteristic calculation unit 13 is not limited to a configuration that outputs a gain characteristic as the frequency characteristic. For example, the frequency characteristic calculation unit 13 may calculate a phase characteristic, which is another type of Bode plot, as the frequency characteristic, or may calculate both the gain characteristic and the phase characteristic. Furthermore, the frequency characteristic calculation unit 13 may be configured to calculate a Nyquist diagram instead of a Bode plot as the frequency characteristic.
[0117] Returning to FIG. 1 again, the description of the frequency characteristic measuring system 1 will be continued.
[0118] 1 , the frequency characteristic calculation unit 13 may be realized by a configuration including a Fourier transform unit 17 and a frequency characteristic calculation unit 18. Here, the Fourier transform unit 17 performs a Fourier transform on the input torque command output from the motor control device 21 and the rotational speed of the motor 22 obtained by time differentiating a state signal indicating the rotational position of the motor 22 output from the first state quantity measuring device 24. Furthermore, the frequency characteristic calculation unit 18 calculates the gain of the rotational speed with respect to the input torque command for each frequency component by substituting the input torque command for each frequency component and the rotational speed for each frequency component, which have been Fourier transformed by the Fourier transform unit 17, into equation (1).
[0119] The second output unit 12 has a second measurement condition calculation unit 121 and a second vibration signal generation unit 122, and outputs a second vibration signal in a second frequency range that is a part of the first frequency range.
[0120] This second excitation signal can be used, for example, as an excitation signal for measuring again the frequency characteristics near the resonance frequency or near the anti-resonance frequency in the servo system 20 more precisely and accurately.
[0121] Here, the reason why the frequency characteristics in FIG. 3 may have insufficient accuracy as frequency characteristics near the resonance frequency or anti-resonance frequency will be explained with reference to FIG.
[0122] FIG. 4 is a Bode diagram showing an example of the frequency characteristics calculated by the frequency characteristic calculation unit 13 when the frequency characteristic measurement device 10 outputs a vibration signal.
[0123] In FIG. 4, the intervals between the hatched circles and the intervals between the black circles represent the frequency resolution in calculating the frequency characteristics.
[0124] Here, each hatched circle is the same as each black circle in Fig. 3. On the other hand, each black circle is an example of the frequency characteristic calculated by the frequency characteristic calculation unit 13 when the frequency resolution is finer than that of each hatched circle.
[0125] In each black circle in Figure 4, it can be seen that the points where the gain fluctuation becomes convex downward, i.e., the anti-resonance frequency, fluctuates from the anti-resonance frequency of each shaded circle. This is because the frequency resolution of the frequency characteristics shown by each shaded circle is different from the frequency resolution of the frequency characteristics shown by each black circle, and the frequency resolution of each shaded circle is coarser than the frequency resolution of each black circle, so the anti-resonance frequency of the frequency characteristics shown by each shaded circle is less accurate than the anti-resonance frequency of the frequency characteristics shown by each black circle. In other words, in this case, in order to accurately calculate the resonance frequency and anti-resonance frequency, it is necessary to make the frequency resolution finer.
[0126] The second excitation signal is an excitation signal for obtaining frequency characteristics with a finer frequency resolution than the first excitation signal. The frequency resolution is generally calculated by dividing the sampling frequency, which is the reciprocal of the sampling period, by the number of measurement data points. The number of data points is determined by the capacity constraints of the memory for storing the measured data. Therefore, in order to obtain frequency characteristics with a finer frequency resolution, the second excitation signal needs to be generated with a sampling period equal to or greater than that of the first excitation signal. Furthermore, in this case, to further increase the signal strength, the frequency band to be measured is narrowed, that is, the second frequency range is set to a portion of the first frequency range. Furthermore, in this case, the second frequency range is assumed to be predetermined.
[0127] Returning to FIG. 1 again, the description of the frequency characteristic measuring system 1 will be continued.
[0128] The second measurement condition calculation unit 121 receives the first frequency characteristic calculated by the frequency characteristic calculation unit 13 and calculates the amplitude of the second vibration signal based on the received first frequency characteristic. The second measurement condition calculation unit 121 may also receive total inertia information.
[0129] An example of a method for calculating the amplitude of the second vibration signal performed by the second measurement condition calculation unit 121 will be described with reference to FIG.
[0130] FIG. 5 is a Bode diagram in which the frequency characteristics of the servo system 20 approximated to a rigid body are superimposed on the first frequency characteristics shown in FIG.
[0131] Here, the frequency characteristics of the servo system 20 approximated to a rigid body refer to the frequency characteristics calculated only from the inertia of the motor 22 and the inertia of the load 23 when the servo system 20 is assumed to be an ideal servo system in which resonance and anti-resonance do not exist.
[0132] The frequency characteristics of this rigid-body-approximated servo system 20 can be calculated from the total inertia indicated by the total inertia information.
[0133] The second measurement condition calculation unit 121 compares the first frequency characteristic with the frequency characteristic of the rigid-body-approximated servo system 20 in the second frequency range, and calculates the amplitude of the second excitation signal so that the amplitude of the second excitation signal is larger than the amplitude of the first excitation signal for frequency bands in which the gain of the first frequency characteristic is smaller than the gain of the rigid-body-approximated servo system 20, and calculates the amplitude of the second excitation signal so that the amplitude of the second excitation signal is smaller than the amplitude of the first excitation signal for frequency bands in which the gain of the second frequency characteristic is larger than the gain of the rigid-body-approximated servo system 20.
[0134] The second measurement condition calculation unit 121 may calculate the amplitude of the second vibration signal, for example, by multiplying the amplitude of the first vibration signal by the ratio between the gain of the first frequency characteristic and the gain of the servo system 20 approximated to a rigid body.
[0135] The second vibration signal generator 122 generates a second vibration signal having the amplitude calculated by the second measurement condition calculator 121 based on the amplitude of the second vibration signal, and outputs the generated second vibration signal to the vibration signal selector 16. Here, similar to the case of the first vibration signal, the second vibration signal will be described as a torque command (second torque command) that commands the torque of the motor 22.
[0136] The second excitation signal output by the second excitation signal generator 122 is either a multi-sine wave signal or a sine wave sweep signal.
[0137] As described above, these two signals are signals whose frequency ranges can be set. Therefore, by narrowing the frequency range of the white noise signal used in the first excitation signal, even if the amplitudes of the first excitation signal and the second excitation signal are the same, the second excitation signal has a higher signal strength than the first excitation signal in the second frequency range. Therefore, it is possible to obtain a second frequency characteristic that exhibits a frequency characteristic with higher accuracy than the first frequency characteristic in the second frequency range.
[0138] Here, the second excitation signal output from the second output unit 12 is described as a multi-sine wave signal. The reason for using a multi-sine wave signal as the second excitation signal is that, compared to a sine wave sweep signal, a multi-sine wave signal has a characteristic of having a very uniform frequency spectrum over the entire specified frequency range, and therefore meets the purpose of measuring frequency characteristics with higher accuracy over a specified frequency range.
[0139] Returning to FIG. 1 again, the description of the frequency characteristic measuring system 1 will be continued.
[0140] When the second excitation signal is input from the second output unit 12 , the excitation signal selection unit 16 outputs the second excitation signal to the servo system 20 .
[0141] As described above, when the second vibration signal is input to the servo system 20, the frequency characteristic calculation unit 13 calculates the second frequency characteristic.
[0142] FIG. 6 is a Bode diagram showing an example of the second frequency characteristic calculated by the frequency characteristic calculation section 13 when the frequency characteristic measurement apparatus 10 outputs the second vibration signal.
[0143] 6, the horizontal axis represents frequency, and the vertical axis represents gain G shown in equation (1). Here, in Fig. 6, the dashed line represents an example of the first frequency characteristic calculated by the frequency characteristic calculation unit 13 when the frequency characteristic measurement apparatus 10 outputs the first vibration signal, and is similar to the first frequency characteristic exemplified in Fig. 3.
[0144] As shown in FIG. 6, the frequency characteristic calculation unit 13 calculates the second frequency characteristic with a frequency resolution finer than the frequency resolution used to calculate the first frequency characteristic.
[0145] Returning to FIG. 1 again, the description of the frequency characteristic measuring system 1 will be continued.
[0146] The frequency characteristic output unit 15 outputs the first frequency characteristic, the second frequency characteristic, or both the first frequency characteristic and the second frequency characteristic calculated by the frequency characteristic calculation unit 13 to the outside.
[0147] The frequency characteristic output unit 15 may output these frequency characteristics to the outside, for example, via an input / output interface provided in the frequency characteristic measurement device 10, in response to operations input by a user using the frequency characteristic measurement device 10.
[0148] The frequency characteristic output unit 15 may output these frequency characteristics to, for example, an external display device, and the external display device may generate and display an image based on these frequency characteristics output from the frequency characteristic output unit 15. In this case, a user of the frequency characteristic measuring device 10 can grasp the frequency characteristics of the servo system 20 by visually checking the image displayed on the external display device.
[0149] <Operation> The operation performed by the frequency characteristic measurement apparatus 10 having the above configuration will be described below.
[0150] The frequency characteristic measurement apparatus 10 performs a first frequency characteristic measurement process to measure the frequency characteristic of the servo system 20. The first frequency characteristic measurement process is started, for example, when a user of the frequency characteristic measurement system 1 performs an operation on the frequency characteristic measurement apparatus 10 to start the first frequency characteristic measurement process.
[0151] FIG. 7 is a flowchart of the first frequency characteristic measurement process performed by the frequency characteristic measurement apparatus 10.
[0152] As shown in Figure 7, when the first frequency characteristic measurement process is started, the first output unit 11 generates a first vibration signal in a first frequency range and outputs the generated first vibration signal to the servo system 20 via the vibration signal selection unit 16 (step S10).
[0153] Next, the frequency characteristic calculation unit 13 calculates a first frequency characteristic based on a first identification input signal and a first identification output signal acquired at a first sampling period from the servo system 20 to which the first vibration signal is input (step S20).
[0154] Once the first frequency characteristic is calculated, the second output unit 12 outputs a second vibration signal in a second frequency range, which is a part of the first frequency range, to the servo system 20 via the vibration signal selection unit 16 based on the first frequency characteristic (step S30).
[0155] Next, the frequency characteristic calculation unit 13 calculates a second frequency characteristic based on a second identification input signal and a second identification output signal acquired at a second sampling period equal to or greater than the first sampling period from the servo system 20 to which the second vibration signal is input (step S40).
[0156] When the second frequency characteristic is calculated, the frequency characteristic output unit 15 outputs the first frequency characteristic, the second frequency characteristic, or both the first frequency characteristic and the second frequency characteristic to the outside (step S50).
[0157] When the process of step S50 is completed, the frequency characteristic measurement apparatus 10 ends the first frequency characteristic measurement process.
[0158] <Discussion> The frequency characteristic measurement device 10 having the above configuration first calculates a first frequency characteristic of the servo system 20 using a first excitation signal in a first frequency range whose frequency characteristics are to be measured, thereby grasping the overall picture of the frequency characteristics of the servo system 20. Next, using a second excitation signal in a second frequency range that is a part of the first frequency range, the device calculates a second frequency characteristic of the servo system 20 in more detail and with higher accuracy in the second frequency range at a second sampling period that is equal to or greater than the first sampling period.
[0159] As a result, with the frequency characteristic measuring device 10 having the above configuration, it is possible to obtain highly accurate frequency characteristics of the servo system 20 even when the inertia of the servo system 20 is relatively large, the friction is relatively large, or the frequency characteristics of the servo system 20 include resonance or anti-resonance.
[0160] In the first embodiment, the first and second identification input signals are described as being used to calculate the frequency characteristics. However, the first and second identification input signals do not necessarily have to be the first and second excitation signals. For example, when the first and second excitation signals are input speed commands, the first and second identification input signals may be configured to use feedback torque commands. With this configuration, the frequency characteristics measurement device 10 can obtain the frequency characteristics of the motor speed versus motor torque of the servo system 20, without including the influence of the speed control of the motor 22, while controlling the speed state of the motor 22 when outputting the first and second excitation signals.
[0161] In the first embodiment, it has been explained that by setting the second sampling period to be equal to or greater than the first sampling period, the frequency resolution in the second frequency characteristic becomes finer than or equal to the frequency resolution in the first frequency characteristic.
[0162] In contrast to this, here we will explain why the second frequency characteristic has higher accuracy than the first frequency characteristic, particularly when the second sampling frequency is equal to the first sampling frequency, i.e., when the frequency resolution in the second frequency characteristic is equal to the frequency resolution in the first frequency characteristic, if the second frequency range is narrower than the first frequency range.
[0163] FIG. 8 is a diagram illustrating why the second frequency characteristic has higher accuracy than the first frequency characteristic when the frequency resolution in the second frequency characteristic is equal to the frequency resolution in the first frequency characteristic, if the second frequency range is narrower than the first frequency range.
[0164] 8 shows time-series data of a white noise signal, which is the first excitation signal, where the horizontal axis represents time and the vertical axis represents the state quantity (torque).
[0165] Part (B1) in Fig. 8 shows time-series data of the multi-sine wave signal, which is the second excitation signal, where the horizontal axis represents time and the vertical axis represents the state quantity (torque).
[0166] Here, it is assumed that the amplitude of the time series data of the first excitation signal is equal to the amplitude of the time series data of the second excitation signal.
[0167] Part (A2) in Fig. 8 shows the frequency components of the first excitation signal obtained by Fourier transforming the first excitation signal. In this figure, the horizontal axis represents frequency and the vertical axis represents gain. The gain of the excitation signal indicates the signal strength of the excitation signal, and the larger the gain, the greater the signal strength.
[0168] Part (B2) in Fig. 8 is a diagram showing the frequency components of the second excitation signal obtained by Fourier transforming the second excitation signal, where the horizontal axis represents frequency and the vertical axis represents gain.
[0169] As can be seen by comparing the diagram in part (B1) with the diagram in part (B2), the range of frequency components contained in the second vibration signal is narrower than the range of frequency components contained in the first vibration signal, while the signal strength of the second vibration signal is greater than the signal strength of the first vibration signal.
[0170] In this way, even if the frequency resolution in the second frequency characteristic and the frequency resolution in the first frequency characteristic are equal, by making the second frequency range narrower than the first frequency range, the signal strength of the second vibration signal can be made greater than the signal strength of the first vibration signal in the second frequency range, and therefore the second frequency characteristic has higher accuracy than the first frequency characteristic in the second frequency range.
[0171] In the first embodiment, the first measurement condition calculation unit 111 has been described as calculating the amplitude of the first vibration signal based on at least one of the total inertia and the frictional characteristics. However, the first measurement condition calculation unit 111 may calculate the amplitude of the first vibration signal based on the control parameters of the servo system 20 in addition to at least one of the total inertia and the frictional characteristics. This allows the first measurement condition calculation unit 111 to calculate a more appropriate amplitude of the first vibration signal.
[0172] In the first embodiment, the second measurement condition calculation unit 121 is described as calculating the amplitude of the second vibration signal based on the second frequency characteristic. However, the second measurement condition calculation unit 121 may calculate the amplitude of the first vibration signal based on the control parameters of the servo system 20 in addition to the first frequency characteristic. This allows the second measurement condition calculation unit 121 to calculate a more appropriate amplitude of the second vibration signal.
[0173] In the first embodiment, the first identification input signal and the second identification input signal may have the same number of samples, which allows the memory area for storing the first identification input signal and the memory area for storing the second identification input signal to be used as a common memory area, eliminating the need to secure an additional memory area for storing the identification input signals.
[0174] Second Embodiment Hereinafter, a frequency characteristic measurement system according to a second embodiment will be described, which is configured by partially modifying the configuration of the frequency characteristic measurement system 1 according to the first embodiment.
[0175] Regarding the frequency characteristic measurement system according to embodiment 2, components that are similar to those in the frequency characteristic measurement system 1 have already been explained, so they will be assigned the same reference numerals and their detailed explanations will be omitted, and the explanation will focus on the differences from the frequency characteristic measurement system 1.
[0176] FIG. 9 is a block diagram showing the configuration of a frequency characteristic measuring system 1A according to the second embodiment.
[0177] 9, the frequency characteristic measurement system 1A is configured by changing the frequency characteristic measurement device 10 of the frequency characteristic measurement system 1 according to embodiment 1 to a frequency characteristic measurement device 10A. The frequency characteristic measurement device 10A is also configured by changing the excitation signal selection unit 16 of the frequency characteristic measurement device 10 according to embodiment 1 to an excitation signal selection unit 16A, changing the frequency characteristic output unit 15 to a frequency characteristic synthesis unit 19, and adding a third output unit 14.
[0178] The third output unit 14 has a third measurement condition calculation unit 141 and a third vibration signal generation unit 142, and outputs a third vibration signal in a third frequency range, which is a part of the first frequency range and includes a first frequency higher than the lower limit frequency of the second frequency range and a second frequency equal to or higher than the upper limit frequency of the second frequency range. Here, the second frequency range and the third frequency range may be continuous, or the lower limit frequency of the third frequency range may be within the second frequency range, i.e., part of the second frequency range and part of the third frequency range may overlap. Here, the description will be given assuming that part of the second frequency range and part of the third frequency range overlap.
[0179] Like the second excitation signal, the third excitation signal is an excitation signal for obtaining frequency characteristics with finer frequency resolution than the first excitation signal.
[0180] The third measurement condition calculation unit 141 receives the first frequency characteristic calculated by the frequency characteristic calculation unit 13 and calculates the amplitude of the third vibration signal based on the received first frequency characteristic. The third measurement condition calculation unit 141 may also receive total inertia information.
[0181] The method of calculating the amplitude of the third vibration signal performed by the third measurement condition calculation unit 141 is similar to the method of calculating the amplitude of the second vibration signal performed by the second measurement condition calculation unit 121 .
[0182] The third vibration signal generator 142 generates a third vibration signal having the amplitude calculated by the third measurement condition calculator 141 based on the amplitude of the third vibration signal, and outputs the generated third vibration signal to the vibration signal selector 16A. Here, similar to the first vibration signal and the second vibration signal, the third vibration signal will be described as a torque command (third torque command) that commands the torque of the motor 22.
[0183] The third excitation signal output by the third excitation signal generator 142 is either a multi-sine wave signal or a sine wave sweep signal.
[0184] As described above, these two signals are signals whose frequency ranges can be set. Therefore, by narrowing the frequency range of the white noise signal used in the first excitation signal, even if the amplitudes of the first excitation signal and the third excitation signal are the same, the third excitation signal has a higher signal strength than the first excitation signal in the third frequency range. Therefore, it is possible to obtain a third frequency characteristic that exhibits a frequency characteristic with higher accuracy than the first frequency characteristic in the third frequency range.
[0185] Here, the third vibration signal output from the third output unit 14 will be described as a multi-sine wave signal.
[0186] The excitation signal selection unit 16A selects one of the first excitation signal output from the first output unit 11, the second excitation signal output from the second output unit 12, and the third excitation signal output from the third output unit 14, and outputs the selected first excitation signal, second excitation signal, or third excitation signal to the servo system 20 as an excitation signal.
[0187] When a third vibration signal in a third frequency range output from the frequency characteristic measuring device 10A is input to the servo system 20, the frequency characteristic calculation unit 13 calculates a third frequency characteristic of the servo system 20 in the third frequency range based on the third vibration signal and the third state signal acquired at a third sampling period.
[0188] More specifically, when a third vibration signal is input to the servo system 20, the frequency characteristic calculation unit 13 calculates the third frequency characteristic of the servo system 20 in a third frequency range based on a third input torque command acquired at a third sampling period output from the motor control device 21 in the servo system 20 to which the third vibration signal is input, and a third state signal acquired at a third sampling period output from the first state quantity measuring device 24 in the servo system 20 to which the third vibration signal is input.
[0189] FIG. 10 is a Bode diagram showing an example of the third frequency characteristic calculated by the frequency characteristic calculation section 13 when the frequency characteristic measurement apparatus 10A outputs the third vibration signal.
[0190] In Fig. 10, the horizontal axis represents frequency, and the vertical axis represents gain G shown in equation (1). Here, in Fig. 10, the coarse dashed line is an example of a first frequency characteristic calculated by the frequency characteristic calculation unit 13 when the frequency characteristic measurement apparatus 10A outputs a first vibration signal, and is similar to the first frequency characteristic illustrated in Fig. 3, and the fine dashed line is an example of a second frequency characteristic calculated by the frequency characteristic calculation unit 13 when the frequency characteristic measurement apparatus 10A outputs a second vibration signal, and is similar to the second frequency characteristic illustrated in Fig. 6.
[0191] As shown in FIG. 10, the frequency characteristic calculation unit 13 calculates the third frequency characteristic with a frequency resolution finer than the frequency resolution used to calculate the first frequency characteristic.
[0192] Returning to FIG. 9, the description of the frequency characteristic measuring system 1A will continue.
[0193] The frequency characteristic synthesizer 19 synthesizes the second frequency characteristic and the third frequency characteristic to calculate a fourth frequency characteristic of the servo system 20. Then, the frequency characteristic synthesizer 19 outputs at least one of the second frequency characteristic, the third frequency characteristic, and the fourth frequency characteristic to the outside.
[0194] FIG. 11 is a Bode diagram showing an example of the fourth frequency characteristic synthesized by the frequency characteristic synthesizing unit 19. As shown in FIG.
[0195] As shown in Figures 10 and 11, for parts of the second frequency range and the third frequency range that do not overlap, the frequency characteristic synthesis unit 19 calculates, for example, the second frequency characteristic and the third frequency characteristic as a fourth frequency characteristic.
[0196] In addition, for the portion where the second frequency range and the third frequency range overlap, the frequency characteristic synthesis unit 19 calculates, for example, the average of the second frequency characteristic and the third frequency characteristic as the fourth frequency characteristic.
[0197] The frequency characteristic synthesis unit 19 may output these frequency characteristics to the outside, for example, via an input / output interface provided in the frequency characteristic measurement device 10A, in response to operations input by a user using the frequency characteristic measurement device 10A.
[0198] The frequency characteristic synthesis unit 19 may output these frequency characteristics to, for example, an external display device, and the external display device may generate and display an image based on these frequency characteristics output from the frequency characteristic synthesis unit 19. In this case, a user of the frequency characteristic measurement device 10A can grasp the frequency characteristics of the servo system 20 by visually checking the image displayed on the external display device.
[0199] <Operation> The operation performed by the frequency characteristic measurement apparatus 10A having the above configuration will be described below.
[0200] The frequency characteristic measurement apparatus 10A performs a second frequency characteristic measurement process in which some processing is changed from the first frequency characteristic measurement process, instead of the first frequency characteristic measurement process performed by the frequency characteristic measurement apparatus 10 according to the first embodiment.
[0201] FIG. 12 is a flowchart of the second frequency characteristic measurement process performed by the frequency characteristic measurement apparatus 10A.
[0202] In the second frequency characteristic measurement process, the processes of steps S110 to S140 are the same as the processes of steps S10 to S40 in the first frequency measurement process, except that the excitation signal selection unit 16 is replaced with the excitation signal selection unit 16A.
[0203] Therefore, the following description will focus on the processes in steps S150 to S170.
[0204] When the processing of step S140 is completed, the third output unit 14 outputs a third excitation signal of a third frequency range, which is a part of the first frequency range and is a range including a first frequency higher than the lower limit frequency of the second frequency range and a second frequency equal to or higher than the upper limit frequency of the second frequency, to the servo system 20 via the excitation signal selection unit 16 based on the first frequency characteristic (step S150).
[0205] Next, the frequency characteristic calculation unit 13 calculates a third frequency characteristic based on a third identification input signal and a third identification output signal acquired at a third sampling period equal to or greater than the first sampling period from the servo system 20 to which the third vibration signal is input (step S160).
[0206] Once the third frequency characteristic is calculated, the frequency characteristic synthesis unit 19 synthesizes the second frequency characteristic and the third frequency characteristic to calculate a fourth frequency characteristic of the servo system 20, and outputs the calculated fourth frequency characteristic to the outside (step S170).
[0207] When the process of step S170 is completed, the frequency characteristic measurement apparatus 10A ends the second frequency characteristic measurement process.
[0208] <Discussion> With the frequency characteristic measuring device 10A configured as described above, similar to the frequency characteristic measuring device 10 according to embodiment 1, it is possible to obtain highly accurate frequency characteristics of the servo system 20 even when the inertia of the servo system 20 is relatively large, or the friction is relatively large, or when the frequency characteristics of the servo system 20 include resonance or anti-resonance.
[0209] In the first and second embodiments, the method of calculating the amplitude of the second vibration signal performed by the second measurement condition calculation unit 121 and the method of calculating the amplitude of the third vibration signal performed by the third measurement condition calculation unit 141 have been described using examples in which the second frequency range or the third frequency range includes a resonant frequency and / or an anti-resonant frequency. However, even if the second frequency range or the third frequency range does not include a resonant frequency or an anti-resonant frequency, the amplitude of the second summation signal and the amplitude of the third vibration signal can be calculated using a similar calculation method.
[0210] Figure 13 is a Bode plot in which the frequency characteristics of the servo system 20 approximated as a rigid body are superimposed on the first frequency characteristics shown in Figure 3, and is a Bode plot in the case where the second frequency range does not include the resonant frequency or anti-resonant frequency.
[0211] 13 , even if the second frequency range does not include the resonant frequency and the anti-resonant frequency, a gain difference occurs between the first frequency characteristic and the frequency characteristic of the rigid-body approximation servo system 20. Therefore, even if the second frequency range does not include the resonant frequency and the anti-resonant frequency, the second measurement condition calculation unit 121 can calculate the amplitude of the second vibration signal using a similar calculation method, and the third measurement condition calculation unit 141 can calculate the amplitude of the third vibration signal using a similar calculation method, even if the third frequency range does not include the resonant frequency and the anti-resonant frequency.
[0212] (Modification 1) Hereinafter, a frequency characteristic measurement system according to Modification 1, which is configured by partially modifying the configuration of the frequency characteristic measurement system 1A according to the second embodiment, will be described.
[0213] The frequency characteristics measurement system 1A is an example of a configuration for measuring frequency characteristics related to the state quantity of the motor 22 in the servo system 20. In contrast, the frequency characteristics measurement system according to Modification 1 is an example of a configuration for measuring frequency characteristics related to the state quantity of the load 23, which is the driven body, in the servo system 20B (described later) according to Modification 1.
[0214] In the following, for the frequency characteristic measurement system according to variant 1, components that are similar to those in frequency characteristic measurement system 1A have already been explained, so they will be assigned the same symbols and their detailed explanations will be omitted, and the explanation will focus on the differences from frequency characteristic measurement system 1A.
[0215] FIG. 14 is a block diagram showing the configuration of a frequency characteristic measuring system 1B according to the first modification.
[0216] 14, frequency characteristic measurement system 1B is configured by changing frequency characteristic measurement device 10A from frequency characteristic measurement system 1A according to embodiment 2 to frequency characteristic measurement device 10B and changing servo system 20 to servo system 20B. Also, frequency characteristic measurement device 10B is configured by changing frequency characteristic calculation unit 13 from frequency characteristic measurement device 10A to frequency characteristic calculation unit 13B and changing Fourier transform unit 17 to Fourier transform unit 17B. Also, servo system 20B is configured by adding a second state quantity measuring device 25 to servo system 20.
[0217] The second state quantity measuring device 25 measures a state quantity related to the load 23, which is a driven body in the servo system 20B, and outputs the measured state quantity related to the load 23 as a state signal indicating the state quantity of the servo system 20B. Here, the second state quantity measuring device 25 will be described as a sensor that outputs a state quantity related to the load 23 by sensing the load 23. That is, the state signal output by the second state quantity measuring device 25 will be described as including sensor information indicating the state quantity of the load 23 obtained by sensing the load 23, which is a driven body in the servo system 20B. More specifically, the second state quantity measuring device 25 will be described as a sensor that measures the rotational position of the load 23 and outputs a state signal indicating the rotational position of the load 23. However, the second state quantity measuring device 25 is not necessarily limited to the above sensor as long as it is a device that can measure a state quantity related to the load 23 and output the measured state quantity related to the load 23.
[0218] The frequency characteristic calculation unit 13B calculates the frequency characteristics of the servo system 20B based on an identification input signal that is input to the servo system 20B to obtain the frequency characteristics of the servo system 20B and an identification output signal that is output from the servo system 20B to obtain the frequency characteristics of the servo system 20B. In this case, the frequency characteristic calculation unit 13B obtains the identification input signal and the identification output signal by sampling.
[0219] Here, the identification input signal may be, for example, the excitation signal itself output from frequency characteristic measurement apparatus 10B, or a control signal generated in motor control apparatus 21 based on the excitation signal output from frequency characteristic measurement apparatus 10B to drive motor 22. Here, the control signal generated in motor control apparatus 21 based on the excitation signal output from frequency characteristic measurement apparatus 10B to drive motor 22 may be, for example, a feedback torque command. Here, the identification input signal will be described as being the excitation signal input to servo system 20B.
[0220] Furthermore, the identification output signal may be, for example, a state signal output from the second state quantity measuring device 25. Here, the identification output signal will be described as being a state signal output from the second state quantity measuring device 25.
[0221] That is, (1) when a first vibration signal in a first frequency range output from the frequency characteristic measuring device 10B is input to the servo system 20B, the frequency characteristic calculation unit 13B calculates the first frequency characteristic of the servo system 20B in the first frequency range based on the first vibration signal and the first state signal acquired at the first sampling period. In addition, (2) when a second vibration signal in a second frequency range output from the frequency characteristic measuring device 10B is input to the servo system 20B, the frequency characteristic calculating unit 13B calculates a second frequency characteristic of the servo system 20B in the second frequency range based on the second vibration signal and the second status signal acquired at a second sampling period that is equal to or longer than the first sampling period, and (3) when a third vibration signal in a third frequency range output from the frequency characteristic measuring device 10B is input to the servo system 20B, the frequency characteristic calculating unit 13B calculates a third frequency characteristic of the servo system 20B in the third frequency range based on the third vibration signal and the third status signal acquired at a third sampling period that is equal to or longer than the first sampling period.
[0222] More specifically, (1) when a first excitation signal is input to servo system 20B, frequency characteristic calculation unit 13B calculates a first frequency characteristic of servo system 20B in a first frequency range based on a first input torque command acquired at a first sampling period output from motor control device 21 in servo system 20B to which the first excitation signal is input, and a first state signal acquired at a first sampling period output from second state quantity measuring device 25 in servo system 20B to which the first excitation signal is input. Furthermore, (2) when the second excitation signal is input to the servo system 20B, the frequency characteristic calculation unit 13B calculates a second frequency characteristic of the servo system 20B in a second frequency range based on a second input torque command acquired at a second sampling period equal to or longer than the first sampling period and output from the motor control device 21 in the servo system 20B to which the second excitation signal is input, and a second state signal acquired at a second sampling period equal to or longer than the first sampling period and output from the second state quantity measuring device 25 in the servo system 20B to which the second excitation signal is input. (3) when a third excitation signal is input to servo system 20B, a third frequency characteristic of servo system 20B in a third frequency range is calculated based on a third input torque command acquired at a third sampling period equal to or greater than the first sampling period and output from motor control device 21 in servo system 20B to which the third excitation signal is input, and a third state signal acquired at a third sampling period equal to or greater than the first sampling period and output from second state quantity measuring device 25 in servo system 20B to which the third excitation signal is input.
[0223] Here, the frequency characteristic calculated by the frequency characteristic calculation unit 13B is described as the frequency characteristic of the rotation speed [rpm] of the load 23 relative to the input torque [Nm] input to the servo system 20B.
[0224] 14, the frequency characteristic calculation unit 13B may be realized by a configuration including a Fourier transform unit 17B and a frequency characteristic calculation unit 18. Here, the Fourier transform unit 17B performs a Fourier transform on the input torque command output from the motor control device 21 and the rotational speed of the load 23 obtained by time differentiating the state signal indicating the rotational position of the load 23 output from the second state quantity measuring device 25.
[0225] <Considerations> In general, understanding the frequency characteristics related to the state quantity of the load 23 in response to a state quantity command (e.g., a torque command) to the motor 22 is extremely useful in controlling, adjusting, etc. the servo system 20B. In contrast, the frequency characteristics measurement apparatus 10B configured as described above can measure the frequency characteristics with high accuracy. Therefore, the frequency characteristics measurement apparatus 10B configured as described above is extremely useful in controlling, adjusting, etc. the servo system 20B.
[0226] (Modification 2) Hereinafter, a frequency characteristic measurement system according to Modification 2, which is configured by partially modifying the configuration of the frequency characteristic measurement system 1A according to the second embodiment, will be described.
[0227] The frequency characteristics measurement system 1A is an example of a configuration that measures frequency characteristics related to the state quantity of the motor 22 in the servo system 20. In contrast, the frequency characteristics measurement system according to Modification 2 is an example of a configuration that measures frequency characteristics related to the state quantity of the motor 22 and frequency characteristics related to the state quantity of the load 23, which is the driven body, in a servo system 20C (described later) according to Modification 2.
[0228] In the following, for the frequency characteristic measurement system according to variant example 2, components that are similar to those in frequency characteristic measurement system 1A have already been explained, so they will be assigned the same symbols and their detailed explanations will be omitted, and the explanation will focus on the differences from frequency characteristic measurement system 1A.
[0229] FIG. 15 is a block diagram showing the configuration of a frequency characteristic measuring system 1C according to the second modification.
[0230] 15, frequency characteristic measurement system 1C is configured by changing frequency characteristic measurement device 10A from frequency characteristic measurement system 1A according to embodiment 2 to frequency characteristic measurement device 10C and changing servo system 20 to servo system 20C. Also, frequency characteristic measurement device 10C is configured by changing frequency characteristic calculation unit 13 from frequency characteristic measurement device 10A to frequency characteristic calculation unit 13C and changing Fourier transform unit 17 to Fourier transform unit 17C. Also, servo system 20C is configured by adding a second state quantity measuring device 25 to servo system 20.
[0231] The frequency characteristic calculation unit 13C calculates the frequency characteristic of the motor 22 (hereinafter also referred to as "motor frequency characteristic") and the frequency characteristic of the load 23 (hereinafter also referred to as "load frequency characteristic") of the servo system 20C based on an identification input signal input to the servo system 20C to obtain the frequency characteristic of the servo system 20C and an identification output signal output from the servo system 20C to obtain the frequency characteristic of the servo system 20C. At this time, the frequency characteristic calculation unit 13C obtains the identification input signal and the identification output signal by sampling.
[0232] Here, the identification input signal may be, for example, the excitation signal itself output from frequency characteristic measurement apparatus 10C, or a control signal generated in motor control apparatus 21 based on the excitation signal output from frequency characteristic measurement apparatus 10C to drive motor 22. Here, the control signal generated in motor control apparatus 21 based on the excitation signal output from frequency characteristic measurement apparatus 10C to drive motor 22 may be, for example, a feedback torque command. Here, the identification input signal will be described as being the excitation signal input to servo system 20C.
[0233] The identification output signal may be, for example, a state signal indicating a state quantity related to the motor 22 (hereinafter also referred to as a "motor state signal") and a state signal indicating a state quantity related to the load 23 (hereinafter also referred to as a "load state signal"), both of which are output from the first state quantity measuring device 24. Here, the identification output signal will be described as being the motor state signal output from the first state quantity measuring device 24 and the load state signal output from the second state quantity measuring device 25.
[0234] That is, (1) when a first vibration signal in a first frequency range output from the frequency characteristic measuring device 10C is input to the servo system 20C, the frequency characteristic calculation unit 13C calculates a first motor frequency characteristic of the servo system 20C in the first frequency range based on the first vibration signal and the first motor state signal acquired at the first sampling period, and calculates a first load frequency characteristic of the servo system 20C in the first frequency range based on the first vibration signal and the first load state signal acquired at the first sampling period. In addition, (2) when a second vibration signal in a second frequency range output from the frequency characteristic measuring device 10C is input to the servo system 20C, the frequency characteristic calculation unit 13C calculates a second motor frequency characteristic of the servo system 20C in the second frequency range based on the second vibration signal and the second motor state signal acquired at a second sampling period that is equal to or greater than the first sampling period, and calculates a second load frequency characteristic of the servo system 20C in the second frequency range based on the second vibration signal and the second load state signal acquired at the second sampling period. Furthermore, (3) when a third vibration signal in a third frequency range output from the frequency characteristic measuring device 10C is input to the servo system 20C, the frequency characteristic calculation unit 13C calculates a third motor frequency characteristic of the servo system 20C in the third frequency range based on the third vibration signal and the third motor state signal acquired at a third sampling period that is equal to or greater than the first sampling period, and calculates a third load frequency characteristic of the servo system 20C in the third frequency range based on the third vibration signal and the third load state signal acquired at the third sampling period.
[0235] More specifically, the frequency characteristic calculation unit 13C (1) calculates a first motor frequency characteristic of the servo system 20C in a first frequency range based on a first input torque command acquired at a first sampling period output from the motor control device 21 in the servo system 20C to which the first excitation signal is input, and a first motor state signal acquired at a first sampling period output from the first state quantity measuring device 24 in the servo system 20C to which the first excitation signal is input, and calculates a first load frequency characteristic of the servo system 20C in a first frequency range based on a first input torque command acquired at a first sampling period output from the motor control device 21 in the servo system 20C to which the first excitation signal is input, and a first load state signal acquired at a first sampling period output from the second state quantity measuring device 25 in the servo system 20C to which the first excitation signal is input. In addition, (2) when a second excitation signal is input to servo system 20C, frequency characteristic calculation unit 13C calculates a second motor frequency characteristic of servo system 20C in a second frequency range based on a second input torque command acquired at a second sampling period equal to or greater than the first sampling period and output from motor control device 21 in servo system 20C to which the second excitation signal is input, and a second motor state signal acquired at the second sampling period and output from first state quantity measuring device 24 in servo system 20C to which the second excitation signal is input, and calculates a second load frequency characteristic of servo system 20C in the second frequency range based on the second input torque command acquired at the second sampling period and output from motor control device 21 in servo system 20C to which the second excitation signal is input, and a second load state signal acquired at the second sampling period and output from second state quantity measuring device 25 in servo system 20C to which the second excitation signal is input.Furthermore, (3) when a third excitation signal is input to the servo system 20C, the frequency characteristic calculation unit 13C calculates a third motor frequency characteristic of the servo system 20C in a third frequency range based on a third input torque command acquired at a third sampling period equal to or greater than the first sampling period and output from the motor control device 21 in the servo system 20C to which the third excitation signal is input, and a third motor state signal acquired at the third sampling period and output from the first state quantity measuring device 24 in the servo system 20C to which the third excitation signal is input, and calculates a third load frequency characteristic of the servo system 20C in the third frequency range based on the third input torque command acquired at the third sampling period and output from the motor control device 21 in the servo system 20C to which the third excitation signal is input, and a third load state signal acquired at the third sampling period and output from the second state quantity measuring device 25 in the servo system 20C to which the third excitation signal is input.
[0236] Here, the motor frequency characteristics calculated by the frequency characteristic calculation unit 13C are described as being the frequency characteristics of the rotational speed [rpm] of the motor 22 relative to the input torque [Nm] input to the servo system 20C, and the load frequency characteristics calculated by the frequency characteristic calculation unit 13C are described as being the frequency characteristics of the rotational speed [rpm] of the load 23 relative to the input torque [Nm] input to the servo system 20C.
[0237] 15 , the frequency characteristic calculation unit 13C may be realized by a configuration including a Fourier transform unit 17C and a frequency characteristic calculation unit 18. Here, the Fourier transform unit 17C performs a Fourier transform on the input torque command output from the motor control device 21, the rotational speed of the motor 22 obtained by time differentiating the state signal indicative of the rotational position of the motor 22 output from the first state quantity measuring device 24, and the rotational speed of the load 23 obtained by time differentiating the state signal indicative of the rotational position of the load 23 output from the second state quantity measuring device 25.
[0238] <Considerations> The frequency characteristic measuring device 10C configured as described above can accurately measure the frequency characteristic related to the state quantity of the motor 22 of the servo system 20C and the frequency characteristic related to the state quantity of the load 23, which is the driven body.
[0239] (Modification 3) A frequency characteristic measurement system according to Modification 3, which is configured by partially modifying the configuration of the frequency characteristic measurement system 1A according to the second embodiment, will be described below.
[0240] The frequency characteristic measurement system 1A is an example of a configuration in which the frequency characteristic measurement device 10 outputs a first vibration signal, a second vibration signal, and a third vibration signal once each, and measures the first frequency characteristic, the second frequency characteristic, and the third frequency characteristic based on the first identification input signal, the second identification input signal, and the third identification signal, respectively, and the first identification output signal, the second identification output signal, and the third identification signal, respectively, which are acquired once from the servo system 20 to which the first vibration signal, the second vibration signal, and the third vibration signal that are output once are input. In contrast, the frequency characteristic measurement system according to Modification 3 is an example of a configuration in which the frequency characteristic measurement device according to Modification 3 outputs the first vibration signal, the second vibration signal, and the third vibration signal multiple times, and measures the first frequency characteristic, the second frequency characteristic, and the third frequency characteristic based on the first identification input signal, the second identification input signal, and the third identification signal, respectively, and the first identification output signal, the second identification output signal, and the third identification signal, respectively, which are acquired multiple times from the servo system according to Modification 3 to which the first vibration signal, the second vibration signal, and the third vibration signal that are output multiple times are input.
[0241] In the following, for the frequency characteristic measurement system according to variant example 3, components that are similar to those in frequency characteristic measurement system 1A have already been explained, so they will be assigned the same symbols and their detailed explanations will be omitted, and the explanation will focus on the differences from frequency characteristic measurement system 1A.
[0242] FIG. 16 is a block diagram showing the configuration of a frequency characteristic measurement system 1D according to the third modification.
[0243] 16 , a frequency characteristic measurement system 1D is configured by changing the frequency characteristic measurement apparatus 10A of the frequency characteristic measurement system 1A according to Embodiment 2 to a frequency characteristic measurement apparatus 10D. Furthermore, the frequency characteristic measurement apparatus 10D is configured by changing the first output section 11 of the frequency characteristic measurement apparatus 10A to a first output section 11D, the first vibration signal generation section 112 to a first vibration signal generation section 112D, the second output section 12 to a second output section 12D, the second vibration signal generation section 122 to a second vibration signal generation section 122D, the third output section 14 to a third output section 14D, and the frequency characteristic calculation section 13 to a frequency characteristic calculation section 13D.
[0244] The first output unit 11D has a first measurement condition calculation unit 111 and a first excitation signal generation unit 112D, and outputs a first excitation signal in a first frequency range multiple times.
[0245] The first vibration signal generator 112D generates a first vibration signal having the amplitude calculated by the first measurement condition calculator 111, and outputs the generated first vibration signal multiple times to the vibration signal selector 16. Here, the first frequency range is described as the entire frequency range of the frequency characteristics measured by the frequency characteristic measurement apparatus 10D. Also, here, the first vibration signal is described as a torque command (first torque command) that commands the torque of the motor 22.
[0246] The first excitation signal output by the first excitation signal generator 112D is any one of a white noise signal, a multi-sine wave signal, a sine wave sweep signal, a step signal, and a ramp signal.
[0247] The second output section 12D has a second measurement condition calculation section 121 and a second excitation signal generation section 122D, and outputs a second excitation signal in a second frequency range that is part of the first frequency range multiple times.
[0248] The second vibration signal generator 122D generates a second vibration signal having the amplitude calculated by the second measurement condition calculator 121 based on the amplitude of the second vibration signal, and outputs the generated second vibration signal multiple times to the vibration signal selector 16. Here, similar to the case of the first vibration signal, the second vibration signal will be described as a torque command (second torque command) that commands the torque of the motor 22.
[0249] The second excitation signal output by the second excitation signal generator 122D is either a multi-sine wave signal or a sine wave sweep signal.
[0250] The third output unit 14D has a third measurement condition calculation unit 141 and a third excitation signal generation unit 142D, and outputs a third excitation signal in a third frequency range multiple times.
[0251] The third vibration signal generator 142D generates a third vibration signal having the amplitude calculated by the third measurement condition calculator 141 based on the amplitude of the third vibration signal, and outputs the generated third vibration signal multiple times to the vibration signal selector 16. Here, similar to the cases of the first vibration signal and the second vibration signal, the third vibration signal will be described as a torque command (third torque command) that commands the torque of the motor 22.
[0252] The third excitation signal output by the third excitation signal generator 142D is either a multi-sine wave signal or a sine wave sweep signal.
[0253] The frequency characteristic calculation unit 13D calculates the frequency characteristics of the servo system 20 based on an identification input signal that is input to the servo system 20 to obtain the frequency characteristics of the servo system 20 and an identification output signal that is output from the servo system 20 to obtain the frequency characteristics of the servo system 20. In this case, the frequency characteristic calculation unit 13D obtains the identification input signal and the identification output signal by sampling.
[0254] Here, the identification input signal may be, for example, the excitation signal itself output from frequency characteristic measurement apparatus 10D, or a control signal generated in motor control apparatus 21 based on the excitation signal output from frequency characteristic measurement apparatus 10D to drive motor 22. Here, the control signal generated in motor control apparatus 21 based on the excitation signal output from frequency characteristic measurement apparatus 10D to drive motor 22 may be, for example, a feedback torque command. Here, the identification input signal will be described as the excitation signal input to servo system 20.
[0255] Furthermore, the identification output signal may be, for example, a state signal output from the first state quantity measuring device 24. Here, the identification output signal will be described as being a state signal output from the first state quantity measuring device 24.
[0256] That is, (1) when a first vibration signal in a first frequency range output from the frequency characteristic measuring device 10D is input to the servo system 20 multiple times, the frequency characteristic calculation unit 13D calculates the first frequency characteristic of the servo system 20 in the first frequency range based on the first vibration signal and the first state signal acquired multiple times in the first sampling period. In addition, the frequency characteristic calculation unit 13D (2) calculates the second frequency characteristic of the servo system 20 in the second frequency range based on the second vibration signal and the second status signal, which are acquired multiple times in a second sampling period that is equal to or greater than the first sampling period, when a second vibration signal in the second frequency range output from the frequency characteristic measurement device 10D is input to the servo system 20 multiple times, and (3) calculates the third frequency characteristic of the servo system 20 in the third frequency range based on the third vibration signal and the third status signal, which are acquired multiple times in a third sampling period that is equal to or greater than the first sampling period, when a third vibration signal in the third frequency range output from the frequency characteristic measurement device 10D is input to the servo system 20 multiple times.
[0257] More specifically, (1) when the first excitation signal is input to the servo system 20 multiple times, the frequency characteristic calculation unit 13D calculates the first frequency characteristic of the servo system 20 in the first frequency range based on multiple first input torque commands acquired at a first sampling period that are output multiple times from the motor control device 21 in the servo system 20 to which the first excitation signal is input multiple times, and multiple first state signals acquired at a first sampling period that are output multiple times from the first state quantity measuring device 24 in the servo system 20 to which the first excitation signal is input multiple times. Furthermore, (2) when the second excitation signal is input to the servo system 20 a plurality of times, the frequency characteristic calculation unit 13D calculates the second frequency of the servo system 20 in the second frequency range based on a plurality of second input torque commands acquired in a second sampling period equal to or greater than the first sampling period and output a plurality of times from the motor control device 21 in the servo system 20 to which the second excitation signal is input a plurality of times, and a plurality of second state signals acquired in a second sampling period equal to or greater than the first sampling period and output a plurality of times from the first state quantity measuring device 24 in the servo system 20 to which the second excitation signal is input a plurality of times. (3) when the third excitation signal is input to the servo system 20 multiple times, a third frequency characteristic of the servo system 20 in a third frequency range is calculated based on multiple third input torque commands acquired at a third sampling period equal to or greater than the first sampling period and output multiple times from the motor control device 21 in the servo system 20 to which the third excitation signal is input multiple times, and multiple third state signals acquired at a third sampling period equal to or greater than the first sampling period and output multiple times from the first state quantity measuring device 24 in the servo system 20 to which the third excitation signal is input multiple times.
[0258] Here, the frequency characteristic calculated by the frequency characteristic calculation unit 13D is explained as being the frequency characteristic of the rotation speed [rpm] of the motor 22 relative to the input torque [Nm] input to the servo system 20.
[0259] <Discussion> Generally, when the first state quantity measuring device 24 measures the state quantity of the servo system 20 from the servo system 20, the measurement also includes the influence of noise superimposed on the state quantity of the servo system 20. For this reason, there is a risk that the state quantity of the servo system 20 measured by the first state quantity measuring device 24 will vary each time it is measured by the amount of the influence of the superimposed noise.
[0260] In contrast, with the frequency characteristic measuring device 10D having the above configuration, the second frequency characteristic is calculated based on the first vibration signal acquired multiple times and the first state signal acquired multiple times, the second frequency characteristic is calculated based on the second vibration signal acquired multiple times and the second state signal acquired multiple times, and the second frequency characteristic is calculated based on the second vibration signal acquired multiple times and the second state signal acquired multiple times.
[0261] In this case, the frequency characteristic calculation unit 18 can determine whether the measurement accuracy of the status signals is good or bad by evaluating the average, variance, and / or coherence, etc., of the multiple status signals, and further, for example, can calculate the first frequency characteristic, the second frequency characteristic, and the third frequency characteristic based on the average of only the status signals determined to have good measurement accuracy. Therefore, with the frequency characteristic measurement device 10D configured as described above, it is possible to obtain a more accurate frequency characteristic of the servo system 20, with reduced influence of noise in the measurement of the state quantity of the servo system 20.
[0262] (Supplementary Note) As described above, the first and second embodiments and the first to third variations have been described as examples of the technology disclosed in this application. However, the present disclosure is not limited to these embodiments and variations. As long as they do not deviate from the spirit of the present disclosure, various modifications that would occur to a person skilled in the art may be made to the present embodiment or variations, or forms constructed by combining components of different embodiments or variations may also be included within the scope of one or more aspects of the present disclosure.
[0263] One aspect of the present disclosure may be not only such a frequency characteristic measurement system 1, etc., but also a frequency characteristic measurement method in which characteristic components included in the frequency characteristic measurement system 1, etc. are included as steps. Another aspect of the present disclosure may be a computer program that causes a computer to execute each characteristic step included in the frequency characteristic measurement method. Another aspect of the present disclosure may be a computer-readable non-transitory recording medium on which such a computer program is recorded.
[0264] The present disclosure is widely applicable to systems for measuring frequency characteristics, etc.
[0265] 1, 1A, 1B, 1C, 1D Frequency characteristic measurement system 10, 10A, 10B, 10C, 10D Frequency characteristic measurement device 11, 11D First output section 12, 12D Second output section 13, 13B, 13C, 13D Frequency characteristic calculation section 14, 14D Third output section 15 Frequency characteristic output section 16, 16A Excitation signal selection section 17, 17B, 17C Fourier transform section 18 Frequency characteristic calculation section 19 Frequency characteristic synthesis section 20, 20B, 20C Servo system 21 Motor control device 22 Motor 23 Load 24 First state quantity measuring device 25 Second state quantity measuring device 111 First measurement condition calculation section 112, 112D First excitation signal generation section 121 Second measurement condition calculation section 122, 122D Second vibration signal generating unit 141 Third measurement condition calculating unit 142, 142D Third vibration signal generating unit
Claims
1. A frequency characteristic measuring method for measuring frequency characteristics of a servo system, comprising: a first output step of outputting a first vibration signal in a first frequency range to the servo system; a first frequency characteristic calculation step of calculating a first frequency characteristic of the servo system in the first frequency range based on a first identification input signal that is input to the servo system to obtain the frequency characteristic of the servo system and a first identification output signal that is output from the servo system to obtain the frequency characteristic of the servo system, the first identification input signal being acquired at a first sampling period from the servo system to which the first vibration signal is input, and the first identification output signal being output from the servo system to obtain the frequency characteristic of the servo system; and a second output step of outputting a second vibration signal generated based on the first frequency characteristic in a second frequency range that is a part of the first frequency range to the servo system. a second frequency characteristic calculation step of calculating a second frequency characteristic of the servo system in the second frequency range based on a second identification input signal that is input to the servo system to obtain the frequency characteristic of the servo system, and a second identification output signal that is output from the servo system to obtain the frequency characteristic of the servo system, the second identification input signal being acquired at a second sampling period that is equal to or greater than the first sampling period from the servo system to which the second vibration signal is input, the second frequency characteristic calculation step calculating a second frequency characteristic of the servo system in the second frequency range based on the second identification input signal that is input to the servo system to obtain the frequency characteristic of the servo system, and a second identification output signal that is output from the servo system to obtain the frequency characteristic of the servo system.
2. The frequency characteristic measuring method according to claim 1, wherein the second sampling period is longer than the first sampling period.
3. The frequency characteristic measuring method according to claim 1, wherein the first vibration signal is any one of a pseudorandom signal, a multi-sine wave signal, a sine wave sweep signal, a step signal, and a ramp signal.
4. The frequency characteristic measuring method according to claim 1, wherein the second vibration signal is either a multi-sine wave signal or a sine wave sweep signal.
5. A frequency characteristic measuring method according to claim 1, further comprising a first measurement condition calculating step of calculating an amplitude of said first vibration signal based on at least one of a total inertia and a friction characteristic of said servo system, and in said first outputting step, said first vibration signal having the amplitude of said first vibration signal calculated in said first measurement condition calculating step is outputted to said servo system.
6. A frequency characteristic measuring method according to claim 1, further comprising a second measurement condition calculation step of calculating an amplitude of the second vibration signal based on the first frequency characteristic, and in the second output step, the second vibration signal having the amplitude of the second vibration signal calculated in the second measurement condition calculation step is output to the servo system.
7. The frequency characteristic measuring method according to claim 1, further comprising: a third output step of outputting to the servo system a third vibration signal generated based on the first frequency characteristic in a third frequency range that is a part of the first frequency range and is a range between a first frequency higher than a lower limit frequency of the second frequency range and a second frequency equal to or higher than an upper limit frequency of the second frequency range; and a third frequency characteristic calculation step of calculating a third frequency characteristic of the servo system in the third frequency range based on a third identification input signal that is acquired from the servo system to which the third vibration signal is input, at a third sampling period that is equal to or higher than the first sampling period, and that is input to the servo system to obtain the frequency characteristic of the servo system, and a third identification output signal that is output from the servo system to obtain the frequency characteristic of the servo system.
8. The frequency characteristic measuring method according to claim 7, further comprising a frequency characteristic synthesis step of synthesizing said second frequency characteristic and said third frequency characteristic to calculate a fourth frequency characteristic of said servo system.
9. The frequency characteristic measuring method according to claim 7, wherein the third sampling period is greater than the first sampling period.
10. The frequency characteristic measuring method according to claim 7, wherein the second frequency range and the third frequency range are continuous.
11. The frequency characteristic measuring method according to claim 7, wherein the lower limit frequency of the third frequency range is within the second frequency range.
12. The frequency characteristic measuring method according to claim 7, wherein at least one of the second frequency range and the third frequency range includes at least one of a resonant frequency and an anti-resonant frequency of the servo system.
13. The frequency characteristic measuring method according to claim 8, further comprising a fourth output step of outputting at least one of the second frequency characteristic, the third frequency characteristic, and the fourth frequency characteristic to a display device.
14. The frequency characteristic measuring method according to claim 1, further comprising: a first measurement condition calculation step of calculating an amplitude of the first vibration signal based on at least one of the total inertia and friction characteristics of the servo system and a control parameter setting of the servo system; and a second measurement condition calculation step of calculating an amplitude of the second vibration signal based on the first frequency characteristic and the control parameter setting, wherein in the first output step, the first vibration signal having the amplitude of the first vibration signal calculated in the first measurement condition calculation step is output to the servo system; and in the second output step, the second vibration signal having the amplitude of the second vibration signal calculated in the second measurement condition calculation step is output to the servo system.
15. A frequency characteristic measuring method as described in claim 1, wherein the first identification output signal and the second identification output signal include sensor information indicating a state quantity of the driven body obtained by sensing the driven body in the servo system.
16. The frequency characteristic measuring method according to claim 1, wherein in the first output step, the first vibration signal is output a plurality of times; in the second output step, the second vibration signal is output a plurality of times; in the first frequency characteristic calculation step, the first frequency characteristic is calculated based on the first identification input signal and the first identification output signal, which are obtained a plurality of times from each of the servo systems to which the first vibration signal is input a plurality of times; and in the second frequency characteristic calculation step, the second frequency characteristic is calculated based on the second identification input signal and the second identification output signal, which are obtained a plurality of times from each of the servo systems to which the second vibration signal is input a plurality of times.
17. The frequency characteristic measuring method according to claim 1, wherein the first identification input signal and the second identification input signal have an equal number of samples.
18. A frequency characteristic measuring device for measuring frequency characteristics of a servo system, comprising: a first output unit for outputting a first excitation signal in a first frequency range to the servo system; a frequency characteristic calculation unit for calculating a first frequency characteristic of the servo system in the first frequency range based on a first identification input signal which is acquired at a first sampling period from the servo system to which the first excitation signal is input and which is input to the servo system to obtain the frequency characteristic of the servo system, and a first identification output signal which is output from the servo system to obtain the frequency characteristic of the servo system; and a second output unit for outputting a second excitation signal generated based on the first frequency characteristic in a second frequency range which is a part of the first frequency range to the servo system; The frequency characteristic calculation unit further calculates a second frequency characteristic of the servo system in the second frequency range based on a second identification input signal that is input to the servo system to obtain the frequency characteristic of the servo system and a second identification output signal that is output from the servo system to obtain the frequency characteristic of the servo system, the second identification input signal being acquired at a second sampling period that is equal to or greater than the first sampling period from the servo system to which the second vibration signal is input. A frequency characteristic measuring device.
Citation Information
Patent Citations
Frequency characteristic measurement device and frequency characteristic measurement method
JP2019091141A
Load machine analysis device for motor
JP2004088937A
Image forming apparatus, conveying device, and program
JP2011186125A
Control device
WO2021181787A1
