ROBOT SYSTEM AND ERRONEOUS WIRING DETECTION METHOD THEREOF
20220410389 ยท 2022-12-29
Inventors
Cpc classification
B25J9/1602
PERFORMING OPERATIONS; TRANSPORTING
B25J9/1674
PERFORMING OPERATIONS; TRANSPORTING
International classification
Abstract
A robot system includes a manipulator having a plurality of axes and driven by a motor provided for each axis, a robot controller, an encoder attached to the motor for each axis, an encoder wiring line connecting the encoder with the robot controller, a storage part in the manipulator which stores mechanical parameters including identification information for discriminating the encoder for each axis, and a control part in the robot controller which reads out the mechanical parameters from the storage part and communicates with the encoder through the encoder wiring line. The control part discriminates whether the identification information read out from the encoder and the identification information included in the mechanical parameters are coincided with each other or not for each axis and, when both the identification informations are not coincided with each other, the control part determines that erroneous wiring exists in the encoder wiring line.
Claims
1. A robot system comprising: a manipulator which comprises a plurality of axes and is driven by motors provided for each of the axes; a robot controller which controls the manipulator; an encoder which is attached to the motor for each of the axes; an encoder wiring line which is provided for each of the axes and connects the encoder with the robot controller; a storage part which is independently provided in the manipulator from the encoder and stores mechanical parameters including at least identification information for discriminating the encoder for each of the axes of the manipulator; and a control part which is provided in the robot controller and reads out the mechanical parameters from the storage part and communicates with the encoder through the encoder wiring line; wherein the control part discriminates whether the identification information read out from the encoder through the encoder wiring line for discriminating the encoder and the identification information included in the mechanical parameters are coincided with each other or not for each of the axes; and wherein when both the identification informations are not coincided with each other in at least one of the axes, the control part determines that erroneous wiring exists in the encoder wiring line.
2. The robot system according to claim 1, wherein the control part outputs information which identifies the encoder wiring line where the erroneous wiring has occurred based on an axis in which the identification information read out from the encoder and the identification information included in the mechanical parameters are not coincided with each other.
3. The robot system according to claim 2, wherein the mechanical parameters include configuration information relating to structure of the manipulator, and the robot controller controls the manipulator based on the configuration information extracted from the mechanical parameters which are read out by the control part.
4. The robot system according to claim 1, wherein the mechanical parameters include configuration information relating to structure of the manipulator, and the robot controller controls the manipulator based on the configuration information extracted from the mechanical parameters which are read out by the control part.
5. An erroneous wiring detection method of a robot system, the robot system comprising: a manipulator which comprises a plurality of axes and is driven by motors provided for each of the axes; a robot controller which controls the manipulator; and an encoder which is attached to the motor for each of the axes; the erroneous wiring detection method being a method for detecting erroneous wiring in an encoder wiring line which is provided for each of the axes and connects the encoder with the robot controller, comprising: a storing step in which mechanical parameters including at least identification information for discriminating the encoder for each of the axes of the manipulator are previously stored in a storage part independently provided in the manipulator from the encoder; a discrimination step in which, in the robot controller, the identification information for discriminating the encoder is read out from the encoder of each of the axes through the encoder wiring line and the mechanical parameters are read out from the storage part to discriminate whether the identification information which is read out from the encoder and the identification information included in the mechanical parameters are coincided with each other or not for each of the axes; and an erroneous wiring detection step in which, both the identification informations are not coincided with each other in at least one of the axes in the discrimination step, it is determined that erroneous wiring exists in the encoder wiring line.
6. The erroneous wiring detection method according to claim 5, wherein in the erroneous wiring detection step, information for identifying the encoder wiring line where the erroneous wiring has occurred is outputted based on an axis in which the identification information read out from the encoder and the identification information included in the mechanical parameters are not coincided with each other.
7. The erroneous wiring detection method according to claim 6, wherein the discrimination step and the erroneous wiring detection step are executed when the robot controller activates the manipulator.
8. The erroneous wiring detection method according to claim 5, wherein the discrimination step and the erroneous wiring detection step are executed when the robot controller activates the manipulator.
9. The erroneous wiring detection method according to claim 7, wherein the mechanical parameters include configuration information relating to configuration of the manipulator, and the configuration information extracted from the mechanical parameters is set to be configuration information which is used when the robot controller controls the manipulator.
10. The erroneous wiring detection method according to claim 8, wherein the mechanical parameters include configuration information relating to configuration of the manipulator, and the configuration information extracted from the mechanical parameters is set to be configuration information which is used when the robot controller controls the manipulator.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Embodiments will now be described, by way of example only, with reference to the accompanying drawings which are meant to be exemplary, not limiting, and wherein like elements are numbered alike in several Figures, in which:
[0022]
[0023]
[0024]
DETAILED DESCRIPTION
[0025]
[0026] The robot controller 10 is configured to control the manipulator 30 and includes a plurality of servo drivers 11 and a control part 12 which controls the whole of the robot controller 10. The servo driver 11 is provided so as to correspond to a motor 31 of each axis in the manipulator 30. For each axis of the manipulator 30, its rotation position information which is outputted from an encoder 32 connected with a motor 31 provided in the axis is supplied to a servo driver 11 provided for the axis, and the servo driver 11 for the axis drives the motor 31 of the axis based on the supplied rotation position information. The servo driver 11 for the axis and the motor 31 are connected with each other through a motor wiring line 41 for each axis, and the servo driver 11 for the axis and the encoder 32 are connected with each other through an encoder wiring line 42. The motor wiring line 41 is, for example, a power wiring line connected with coils of a three-phase synchronous motor, and the encoder wiring line 42 is a signal wiring line by bidirectional serial data communication. The servo driver 11 transmits a command to the encoder 32 at intervals of a constant time period and thereby acquires rotation position information of the corresponding motor 31 from the encoder 32. The control part 12 is, for example, configured of a microprocessor (MPU) and controls each servo driver 11 by high-speed serial communication (for example, CAN communication or Ether CAT (registered trademark) communication) which connects each servo driver 11 in a daisy chain mode. Therefore, the control part 12 is capable of communicating with the encoder 32 through the encoder wiring line 42 via the servo driver 11. Specifically, the control part 12 is capable of reading from the encoder 32 rotation position information of the corresponding motor 31 and identification information such as a serial number of the encoder 32 through the encoder wiring line 42 via the servo driver 11.
[0027] The manipulator 30 is provided with a manipulator circuit board 33 in addition to the motors 31 and encoders 32 for the respective axes. The manipulator circuit board 33 is provided with a processing part 34 which is, for example, configured of a microprocessor to communicate with the control part 12 in the robot controller 10 through a control data wiring line 45, and a storage part 35 which is configured of a nonvolatile memory and is connected with the processing part 34. In the control data wiring line 45, transmission and reception of a command and data are performed between the control part 12 and the processing part 34 by bidirectional serial data communication. Specifically, the control part 12 in the robot controller 10 transmits a command to the processing part 34 in the manipulator 30 through the control data wiring line 45 and instructs the processing part 34 to read data from the storage part 35 and thereby, the control part 12 is capable of reading out and acquiring mechanical parameters stored in the storage part 35. The processing part 34 and the storage part 35 may be, for example, integrated as one-chip microcomputer. Mechanical parameters of the manipulator 30 are written into the storage part 35 at a time of manufacturing of the manipulator 30. The mechanical parameters includes at least identification information of the encoder 32 for each axis of the manipulator 30 in order to indicate the axis to which the individual encoder 32 belongs. As described below, configuration information of the manipulator 30 may be included in the mechanical parameters.
[0028] The aggregate wiring member 20 electrically connecting the robot controller 10 with the manipulator 30 is, for example, a multi-core cable which is structured so that the motor wiring line 41 for each axis, the encoder wiring line 42 for each axis, and the control data wiring line 45 are bundled up as one piece, and the aggregate wiring member 20 is connected with each of the robot controller 10 and the manipulator 30 through a dedicated multi-core connector. The motor wiring line 41 which is a power wiring line may be provided between the robot controller 10 and the manipulator 30 through another cable instead of the aggregate wiring member 20. A power source is also required in the manipulator 30 for operating the encoders 32, the processing part 34 and the storage part 35, and a power source wiring line for operating them and a wiring line required to activate the manipulator 30 by the robot controller 10 are also provided between the robot controller 10 and the manipulator 30. These wiring lines may be also disposed in an inside of the aggregate wiring member 20.
[0029] In the manipulator 30, the multi-core connector which is used for connecting with the aggregate wiring member 30 is also connected with the manipulator circuit board 33 by a multi-core cable, and each encoder wiring line 42 and the control data wiring line 45 are connected and extended into the manipulator circuit board 33. The control data wiring line 45 is connected with the processing part 34 through a wiring pattern formed on the manipulator circuit board 33. Each encoder wiring line 42 is provided as a signal wiring line which is separately provided for each axis of the manipulator between the manipulator circuit board 33 and the encoder 32. A connector 43 is used for connection between the signal wiring line and the manipulator circuit board 33 and connection between the signal wiring line and the corresponding encoder 32. In order to pass a signal wiring line through a long link or a long arm in the manipulator 30, the signal wiring line may be extended through a relay connector 44. In these signal wiring lines, wiring members or cables of the same type are commonly used, and connectors of the same size and the same number of cores are used as the connector 43 and the relay connector 44. As a result, although erroneous wiring hardly occurs in the encoder wiring line 42 between the robot controller 10 and the manipulator circuit board 33, erroneous connection may easily occur in the connectors 43 and the relay connector 44 in a range between the manipulator circuit board 33 and the encoder 32 of each axis and thus, erroneous wiring easily occur in the encoder wiring line 42.
[0030] In order to prevent the above-mentioned problem, in the robot system in this embodiment, the control part 12 provided in the robot controller 10 is configured to automatically detect presence or absence of erroneous wiring in the encoder wiring line 42. Detection of presence or absence of the erroneous wiring is, for example, performed when the manipulator 30 is activated by the robot controller 10. Next, processing for detecting erroneous wiring in this embodiment will be described below with reference to
[0031] First, in the step 101, the control part 12 activates the manipulator 30. As a technique that the robot controller 10 activates the manipulator 30, a widely known technique may be used. Successively, in the step 102, the control part 12 sequentially transmits a command requesting a serial number to the encoder 32 for each axis through the encoder wiring line 42 via the servo driver 11, and the control part 12 receives the serial number from the encoder 32 which has received the command via the servo driver 11. In the step 103, the control part 12 transmits a command, which requests a serial number of the encoder 32 for each axis in the mechanical parameters stored in the storage part 35, to the processing part 34 of the manipulator 30. The processing part 34 processes the command and transmits the serial number of the encoder 32 for each axis to the control part 12. The order of the processing in the step 102 and the processing in the step 103 may be reversed.
[0032] Next, in the step 104, the control part 12 compares the serial number read out from the encoder 32 via the servo driver 11 with the serial number in the mechanical parameters for each axis of the manipulator 30 and, in the step 105, the control part 12 discriminates whether the serial number read out from the encoder 32 and the serial number in the mechanical parameters are coincided with each other or not for all axes. The serial number for each axis included in the mechanical parameters correctly indicates the serial number stored in the encoder 32 which is provided in the each axis of the manipulator 30. When erroneous wiring does not occur, the serial number read out from the encoder 32 and the serial number included in the mechanical parameters must coincide with each other for each axis. Therefore, when both the serial numbers are coincided with each other in all the axes in the step 105, the control part 12 determines that erroneous wiring in the encoder wiring line 42 does not occur and, in the step 106, the control part 12 starts control of the manipulator 30 based on previously determined operation program, and the processing for detecting erroneous wiring is finished.
[0033] On the other hand, if there exists erroneous wiring in the encoder wirings line 42, a connecting relationship of the encoder 32 with the robot controller 10 is different from an intended connection and thus, an axis exists whose serial number read out from the encoder 32 is not coincided with the serial number included in the mechanical parameters. When at least one of the axes whose serial numbers are not coincided with each other exists in the step 105, the control part 12 determines that there is erroneous wiring in the step 107 and outputs an alarm, for example. Further, the axis whose serial numbers are not coincided with each other is the axis corresponding to the erroneous wiring and thus, in the step 108, the control part 12 indicates the axis corresponding to the erroneous wiring, for example, on a software tool of the robot controller 10 or on a pendant connected with the robot controller 10 as information for identifying the erroneous wiring portion and, after that, processing for detecting erroneous wiring is finished.
[0034] In the robot system in accordance with this embodiment, erroneous wiring in the encoder wiring lines 42 can be detected without actually operating the motors 31 of the manipulator 30. Specifically, since erroneous wiring is detected when the manipulator 30 is activated, presence or absence of erroneous wiring is recognized before the robot controller 10 actually operates the manipulator 30. Therefore, the manipulator 30 is not driven at a time of abnormality and thus, occurrence of malfunction in the manipulator is suppressed and safety is improved. Further, when it is determined that erroneous wiring has occurred, information for identifying the erroneous wiring portion is outputted and thus, a load of work for disassembling the manipulator 30 and searching the actual erroneous wiring portion can be remarkably reduced.
[0035] In the robot system described above, the mechanical parameters previously stored in the storage part 35 of the manipulator 30 include a serial number of the encoder 32 for each axis. However, the mechanical parameters may include other information in addition to a serial number of the encoder 32. For example, it may be configured that configuration information relating to structure of the manipulator 30 is included in mechanical parameters, and the manipulator 30 is controlled based on the configuration information extracted from the mechanical parameters which are read out from the manipulator 30 by the robot controller 10. Next, an embodiment of a case in which configuration information of the manipulator 30 is included in mechanical parameters will be described below.
[0036] When operation of the manipulator 30 is to be controlled by the robot controller 10, the operation is required to control based on information such as an axis configuration of the manipulator 30, lengths of an arm and a link, an operating range where the arm and the link are permitted to be moved in a space in which the manipulator 30 is installed, and an allowed maximum-speed. Such information which is required to control operation of the manipulator 30 is referred to as configuration information of the manipulator 30. Conventionally, such configuration information is required to previously store in the robot controller 10 and thus, when the robot controller 10 connected with the manipulator 30 is changed due to occurrence of malfunction in the robot controller 10, it is difficult to operate the robot system immediately. On the other hand, in this embodiment, configuration information of the manipulator 30 is included in mechanical parameters which are stored in the storage part 35 of the manipulator 30, and the robot controller 10 read outs the mechanical parameters to control the manipulator 30 based on the configuration information in the mechanical parameters. According to this embodiment, even in a case that configuration information is not previously stored in the robot controller 10, when the robot controller 10 connected with the manipulator 30 is changed, the robot system can be immediately operated.
[0037]
[0038] Next, similarly to the case shown in
[0039] On the other hand, when at least one of the axes whose serial numbers are not coincided with each other exists in the step 105, similarly to the case shown in
[0040] As described above, according to this embodiment, configuration information of the manipulator 30 is stored in the storage part 35 of the manipulator 30, and the robot controller 10 is capable of reading out the configuration information of the manipulator 30. Therefore, even in a case that the robot controller 10 is replaced due to, for example, malfunction, erroneous wiring in the encoder wiring line 42 of the manipulator 30 can be detected and the robot system is capable of immediately functioning.
[0041] While the description above refers to particular embodiments of the present invention, it will be understood that many modifications may be made without departing from the spirit thereof. The accompanying claims are intended to cover such modifications as would fall within the true scope and spirit of the present invention.
[0042] The presently disclosed embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims, rather than the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein.