This application is based upon and claims the benefit of priority from the prior Japanese Patent Applications No. 2004-89919, filed on Mar. 25, 2004, the entire contents of which are incorporated herein by reference.
1. Field of the Invention
The present invention relates to a controller system and a controller for a mechatronics device.
2. Background Art
As a mechatronics device like a robot has various kinds of configurations, an input-output signal (hereafter, called I/O) is greatly dependent on the mechatronics device. Accordingly, it has been difficult to control a variety of mechatronics devices with a single general-purpose controller (refer to Japanese Patent Application Laid-open No. 2003-178044 (JP-A)).
A technique by which a computing system is dynamically reconfigured has been discloses in JP-A 2003-178044. According to this technique, the computer system is reconfigured by a configuration in which a signal path is dynamically changed. When a display, and the like are controlled, it is enough to change a signal path as described above, that is, to change a connection method.
However, only the change in the signal path has not been enough because the I/Os of the mechatronics device simultaneously includes digital I/Os, and analog ones.
The object of the present invention is to provide a control system which can control a variety of mechatronics devices.
An aspect of the present invention is to provide a control system which can control a variety of mechatronics devices. A controller system according to an embodiment of the present invention comprises
A controller system according to another embodiment of the present invention comprises a mechatronics device comprising a first connector inputting or outputting signals; and a first memory which stores identification information by which the mechatronics device is specified, and
A controller according to another embodiment of the present invention, which controls a mechatronics device, comprises a connector which is electrically connected to the mechatronics device; a reconfigurable circuit which outputs control signals controlling the mechatronics device, the reconfigurable circuit being changed to a suitable circuit structure for the mechatronics device; and a processor outputting an instruction to the reconfigurable circuit to change the circuit structure according to a characteristic information of the mechatronics device, the characteristic information being sent from the mechatronics device connected to the connector.
A controller according to another embodiment of the present invention, which controls a mechatronics device, comprises a connector which is electrically connected to the mechatronics device; a memory which stores identification information by which the mechatronics device is specified, the memory storing characteristic information corresponding to the identification information; a reconfigurable circuit which outputs control signals controlling the mechatronics device, the reconfigurable circuit being changed to a suitable circuit structure for the mechatronics device; and a processor selecting the characteristic information from the memory on the basis of the identification information received from the mechatronics device, and outputting an instruction to the reconfigurable circuit to change the circuit structure according to the characteristic information.
Hereinafter, embodiments according to the present invention will be explained, referring to drawings. These embodiments do not limit the present invention.
The connectors 110, 161, and 162 are a male or female (plug or jack) connector. And the connectors 110 and 161 can be electrically connected with each other, and the connectors 110 and 162 can be connected in the same manner. Accordingly, either of the connector 110 or the connector 161 has a configuration in which a plurality of connecting pins (not shown) are arranged, and the other has a receiving unit corresponding to the connecting pins in such a way that electrical connection is realized by engagement with the above connecting pins. The connectors 110, and 162 functions just as is the case with the connectors 110 and 161.
The storage unit 151 stores characteristic information on a control signal exchanged for communication between the mobile robot 101 (hereinafter, also called the robot 101) and the controller 103 for communication in order to control the robot 101, and the storage unit 152 stores characteristic information on a control signal exchanged between the robot arm 102 (hereinafter, also called the robot 102) and the controller 103 for communication in order to control the robot 102. The above characteristic information is information, which represents the characteristic of a signal which passes through a connecting pin for input and output, for each connecting pin. For example, as shown in
When the connector 110 is connected to the connector 161, the CPU 120 reads the characteristic information from the storage unit 151, and outputs an instruction, by which the circuit structure of a reconfigurable circuit 140 is changed, to the circuit 140. Similarly, when the connector 110 is connected to the connector 162, the CPU 120 reads the characteristic information from the storage unit 152, and outputs the above instruction. Therewith, the CPU 120 instructs the storage unit 130 to transmit a program for reconfiguration. The storage unit 130 stores a program for reconfiguration for the reconfigurable circuit 140, and transmits the above program to the circuit 140 according to the instruction from the CPU 120. The storage unit 130 may be, for example, a ROM.
The circuit structure of the reconfigurable circuit 140 is changed to a suitable one for a robot connected to the connector 110, and the circuit 140 outputs a control signal suitable for the robot. Though the reconfigurable circuit 140 may be a static reconfigurable circuit, the circuit 140 may preferably be a dynamic reconfigurable circuit. Thereby, the circuit structure of the reconfigurable circuit 140 can be changed every one clock of a signal. Moreover, though the reconfigurable circuit 140 has been used as a circuit which can be reconfigured in the present embodiment, a field programmable gate array (FPGA), in stead of the reconfigurable circuit, may be adopted as a reconfigurable circuit. Here, when the static reconfigurable circuit and the FPGA are used as a reconfigurable circuit 140, a configuration for the inside of the controller 103 can be changed only once when the robot controller 103 is connected to a robot for the first time.
Then, the CPU 120 reads characteristic information in the ROM 151 (S20). More specifically, the CPU 120 reads the characteristic information from the storage unit 151 through a part of a connection portion between the connectors 110 and 161. For example, the CPU 120 reads the characteristic information from the storage unit 151 through a part of the connecting pins in the connector 161 and a receiving unit in the connector 110 corresponding to the above connecting pin. Here, the part of the connecting pins in the connector 161, and, the receiving unit in the connector 110 corresponding to the part of the connecting pins are set beforehand to be prepared for communication of the characteristic information. At this step, the CPU 120 reads pieces of data at addresses of 0 through N−1 in the storage unit 151 shown in
Subsequently, the CPU 120 reconfigures the circuit structure of the reconfigurable circuit 140 according to the characteristic information (S30). More specifically, the reconfigurable circuit 140 is reconfigured in such a way that the circuit 140 complies with voltage information for a control signal as shown in
Then, the reconfigurable circuit 140 outputs the control signal to be output through the remaining connecting pins at the voltage and in the kind according to the characteristic information (S40). Thereby, the controller 103 can control the robot 101.
Thus, according to this embodiment, the reconfigurable circuit 140 can be reconfigured in such a way that the control signal suitable for the robot connected to the controller 103 is output. As a result, the controller system 100 can control a variety of mechatronics devices which have different number of I/Os and different characteristics from one another.
In this embodiment, a part of the connecting pins in the connector 161, and the receiving units in the connector 110, which are corresponding to the above part of the pins, are used for communication of the characteristic information, and the remaining connecting pins, and the receiving units corresponding to the above remaining pins are used for communication of the control signal. As the connecting pins and the receiving units used for communication of the characteristic information are different from the connecting pins and the receiving units used for communication of the control signal as described above, setting for the connecting pins and the receiving units, which are used for communication of the characteristic information, is not required to be changed.
On the other hand, the controller 103 may acquire characteristic information through all the connecting pins and all the receiving unit. In this case, the reconfigurable circuit 140 is reconfigured at high speed, because the controller 103 can obtain the characteristic information through all the connecting portions. However, as communication of characteristic information and that of a control signal are performed by using the same connecting pins and the same receiving units in common, it is required to change setting for the connecting pins and the receiving units.
Though this embodiment has a configuration in which the connector 161 includes the connecting pins, and the connector 110 includes the receiving units, there may be applied another configuration in which the connector 110 comprises connecting pins, and the connector 161 comprises receiving units, instead of the configuration of this embodiment. Moreover, the reconfigurable circuit 140 may be configured as an integral-type device which is provided with one of the CPU 120 and the storage unit 130, or both of them.
The difference between a controller system according to a second embodiment which according to the present invention and that according to the first embodiment is that storage units 151 and 152 store extensible markup language (XML) data. Moreover, though the first embodiment has had a configuration in which the controller 103 acquires a control signal by one-way communication from the controller 103 to the robot 101 or 102.
However, in the second embodiment, a controller 103 acquires a control signal by two-way communication between the controller 103 and a robot 101 or 102. Here, explanation of the controller system according to the second embodiment will be eliminated because the controller system according to the second embodiment has the similar configuration to that shown in
The XML data in
Thus, the circuit structure of the reconfigurable circuit 140 can be changed in the second embodiment by using the XML data. Thereby, in the second embodiment, the characteristic information can be easily changed by rewriting the XML data in the storage units 151 and 152 in the robots 101 and 102. That is, in order to change the characteristic information, the second embodiment is not required to change hardware in the robots 101 and 102 (the storage units 151 and 152).
In a third embodiment, the circuit structure of the reconfigurable circuit is reconfigured from a suitable circuit for a direct current (DC) motor provided with an encoder to a suitable circuit for a DC motor provided with an potentiometer.
The DC motor 301 is connected to the controller 300 as shown in
The operation according to the third embodiment will be explained, referring to
The reconfigurable circuit 340 has a circuit structure shown in
A maximum number of the axes, which the reconfigurable circuit 340 can control, is represented by n. As the maximum number of the axes is one if only one DC motor 301 is connected to the controller 300, registers which stores the torque 2 through n and the position information 2 through n are not required.
Then, the electric-power output unit 360 supplies electric power to the DC motor 301, based on the torque information in the group of registers 350 (S49). The DC motor 301 is rotated by the electric power from the electric-power output unit 360, and the encoder 311 counts the number of pulses proportional to the number of rotations of the DC motors 301 at this time (S59). The DC motor 301 transmits the counted value to the controller 300 as a digital value (S69). The controller 300 receives the digital value in the digital input unit 370 (S79).
Subsequently, a sequence of steps for position control are executed (S80). The contents of the sequence of steps for position control are shown in
Returning to
Accordingly, the reconfigurable circuit 340 has a circuit structure shown in
Thereby, the analog input unit 371 receives the analog value from the potentiometer 312 (S139), and the A/D converter 375 converts the analog value into a digital value (S149). This digital value is transmitted to the angle converting unit 380. Thereafter, the sequence of the steps for position control at the step S80 is executed in the same manner as that of the controller 300 shown in
As shown in
The third embodiment has adopted the one-axis DC motors 301, 302. However, the controller 300 can control a mechatronics device with an arbitrary number of axes within a limited range of the scale of the reconfigurable circuit 140 and within a limited range of the number of connecting pins because the controller 300 is provided with the registers storing the torque information 1 through n and the position information 1 through n as described above.
The controller 103 transmits a current instruction and a speed instruction in an analog value (e.g. a voltage value) to the servo amplifiers 480 and 481. However, in a case that enough electric power can not be output only by a reconfigurable circuit 140, the mechatronics devices 431 may be provided with the servo amplifier 480, and the mechatronics devices 432 may be provided with the servo amplifier 481 as shown in
In this case, a power amplification rates of the servo amplifier 480 is stored beforehand in a storage unit 152 as characteristic information, and a power amplification rate of the servo amplifier 481 are stored beforehand in the storage unit 351 as characteristic information. Thereby, the controller 103 can output a control signal suitable for the mechatronics device 431 or 432, even when the mechatronics device 431 is provided with the servo amplifier 480, and the mechatronics device 432 is provided with the servo amplifier 481. Moreover, the fourth embodiment eliminates the electric-power output unit 360 shown in
The ID tags 551 and 552 are a non-contact-type storage unit, a connector 561 comprises the ID tag 551, and a connector 562 comprises the ID tag 552. The ID tag 551 and 552 stores identification information (hereinafter, simply called ID too) by which the mechatronics device 501 is specified, and the ID tag 552 stores identification information by which the mechatronics device 502 is specified.
On the other hand, the ID reader 510 is a non-contact-type reading device, and reads an ID from the ID tags 551 or 552 before the connectors 561 and 562 are connected to a connector 110. Moreover, a storage unit 130 stores characteristic information corresponding to the ID.
Then, a CPU 120 acquires characteristic information corresponding to the ID from the storage unit 130 (S21), and a circuit for a reconfigurable circuit 140 is configured on the basis of this characteristic information (S31). In parallel with the steps S11 through S31, the connector 561 is connected to the connector 110 (S33). Thereafter, the reconfigurable circuit 140 transmits a control signal suitable for the mechatronics device 501 to the device 501 (S40).
In the fifth embodiment, the ID reader 510 reads an ID by making the ID tags 551 and 552 approach the ID reader 510. Accordingly, the ID reader 510 can read an ID before the connector 561 and 562 are connected to the connector 110 or in parallel with the connection. Thereby, the CPU 120 can configure the reconfigurable circuit 140 at an early stage. Accordingly, a period from the time when the connectors 561, 562 are connected to the connector 110 to the time when the mechatronics devices 501, 502 are controlled by the controller 503 can be reduced in the fifth embodiment. Furthermore, the fifth embodiment can have the same advantages as those of the first through fourth embodiments by combination of the present embodiment and any one of the first through fourth embodiments.
In the fifth embodiment, ID information may be transmitted for communication by using, for example, a wireless LAN or Bluetooth instead of the ID tags 551 and 552.
Though the characteristic information has been stored in the storage unit 130 according to the fifth embodiment, the characteristic information may be stored in the ID tag 551 or 552. In this case, the mechatronics devices 501 and 502 transmit the characteristic information to the controller 503 by wireless communication.
In the first through fifth embodiments, the controller and the mechatronics device may be built in one robot together. The controller in the above embodiments can be applied to various kinds of robots. Thereby, the development cost of the controller can be remarkably reduced. Moreover, the controller can be made smaller and lighter.
Other embodiments of the present invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. It is intended that the specification and example embodiments will be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following.
Number | Date | Country | Kind |
---|---|---|---|
2004-089919 | Mar 2004 | JP | national |