The present invention relates to a production system including a plurality of controllers that control a plurality of pieces of production equipment, respectively, and a controller management apparatus that manages the plurality of controllers, and particularly relates to upgrade of a version of software for a controller corresponding to production equipment.
Software incorporated into a controller corresponding to production equipment has to be upgraded due to detected bugs or for improvement of functions and performance. Since such software for a controller corresponding to production equipment is installed by a maker of the controller before shipment, the upgrade has to be performed typically by the maker, a dealer company or the like.
Since manpower and cost for operation are required for every upgrade, it is known that the upgrade of a plurality of controllers corresponding to production equipment is performed via a network (see PTL 1, for example). In the structure described in this PTL 1, however, a user judges whether upgrade is to be performed or not.
Meanwhile another proposed technique is to determine automatically the necessity for upgrade of software for equipment connected to a network by using version information (see PTL 2). In the structure described in this PTL 2, the determination criterion on the necessity for upgrade is based on whether the distributed software is the newest version or not.
PTL 1: Japanese Patent Application Laid-Open No. H08-263125
PTL 2: Japanese Patent Application Laid-Open No. H08-249163
Upgrade of software for controllers corresponding to production equipment cannot be performed during operation of the production equipment. Therefore when software for controllers corresponding to production equipment is to be upgraded during operation of a production line, the operation of production equipment has to be stopped. This means that, in the structure of the above PTL 2, when the version of the software for controllers of all pieces of production equipment is older than the version distributed, the all pieces of production equipment has to be stopped for upgrading.
In another case, the version of new software to be distributed may cover a function that specific production equipment in the production line or a specific line of a plurality of production lines does not use. Even in such a case, in the structure described in the above PTL 2, software for controllers of all pieces of production equipment will be uniformly upgraded when the new version of software is distributed. As a result, the operation of the production equipment or the production line that does not need to be upgraded also is stopped, thus leading the possibility of significant reduction in operating rate.
Since an operating rate is important in production lines, the reduction in operating rate is desirably minimized. To this end, a user may select a controller corresponding to production equipment for upgrading. However, it is not easy for a user to select a controller corresponding to production equipment that is to be upgraded, such an operation is desirably automatically performed.
In view of such a circumstance, it is an object of the present invention to provide a structure enabling automatic selection of a controller corresponding to production equipment that needs to be upgraded, thus suppressing reduction in operating rate.
A production system of the present invention includes: a plurality of controllers that control a plurality of pieces of production equipment, respectively; and a controller management apparatus that manages the plurality of controllers. The controller management apparatus includes: acquisition means that acquires new version of software relating to a specific action description, transmitted externally; selection means that selects a controller requiring upgrade from among the plurality of controllers; and a transmission part that transmits the new version of software to the controller selected by the selection means. The plurality of controllers each includes: storing means that stores software to control the production equipment on a basis of an action description to operate the production equipment; change means that changes software stored in the storing means; and a reception part that receives the new version of software transmitted from the transmission part. The selection means selects, from among the plurality of controllers, a controller including the specific action description as the controller requiring upgrade.
According to the present invention, selection means in a controller management apparatus selects a controller corresponding to production equipment requiring upgrade on the basis of an action description of the production equipment, and therefore the controller corresponding to the production equipment requiring upgrade can be selected automatically. Further, since production equipment not requiring upgrade is not stopped, reduction in operating rate can be suppressed.
Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings.
Preferred embodiments of the present invention will now be described in detail in accordance with the accompanying drawings.
Referring to
Each of the production lines 4a to 4n is connected to a network 2. Each of the production lines 4a to 4n includes one controller management apparatus 5a to 5n, one or more controllers 6aA to 6nN and one or more pieces of production equipment 7aA to 7nN.
The controller management apparatuses 5a to 5n and the controllers 6aA to 6nN are connected to networks 3a to 3n, respectively. That is, a plurality of controllers is connected to one controller management apparatus provided for each production line. Then, the production equipment 7aA to 7nN is connected in a one-to-one correspondence with the controllers 6aA to 6nN.
In the production lines 4a to 4n, different products, different components of the same product or the like are produced by steps such as assembly, processing and examination. For instance, in production line 4a, product A is produced, and in production line 4b, product B is produced. Alternatively, the production lines 4a to 4n may be for different steps of the same product or component. In any case, the production lines 4a to 4n include a plurality of pieces of production equipment 7aA to 7nN for performing each step.
The production equipment 7aA to 7nN may be equipment necessary for assembly, examination or the like in production steps for, such as a robot arm, a robot hand, a NC, an air cylinder, a hydraulic cylinder and a vision sensor. All pieces of the production equipment 7aA to 7nN may be the same. They may be the same for each production line or may be partially different even in the same production line. The production equipment 7aA to 7nN is controlled by the controllers 6aA to 6nN, respectively.
The controllers 6aA to 6nN interpret action descriptions for operating their corresponding production equipment 7aA to 7nN and have software for controlling the production equipment 7aA to 7nN. As for this software, all of the controllers 6aA to 6nN use the same type, and the same version of the controllers naturally use the same software. Herein, even with the same software, the production equipment 7aA to 7nN can be controlled in different manners when their action descriptions are different.
The action description, such as a robot language or a sequencer program, explicitly describes the action of production equipment, and in other words it is an operational standard for each piece of production equipment. Herein, although the action description basically is different for each of the controllers 6aA to 6nN, two or more of the controllers 6aA to 6nN may use the same action description.
In such a production system of the present embodiment, a central management apparatus 1 such as an apparatus managing the lines of a factory as a whole or an apparatus managing a plurality of production lines distributes version upgrade software 1a for the controllers 6aA to 6nN. The version upgrade software 1a is distributed to the controller management apparatuses 5a to 5n in the production lines 4a to 4n via the network 2, together with version information 1b indicating the number of the version, the corresponding action description and the like.
Herein, when new version of software for the controllers 6aA to 6nN is distributed to the controller management apparatuses 5a to 5n, upgrade may not be necessary for some pieces of the production equipment 7aA to 7nN depending on their action descriptions. For instance, it is assumed that each piece of production equipment includes a robot arm and the upgrade this time relates to the straightness of the robot arm. In this case, when there is a controller of which the action description does not describe (include) an action description relating to the straight action of a robot arm among action descriptions interpreted by the controllers 6aA to 6nN, the upgrade is not necessary for such a controller.
Then, in the present embodiment, when new version of software for a controller is distributed, the version information 1b indicating the corresponding action description (a predetermined (specific) action description) to be upgraded is transferred at the same time. More specifically, the version information 1b includes basic information on the new version of software described therein, such as the software name and the version number. In the present embodiment, in addition to this basic information, the version information 1b describes information indicating that the new version distributed this time relates to which command (action description) among the commands represented by e.g. a robot language, used for production equipment. The version information 1b further describes information on whether it relates to all functions or safety or not irrespective of commands.
Referring to
The controller management apparatus 5a includes an acquisition unit 18 as an acquisition means, a version change determination unit 9 as a selection means, a software upload unit 10 as a transmission part and an action description storing unit 8 that stores action descriptions of the controllers 6aA to 6nN. The acquisition unit 18 acquires new version of software relating to a predetermined action description that is sent externally (i.e., from the central management apparatus 1). In the present embodiment, the acquisition unit 18 acquires version upgrade software 1a and version information 1b.
The version change determination unit 9 selects a controller requiring upgrade from among the plurality of controllers 6aA to 6nN. That is, the version change determination unit 9 refers to the version information 1b among the information acquired by an acquisition unit 18 to determine which controller requires a version change.
To this end, in the present embodiment, the controller management apparatus 5a includes the action description storing unit 8 that stores action descriptions of the controllers 6aA to 6aN. The action description storing unit 8 further stores basic information such as the version number of each of the controllers 6aA to 6aN at that time. The specific method for determination is described later.
The software upload unit 10 transmits the new version of software to the controller selected by the version change determination unit 9. Herein, this transmission may be performed automatically or may be performed manually by a user. In this embodiment, transmission is performed automatically.
The plurality of controllers 6aA to 6aN each include a software storing unit 13 as a storing means, a software change unit 12 as a change means and a software download unit 11 as a reception part. Each controller 6aA to 6aN further includes an action description storing unit (command storing unit) 15 that stores an action description and a drive/stop unit 14 that instructs drive and stop of the production equipment controlled by the controller.
The software storing unit 13 stores software that controls the production equipment as a control target of the controller on the basis of the action description for operating the production equipment. In other words, the software stored in the software storing unit 13 controls production equipment as a target on the basis of the action description stored in the action description storing unit 15.
The software change unit 12 changes the software stored in the software storing unit 13. That is, the software change unit 12 rewrites the software stored in the software storing unit 13 with upgraded software. This change (rewrite) may be performed automatically or may be performed manually by a user. In the present embodiment, the rewrite is performed automatically. During this rewriting, the production equipment cannot be operated, and so during this rewriting, the drive/stop unit 14 stops the operation of the production equipment as a control target of the controller.
The software download unit 11 receives new version of software transmitted (uploaded) from the software upload unit 10. That is, when the version change determination unit 9 determines that the controller is to be upgraded, the software download unit 11 downloads the new version of software via the network 3a.
Control performed for upgrading of a controller is illustrated in
The controller management apparatus 5a transfers the version upgrade software 1a for the controller to the software upload unit 10, and transfers the version information 1b to the version change determination unit 9 (S2).
The version change determination unit 9 makes a determination on the upgrade on the basis of the version upgrade information described in the version information 1b and the action descriptions of the controllers 6aA to 6aN stored beforehand in the action description storing unit 15. That is, the version change determination unit 9 selects a controller in which the action description storing unit 15 stores a predetermined action description as a controller requiring upgrade from among the plurality of controllers (S3). Herein, when the new version of software is targeted at a plurality of predetermined action descriptions, the controller in which the action description storing unit 15 stores any one of the predetermined action descriptions will be a target of the upgrade.
Referring to
These two exemplary descriptions deal with the case where the production equipment includes a robot arm, and the upgrade relates to the straightness of the robot arm. When the command of the action description to be used for straight action of a robot arm is “PMOV”, then the version upgrade information describes “PMOV” as in the version information 16a to 16c.
In
In
In
Herein the version change determination unit 9 selects, from among the plurality of controllers, a controller having software in a version older than the version acquired by the acquisition unit 18 as a controller requiring upgrade. That is, the version change determination unit 9 selects, as a controller requiring upgrade, a controller having software in a version older than the new version and including the predetermined action description of the new version.
The software upload unit 10 uploads software to the controller as a target of upgrade based on the determination by the version change determination unit 9 as described above. Then the software download unit 11 downloads the software uploaded by the software upload unit 10 (S4).
When the software download unit 11 downloads the software, firstly the software change unit 12 issues a stop request to the drive/stop unit 14 in the controller, and the drive/stop unit 14 stops the operation of the production equipment. After the production equipment is stopped, the software change unit 12 changes the software stored in the software storing unit 13 (S5). That is, the software is rewritten with the new version of software. After the change, the software change unit 12 issues an operation request to the drive/stop unit 14 and the drive/stop unit 14 operates the production equipment.
On the other hand, as for a controller that is determined as not requiring upgrade at S3, the new version of software is not downloaded (S6). Therefore such a controller continuously uses the software not upgraded. In this case, the operation of the production equipment also is not stopped.
In the case of the present embodiment, the version change determination unit 9 of each of the controller management apparatuses 5a to 5n selects a controller corresponding to production equipment requiring upgrade on the basis of the action description of the production equipment. Accordingly, a controller corresponding to production equipment requiring upgrade can be selected automatically. Further, since production equipment not requiring upgrade is not stopped, reduction in operating rate can be suppressed.
For instance, there is a case where the new version of software to be distributed relates to a function that is not used in specific production equipment in a production line or in a specific line of a plurality of production lines. In this case, the operation of such a specific production equipment or production line is not stopped, and therefore reduction in operating rate can be suppressed.
As one example of suppressing reduction in operating rate by specific production equipment being not stopped, there is case where a time period when the specific production equipment is in a stand-by state exists in the flow of the operation of a production line, for example. In this case, the specific production equipment requiring upgrade can be upgraded during the stand-by state, and other production equipment not requiring upgrade can be continuously operated, thereby reduction in operating rate can be suppressed.
Especially production equipment such as a robot often has an extremely long action description, and so it takes an enormous time for a user in a factory to judge on the upgrade, thus increasing operating cost. Further such a manual judgment often leads to a human error. On the other hand, in the present embodiment, there is no need for a user to judge a controller requiring upgrade for the upgrade this time, and therefore operating cost and human errors can be reduced.
In the above embodiment, when upgrade is performed during operation of production equipment, upgrade is automatically performed to a controller as a target of the upgrade on the basis of the determination by the version change determination unit 9. Instead, the version change determination unit 9 simply determines whether the upgrade is necessary or not, and a user may finally judge as to whether the upgrade is to be performed or not. For instance, in the case where the production equipment requiring upgrade is in a stand-by state, the user may perform upgrade manually. At this time, the new version of software may be automatically downloaded up to the controller corresponding to the production equipment requiring upgrade, and the change of the software may be performed manually.
Further, a controller (all controllers determined as not requiring upgrade) not upgraded during the operation of the production equipment may be upgraded after the completion of operation. That is, even in the case of software not including an action description relating to the version upgrade software distributed during operation and still being an old version, upgrade may be performed during non-operation such as after the completion of operation, for example, as a precaution. If the software is upgraded during non-operation of the production equipment, the operating rate will not be reduced. In this case, however, the controller management apparatuses 5a to 5n have to store the controller determined as not requiring upgrade by the version change determination unit 9.
Further, when an action description is to be switched during operation of production equipment, there is a case where the version change determination unit 9 determines that a controller corresponding to the production equipment does not require upgrade for the action description before the switching but determines that the controller requires upgrade after the switching. For instance, there is a case where a product to be produced is switched from product A to product B during the operation of a production line. In this case, the action description of the controller corresponding to the production equipment may have to be changed (switched), and the action description may include a predetermined action description relating to the version upgrade software after the switching. Then, in such a case, the version change determination unit 9 may determine whether upgrade is necessary or not again about the switched action description.
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all modifications, equivalent structures and functions.
This application claims the benefit of Japanese Patent Application No. 2011-272292, filed Dec. 13, 2011,which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2011-272292 | Dec 2011 | JP | national |
Number | Date | Country | |
---|---|---|---|
Parent | 14355228 | Apr 2014 | US |
Child | 15592311 | US |