The present invention relates to an encoder attached to a servomotor, a servo amplifier that drives the servomotor, a controller that controls the servomotor, and an information exchange method in a servo system.
Patent Literature 1 discloses a technology for storing, in an encoder, parameters such as a relation between an output of the encoder and an amount of movement on a machine side and acquiring the control parameters from the encoder when a control device is replaced.
For example, paragraph[0027] of Patent Literature 1 describes “Because control parameters peculiar to a machine apparatus incorporating an encoder are stored in an auxiliary storage device 20 (an EEPROM), an external control device can always acquire the control parameters. Therefore, when the machine apparatus is installed, the machine apparatus and the external control device can be optionally combined and operated. In this case, because the control parameters peculiar to the machine apparatus can be acquired using another control device during a failure and during maintenance of a control device connected to the machine apparatus, it is made possible to replace the control device with some other control device or combine the control device with some other control device and operate the control device. Therefore, maintenance work can be easily performed.”
However, according to the conventional technology, the parameters to be stored are only an origin position of a machine system and the encoder output/the machine side movement amount, and life information and secular change information peculiar to the machine are not stored. Therefore, when a servo amplifier is replaced, the life information cannot be inherited, and parameters need to be input again concerning the secular change information. Consequently, there is a problem in that the replacement takes time.
There is no mechanism for storing a replacement history of plural times of replacement. Further, concerning the life information of a servomotor, there is no mechanism for storing, when the servomotor is replaced, life information of the servomotor used last time.
The present invention has been devised in view of the above and it is an object of the present invention to obtain an encoder, a servo amplifier, a controller, and an information exchange method in a servo system that can inherit information such as life information, secular change information, and a replacement history even after replacement of a device.
In order to solve the aforementioned problems, an encoder according to one aspect of the present invention includes a storing unit that retains information concerning a servo amplifier connected in the past, wherein the encoder detects an operation state of a servomotor driven by a servo amplifier connected anew.
The encoder according to the present invention can update parameters of the servo amplifier when the servo amplifier is simply connected to the encoder. Therefore, it is made possible to save setting work. Further, there is an effect that it is made possible to inherit life information and secular change information of the servo amplifier used before replacement, it is made possible to utilize the life information and the secular change information for preventive maintenance of the servo amplifier after the replacement, and also it is made possible to check an appropriate energization cumulative time of a device.
Exemplary embodiments of an encoder, a servo amplifier, a controller, and an information exchange method in a servo system according to the present invention are explained in detail below with reference to the drawings.
Note that the present invention is not limited by the embodiments.
Thereafter, when the power supply of the servo amplifier 30 is turned on again in a state of the configuration shown in
When the serial information of the servo amplifier 30 connected last time and the serial information of the servo amplifier 30 connected this time coincide with each other (coincide at step S12), the servo system 100 directly starts control of the servomotor 10 (step S15). When the serial number of the servo amplifier 30 connected last time and the serial number of the servo amplifier 30 connected this time do not coincide with each other (not coincide at step S12), the servo system 100 writes, in the storing unit 32 of the servo amplifier 30 connected this time, information concerning the servo amplifier 30 connected last time, for example, control parameter information, an operation history, life information, and secular change information of the servo amplifier 30 stored in the storing unit 22 of the encoder 20 (step S13). For example, the servo system 100 overwrites the control parameter information and additionally writes the operation history, the life information, and the secular change information. Subsequently, the servo system 100 writes, in the storing unit 22 of the encoder 20, information such as a serial number (serial information), an operation history, life information, and secular change information of the servo amplifier 30 connected this time in addition to the information concerning the servo amplifier 30 connected last time (step S14). When the servo amplifier 30 connected this time is a new product, the operation history, the life information, the secular change information, and the like thereof are initial values. Note that the order of step S13 and step S14 can be opposite. Thereafter, the servo system 100 starts control of the servomotor 10 (step S15). When control parameters of the servo amplifier 30 are changed, the servo system 100 changes control parameters stored in the storing unit 22 of the encoder 20 by overwriting the control parameters every time the control parameters are changed.
The control parameter information of the servo amplifier 30 indicates parameters for servo control such as a gain adjustment parameter, an input output setting parameter, and an electronic gear ratio and parameters for servo control estimated by the servo amplifier such as an inertial ratio. The operation history indicates a serial number, a replacement history including date and time, an alarm history, and operation information during alarm occurrence of the servo amplifier 30. The life information indicates information concerning the life of the servo amplifier 30 such as an energization cumulative time of the servo amplifier 30 and the number of ON/OFF times of a rush relay in the servo amplifier 30.
The life information further includes information concerning the life of a capacitor in the servo amplifier 30. The secular change information is information indicating a state and a life on a device side that changes over time such as a setting value and a friction amount of a resonance filter provided in the servo amplifier 30 to prevent resonance on the device side. The secular change information indicates information from the start of use to immediately before replacement of the servo amplifier 30.
The information written in the storing unit 22 of the encoder 20 is not limited to the information concerning the servo amplifier 30 connected last time. It can be arranged such that information concerning the servo amplifier 30 connected the time before last or before the time before last is stored, and thereafter other information is written in the storing unit 22 of the encoder 20 in addition to the stored information. Consequently, it is made possible to check a replacement cycle of the servo amplifier 30.
For example, a state in which a setting value (a filter frequency) of a resonance filter changes with time is shown in
After a fixed period, when a first servo amplifier 30 is replaced with a second servo amplifier 30, secular change information of a filter setting value in the first servo amplifier 30 stored in the storing unit 22 of the encoder 20 is additionally written in the second servo amplifier 30. The second servo amplifier 30 can start operation with a filter setting value optimum for the device immediately after the replacement. Further, when the second servo amplifier 30 is replaced with a third servo amplifier 30, secular change information of filter setting values in the first and second servo amplifiers 30 stored in the storing unit 22 of the encoder 20 is additionally written in the third servo amplifier 30. The third servo amplifier 30 can start operation with a filter setting value optimum for the device immediately after the replacement. In this way, in this embodiment, the optimum filter setting value in the nearest past in the servo amplifier 30 used until immediately before the replacement can be used immediately after the replacement. Therefore, it is possible to save resetting work after the replacement.
Further, by inheriting the secular change information as explained above, for example, it is also possible to check the difference between changes of filter setting values on the A axis and the B axis as shown in
In the conventional servo system, when a servo amplifier of a pulse input type is replaced at a customer's site, parameters of a new servo amplifier are in a state of the factory default and need to be set every time the servo amplifier is replaced. Further, life information is not inherited after the replacement.
Therefore, in this embodiment, the parameter information and the serial number of the servo amplifier 30 are stored in the storing unit 22 of the encoder 20 of the servomotor 10 connected to the servo amplifier 30. When only the servo amplifier 30 is replaced, the servo amplifier 30 reads out the parameters of the servo amplifier 30 stored in the storing unit 22 of the encoder 20 and updates parameter setting. Information to be stored in the encoder 20 includes, besides the parameters of the servo amplifier 30, life information (an energization cumulative time and the number of ON/OFF times of a rush relay), secular change information (a filter setting value) of the servo amplifier 30. Data to be stored in the storing unit 22 of the encoder 20 may include parameters and the like of not only the servo amplifier 30 connected and used last time but also the servo amplifier 30 used the time before last or before the time before last.
With the configuration of the servo system 100 explained above, by simply connecting the servo amplifier 30, it is made possible to update the parameters of the servo amplifier 30 on the basis of the information stored in the storing unit 22 of the encoder 20. Therefore, it is possible to save setting work. In manual setting, parameters on a different axis are likely to be set by mistake. However, according to this embodiment, it is possible to prevent such wrong setting of the parameters. Further, it is possible to inherit the life information. Therefore, it is made possible to check an approximate energization cumulative time of the device. It is made possible to inherit the operation history, the life information, and the secular change information of the servo amplifier 30 used before the replacement. Therefore, it is made possible to utilize the operation history, the life information, and the secular change information for preventive maintenance of the servo amplifier 30 and the device after the replacement. Note that, in the above explanation, the encoder 20 is explained as an example of the device connected to the servo amplifier 30. However, the device connected to servo amplifier 30 can be other device as long as the information concerning the servo amplifier 30 can be retained.
In the first embodiment, the form in which the information concerning the servo amplifier 30 is written in the encoder 20 is explained. However, in this embodiment, in the configuration shown in
Thereafter, when the power supply of the servo amplifier 30 is turned on again in the state of the configuration shown in
When the serial information of the encoder 20 and the servomotor 10 connected last time and the serial information of the encoder 20 and the servomotor 10 connected this time coincide with each other (coincide at step S22), the servo system 100 directly starts servomotor control (step S25). When the serial information of the encoder 20 or the servomotor 10 connected last time and the serial information of the encoder 20 or the servomotor 10 connected this time do not coincide with each other (not coincide at step S22), the servo system 100 additionally writes, in the storing unit 22 of the encoder 20 connected this time, information concerning the encoder 20 and the servomotor 10 connected last time, for example, serial information, operation histories, life information, and secular change information of the encoder 20 and the servomotor 10 connected last time stored in the storing unit 32 of the servo amplifier 30 (step S23).
Note that, when the serial information of the encoder 20 or the servomotor 10 connected last time and the serial information of the encoder 20 or the servomotor 10 connected this time do not coincide with each other (not coincide at step S22), for example, it is conceivable that a serial number is given to a set of the encoder 20 and the servomotor 10 and, as a result of collating a serial number of the set of the encoder 20 and the servomotor 10, they do not coincide with each other. However, it is also conceivable that only the serial information of the encoder 20 connected last time and the serial information of the encoder 20 connected this time do not coincide with each other, or only the serial information of the servomotor 10 connected last time and the serial information of the servomotor 10 connected this time do not coincide with each other. This is because it is also likely that the encoder 20 and the servomotor 10 are not provided as a set.
Following step S23, the servo system 100 additionally writes, in the storing unit 32 of the servo amplifier 30, serial information, operation histories, and secular change information of the encoder 20 and the servomotor 10 connected this time (step S24). Note that the order of step S23 and step S24 can be opposite. Thereafter, the servo system 100 starts control of the servomotor 10 (step S25).
The serial information of the encoder 20 and the servomotor 10 is serial number and the like of the encoder 20 and the servomotor 10. The operation histories indicate replacement histories and the like including date and time of the encoder 20 and the servomotor 10. The life information indicates information concerning the lives of the encoder 20 and the servomotor 10 such as energization cumulative times. The secular change information is information indicating the states and the lives of the encoder 20 and the servomotor 10 and on the device side that change over time such as correction data of the encoder 20, and indicates information from the start of use until immediately before replacement of the encoder 20 and the servomotor 10. The correction data is, for example, data concerning correction relative to a secular change due to an environment of the encoder 20 and the servomotor 10. Specifically, the correction data is correction data or the like relative to light intensity of an LED for position detection used in the encoder 20.
The information to be written in the storing unit 32 of the servo amplifier 30 is not limited to the information concerning the encoder 20 and the servomotor 10 connected last time. It can be arranged such that information concerning the encoder 20 and the servomotor 10 connected the time before last or before the time before last is stored, and thereafter information is written in the storing unit 32 of the servo amplifier 30 in addition to that stored information. Consequently, it is made possible to check a replacement cycle of the encoder 20 and the servomotor 10.
With the configuration of the servo system 100 explained above, by simply connecting the encoder 20 and the servomotor 10 to the servo amplifier 30, it is made possible to determine, on the basis of the information stored in the storing unit 32 of the servo amplifier 30, whether the servomotor 10 on a correct axis is connected. Therefore, it is possible to prevent the servomotor 10 on a different axis from being connected by mistake. It is also possible to inherit the life information. Therefore, it is made possible to check approximate energization cumulative times of the encoder 20 and the servomotor 10. It is made possible to inherit the operation histories, the life information, and the secular change information of the encoder 20 and the servomotor 10 used before the replacement. Therefore, it is possible to utilize the operation histories, the life information, and the secular change information for preventive maintenance of the encoder 20 and the servomotor 10 after the replacement. Further, it is made possible to check an approximate operation time of the device.
In the first embodiment, the information concerning the servo amplifier 30 such as the parameter information, the operation history, the life information, and the secular change information of the servo amplifier 30 is stored in the storing unit 22 of the encoder 20. However, in this embodiment, the information concerning the servo amplifier 30 can be stored in another external device connectable to the servo amplifier 30, for example, in the storing unit 42 of the controller 40 and written in the storing unit 32 of a new servo amplifier 30 when the servo amplifier 30 is replaced. In an information exchange method in this case, the encoder 20 shown in
In the second embodiment, the information concerning the encoder 20 and the servomotor 10, for example, the serial information, the operation histories, the life information, and the secular change information of the encoder 20 and the servomotor 10 is stored in the storing unit 32 of the servo amplifier 30. However, in this embodiment, the information concerning the encoder 20 and the servomotor 10 can be stored in another external device connectable to the servo amplifier 30, for example, the storing unit 42 of the controller 40 and written in the storing unit 22 of a new encoder 20 when the encoder 20 and the servomotor 10 are replaced. In an information exchange method in this case, the servo amplifier 30 is replaced by the controller 40 at steps other than step S21. The same effect can be obtained by distributedly storing the information concerning the encoder 20 and the servomotor 10 in the storing unit 32 of the servo amplifier 30 and the storing unit 42 of the controller 40. In this case, the collation of the serial numbers at step S22 in
The present invention is not limited to the above-explained embodiments. At an implementation stage, the present invention can be variously modified without departing from the spirit of the present invention. Inventions at various stages are included in the embodiment. Various inventions can be extracted according to appropriate combinations in the disclosed constituent elements. For example, when the problems described in the technical problem can be solved and the effects described in the advantageous effects of invention can be obtained even if several constituent elements are deleted from all the constituent elements described in the embodiments, a configuration in which the constituent elements are deleted can be extracted as an invention. Further, the constituent elements described in the different embodiments can be combined as appropriate.
As explained above, the encoder, the servo amplifier, the controller, and the information exchange method in the servo system according to the present invention are useful in inheriting history information of the devices configuring the servo system after replacement of the devices and is, in particular, suitable for inheriting secular change information such as a setting value of a resonance filter and facilitating resetting work after the replacement.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2013/050450 | 1/11/2013 | WO | 00 |