This application claims priority under 35 U.S.C. §119 and/or §365 to Japanese Application No. 2013-267115 filed Dec. 25, 2013, the entire contents is incorporated herein by reference.
1. Field of the Invention
The present invention relates to a numerical control system capable of appropriately controlling communication with communication devices and efficiently using a communication band.
2. Description of the Related Art
In an industrial network, it is important to guarantee that communication is necessarily executed (punctuality) within a certain communication period of time. As the punctuality is guaranteed, a network can be applied to an application in which a strict real time property such as synchronous control of motion control is required. In a numerical control system in which the punctuality is guaranteed, a communication period of time, a communication cycle, the number of communication devices, a communication data amount, a distance between communication devices, and the like are specifically decided and managed.
For example, IEEE1394 serving as an international standard is not an industrial communication standard, but isochronous transfer is specified as a method of guaranteeing punctuality of real-time data in which it is problematic if a reproduction operation stops in the middle of reproduction such as an image or a sound (see Japanese Patent Application Laid-Open No. 2002-319942). Specifically, a transfer band is divided into isochronous transfer and non-isochronous transfer in a time division manner, and a decided amount of data is transferred to a decided number of devices during a period of time allocated to the isochronous transfer.
In the related art, in communication in which punctuality is guaranteed, since a communication period of time, a communication cycle, the number of communication devices, a communication data amount, a distance between communication devices, and the like are specifically decided and managed, there is no flexibility in a communication system. As described above, in the communication scheme of the related art, the punctuality is secured in communication between the numerical controller and the amplifier, but since communication cycles are uniformly decided, even when there is an amplifier that can be controlled even in a slow communication cycle, it is necessary to adjust a communication specification according to an amplifier that desires a fastest communication cycle. As a result, the number of connectable amplifiers is limited, and if it is simply assumed that the numerical controller performs direct communication with the amplifiers via a serial bus in a one-on-one manner, and there is neither delay in a communication path nor circuit delay caused as a communication packet passes through each amplifier, the following inequality holds:
T×R>N×B
Thus, N<T×R/B,
Here, T (s) indicates a communication cycle,
R (bps) indicates an effective communication rate,
N indicates the number of amplifiers, and
B (bit) indicates a communication amount per amplifier.
Further, transmission and reception data amount of serial communication is equal to transmission and reception data amount of all amplifiers.
In a system in which a communication rate of serial communication and a communication amount per amplifier are already decided, a communication cycle is in inverse proportion to the number of connectable amplifiers.
As described above, when there is an amplifier that desires a fast communication cycle and a serial communication cycle is made fast according to the amplifier, the number of connectable amplifiers is reduced.
In this regard, in light of the problems of the related art, it is an object of the present invention to provide a numerical control system which is capable of appropriately controlling communication with communication devices and efficiently using a communication band since there are many communication devices that desire punctuality but have a lax communication purpose, for example, do not care about a lengthy communication cycle or a small communication data amount.
In a numerical control system according to a first aspect of the present invention, a numerical controller and a plurality of units are connected via a daisy-chain serial bus, and transmission from the numerical controller to the plurality of units is performed via the serial bus and transmission from the plurality of units to the numerical controller is performed via the serial bus. The plurality of units are grouped into a first group and a second group, and are connected in an order of the units of the first group and the units of the second group from the numerical controller. And a communication cycle in the communication between the numerical controller and the units of the second group is set n times (n is an integer of 2 or larger) as large as a communication cycle in the communication between the numerical controller and the units of the first group.
Among the units of the second group, a certain number of units close to the numerical controller may be classified into a second group first subgroup and the remaining units may be classified into a second group second subgroup, and the units of the second group first subgroup may receive and store signals transmitted from the units of the second group second subgroup toward the numerical controller, and may select the stored signals or signals of the units of the second group first subgroup, and may transmit the selected signals to the numerical controller in each communication cycle of the first group.
The units may be amplifiers each driving and controlling a motor or an IO unit that transfers a DI/DO signal.
In a numerical control system according to a second aspect of the present invention, a numerical controller and a plurality of amplifiers are connected via a daisy-chain serial bus, each of the plurality of amplifiers drives a motor based on a command of a certain cycle transmitted from the numerical controller via the serial bus, and feedback data on the command is transmitted to the numerical controller via the serial bus. The plurality of amplifiers are grouped into a first group and a second group, and are connected in an order of the amplifiers of the first group and the amplifiers of the second group from the numerical controller. And a communication cycle in the communication between the numerical controller and the units of the second group is set n times (n is an integer of 2 or larger) as large as a communication cycle in the communication between the numerical controller and the units of the first group.
Among the amplifiers of the second group, a certain number of amplifiers close to the numerical controller may be classified into a second group first subgroup, and the remaining amplifiers may be classified into a second group second subgroup, and the amplifiers of the second group first subgroup may receive and store feedback data transmitted from the amplifiers of the second group second subgroup toward the numerical controller, and may select the stored feedback data or feedback data of the amplifiers of the second group first subgroup, and may transmit the selected feedback data to the numerical controller in each communication cycle of the first group.
According to the present invention, in a numerical control system in which punctuality is guaranteed, communication with a machine to which a long communication cycle is allowable is carried out in a cycle that is n times as large as a typical cycle (n is an integer of 2 or larger). Thus, it is possible to provide a numerical control system capable of increasing the number of communication devices and a total line length of a communication line without influencing communication with other communication devices.
The above and other objects and features of the present invention will become more apparent by describing the following embodiment with reference to the appended drawings in which:
The numerical controller 10 transmits a command value of a position, a speed, torque, or an electric current to each amplifier that drives and controls each motor equipped in a machine body, and receives feedback on a position, a speed, torque, or an electric current from each amplifier. In
In the numerical control system of
In other words, a command is transmitted from the numerical controller 10 to the amplifiers through data transmission of the cycle Ta to the amplifier group A and data transmission of the cycle Tb (=Ta×n) to the amplifier group B. Meanwhile, similarly, feedback is transmitted from the amplifiers to the numerical controller 10 through data transmission of the cycle Ta from the amplifier group A and data transmission of the cycle Tb (=Ta×n) from the amplifier group B. At this time, among the amplifiers included in the amplifier group B, one or more amplifiers included in a cluster of m amplifiers (an amplifier subgroup B1 including m amplifiers, that is, amplifiers 1 to m) closest to the numerical controller 10 in the daisy-chain is configured to store transmission data transmitted from the amplifiers (an amplifier subgroup B2 including amplifiers (m+1) to k) at the subsequent stage and transmit the stored transmission data together with transmission data of their own in the cycle Ta. Here, m is assumed to be larger than k÷2 (m>k÷2).
The amplifier subgroup B1 performs transmission and reception with the numerical controller 10 on the communication line in the same cycle (Ta) as the group A, and from a point of view of a communication capability, the amplifiers of the group A and the group B1 can be connected to this communication line up to a limit of the number of amplifiers that allows to perform transmission and reception in the cycle Ta. In addition, the (k−m) amplifiers excluding the group B1 among the amplifier group B, amplifier subgroup B2, are connected to this communication line, and it is possible to increase the number of amplifiers that can be connected to the communication line without completely changing the communication specification of the amplifiers group A.
In the numerical control system according to this embodiment, a communication cycle of one of N amplifiers is set to be double, and one amplifier is newly added. In other words, a total line length of a system is increased such that a communication cycle of one (an amplifier N) of predetermined N connectable amplifies (amplifiers 1 to N) is set to be double, and another amplifier (an amplifier (N+1) having the same communication cycle (double the communication cycle) as the amplifier N is connectable. Since the communication band of the amplifier N of the related art is shared between the amplifier N and added another amplifier N+1, there is no influence on the amplifiers (the amplifiers 1 to N−1) other than the amplifier N.
<Transmission from Numerical Controller 10 to Amplifiers>
In the example of
In consequence, in the example of the numerical control system of
Since there is a delay according to a line length or a delay in a circuit at the time of passing through amplifiers until a packet arrives at each amplifier, an arrival time of an amplifier distant from the numerical controller 10 is delayed.
In the system configuration of the related art illustrated in
<Transmission from Amplifiers to the Numerical Controller 10>
In the example of
In the numerical control system illustrated in
In communication in which the punctuality is guaranteed, since a communication delay between the numerical controller 10 and a slave at a farthest end has to be within a communication cycle in view of a delay in a circuit or a delay caused by a line length, when a communication cycle of the system is decided, a maximum of the number of connectable amplifiers and a maximum of a total line length are decided.
In the case of the numerical control system of
As described above, in the communication from the amplifiers to the numerical controller 10, even when an amplifier is added, and the total line length is increased, the punctuality of N times the cycle is secured. Further, even when the numerical control system of
Further, a configuration in which a plurality of units (IO units) for external signal input and output is employed between the numerical controller 10 and a machine tool (not illustrated) in order to receive and output a DI/DO signal (an input signal/output signal), and the DI/DO signal is usually transferred between the numerical controller 10 and the IO units. The present invention can be applied to a system in which a plurality of IO units, instead of amplifiers, are connected to the numerical controller 10 in the daisy-chain manner.
Number | Date | Country | Kind |
---|---|---|---|
2013-267115 | Dec 2013 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5850338 | Fujishima | Dec 1998 | A |
6430634 | Mito | Aug 2002 | B1 |
7038418 | Noda | May 2006 | B2 |
7092618 | Yoshio | Aug 2006 | B2 |
20010024447 | Yoshio | Sep 2001 | A1 |
20040041533 | Noda | Mar 2004 | A1 |
20060251046 | Fujiwara | Nov 2006 | A1 |
20070159125 | Aoyama | Jul 2007 | A1 |
20160209827 | Baba | Jul 2016 | A1 |
Number | Date | Country |
---|---|---|
1826767 | Aug 2006 | CN |
101316160 | Dec 2008 | CN |
101459581 | Jun 2009 | CN |
EP 0788041 | Aug 1997 | JP |
H11-231915 | Aug 1999 | JP |
2002-319942 | Oct 2002 | JP |
EP 1394644 | Mar 2004 | JP |
2004-227261 | Aug 2004 | JP |
2004-289754 | Oct 2004 | JP |
2008-067562 | Mar 2008 | JP |
Entry |
---|
‘Smartmotor Numeric Control—Quick Tutorial’ copyright 2002 by Animatics Corporation. |
Notification of the First Office Action issued Oct. 9, 2016 in Chinese Patent Application No. 2014108292722 (5 pages) with an English Translation (7 pages). |
Notification of Reasons for Refusal dated May 12, 2015, along with its English-language translation, in corresponding Japanese Patent Application 2013-267115. |
Number | Date | Country | |
---|---|---|---|
20150177725 A1 | Jun 2015 | US |