TWI847395B - Delay measurement device, delay measurement method, and recording medium storing delay measurement program - Google Patents
Delay measurement device, delay measurement method, and recording medium storing delay measurement program Download PDFInfo
- Publication number
- TWI847395B TWI847395B TW111145574A TW111145574A TWI847395B TW I847395 B TWI847395 B TW I847395B TW 111145574 A TW111145574 A TW 111145574A TW 111145574 A TW111145574 A TW 111145574A TW I847395 B TWI847395 B TW I847395B
- Authority
- TW
- Taiwan
- Prior art keywords
- delay measurement
- node
- measurement frame
- return
- delay
- Prior art date
Links
- 238000005259 measurement Methods 0.000 title claims abstract description 220
- 238000000691 measurement method Methods 0.000 title claims description 3
- 238000012790 confirmation Methods 0.000 claims description 15
- 238000004891 communication Methods 0.000 claims description 8
- 238000004364 calculation method Methods 0.000 claims description 5
- 238000000034 method Methods 0.000 description 20
- 230000005540 biological transmission Effects 0.000 description 14
- 230000003287 optical effect Effects 0.000 description 10
- 238000012545 processing Methods 0.000 description 9
- 238000001514 detection method Methods 0.000 description 5
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 4
- XEEYBQQBJWHFJM-UHFFFAOYSA-N Iron Chemical compound [Fe] XEEYBQQBJWHFJM-UHFFFAOYSA-N 0.000 description 4
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 3
- 239000003086 colorant Substances 0.000 description 3
- 230000003111 delayed effect Effects 0.000 description 3
- 230000033001 locomotion Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 230000001934 delay Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 229910052742 iron Inorganic materials 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 238000003723 Smelting Methods 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 239000007788 liquid Substances 0.000 description 1
- 230000005389 magnetism Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000005065 mining Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000000843 powder Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 238000005406 washing Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0852—Delays
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
提供一種能夠有效率地測量節點之間的延遲之延遲測量裝置等。 Provide a delay measurement device capable of efficiently measuring the delay between nodes, etc.
延遲測量裝置(1)具備主節點(3)和與主節點(3)串聯連接之從節點(4)。主節點(3)具備:延遲測量訊框發送部(31),發送包含指定成為返送所接收到之延遲測量訊框之返送節點的從節點(4)之返送指定資訊之延遲測量訊框;延遲測量訊框接收部(32),接收從返送節點返送之延遲測量訊框;及延遲測量部(33),依據由延遲測量訊框發送部(31)發送延遲測量訊框的發送時刻與由延遲測量訊框接收部(32)接收延遲測量訊框的接收時刻之差,測量主節點(3)與返送節點之間的延遲。從節點(4)具備延遲測量訊框返送部(45),該延遲測量訊框返送部(45)在返送指定資訊將本身指定為返送節點之情形下,將從前級的節點接收到之延遲測量訊框返送到該前級的節點。 The delay measurement device (1) includes a master node (3) and a slave node (4) connected in series with the master node (3). The master node (3) includes: a delay measurement frame sending unit (31) for sending a delay measurement frame including a return designation information of a slave node (4) designated as a return node for returning the received delay measurement frame; a delay measurement frame receiving unit (32) for receiving the delay measurement frame returned from the return node; and a delay measurement unit (33) for measuring the delay between the master node (3) and the return node according to the difference between the sending time of the delay measurement frame sent by the delay measurement frame sending unit (31) and the receiving time of the delay measurement frame received by the delay measurement frame receiving unit (32). The slave node (4) is provided with a delay measurement frame return unit (45), and the delay measurement frame return unit (45) returns the delay measurement frame received from the previous node to the previous node when the return designation information designates itself as the return node.
Description
本發明係有關一種具備主節點和從節點之系統中的延遲測量裝置等。 The present invention relates to a delay measurement device in a system having a master node and a slave node, etc.
在專利文獻1中揭示了一種家庭電器,其具備主節點和與該主節點串聯且以環狀連接之複數個從節點。作為從節點,例示了測量家庭電器的各式各樣的動作參數之感測器、驅動家庭電器的各部之致動器。該等從節點一邊與主節點進行通訊一邊進行協同動作,藉此可實現家庭電器的所期望的動作。
[專利文獻1] 日本特開平8-280078號公報 [Patent document 1] Japanese Patent Publication No. 8-280078
與如專利文獻1般的家庭電器不同,在生產產品、提供服務之工業現場中所使用之工業系統中,通常
分別單獨採購構成主節點、從節點之相對大型的各工業裝置,在工業現場中主要藉由手動進行設置、連接、設定。為了使各節點進行協同動作,需要進行考慮到由各節點之間的配線、各節點的處理時間引起之延遲之同步設定。在以往的工業系統中,藉由手動進行了延遲的測量或計算,但是作業效率差且還有可能產生人為錯誤。
Unlike household appliances such as those in
本發明係鑑於這種情況而開發完成者,其目的為提供一種能夠有效率地測量節點之間的延遲之延遲測量裝置等。 The present invention was developed in view of this situation, and its purpose is to provide a delay measurement device that can efficiently measure the delay between nodes.
為了解決上述問題,本發明的一樣態的延遲測量裝置具備主節點和與該主節點串聯連接之一個或複數個從節點。主節點具備:延遲測量訊框發送部,發送包含指定成為返送所接收到之延遲測量訊框之返送節點的從節點之返送指定資訊之延遲測量訊框;延遲測量訊框接收部,接收從返送節點返送之延遲測量訊框;及延遲測量部,依據由延遲測量訊框發送部發送延遲測量訊框的發送時刻與由延遲測量訊框接收部接收延遲測量訊框的接收時刻之差,測量主節點與返送節點之間的延遲。從節點具備:返送指定資訊確認部,係確認從相鄰之前級的節點接收到之延遲測量訊框中所包含之返送指定資訊是否將本身指定為返送節點;延遲測量訊框返送部,係在返送指定資訊將本身指定為返送節點之情形下,將從前級的節點接收到之延遲測量訊框返送到該前級的節點;下行發送部,係在返送指定資訊不將本身指定為返送節點之情形下,將延遲測量訊框發送到相鄰之後級的從節點;及上行發送部,係將從後級的從節點返送之延遲測量訊框發送到前級的節點。In order to solve the above problem, a delay measurement device of the present invention has a master node and one or more slave nodes connected in series with the master node. The master node has: a delay measurement frame sending unit, which sends a delay measurement frame including a return designation information of a slave node designated as a return node for returning the received delay measurement frame; a delay measurement frame receiving unit, which receives the delay measurement frame returned from the return node; and a delay measurement unit, which measures the delay between the master node and the return node according to the difference between the sending time of the delay measurement frame sent by the delay measurement frame sending unit and the receiving time of the delay measurement frame received by the delay measurement frame receiving unit. The slave node comprises: a return designation information confirmation unit, which confirms whether the return designation information contained in the delay measurement frame received from the adjacent previous node designates itself as a return node; a delay measurement frame return unit, which returns the delay measurement frame received from the previous node to the previous node when the return designation information designates itself as a return node; a downlink sending unit, which sends the delay measurement frame to the adjacent subsequent slave node when the return designation information does not designate itself as a return node; and an uplink sending unit, which sends the delay measurement frame returned from the subsequent slave node to the previous node.
依據該樣態,藉由從主節點發送之延遲測量訊框,能夠有效率地測量被指定為返送節點之從節點與主節點之間的延遲。According to this pattern, by sending a delay measurement frame from the master node, the delay between the slave node designated as the return node and the master node can be efficiently measured.
本發明的另一樣態為延遲測量方法。該方法中,將包含指定與主節點串聯連接之一個或複數個從節點中成為返送所接收到之延遲測量訊框之返送節點的從節點之返送指定資訊之延遲測量訊框從該主節點發送到相鄰之後級的從節點,從相鄰之前級的節點接收到延遲測量訊框之不是返送節點的從節點將該延遲測量訊框發送到相鄰之後級的從節點,從相鄰之前級的節點接收到延遲測量訊框之返送節點將該延遲測量訊框返送到該前級的節點,接收到從相鄰之後級的從節點返送之延遲測量訊框之不是返送節點的從節點將該延遲測量訊框發送到相鄰之前級的節點,接收到從相鄰之後級的從節點返送之延遲測量訊框之主節點依據該延遲測量訊框的發送時刻與接收時刻之差,測量該主節點與返送節點之間的延遲。Another aspect of the present invention is a delay measurement method. In the method, a delay measurement frame including a slave node designated as a return node for returning a received delay measurement frame from one or more slave nodes connected in series with a master node is sent from the master node to an adjacent slave node at a subsequent stage, a slave node that is not a return node and receives a delay measurement frame from an adjacent node at a previous stage sends the delay measurement frame to an adjacent slave node at a subsequent stage, and a slave node that receives a delay measurement frame from an adjacent node at a previous stage sends the delay measurement frame to an adjacent slave node at a subsequent stage. The return node of the delay measurement frame returns the delay measurement frame to the node of the previous stage. The slave node that is not a return node and receives the delay measurement frame returned from the adjacent slave node of the subsequent stage sends the delay measurement frame to the adjacent node of the previous stage. The master node that receives the delay measurement frame returned from the adjacent slave node of the subsequent stage measures the delay between the master node and the return node based on the difference between the sending time and the receiving time of the delay measurement frame.
另外,將以上的構成要素的任意組合、本發明的表述在方法、裝置、系統、記錄媒體、電腦程式等之間進行轉換而得者亦作為本電腦程式發明的樣態而有效。 In addition, any combination of the above constituent elements, or the expression of the present invention converted between methods, devices, systems, recording media, computer programs, etc., is also valid as a form of the present computer program invention.
依據本發明,能夠有效率地測量節點之間的延遲。According to the present invention, the delay between nodes can be measured efficiently.
以下,參閱圖式,對用以實施本發明之方式進行詳細說明。在說明或圖式中,對相同或等同的構成要素、構件、處理標註相同符號,並省略重複說明。為了便於說明,圖示之各部的縮尺、形狀適當地設定,只要無特別說明,則不作限定性解釋。實施方式為示例,不對本發明的範圍進行任何限定。實施方式中所記載之所有特徵、該等的組合未必限於發明的本質者。Below, referring to the drawings, the method for implementing the present invention is described in detail. In the description or drawings, the same or equivalent components, components, and processes are marked with the same symbols, and repeated descriptions are omitted. For the convenience of explanation, the scale and shape of each part of the diagram are appropriately set, and no restrictive interpretation is made unless otherwise specified. The implementation method is an example and does not limit the scope of the present invention in any way. All the features and combinations of the features described in the implementation method are not necessarily limited to the essence of the invention.
圖1係本發明的實施方式之延遲測量裝置1的功能方塊圖。延遲測量裝置1具備:主節點3;及一個或複數個從節點4,以有線或無線方式與該主節點3以線狀或環狀串聯連接。在圖示的例子中,設置具備相同的功能方塊群41~46之三個從節點4A、4B、4C,除了必須區分該等之情形以外,統稱為從節點4。主節點3及從節點4分別設置於相同或不同的工業裝置中,整體構成工業系統。因此,可以說延遲測量裝置1設置於工業系統中。一個或複數個從節點4一邊與主節點3進行通訊一邊進行協同動作,藉此可實現工業系統及延遲測量裝置1的所期望的動作。FIG. 1 is a functional block diagram of a
設置有主節點3及從節點4之工業裝置為在生產各種產品、提供各種服務之工業現場中用於既定的用途之裝置。對於工業裝置的具體例待留後述,但是例如包括The Japan Society Of Industrial Machinery Manufacturers所使用之鍋爐·發動機、礦山機械、化學機械、環保裝置、槽、塑膠機械、風力或水力機械、搬運機械、電力傳輸裝置、煉鐵機械、商用洗衣機等在企業的工廠等工業現場中所使用之工業用機械、工業機械、工業設備等、半導體等的製造裝置、機床、印刷機、工業機器人。另外,用於該等裝置的監視、控制之個人電腦、智慧型手機等通用裝置在本實施方式的上下文中亦相當於工業裝置。Industrial equipment provided with
主節點3及/或從節點4可以對應於一個工業裝置的整體,亦可以對應於一個工業裝置的各部(例如,各構成零件)。作為後者的例子,可以由一個工業裝置的控制器構成主節點3,由依據來自該控制器的指令來驅動該工業裝置內外的馬達等之驅動器、測量該工業裝置內外的各種動作參數並提供給該控制器之感測器構成從節點4。The
構成從節點4之驅動器驅動用以驅動工業裝置本身的活動部(例如,工業機器人的接頭、機床的加工部、載置被加工物之載台)、控制工業裝置各部的動作之中繼器(繼電器)、電磁閥等控制零件的活動部之馬達等。在工業裝置為馬達驅動器的情形下,被驅動之馬達設置於工業裝置(從節點4)外。構成從節點4之感測器例如為測量由構成另一個從節點4之驅動器驅動之驅動對象(例如,機床中的載台、由輪轉印刷機放出之捲筒紙)等的位置、速度、加速度等之感測器、測量驅動對象的其他的動作參數(例如,捲筒紙的張力、從滾子施加之壓力)之感測器、測量與工業裝置運轉之環境有關之動作參數(例如,溫度、濕度、氣壓、亮度)之感測器。The driver constituting
另外,主節點3及各從節點4A、4B、4C的一部分或全部可以設置於不同的工業現場,亦可以設置於與工業現場分開之辦公室、資料中心等。又,主節點3及各從節點4A、4B、4C的功能方塊藉由電腦的中央運算處理裝置、記憶體、輸入裝置、輸出裝置、與電腦連接之周邊設備等硬體資源與使用該等執行之軟體的協同來實現。無論電腦的種類、設置位置如何,上述各功能方塊都可以由單個電腦的硬體資源實現,亦可以組合分散於複數個電腦中之硬體資源來實現。例如,主節點3及各從節點4A、4B、4C的功能方塊的一部分或全部可以由設置於工業裝置外或工業現場外之電腦實現。In addition, part or all of the
主節點3具備延遲測量訊框發送部31、延遲測量訊框接收部32及延遲測量部33。各從節點4具備延遲測量訊框接收部41、返送指定資訊確認部42、下行發送部43、識別資訊寫入部44、延遲測量訊框返送部45及上行發送部46。The
延遲測量訊框發送部31將包含返送指定資訊54之延遲測量訊框5發送到相鄰之後級的從節點4A,該返送指定資訊54指定複數個從節點4A、4B、4C中成為藉由延遲測量訊框返送部45返送由延遲測量訊框接收部41接收到之延遲測量訊框5之返送節點的一個從節點4。The delay measurement
圖2表示延遲測量訊框5的例子。46位元組的固定長的延遲測量訊框5具備1位元組的訊框編號51、1位元組的訊框類別52、2位元組的連接樣態資訊53、2位元組的返送指定資訊54、2位元組的識別資訊寫入場55、36位元組的虛擬場56及2位元組的錯誤通知場57。另外,延遲測量訊框5的訊框長、各資訊51~57的場長能夠依據工業系統的通訊協定適當變更。FIG2 shows an example of a
訊框編號51為主節點3分配給延遲測量訊框5之編號。訊框類別52為表示訊框的類別之資訊,在作為類別的延遲測量訊框中寫入唯一分配之數字(例如,以十進制數為「17」)。連接樣態資訊53為表示從節點4的連接樣態之資訊,例如為表示線狀和環狀中的任一個之資訊。在圖1的例子中,從節點4以線狀與主節點3連接。The
返送指定資訊54為指定複數個從節點4A、4B、4C中成為返送節點的從節點4之資訊,在第三個從節點4C被指定為返送節點之圖1的例子中,以十進制數寫入「3」。識別資訊寫入場55為被指定為返送節點之從節點4C在藉由延遲測量訊框返送部45返送由延遲測量訊框接收部41接收到之延遲測量訊框5時能夠寫入本身的識別資訊(例如,作為本身的節點編號之「3」)之場。The
在虛擬場56中寫入例如由36個「0」構成之虛擬資料。該等虛擬資料為在延遲測量訊框5的處理中不使用之無意義的資料,但是為了將延遲測量訊框5的長度維持為與用以各節點3、4之間的通訊之通訊訊框相同的46位元組而插入。藉此,各從節點4處理延遲測量訊框5(46位元組)之時間與工業系統正常運轉時各從節點4處理通訊訊框(46位元組)之時間大致相等,因此能夠準確地模擬各從節點4的內部處理時間並高精度地測量節點之間的延遲。在錯誤通知場57中寫入用以延遲測量訊框5的通訊時的錯誤檢測之訊框校驗序列(FCS:Frame Check Sequence)。Virtual data consisting of, for example, 36 "0"s are written into the
從節點4A的延遲測量訊框接收部41從作為相鄰之前級的節點的主節點3接收延遲測量訊框5。返送指定資訊確認部42確認從主節點3接收到之延遲測量訊框5中所包含之返送指定資訊54是否將本身(從節點4A)指定為返送節點。在該例子中,從節點4C被指定為返送節點,因此從節點4A的返送指定資訊確認部42確認本身未被指定為返送節點之情形。依據該確認結果,下行發送部43將延遲測量訊框接收部41從主節點3接收到之延遲測量訊框5再發送到相鄰之後級的從節點4B。The delay measurement
從節點4B的延遲測量訊框接收部41從作為相鄰之前級的節點的從節點4A接收延遲測量訊框5。返送指定資訊確認部42確認從從節點4A接收到之延遲測量訊框5中所包含之返送指定資訊54是否將本身(從節點4B)指定為返送節點。在該例子中,從節點4C被指定為返送節點,因此從節點4B的返送指定資訊確認部42確認本身未被指定為返送節點之情形。依據該確認結果,下行發送部43將延遲測量訊框接收部41從從節點4A接收到之延遲測量訊框5再發送到相鄰之後級的從節點4C。The delay measurement
從節點4C的延遲測量訊框接收部41從作為相鄰之前級的節點的從節點4B接收延遲測量訊框5。返送指定資訊確認部42確認從從節點4B接收到之延遲測量訊框5中所包含之返送指定資訊54是否將本身(從節點4C)指定為返送節點。在該例子中,從節點4C被指定為返送節點,因此從節點4C的返送指定資訊確認部42確認本身被指定為返送節點之情形。依據該確認結果,識別資訊寫入部44將作為返送節點的本身的識別資訊(例如,作為本身的節點編號之「3」)寫入從從節點4B接收到之延遲測量訊框5的識別資訊寫入場55中。延遲測量訊框返送部45將藉由識別資訊寫入部44寫入從節點4C(返送節點)的識別資訊之延遲測量訊框5返送到相鄰之前級的從節點4B。The delay measurement
從節點4B的上行發送部46將從相鄰之後級的從節點4C(延遲測量訊框返送部45)返送之延遲測量訊框5再發送到相鄰之前級的從節點4A。從節點4A的上行發送部46將從相鄰之後級的從節點4B(上行發送部46)返送之延遲測量訊框5再發送到相鄰之前級的主節點3。主節點3的延遲測量訊框接收部32從相鄰之後級的從節點4A(上行發送部46)接收延遲測量訊框5。主節點3藉由在延遲測量訊框接收部32所接收到之延遲測量訊框5的識別資訊寫入場55中寫入有返送節點(從節點4C)的識別資訊,能夠確認正常進行了主節點3與返送節點(從節點4C)之間的延遲測量訊框5的往返通訊。The
主節點3的延遲測量部33依據由延遲測量訊框發送部31發送延遲測量訊框5的發送時刻與由延遲測量訊框接收部32接收延遲測量訊框5的接收時刻之差,測量主節點3與返送節點(從節點4C)之間的延遲。具體而言,設置於延遲測量部33之計數器331在由延遲測量訊框發送部31發送延遲測量訊框5時開始計數,在由延遲測量訊框接收部32接收延遲測量訊框5時停止該計數。該計數值相當於主節點3與返送節點(從節點4C)之間的往返延遲時間(表示為2T
1~3),因此藉由設置於延遲測量部33之延遲運算部332除以2,藉此求出主節點3與返送節點(從節點4C)之間的延遲T
1~3。
The
主節點3與從節點4C之間的延遲T
1~3為相互相鄰之主節點3與從節點4A之間的延遲T
1、相互相鄰之從節點4A與從節點4B之間的延遲T
2及相互相鄰之從節點4B與從節點4C之間的延遲T
3之和(T
1~3=T
1+T
2+T
3)。又,主節點3與從節點4A之間的延遲T
1為由主節點3與從節點4A之間的配線等引起之傳輸延遲L
1和從節點4A的內部處理時間P
1之和(T
1=L
1+P
1),從節點4A與從節點4B之間的延遲T
2為由從節點4A與從節點4B之間的配線等引起之傳輸延遲L
2和從節點4B的內部處理時間P
2之和(T
2=L
2+P
2),從節點4B與從節點4C之間的延遲T
3為由從節點4B與從節點4C之間的配線等引起之傳輸延遲L
3和從節點4C的內部處理時間P
3之和(T
3=L
3+P
3)。
The delay T1-3 between the
主節點3的延遲測量訊框發送部31依序發送包含將所連接之所有從節點4A、4B、4C依序指定為返送節點之返送指定資訊54之延遲測量訊框5。例如,如圖1般,將從節點4C指定為返送節點並測量主節點3與從節點4C之間的延遲T
1~3(T
1+T
2+T
3)之後,將從節點4B指定為返送節點並測量主節點3與從節點4B之間的延遲T
1~2(T
1+T
2),進而將從節點4A指定為返送節點並測量主節點3與從節點4A之間的延遲T
1。延遲運算部332依據依序測量之T
1~3(T
1+T
2+T
3)、T
1~2(T
1+T
2)、T
1,運算相鄰之各節點之間的延遲T
1、T
2、T
3。具體而言,除了藉由測量而直接求出之主節點3與從節點4A之間的延遲T
1以外,從節點4A與從節點4B之間的延遲T
2亦藉由T
1~2-T
1求出,從節點4B與從節點4C之間的延遲T
3亦藉由T
1~3-T
1~2求出。
The delay measurement
另外,與從節點4和主節點3以線狀連接之圖1不同,在從節點4與主節點3以環狀連接之情形下,例如在從節點4C的後級直接連接主節點3之情形下,主節點3可以不將從節點4C指定為返送節點。此時,從節點4C的下行發送部43將由延遲測量訊框接收部41接收到之延遲測量訊框5直接發送到主節點3(延遲測量訊框接收部32)。此時,藉由主節點3的延遲測量部33(計數器331)測量之延遲成為在T
1~3加上由從節點4C與主節點3之間的配線等引起之傳輸延遲L
4而得者。又,在從節點4與主節點3以環狀連接之情形下,主節點3可以向與圖1相反的方向發送延遲測量訊框5。例如,主節點3的延遲測量訊框發送部31可以同樣地將延遲測量訊框5發送到相鄰之從節點4C來代替從節點4A。
In addition, unlike FIG. 1 in which the
圖3係由延遲測量裝置1進行之延遲測量處理的流程圖。流程圖的說明中的「S」表示步驟或處理。在S1中,主節點3的延遲測量訊框發送部31將延遲測量訊框5發送到相鄰之後級的從節點4A。在S2中,從節點4的延遲測量訊框接收部41從相鄰之前級的節點接收延遲測量訊框5。在S3及S4中,返送指定資訊確認部42確認在S2中接收到之延遲測量訊框5中所包含之返送指定資訊54是否將本身指定為返送節點。在S4中為否之情形下進入S5,下行發送部43將在S2中接收到之延遲測量訊框5再發送到相鄰之後級的從節點4。對於在S5中再發送之延遲測量訊框5,相鄰之後級的從節點4在S2中接收。FIG3 is a flow chart of the delay measurement process performed by the
在S4中為是之情形下進入S6,識別資訊寫入部44將作為返送節點的本身的識別資訊寫入在S2中接收到之延遲測量訊框5的識別資訊寫入場55中。在S7中,作為返送節點之從節點4的延遲測量訊框返送部45將在S6中寫入了識別資訊之延遲測量訊框5返送到相鄰之前級的節點,或者不是返送節點之從節點4的上行發送部46將從相鄰之後級的從節點4返送之延遲測量訊框5再發送到相鄰之前級的節點。在S8中,主節點3的延遲測量訊框接收部32從相鄰之後級的從節點4A接收延遲測量訊框5。在S9中,延遲測量部33的計數器331依據S1中的延遲測量訊框5的發送時刻與S8中的延遲測量訊框5的接收時刻之差,測量主節點3與返送節點之間的延遲。
If the answer is yes in S4, the process proceeds to S6, and the identification
在S10中,判定與主節點3連接之所有從節點4A、4B、4C是否被指定為返送節點。在S10中為否之情形下進入S11,未指定的從節點4被指定為返送節點。在後續的S1中,延遲測量訊框發送部31將包含將在S11中指定之從節點4指定為返送節點之返送指定資訊54之延遲測量訊框5發送到相鄰之後級的從節點4A。在S10中為是之情形下進入S12,延遲測量部33的延遲運算部332依據在S9中依序測量之T1~3(T1+T2+T3)、T1~2(T1+T2)、T1來運算相鄰之各節點之間的延遲T1、T2、T3。
In S10, it is determined whether all
以上的延遲測量裝置1能夠運用於任意的工業系統。
The above
圖4係表示作為工業系統的一例之線性搬運
系統100的整體結構之立體圖。線性搬運系統100具備:定子200,構成環狀導軌或軌道;及複數個可動件300A、300B、300C、300D(以下,統稱為可動件300),相對於該定子200被驅動並能夠沿著導軌移動。藉由設置於定子200之電磁鐵或線圈與設置於可動件300之永久磁鐵相互對向,沿著環狀導軌構成有線型馬達。例如,該線性馬達、驅動其之驅動器構成圖1中的從節點4。又,亦可以將測量作為驅動器的驅動對象的可動件300的位置、速度、加速度、線性搬運系統100周圍的溫度、濕度、氣壓等之感測器設置為圖1中的從節點4。能夠與該等從節點4通訊之主節點3設置於線性搬運系統100的未圖示的控制器。另外,亦可以在定子200設置永久磁鐵,在可動件300設置電磁鐵或線圈。
FIG4 is a perspective view showing the overall structure of a
定子200所形成之導軌可以為不限於環狀之任意形狀。例如,導軌可以為直線狀,亦可以為曲線狀,一個導軌可以分叉為複數個導軌,複數個導軌可以匯合為一個導軌。又,定子200所形成之導軌的設置方向亦是任意的、在圖4的例子中在水平面內配置導軌,但是導軌亦可以配置於鉛直面內,亦可以設置於任意傾斜角的平面內、曲面內。
The guide rail formed by the
定子200具有以水平方向為法線方向之導軌面210。導軌面210沿著導軌的形成方向以帶狀延伸,在如圖4的例子般形成環狀導軌之情形下形成連結(假想的)兩端而成之環形帶狀。如上所述,在能夠形成任意形狀的導軌之導軌面210連續地或週期性地埋設有複數個電磁鐵(未圖示)。若在未圖示的控制器(主節點3)的控制下,驅動器(從節點4)在線性馬達的多個電磁鐵流過三相交流等驅動電流,則產生在沿著導軌之所期望的切線方向上線性驅動具備永久磁鐵之可動件300之移動磁場。另外,在圖4的例子中,將環狀導軌形成於水平面內之導軌面210的法線方向為水平方向,但是導軌面210的法線方向可以為鉛直方向、其他的任意方向。The
在定子200中,在設置於與導軌面210垂直的上表面或下表面之測位部220,連續地或週期性地埋設有能夠測量安裝於可動件300之作為測位對象的磁標度(未圖示)的位置之複數個磁測位裝置(未圖示)。將由一定間距的條紋狀的磁圖案形成之磁標度作為測位對象之磁測位裝置通常具備複數個磁檢測頭。藉由使複數個磁檢測頭的間隔相對於磁標度的磁圖案的間距或週期錯開,磁測位裝置能夠高精度地測量磁標度的位置。在設置有兩個磁檢測頭之典型的磁測位裝置中,例如,兩個磁檢測頭的間隔相對於磁標度的磁圖案挪移了1/4間距(位相挪移了90度)。In the
另外,設置於定子200之測位裝置及安裝於可動件300之測位對象不限於如以上般的磁式,亦可以為光學式、其他的方式。在光學式的情形下,在可動件300安裝由一定間距的條紋模樣形成之光學標度,在定子200設置能夠光學讀取光學標度的條紋模樣之光學測位裝置。在磁式、光學式中,測位裝置以非接觸的方式測量測位對象(磁標度、光學標度),因此能夠降低可動件300所搬運之被搬運物飛濺而進入到測位部位(定子200的上表面)時的測位裝置的故障等風險。其中,在光學式中,若由進入到測位部位之液體、粉體等被搬運物覆蓋光學標度,則測位精度劣化,因此若為能夠忽略磁性之被搬運物,則設為即使進入到測位部位亦不會使測位精度劣化之磁式為較佳。In addition, the positioning device installed on the
可動件300具備:可動件本體310,與定子200的導軌面210對向;被測位部320,從可動件本體310的上部沿著水平方向伸出並與定子200的測位部220對向;及搬運部330,在與被測位部320相反的一側(距離定子200遠的一側)從可動件本體310沿著水平方向伸出並載置或固定被搬運物。可動件本體310具備與沿著導軌埋設於定子200的導軌面210之複數個電磁鐵對向之一個或複數個永久磁鐵(未圖示)。定子200的電磁鐵所產生之移動磁場對可動件300的永久磁鐵施加導軌的切線方向的線性動力,因此可動件300相對於定子200沿著導軌面210被線性驅動。The movable part 300 includes: a
在可動件300的被測位部320,以與設置於定子200的測位部220之測位裝置對向之方式設置作為測位對象的磁標度、光學標度。在測位裝置設置於定子200的上表面之圖4的例子中,磁標度等測位對象安裝於可動件300的被測位部320的下表面。在測位部220及被測位部320為磁式的情形下,在定子200中將導軌面210和測位部220形成於不同的面或分開的部位,在可動件300中將可動件本體310和被測位部320形成於不同的面或分開的部位,以使導軌面210的電磁鐵及可動件本體310的永久磁鐵之間的磁場不影響測位部220及被測位部320的磁測位為較佳。A magnetic scale and an optical scale as a positioning target are provided on the
圖5表示作為工業系統的一例之印刷裝置10的結構。印刷裝置10具備進行黑色(K)印刷之第1印刷單元11A、進行青色(C)印刷之第2印刷單元11B、進行洋紅色(M)印刷之第3印刷單元11C、進行黃色(Y)印刷之第4印刷單元11D、設置有圖1中的主節點3之(套準)控制裝置30。以下,將第1印刷單元11A~第4印刷單元11D統稱為印刷單元11。另外,各印刷單元11的印刷顏色不限於上述,能夠將任意的印刷顏色以任意的順序分配給各印刷單元11。又,為了印刷更多的顏色,亦可以設置5個以上的印刷單元。FIG5 shows the structure of a
第1印刷單元11A具備第1印版滾筒13A、第1壓印滾筒17A、第1驅動馬達19A、第1編碼器21A、第1標記感測器23A。第2印刷單元11B具備第2印版滾筒13B、第2壓印滾筒17B、第2驅動馬達19B、第2編碼器21B、第2標記感測器23B。第3印刷單元11C具備第3印版滾筒13C、第3壓印滾筒17C、第3驅動馬達19C、第3編碼器21C、第3標記感測器23C。第4印刷單元11D具備第4印版滾筒13D、第4壓印滾筒17D、第4驅動馬達19D、第4編碼器21D、第4標記感測器23D。以下,將第1印版滾筒13A~第4印版滾筒13D統稱為印版滾筒13,將第1壓印滾筒17A~第4壓印滾筒17D統稱為壓印滾筒17,將第1驅動馬達19A~第4驅動馬達19D統稱為驅動馬達19,將第1編碼器21A~第4編碼器21D統稱為編碼器21,將第1標記感測器23A~第4標記感測器23D統稱為標記感測器23。The
印刷裝置10將捲筒紙亦即卷材50作為被印刷物進行印刷。關於各印刷單元11,沿著卷材50的移動方向設置。卷材50由沿著其移動路徑排列之引導滾子25引導,藉由各印刷單元11的印版滾筒13及壓印滾筒17,依序印刷與纏繞在印版滾筒13上之刷版相對應之各顏色的圖案。The
印版滾筒13具有標記印刷部15,該標記印刷部15印刷藉由標記感測器23測量之印記以進行套準控制。第1印刷單元11A的標記印刷部15還印刷對同一個卷材50進行追印時的基準標記。基準標記有時亦表示印刷完成後的卷材50的裁切位置,亦稱為切割標記。第1印記由第1印版滾筒13A的標記印刷部15印刷在預定的第1位置,第2印記由第2印版滾筒13B的標記印刷部15印刷在預定的第2位置,第3印記由第3印版滾筒13C的標記印刷部15印刷在預定的第3位置,第4印記由第4印版滾筒13D的標記印刷部15印刷在預定的第4位置。以下,將第1印記~第4印記統稱為印記。The
各印版滾筒13的周長相同,各印刷單元11藉由使各印版滾筒13旋轉一次來印刷一次份的各顏色的圖案,由其重複連續地進行印刷。各印版滾筒13藉由由構成圖1中的從節點4之馬達驅動器控制之單獨的驅動馬達19旋轉驅動。在印刷裝置10的印刷動作期間,在控制裝置30(主節點3)的控制下各驅動馬達19通過馬達驅動器(從節點4)電同步旋轉,各印版滾筒13以相同的旋轉速度進行旋轉。亦即,印刷裝置10以分段驅動方式構成。在各驅動馬達19的機械軸設置構成圖1中的從節點4之編碼器21。The circumference of each
編碼器21為增量式編碼器。印版滾筒13每旋轉一次,編碼器21輸出預先確定之次數的A相、B相的脈衝訊號和一次的Z相的脈衝訊號。A相、B相的脈衝訊號用計數器進行計數,用Z相的脈衝訊號重置計數值。依據脈衝訊號的計數值來檢測印版滾筒13的相位(旋轉位置)。另外,關於編碼器21,只要係能夠檢測印版滾筒13的相位者,則無論方式如何,可以為絕對式串聯編碼器。另外,除了構成圖1中的從節點4之編碼器21、標記感測器23以外,還可以設置測量作為驅動馬達19(作為從節點4的馬達驅動器)的驅動對象的印版滾筒13、卷材50的位置、速度、加速度、壓印滾筒17對卷材50施加之壓力、卷材50的張力、印刷裝置10周圍的溫度、濕度、氣壓、亮度等之感測器作為從節點4。The
以上,依據實施方式來對本發明進行了說明。本領域技術人員應理解,實施方式為示例,能夠對該等各構成要素、各處理製程的組合施加各種變形例,並且這種變形例亦在本發明的範圍內。The present invention has been described above based on the embodiments. Those skilled in the art should understand that the embodiments are examples, and various modifications can be applied to the combination of the components and the processing steps, and such modifications are also within the scope of the present invention.
另外,在實施方式中說明之各裝置的功能構成能夠藉由硬體資源或軟體資源、或者藉由硬體資源與軟體資源的協同來實現。作為硬體資源,能夠利用處理器、ROM、RAM、其他的LSI。作為軟體資源,能夠利用作業系統、應用等程式。 本申請案係主張基於2021年12月1日申請之日本專利申請第2021-195352號的優先權。該日本申請案的全部內容係藉由參閱而援用於本說明書中。 In addition, the functional configuration of each device described in the implementation method can be realized by hardware resources or software resources, or by the cooperation of hardware resources and software resources. As hardware resources, processors, ROM, RAM, and other LSIs can be used. As software resources, programs such as operating systems and applications can be used. This application claims priority based on Japanese patent application No. 2021-195352 filed on December 1, 2021. The entire contents of the Japanese application are cited in this specification by reference.
1:延遲測量裝置 3:主節點 4:從節點 5:延遲測量訊框 31:延遲測量訊框發送部 32:延遲測量訊框接收部 33:延遲測量部 41:延遲測量訊框接收部 42:返送指定資訊確認部 43:下行發送部 44:識別資訊寫入部 45:延遲測量訊框返送部 46:上行發送部 54:返送指定資訊 55:識別資訊寫入場 331:計數器 332:延遲運算部 1: Delay measurement device 3: Master node 4: Slave node 5: Delay measurement frame 31: Delay measurement frame sending unit 32: Delay measurement frame receiving unit 33: Delay measurement unit 41: Delay measurement frame receiving unit 42: Return designated information confirmation unit 43: Downlink transmission unit 44: Identification information writing unit 45: Delay measurement frame return unit 46: Uplink transmission unit 54: Return designated information 55: Identification information writing unit 331: Counter 332: Delay operation unit
[圖1]係延遲測量裝置的功能方塊圖。 [圖2]表示延遲測量訊框的例子。 [圖3]係由延遲測量裝置進行之延遲測量處理的流程圖。 [圖4]係表示作為工業系統的一例之線性搬運系統的整體結構之立體圖。 [圖5]表示作為工業系統的一例之印刷裝置的結構。 [Figure 1] is a functional block diagram of a delay measurement device. [Figure 2] shows an example of a delay measurement frame. [Figure 3] is a flow chart of a delay measurement process performed by a delay measurement device. [Figure 4] is a three-dimensional diagram showing the overall structure of a linear transport system as an example of an industrial system. [Figure 5] shows the structure of a printing device as an example of an industrial system.
1:延遲測量裝置 1: Delay measurement device
3:主節點 3: Master node
4,4A,4B,4C:從節點 4,4A,4B,4C: From the node
31:延遲測量訊框發送部 31: Delay measurement frame sending unit
32:延遲測量訊框接收部 32: Delay measurement frame receiving unit
33:延遲測量部 33: Delay measurement department
41:延遲測量訊框接收部 41: Delay measurement frame receiving unit
42:返送指定資訊確認部 42: Return to designated information confirmation department
43:下行發送部 43: Downlink transmission unit
44:識別資訊寫入部 44: Identification information writing department
45:延遲測量訊框返送部 45: Delay measurement frame return unit
46:上行發送部 46: Uplink transmission unit
331:計數器 331:Counter
332:延遲運算部 332: Delayed operation unit
Claims (9)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021195352 | 2021-12-01 | ||
| JP2021-195352 | 2021-12-01 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202347989A TW202347989A (en) | 2023-12-01 |
| TWI847395B true TWI847395B (en) | 2024-07-01 |
Family
ID=86612084
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW111145574A TWI847395B (en) | 2021-12-01 | 2022-11-29 | Delay measurement device, delay measurement method, and recording medium storing delay measurement program |
Country Status (3)
| Country | Link |
|---|---|
| JP (1) | JPWO2023100699A1 (en) |
| TW (1) | TWI847395B (en) |
| WO (1) | WO2023100699A1 (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012129718A (en) * | 2010-12-14 | 2012-07-05 | Mitsubishi Electric Corp | Communication apparatus, data processing method, and program |
| US20160157215A1 (en) * | 2012-03-19 | 2016-06-02 | Fujitsu Limited | Wireless communication system, wireless base station, wireless terminal, and wireless communication method |
| CN107613568A (en) * | 2016-07-12 | 2018-01-19 | 中兴通讯股份有限公司 | A kind of method for transmitting signals and device |
| WO2019174499A1 (en) * | 2018-03-12 | 2019-09-19 | 中兴通讯股份有限公司 | Downlink and uplink transmission methods and devices, base station, terminal, and storage medium |
| JP2021072056A (en) * | 2019-11-01 | 2021-05-06 | オムロン株式会社 | Control system, control system communication control method, and controller |
| EP3264688B1 (en) * | 2012-06-13 | 2021-08-18 | Nippon Telegraph And Telephone Corporation | Optical network system, optical switch node, master node, and node |
-
2022
- 2022-11-21 JP JP2023564890A patent/JPWO2023100699A1/ja active Pending
- 2022-11-21 WO PCT/JP2022/042970 patent/WO2023100699A1/en not_active Ceased
- 2022-11-29 TW TW111145574A patent/TWI847395B/en active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012129718A (en) * | 2010-12-14 | 2012-07-05 | Mitsubishi Electric Corp | Communication apparatus, data processing method, and program |
| US20160157215A1 (en) * | 2012-03-19 | 2016-06-02 | Fujitsu Limited | Wireless communication system, wireless base station, wireless terminal, and wireless communication method |
| EP3264688B1 (en) * | 2012-06-13 | 2021-08-18 | Nippon Telegraph And Telephone Corporation | Optical network system, optical switch node, master node, and node |
| CN107613568A (en) * | 2016-07-12 | 2018-01-19 | 中兴通讯股份有限公司 | A kind of method for transmitting signals and device |
| WO2019174499A1 (en) * | 2018-03-12 | 2019-09-19 | 中兴通讯股份有限公司 | Downlink and uplink transmission methods and devices, base station, terminal, and storage medium |
| JP2021072056A (en) * | 2019-11-01 | 2021-05-06 | オムロン株式会社 | Control system, control system communication control method, and controller |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2023100699A1 (en) | 2023-06-08 |
| TW202347989A (en) | 2023-12-01 |
| JPWO2023100699A1 (en) | 2023-06-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103123478A (en) | Synchronous control apparatus | |
| US20230015917A1 (en) | Data transmission in a linear transport system | |
| CN102474217A (en) | Distributed-arrangement linear motor and method for controlling a distributed-arrangement linear motor | |
| EP2717107B1 (en) | Industrial control system with position offsets embedded in remote devices | |
| TWI847395B (en) | Delay measurement device, delay measurement method, and recording medium storing delay measurement program | |
| IT9020469A1 (en) | DECENTRALIZED CONTROL PROCEDURE FOR A LINE OF FORMATION OF CORRUGATED PANELS | |
| JP6373717B2 (en) | Encoder | |
| TW202324004A (en) | Termination setting device, termination setting method, and termination setting program | |
| US20250253751A1 (en) | Method for operating a planar drive system and planar drive system | |
| Zhang et al. | A Control System Design for 7-DoF Light-weight Robot based on EtherCAT Bus | |
| JP7183441B2 (en) | Apparatus and method for alphanumeric marking of printed products and securities printing machine | |
| WO2023100609A1 (en) | Software management device, software management method, and software management program | |
| TWI854386B (en) | Surveillance object data storage device, surveillance object data storage method, surveillance object data storage program | |
| Lequesne et al. | High-accuracy magnetic position encoder concept | |
| US20050057202A1 (en) | Controller for controlling an electric machine | |
| JP2004227261A (en) | Numerical control system | |
| CN214748024U (en) | Function safety encoder | |
| JP2020069614A (en) | Robot system | |
| JP7139211B2 (en) | Information processing apparatus, printing system, and information processing method | |
| CN206278839U (en) | Automation loaded van track crane cart alignment system based on Flag location-plates | |
| JPS60176763A (en) | Register monitoring method for multicolor rotary printing press | |
| TWI873781B (en) | Industrial device information recording system, industrial device information recording method, industrial device information recording program | |
| TWI896940B (en) | Register control device, register control method, register control program, control device | |
| Balu et al. | Simulation of Pick and Place Factory Automation Process using Application Programming Interface | |
| US11774521B2 (en) | Position measuring mechanism and measuring method of linear motion system |