TWI834832B - railway control system - Google Patents
railway control system Download PDFInfo
- Publication number
- TWI834832B TWI834832B TW109107324A TW109107324A TWI834832B TW I834832 B TWI834832 B TW I834832B TW 109107324 A TW109107324 A TW 109107324A TW 109107324 A TW109107324 A TW 109107324A TW I834832 B TWI834832 B TW I834832B
- Authority
- TW
- Taiwan
- Prior art keywords
- processing unit
- control
- communication network
- signal
- parent
- Prior art date
Links
- 238000012545 processing Methods 0.000 claims abstract description 240
- 238000004891 communication Methods 0.000 claims abstract description 105
- 238000012544 monitoring process Methods 0.000 claims description 17
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 claims description 16
- 230000009471 action Effects 0.000 claims description 10
- 230000000717 retained effect Effects 0.000 claims description 3
- 230000001360 synchronised effect Effects 0.000 claims 1
- 238000000034 method Methods 0.000 description 44
- 230000008569 process Effects 0.000 description 32
- 230000009977 dual effect Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 10
- 238000004364 calculation method Methods 0.000 description 7
- 230000004913 activation Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 4
- 239000002184 metal Substances 0.000 description 4
- 230000000737 periodic effect Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000007257 malfunction Effects 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000004092 self-diagnosis Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T90/00—Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02T90/10—Technologies relating to charging of electric vehicles
- Y02T90/16—Information or communication technologies improving the operation of electric vehicles
Landscapes
- Hardware Redundancy (AREA)
- Train Traffic Observation, Control, And Security (AREA)
- Safety Devices In Control Systems (AREA)
Abstract
鐵路控制系統係具備會以透過通訊網絡而連動控制現場機器等來進行列車之運行控制的電子連動裝置。電子連動裝置係藉由配置於不同車站之複數處理部來構成多重系統。複數處理部係分別保有會透過通訊網絡來進行傳送接收的彼此之資訊,而會基於其保有資訊來分別進行正常判斷,並決定本身會作為母系統來動作或是作為子系統來動作。藉此,鐵路控制系統便可避免系統障礙之產生以確實地進行列車之運行控制。The railway control system is equipped with an electronic linkage device that can control on-site equipment through a communication network to control the operation of the train. The electronic linkage device consists of multiple processing units arranged at different stations to form a multiple system. The plurality of processing departments respectively retain each other's information that is transmitted and received through the communication network, and each performs normal judgment based on the information it retains, and decides whether it will operate as a parent system or a subsystem. In this way, the railway control system can avoid the occurrence of system obstacles and accurately control the operation of the train.
Description
本發明係關於一種會透過通訊網絡來控制列車之運行的多重系統方式之鐵路控制系統。The present invention relates to a multi-system railway control system that controls the operation of trains through a communication network.
作為一種會進行列車之運行控制的鐵路控制系統已知一種例如電子連動裝置。電子連動裝置會依照連動圖表數據來控制訊號機及轉轍器等的現場裝置,以確保列車運行之安全性。由於在此般電子連動裝置產生故障時,列車便會無法運行,故通常電子連動裝置會為多重系統方式。As a railway control system that controls train operation, an electronic linkage device is known, for example. The electronic linkage device will control on-site devices such as signals and switches according to the linkage chart data to ensure the safety of train operation. Because when such an electronic linkage device fails, the train will be unable to operate, so the electronic linkage device is usually a multi-system type.
例如日本特許第3208060號公報揭露一種電子連動裝置,係藉由使用系統及待機系統的雙重系統所構成,讓兩系統持續動作,而在使用系統故障時會進行朝待機系統的切換。此雙重系統方式之電子連動裝置係具備會接收兩系統的動作狀態而具有會進行系統切換之繼電連結方式的邏輯電路之共通部,透過此共通部並以金屬線來連接使用系統及待機系統。For example, Japanese Patent No. 3208060 discloses an electronic linkage device that is composed of a dual system of a working system and a standby system, allowing the two systems to continuously operate, and switching to the standby system when the working system fails. This dual system type electronic linkage device has a common part with a logic circuit that receives the operating status of the two systems and has a relay connection method for system switching. Through this common part, the active system and the standby system are connected with metal wires. .
關於上述般以往的電子連動裝置係難以將構成雙重系統之使用系統及待機系統設置在遠離一段距離之處(例如,不同車站等)。亦即,在欲將兩系統設置在不同車站等時,便會使連接使用系統、待機系統以及共通部之間的金屬線的全長變長。由於被此般長金屬線所傳送的訊號容易受到外來雜訊的影響,故會有讓系統的切換產生誤動作的可能性。因此,以往的電子連動裝置中便需要將使用系統、待機系統及共通部設置在相同車站的機器室。Regarding the above-mentioned conventional electronic linkage devices, it is difficult to install the use system and the standby system that constitute a dual system at a distance away from each other (for example, at different stations, etc.). That is, if the two systems are installed at different stations, etc., the total length of the metal wire connecting the use system, the standby system, and the common part will become longer. Since the signals transmitted by such long metal wires are easily affected by external noise, there is a possibility that system switching may malfunction. Therefore, in conventional electronic linkage devices, the operating system, standby system, and common parts need to be installed in the machine room of the same station.
在將此般使用系統、待機系統及共通部設置在相同機器室的情況下,而此機器室遭遇到火災或水害等的災害時,便會有無法維持住包含該電子連動裝置之連動控制系統的課題。又,在藉由被集約在一處據點車站的電子連動裝置來將會關連於複數車站的連動邏輯總括處理之集約型或集中型連動控制系統的情況下,便會有讓災害所致之系統障礙的影響擴及路線區域整體的可能性,而需要一種能避免此般狀況的系統構成之實現。If the operating system, standby system, and common parts are installed in the same machine room, and the machine room encounters a disaster such as fire or water damage, it may be impossible to maintain the linked control system including the electronic linkage device. subject. In addition, in the case of an intensive or centralized linkage control system that integrates linkage logic related to multiple stations through an electronic linkage device that is concentrated at one base station, there will be a system that allows disasters to occur. There is a possibility that the impact of an obstacle may extend to the entire route area, and a system structure that can avoid such a situation is required.
另外,此般課題並不限於包含上述電子連動裝置的連動控制系統,而是為了確保列車運行之安全性所採用多重系統方式之各式鐵路控制系統所共通的課題。In addition, such issues are not limited to the interlocking control system including the above-mentioned electronic interlocking device, but are common to various railway control systems that adopt a multi-system approach to ensure the safety of train operation.
本發明係著眼於上述觀點所完成者,其目的在於提供一種可避免系統障礙之產生以確實地進行列車之運行控制的多重系統方式之鐵路控制系統。The present invention has been accomplished in view of the above-mentioned viewpoints, and an object thereof is to provide a multi-system railway control system that can avoid the occurrence of system failures and reliably control the operation of trains.
為達成上述目的,本發明相關之鐵路控制系統的一態樣係具有可透過通訊網絡來進行列車之運行控制的複數處理部;該複數處理部係分別保有會透過該通訊網絡來進行傳送接收的彼此之資訊,而會基於其保有資訊來分別進行正常判斷,並決定本身會作為母系統來動作或是作為子系統來動作。In order to achieve the above object, one aspect of the railway control system related to the present invention has a plurality of processing units that can control the operation of the train through a communication network; the plurality of processing units each have a plurality of processing units that can transmit and receive through the communication network. Each other's information will make normal judgments based on the information they hold, and decide whether they will act as a parent system or a subsystem.
根據上述鐵路控制系統,由於構成多重系統之複數各處理部會獨自進行本身之正常判斷與決定母子,故無需以往般之繼電連結方式的共通部,而可將各處理部設置在遠離一段距離之處。藉此,即便複數處理部之其中之一因為災害而無法動作,仍可將位在遠離於其之處的其他處理部作為母系統來動作,而可避免系統障礙之產生以確實地進行列車之運行控制。According to the above-mentioned railway control system, since the plurality of processing units constituting the multiple system will independently perform its own normal judgment and decision-making, there is no need for a common unit in the conventional relay connection method, and each processing unit can be installed at a distance. place. With this, even if one of the plurality of processing units cannot operate due to a disaster, the other processing units located far away from it can still operate as a parent system, thereby avoiding the occurrence of system failures and ensuring reliable train operation. Operation control.
以下,便參照添附圖式就本發明實施形態來詳細說明。 圖1係顯示本發明一實施形態相關之鐵路控制系統的概略構成之塊狀圖。 圖1中,本實施形態之鐵路控制系統100係包含:電子連動裝置10,係具有會連接於通訊網絡1之複數(在此為2個)處理部11-1、11-2;複數(在此為n個)電子機器20-1、20-2…20-n,係連接於通訊網絡1;以及現場機器30,係連接於電子機器20-1。Hereinafter, embodiments of the present invention will be described in detail with reference to the attached drawings. FIG. 1 is a block diagram showing the schematic configuration of a railway control system according to an embodiment of the present invention. In FIG. 1 , the railway control system 100 of this embodiment includes: an electronic linkage device 10 having a plurality (here, two) processing units 11-1 and 11-2 connected to the communication network 1; These are n) electronic devices 20-1, 20-2...20-n, which are connected to the communication network 1; and the field device 30, which is connected to the electronic device 20-1.
電子連動裝置10係藉由透過通訊網絡1而連動控制電子機器20-1~20-n及現場機器30來控制列車之運行。此電子連動裝置10係藉由具有相同構成之處理部11-1、11-2來構成雙重系統,而將處理部11-1、11-2分別配置在不同車站。具體而言,係將處理部11-1係設置在A車站之機器室,而將處理部11-2設置在與該A車站遠離一段距離的B車站之機器室。The electronic linkage device 10 controls the operation of the train by linking and controlling the electronic devices 20-1~20-n and the field devices 30 through the communication network 1. This electronic linkage device 10 forms a dual system by using processing units 11-1 and 11-2 having the same structure, and the processing units 11-1 and 11-2 are respectively arranged at different stations. Specifically, the processing unit 11-1 is installed in the machine room of station A, and the processing unit 11-2 is installed in the machine room of station B which is some distance away from station A.
上述處理部11-1、11-2係在電子連動裝置10運轉時,使一邊的處理部作為母系統來動作,而使另邊的處理部作為子系統來動作。上述以往的電子連動裝置中之使用系統及待機系統係分別相當於本實施形態之電子連動裝置10中之母系統及子系統。作為母系統來動作之處理部(母系統處理部)係生成同步訊號Ss以及控制訊號Sc1(或Sc2)而傳送至通訊網絡1,該同步訊號Ss係用以使電子機器20-1~20-n及現場機器30的連動控制之處理時機點成為一致的基準,該控制訊號Sc1(或Sc2)係用以實行該連動控制。另一方面,作為子系統來動作之處理部(子系統處理部)係同步於會從母系統處理部所傳送並透過通訊網絡1來接收的同步訊號Ss,並生成用以實行上述連動控制之控制訊號Sc2(或Sc1)而傳送至通訊網絡1。另外,關於子母決定方法或連動控制中之同步訊號Ss及控制訊號Sc1、Sc2的細節會在之後詳述。When the electronic interlocking device 10 is operating, the above-mentioned processing units 11-1 and 11-2 cause one processing unit to operate as a parent system and the other processing unit to operate as a subsystem. The above-mentioned operating system and standby system in the conventional electronic linkage device are respectively equivalent to the parent system and the subsystem in the electronic linkage device 10 of this embodiment. The processing unit (parent system processing unit) operating as a parent system generates a synchronization signal Ss and a control signal Sc1 (or Sc2) and transmits them to the communication network 1. The synchronization signal Ss is used to control the electronic devices 20-1~20- The processing timing of the interlocking control between n and the field device 30 becomes a consistent reference, and the control signal Sc1 (or Sc2) is used to implement the interlocking control. On the other hand, the processing unit (subsystem processing unit) operating as a subsystem synchronizes with the synchronization signal Ss transmitted from the parent system processing unit and received through the communication network 1, and generates a signal for executing the above-mentioned linked control. The control signal Sc2 (or Sc1) is transmitted to the communication network 1. In addition, details about the parent-child determination method or the synchronization signal Ss and the control signals Sc1 and Sc2 in the linked control will be described in detail later.
電子機器20-1~20-n係藉由電子連動裝置10透過通訊網絡1來進行連動控制之對象。在此,關於電子機器20-1~20-n中之電子機器20-1係連接有複數現場機器30。現場機器30係例如訊號機、轉轍器、平交道、軌道電路等的機器。本實施形態之電子機器20-1~20-n及複數現場機器30係相當於本發明之「機器群」。The electronic devices 20 - 1 ~ 20 - n are objects that are linked and controlled by the electronic linkage device 10 through the communication network 1 . Here, a plurality of field devices 30 are connected to the electronic device 20-1 among the electronic devices 20-1 to 20-n. The field machines 30 are machines such as signals, switches, level crossings, track circuits, etc. The electronic devices 20-1 to 20-n and the plurality of field devices 30 in this embodiment correspond to the "machine group" of the present invention.
電子機器20-1係依照從電子連動裝置10透過通訊網絡1所接收的同步訊號Ss及控制訊號Sc1、Sc2來控制各現場機器30的動作。又,電子機器20-1會掌握處在管理下之各現場機器30現在處於何種狀態,而生成表示各狀態資訊之狀態訊號C1,並在既定週期傳送至通訊網絡1。與此同樣地,其他電子機器20-2~20-n會依照來自電子連動裝置10之同步訊號Ss及控制訊號Sc1、Sc2來控制各動作,並在既定週期將表示各自現在狀態資訊之狀態訊號C2~Cn傳送至通訊網絡1。另外,雖在此顯示僅將現場機器30連接於電子機器20-1的一範例,但亦可在通訊網絡1上複數存在有已連接現場機器之電子機器。The electronic device 20 - 1 controls the operation of each field device 30 in accordance with the synchronization signal Ss and the control signals Sc1 and Sc2 received from the electronic linkage device 10 through the communication network 1 . In addition, the electronic device 20-1 will grasp the current status of each field device 30 under management, generate a status signal C1 indicating each status information, and transmit it to the communication network 1 at a predetermined cycle. Similarly, the other electronic devices 20-2~20-n will control each action according to the synchronization signal Ss and the control signals Sc1 and Sc2 from the electronic linkage device 10, and send status signals representing their current status information in a predetermined cycle. C2~Cn are sent to communication network 1. In addition, although an example in which only the field device 30 is connected to the electronic device 20 - 1 is shown here, there may also be a plurality of electronic devices connected to the field device on the communication network 1 .
通訊網絡1係可使用能在電子連動裝置10之各處理部11-1、11-2與電子機器20-1~20-n彼此之間雙向傳送資訊或訊號的習知通訊機構。本實施形態之鐵路控制系統100中,係可藉由例如多點傳送方式之通訊來讓各處理部11-1、11-2及電子機器20-1~20-n彼此隨時交換數據。The communication network 1 can use a conventional communication mechanism capable of bidirectionally transmitting information or signals between the processing units 11-1, 11-2 of the electronic linkage device 10 and the electronic machines 20-1~20-n. In the railway control system 100 of this embodiment, the processing units 11-1, 11-2 and the electronic devices 20-1 to 20-n can exchange data with each other at any time through communication such as multicast.
圖2係顯示電子連動裝置10之處理部11-1的硬體構成一範例之塊狀圖。另外,關於處理部11-2由於為與處理部11-1相同之硬體構成,故省略說明。FIG. 2 is a block diagram showing an example of the hardware configuration of the processing unit 11-1 of the electronic linkage device 10. In addition, since the processing unit 11-2 has the same hardware configuration as the processing unit 11-1, description thereof is omitted.
圖2中,處理部11-1係具備處理器41、記憶體42、記憶裝置43、通訊裝置44以及輸出入裝置45。In FIG. 2 , the processing unit 11 - 1 includes a processor 41 , a memory 42 , a storage device 43 , a communication device 44 , and an input/output device 45 .
處理器41係內建CPU(Central Processing Unit)及快閃記憶體等,而會實行記憶裝置43所儲存的各種程式。The processor 41 has a built-in CPU (Central Processing Unit) and a flash memory, and executes various programs stored in the memory device 43 .
記憶體42係例如RAM(Random Access Memory)等,而會裝載有處理器41所實行的程式並儲存有用於處理器41之處理的數據。The memory 42 is, for example, RAM (Random Access Memory), etc., and is loaded with programs executed by the processor 41 and stores data used for processing by the processor 41 .
記憶裝置43係例如HDD(Hard Disk Drive)或快閃記憶體等,而儲存有母子決定程式與連動處理程式以及在連動處理時所參照之連動圖表數據、在下述同時啟動狀態下決定母子時所參照之優先系統數據等。母子決定程式係記憶有在啟動時之本身處理部的動作模式(母系統或子系統)之決定以及在啟動後運轉時之動作模式的切換相關之處理演算法。又,連動處理程式係記憶有用以與母子決定程式之處理連動來實現母系統與子系統的各動作模式所對應之連動控制的演算法。The memory device 43 is, for example, a HDD (Hard Disk Drive) or a flash memory, and stores a mother-child determination program and a linkage processing program, as well as linkage chart data referenced during linkage processing. Refer to the priority system data, etc. The parent-child determination program stores processing algorithms related to the determination of the operation mode (parent system or subsystem) of its own processing unit at startup and the switching of the operation mode during operation after startup. In addition, the linked processing program stores an algorithm for linking with the processing of the parent and child determination programs to realize linked control corresponding to each action mode of the parent system and the subsystem.
通訊裝置44係將藉由在處理器41之演算處理所生成的各種訊號傳送至通訊網絡1並接收從其他處理部11-2以及各電子機器20-1~20-n來傳送至通訊網絡1之各種訊號而傳送至處理器41。The communication device 44 transmits various signals generated by the calculation processing in the processor 41 to the communication network 1 and receives them from other processing units 11-2 and each electronic device 20-1~20-n and transmits them to the communication network 1 Various signals are sent to the processor 41.
輸出入裝置45係例如鍵盤或顯示器等,而會接收使用者之動作命令或各種設定值等,並輸出處理器41之演算處理結果。The input/output device 45 is, for example, a keyboard or a display, and receives the user's action commands or various setting values, etc., and outputs the calculation processing results of the processor 41 .
上述處理部11-1之各構成要素係以匯流排46來加以連接。Each component of the above-mentioned processing unit 11-1 is connected by a bus 46.
圖3係將處理部11-1所具備的功能塊狀化而例示之功能塊狀圖。另外,由於處理部11-2之功能塊亦與處理部11-1相同,故省略說明。FIG. 3 is a functional block diagram illustrating functions included in the processing unit 11-1 in block form. In addition, since the functional blocks of the processing unit 11-2 are also the same as those of the processing unit 11-1, description thereof is omitted.
圖3中,作為處理部11-1之功能塊係包含訊號監視部51、正常判斷部52、母子決定部53、故障資訊輸出部54、同步訊號生成部55以及控制訊號生成部56。In FIG. 3 , the functional blocks as the processing unit 11 - 1 include a signal monitoring unit 51 , a normality judgment unit 52 , a parent-child determination unit 53 , a fault information output unit 54 , a synchronization signal generation unit 55 and a control signal generation unit 56 .
訊號監視部51係監視從其他處理部11-2及電子機器20-1~20-n所傳送並透過通訊網絡1所接收的訊號。此訊號監視部51係可記憶n週期份量(其中n為2以上的整數)的訊號接收的有無以及接收訊號有效/無效相關的歷程。訊號監視部51之監視結果會分別傳送至正常判斷部52及控制訊號生成部56。The signal monitoring unit 51 monitors signals transmitted from the other processing units 11-2 and the electronic devices 20-1 to 20-n and received through the communication network 1. This signal monitoring unit 51 can store the presence or absence of signal reception for n cycles (where n is an integer equal to or greater than 2) and the history related to the validity/invalidity of the received signal. The monitoring results of the signal monitoring unit 51 are sent to the normal judging unit 52 and the control signal generating unit 56 respectively.
正常判斷部52係基於訊號監視部51之監視結果來判斷本身之處理部11-1是否有正常動作,並在其他處理部11-2作為母系統來動作(本身作為子系統來動作)之情況,判斷該母系統處理部是否有正常動作。此正常判斷部52之判斷結果係分別傳送至母子決定部53及故障資訊輸出部54。The normality judgment unit 52 judges whether its own processing unit 11-1 operates normally based on the monitoring results of the signal monitoring unit 51, and when the other processing unit 11-2 operates as a parent system (it operates as a subsystem) , to determine whether the parent system processing unit is operating normally. The judgment results of the normal judgment unit 52 are sent to the mother-child decision unit 53 and the fault information output unit 54 respectively.
上述正常判斷部52之本身的處理部11-1的正常判斷係例如對應於訊號監視部51所監視的來自電子機器20-1~20-n的狀態訊號C1~Cn的有無,來判斷本身之通訊線路是否處於正常狀態。在此所謂本身之通訊線路係連接處理部11-1與通訊網絡1之間的部分的通訊線路。在該通訊線路中,例如於通訊纜線的斷線或連接器的接觸不良等之故障產生時,便完全無法在處理部11-1接收來自通訊網絡1之訊號。來自電子機器20-1~20-n的狀態訊號C1~Cn係如上述般會在既定週期被反覆傳送,故只要監視是否有接收到狀態訊號C1~Cn的任一者的話,便可判斷本身之通訊線路是否處在正常狀態還是產生故障。另外,正常判斷部52除了本身之通訊線路以外,亦可使用例如處理器41或記憶體42、通訊裝置44等的硬體之自身診斷功能來判斷演算處理本身是否有產生問題。The normality judgment of the processing unit 11-1 of the normality judgment unit 52 is, for example, based on the presence or absence of the status signals C1 to Cn from the electronic devices 20-1 to 20-n monitored by the signal monitoring unit 51. Whether the communication line is in normal condition. The communication line referred to here is a partial communication line connecting the processing unit 11-1 and the communication network 1. In this communication line, when a fault occurs, such as a disconnection of the communication cable or poor contact of the connector, the processing unit 11-1 is completely unable to receive the signal from the communication network 1. The status signals C1~Cn from the electronic devices 20-1~20-n will be repeatedly transmitted in a predetermined cycle as mentioned above. Therefore, as long as it monitors whether any of the status signals C1~Cn is received, it can be judged. Whether the communication line is in normal condition or has a fault. In addition, in addition to its own communication line, the normality determination unit 52 can also use the self-diagnosis function of hardware such as the processor 41, memory 42, communication device 44, etc. to determine whether there is a problem in the calculation process itself.
又,上述正常判斷部52中作為母系統來動作的其他處理部之正常判斷係例如可接收訊號監視部51所監視的來自電子機器20-1~20-n的狀態訊號C1~Cn,在無法接收來自其他處理部11-2(母系統)的全部或部分訊號的情況,便會判斷母系統產生故障,或是在來自母系統之訊號包含下述故障資訊F的情況,亦會判斷母系統產生故障。另外,本實施形態中之正常判斷部52係具備作為本發明中之「第1判斷部」及「第2判斷部」的功能。In addition, the normality judgment of other processing units operating as a parent system in the above-mentioned normality judgment unit 52 is, for example, the state signals C1 to Cn from the electronic devices 20-1 to 20-n monitored by the signal monitoring unit 51. If all or part of the signal from the other processing unit 11-2 (parent system) is received, it will be determined that the parent system is faulty, or if the signal from the parent system contains the following fault information F, the parent system will also be determined. A malfunction occurs. In addition, the normality determination unit 52 in this embodiment has functions as the "first determination unit" and the "second determination unit" in the present invention.
母子決定部53係基於正常判斷部52之判斷結果,來決定本身之處理部11-1會作為母系統來動作或是作為子系統來動作,而將其決定結果分別傳送至同步訊號生成部55及控制訊號生成部56。關於此母子決定部53的具體處理內容係區分為電子連動裝置10啟動時與啟動後運轉時的兩種情況,而在之後參照流程圖來詳細說明。Based on the determination result of the normal determination unit 52, the parent-child determination unit 53 determines whether its own processing unit 11-1 will operate as a parent system or a subsystem, and sends the determination results to the synchronization signal generation unit 55 respectively. and a control signal generating unit 56. The specific processing content of the mother-child determination unit 53 is divided into two situations: when the electronic linkage device 10 is started and when the electronic linkage device 10 is started and operated, and will be described in detail later with reference to the flowchart.
故障資訊輸出部54係在正常判斷部52中判斷出本身之處理部11-1(本身系統)故障時,便會生成表示本身系統處於故障狀態之故障資訊F,並在將該故障資訊F傳送至通訊網絡1時同時傳送至控制訊號生成部56。作為將故障資訊F傳送至通訊網絡1之方法係有例如建立將故障資訊F搭載於與本身所傳送之控制訊號Sc1不同的訊號來傳送之會在控制訊號Sc1顯示故障的標記而傳送,或是不傳送訊號而通知外部故障狀態等的方法。When the normal determination unit 52 determines that its own processing unit 11-1 (own system) is faulty, the fault information output unit 54 generates fault information F indicating that the own system is in a fault state, and transmits the fault information F. When sent to the communication network 1, it is simultaneously sent to the control signal generating unit 56. As a method of transmitting the fault information F to the communication network 1, for example, the fault information F is mounted on a signal different from the control signal Sc1 that is transmitted, and is transmitted by a flag that displays the fault in the control signal Sc1, or is transmitted. A method of notifying external fault status, etc. without transmitting a signal.
同步訊號生成部55係在母子決定部53決定讓本身之處理部11-1作為母系統來動作時,便會生成同步訊號Ss。此同步訊號Ss係用以使連動控制中之處理的時機點成為一致之基準,具體而言,係為使構成雙重系統之各處理部11-1、11-2開始演算處理之時機點成為一致的基準之訊號。同步訊號生成部55係在既定週期將生成之同步訊號Ss傳送至通訊網絡1。藉此,在通訊網絡1上的所有機器便會將同步訊號Ss之接收作為啟動器而開始本身之處理,並以該時機點為基準來進行週期性地動作。The synchronization signal generation unit 55 generates the synchronization signal Ss when the parent-child determination unit 53 determines that its own processing unit 11-1 operates as the parent system. This synchronization signal Ss is used as a basis for making the timing of the processing in the linked control consistent. Specifically, it is used to make the timing of starting the calculation processing of each of the processing units 11-1 and 11-2 constituting the dual system consistent. the benchmark signal. The synchronization signal generating unit 55 transmits the generated synchronization signal Ss to the communication network 1 in a predetermined cycle. In this way, all the machines on the communication network 1 will use the reception of the synchronization signal Ss as a trigger to start their own processing, and perform periodic operations based on this time point.
控制訊號生成部56係在母子決定部53決定使本身之處理部11-1作為母系統來動作時,便會配合同步訊號生成部55所生成之同步訊號Ss的時機點,來採用訊號監視部51所監視的來自電子機器20-1~20-n的狀態訊號C1~Cn作為輸入數據。另一方面,控制訊號生成部56係在母子決定部53決定使本身之處理部11-1作為子系統來動作時,便會配合訊號監視部51所監視的來自其他處理部11-2(母系統)之同步訊號Ss的時機點,來採用訊號監視部51所監視的來自電子機器20-1~20-n的狀態訊號C1~Cn作為輸入數據。然後,控制訊號生成部56係對應於所採用之狀態訊號C1~Cn的內容,來生成用以實行連動控制之控制訊號Sc1,而在既定週期將該控制訊號Sc1傳送至通訊網絡1。此控制訊號Sc1係可設定有無效標記。無效標記成立的控制訊號Sc1在為連動控制對象之電子機器20-1~20-n及現場機器30之動作的控制上不會被使用而成為被放棄之訊號。When the parent-child determination unit 53 decides to operate the processing unit 11-1 as the parent system, the control signal generation unit 56 uses the signal monitoring unit according to the timing of the synchronization signal Ss generated by the synchronization signal generation unit 55. The status signals C1~Cn from the electronic devices 20-1~20-n monitored by 51 are used as input data. On the other hand, when the parent-child determination unit 53 decides to operate its own processing unit 11-1 as a subsystem, the control signal generation unit 56 cooperates with the control signal from the other processing unit 11-2 (parent unit) monitored by the signal monitoring unit 51. The timing of the synchronization signal Ss of the system) uses the status signals C1 to Cn from the electronic devices 20-1 to 20-n monitored by the signal monitoring unit 51 as input data. Then, the control signal generating unit 56 generates a control signal Sc1 for performing linked control corresponding to the contents of the adopted status signals C1 to Cn, and transmits the control signal Sc1 to the communication network 1 in a predetermined period. This control signal Sc1 can be set with an invalid flag. The control signal Sc1 in which the invalid flag is established will not be used for controlling the operation of the electronic devices 20-1 to 20-n that are linked control objects and the field device 30, and becomes a discarded signal.
將上述控制訊號Sc1的格式一範例顯示於圖4。此控制訊號Sc1係具有已UDP/IP通訊協定為基本的DIX規格的格式來作為通訊協定。此般格式中,係將特定出為控制對象的電子機器20-1~20-n或現場機器30的資訊顯示為接收處的MAC位址,將特定出該處理部11-1之資訊顯示為傳送處MAC位址,將連動控制之具體內容顯示為使用者數據。關於無效標記係可使用使用者數據內之特定區域來顯示。另外,控制訊號等的傳送接收所使用的通訊方式、控制訊號等的格式並不限於上述一範例。An example of the format of the above control signal Sc1 is shown in FIG. 4 . This control signal Sc1 has the format of DIX standard based on UDP/IP communication protocol as the communication protocol. In this format, the information specifying the electronic devices 20-1 to 20-n or the field device 30 as the control target is displayed as the MAC address of the receiving place, and the information specifying the processing unit 11-1 is displayed as The transmission MAC address displays the specific content of the linkage control as user data. Invalid flags can be displayed using specific areas within user data. In addition, the communication method used for transmitting and receiving control signals, etc., and the format of the control signals, etc. are not limited to the above example.
上述多點傳送方式的通訊係在各處理部11-1、11-2開始演算處理的時機點有所不同時,彼此作為演算之輸入數據所採用的資訊(來自電子機器20-1~20-n的狀態訊號C1~Cn)會不同,而有讓各控制訊號生成部56所生成之控制訊號Sc1、Sc2內容產生不同的可能性。為了避免此般控制訊號Sc1、Sc2的不一致而取得整合性,各處理部11-1、11-2的控制訊號生成部56便會配合同步訊號Ss的時機點而採用狀態訊號C1~Cn。The communication using the multicast method described above is information (from the electronic devices 20-1 to 20-) that is used as input data for the calculations when the processing units 11-1 and 11-2 start the calculation processing at different timings. The status signals C1 to Cn) of n will be different, which may cause the contents of the control signals Sc1 and Sc2 generated by each control signal generating unit 56 to be different. In order to avoid such inconsistencies in the control signals Sc1 and Sc2 and achieve integrity, the control signal generation unit 56 of each processing unit 11-1 and 11-2 uses the status signals C1 to Cn in accordance with the timing of the synchronization signal Ss.
又,控制訊號生成部56係在從故障資訊輸出部54傳送故障資訊F時,便會中止生成之控制訊號Sc1朝通訊網絡1的傳送,或是在控制訊號Sc1建立無效標記而不採用連動控制。進一步地,控制訊號生成部56係在處理部11-1啟動時等,即便在無法收集到來自電子機器20-1~20-n的狀態訊號C1~Cn之情況下,仍會生成無效標記成立的暫時性的控制訊號Sc1,而將該控制訊號Sc1週期性地朝通訊網絡1傳送。In addition, when the fault information F is transmitted from the fault information output unit 54, the control signal generation unit 56 stops the transmission of the generated control signal Sc1 to the communication network 1, or sets an invalid flag in the control signal Sc1 without using linkage control. . Furthermore, the control signal generation unit 56 generates the invalid flag establishment even when the status signals C1 to Cn from the electronic devices 20-1 to 20-n cannot be collected, such as when the processing unit 11-1 is started. a temporary control signal Sc1, and the control signal Sc1 is periodically transmitted toward the communication network 1.
另外,雖在此例示有不同於用以實行連動控制之控制訊號Sc1而生成用以使處理時機點成為一致的同步訊號Ss,並傳送至通訊網絡1之一範例,但除此之外,亦可進行在控制訊號Sc1的首標建立用以取得處理時機點的標記等,而使控制訊號Sc1帶有作為同步訊號Ss的功能。In addition, although an example is shown here of generating a synchronization signal Ss for making the processing timing coincide with the control signal Sc1 for executing the linked control and transmitting it to the communication network 1, other than that, there is also an example. It is possible to create a mark for obtaining the processing timing point in the header of the control signal Sc1, so that the control signal Sc1 has the function of the synchronization signal Ss.
又,作為取代同步訊號Ss的其他方法係可如圖5之概略圖所示,使搭載有狀態訊號及控制訊號的框體會以母系統處理部為起點來巡繞子系統處理部及電子機器20-1~20-n的方式來在通訊網絡1上巡繞,各母系統處理部、子系統處理部及各電子機器20-1~20-n會相對於上述框體之特定的區域A1、A2、A3…來進行數據的讀寫。由於此般方法中,係各母系統處理部及子系統處理部所採用的來自各電子機器20-1~20-n的狀態訊號C1~Cn相同,故可取得各母系統處理部及子系統處理部所生成之控制訊號的整合性。In addition, as another method to replace the synchronization signal Ss, as shown in the schematic diagram of FIG. 5 , the frame carrying the status signal and the control signal will circle the subsystem processing unit and the electronic device 20 starting from the parent system processing unit. -1~20-n on the communication network 1, each parent system processing unit, subsystem processing unit and each electronic device 20-1~20-n will be relative to the specific area A1, A2, A3... to read and write data. Since in this method, the status signals C1 ~ Cn from each electronic device 20 - 1 ~ 20 - n used by each parent system processing unit and subsystem processing unit are the same, therefore each parent system processing unit and subsystem can obtain Integration of control signals generated by the processing unit.
接著,便參照圖6之流程圖,就在電子連動裝置10啟動時各處理部11-1、11-2所實行之用以決定母子的處理動作一範例來具體說明。Next, referring to the flowchart of FIG. 6 , an example of the processing operations performed by each processing unit 11 - 1 and 11 - 2 to determine mother and child when the electronic linkage device 10 is activated will be described in detail.
在開啟構成電子連動裝置10之雙重系統的處理部11-1、11-2中之一者的電源時,該處理部之處理器41係實行儲存於記憶裝置43之母子決定程式及連動處理程式。另外,為了依照該等程式來完成電子連動裝置10之啟動,需要讓連接於通訊網絡1的至少1個機器動作。When one of the processing units 11-1 and 11-2 constituting the dual system of the electronic linkage device 10 is powered on, the processor 41 of the processing unit executes the parent-child determination program and the linkage processing program stored in the memory device 43 . In addition, in order to complete the activation of the electronic linkage device 10 according to these programs, at least one machine connected to the communication network 1 needs to be operated.
圖6之流程圖中一開始的步驟S10中,處理器41係進行在本身之處理部(本身系統)所生成的控制訊號Sc建立無效標記的處理來作為啟動後之處理。另外,符號Sc係顯示在處理部11-1所生成之控制訊號Sc1及在處理部11-2所生成之控制訊號Sc2的任一訊號者。由於建立此無效標記之處理係在啟動後的階段中無法收集來自電子機器20-1~20-n的狀態訊號C1~Cn,故為用以讓暫時生成的控制訊號Sc無法用於實際連動控制之措施。無效化後之控制訊號Sc係在既定週期傳送至通訊網絡1。In the initial step S10 in the flowchart of FIG. 6 , the processor 41 performs a process of setting an invalid flag on the control signal Sc generated by its own processing unit (own system) as a post-startup process. In addition, the symbol Sc indicates either the control signal Sc1 generated by the processing unit 11-1 or the control signal Sc2 generated by the processing unit 11-2. Since the process of establishing this invalid flag cannot collect the status signals C1~Cn from the electronic devices 20-1~20-n in the post-startup stage, it is used to prevent the temporarily generated control signal Sc from being used for actual linkage control. measures. The invalidated control signal Sc is transmitted to the communication network 1 in a predetermined period.
在接著的步驟S20中,處理器41係監視透過通訊網絡1所接收的訊號,來判斷是否有接收到來自電子機器20-1~20-n的狀態訊號C1~Cn的任一者。在接收到狀態訊號的情況(Yes),便會判斷本身之通訊線路處於正常狀態,而前進至步驟S30。另一方面,在未接收到狀態訊號的情況(No),便會待機至判斷有接收到狀態訊號為止。狀態訊號在超過傳送至通訊網絡1上的週期,而持續為無法接收狀態訊號的狀況時,便會判斷為在本身之通訊線路產生斷線等的故障,而持續反覆步驟S10~步驟S20。In the subsequent step S20, the processor 41 monitors the signals received through the communication network 1 to determine whether any of the status signals C1~Cn from the electronic devices 20-1~20-n is received. When the status signal is received (Yes), it will be judged that the communication line is in a normal state and proceed to step S30. On the other hand, if the status signal is not received (No), it will wait until it is determined that the status signal is received. When the status signal exceeds the period of transmission to the communication network 1 and continues to be unable to receive the status signal, it will be determined that a fault such as disconnection has occurred in its own communication line, and steps S10 to S20 will continue to be repeated.
接著,在步驟S30中,處理器41係判斷是否有接收到來自其他處理部(其他系統)之控制訊號Sc,在未接收到來自其他系統的控制訊號Sc的情況(No)下,接著的步驟S40中便不會開啟其他系統之電源,而會辨識出本身系統會處於較其他系統要先啟動的狀態(以下,稱為「先啟動狀態」)。另一方面,在接收到來自其他系統的控制訊號Sc的情況(Yes),便會移動到步驟S70。Next, in step S30, the processor 41 determines whether the control signal Sc from other processing units (other systems) has been received. If the control signal Sc from other systems has not been received (No), the following steps S40 will not turn on the power of other systems, but will recognize that its own system is in a state that needs to be started before other systems (hereinafter referred to as the "first boot state"). On the other hand, if the control signal Sc from the other system is received (Yes), the process moves to step S70.
在辨識出先啟動狀態時,在接著的步驟S50中,處理器41會判斷此先啟動狀態是否已連續n週期。為此判斷基準之週期數n係為了能更確實地辨識出先啟動狀態而設定者,並可適當設定2個以上的數值。在先啟動狀態連續n週期的情況(Yes)便前進至步驟S60,在未連續n週期的情況(No)便會回到步驟S10。When the first-start state is identified, in the subsequent step S50, the processor 41 determines whether the first-start state has continued for n cycles. Therefore, the number of cycles n of the judgment standard is set in order to recognize the first start-up state more reliably, and two or more values can be set appropriately. If the previously activated state continues for n cycles (Yes), the process proceeds to step S60. If the previous activation state does not continue for n cycles (No), the process returns to step S10.
在確認到連續n週期而處於先啟動狀態時,步驟S60中,處理器41會決定讓本身之處理部作為母系統來開始動作。作為母系統的具體動作係首先生成同步訊號Ss而傳送至通訊網絡1並配合該同步訊號Ss的時機點來採用來自電子機器20-1~20-n的最新狀態訊號C1~Cn。然後,對應於該等最新的狀態訊號C1~Cn的內容,來參照儲存於記憶裝置43的連動圖表數據並生成控制訊號Sc。生成之控制訊號Sc係不會建立無效標記,亦即會作為有效控制訊號Sc來被傳送至通訊網絡1。When it is confirmed that the processor 41 is in the first-start state for n consecutive cycles, in step S60 , the processor 41 decides to start operating its own processing unit as the parent system. As a specific action of the parent system, the synchronization signal Ss is first generated and transmitted to the communication network 1 and the latest status signals C1 ~ Cn from the electronic devices 20 - 1 ~ 20 -n are used according to the timing of the synchronization signal Ss. Then, corresponding to the contents of the latest status signals C1 to Cn, the linkage graph data stored in the memory device 43 is referred to and the control signal Sc is generated. The generated control signal Sc will not establish an invalid flag, that is, it will be transmitted to the communication network 1 as a valid control signal Sc.
在上述步驟S30判斷接收到來自其他系統之控制訊號Sc時,步驟S70中處理器41會判斷所接收到的控制訊號Sc為有效者還是無效者。在接收到有效控制訊號Sc的情況(Yes)下,在接著的步驟S80中,便會辨識出其他處理部已作為母系統來動作,而使本身系統處於會較其他系統要後來啟動的狀態(以下,稱為「後啟動狀態」)。另一方面,在接收到無效控制訊號Sc的情況(No)下,便會移動至步驟S110。When it is determined in step S30 that the control signal Sc is received from other systems, in step S70 the processor 41 determines whether the received control signal Sc is valid or invalid. When the valid control signal Sc is received (Yes), in the subsequent step S80, it will be recognized that other processing units have operated as the parent system, and the own system will be in a state that will be started later than other systems ( Hereinafter, referred to as the "post-start state"). On the other hand, if the invalid control signal Sc is received (No), the process moves to step S110.
在辨識出後啟動狀態時,步驟S90中處理器41便會判斷後啟動狀態是否有連續n週期。在後啟動狀態已連續n週期的情況(Yes)下,便會前進至步驟S100,在未連續n週期的情況(No)下,便會回到上述步驟S10。When the post-start state is identified, in step S90 the processor 41 determines whether the post-start state has n consecutive cycles. If the post-start state has continued for n cycles (Yes), the process will proceed to step S100. If the post-start state has not continued for n cycles (No), the process will return to step S10.
在連續n週期而確認到後啟動狀態時,步驟S100中處理器41便會實行用以讓本身之處理部作為子系統來動作之處理。圖7係顯示子系統動作用之處理一範例的流程圖。首先,處理器41係在圖7步驟S101中確定使本身之處理部作為子系統來動作。接著的步驟S102中,係經由通訊網絡1來接收來自作為母系統來動作的其他處理部之同步訊號Ss,而配合該同步訊號Ss之時機點來採用來自電子機器20-1~20-n的最新狀態訊號C1~Cn。步驟S103中,係對應於該等最新狀態訊號C1~Cn的內容,來參照記憶裝置43所儲存的連動圖表數據並生成控制訊號Sc。此控制訊號Sc在現在時間點係建立有無效標記。When the post-startup state is confirmed for n consecutive cycles, in step S100 the processor 41 executes processing for causing its own processing unit to operate as a subsystem. FIG. 7 is a flowchart showing an example of processing of subsystem actions. First, the processor 41 determines to operate its own processing unit as a subsystem in step S101 of FIG. 7 . In the following step S102, the synchronization signal Ss from other processing units operating as the parent system is received via the communication network 1, and the synchronization signal Ss from the electronic devices 20-1 to 20-n is used according to the timing of the synchronization signal Ss. The latest status signals C1~Cn. In step S103, the linkage chart data stored in the memory device 43 is referenced corresponding to the contents of the latest status signals C1 to Cn, and the control signal Sc is generated. This control signal Sc has an invalid flag established at the current time point.
在接著的步驟S104中處理器41係將生成之控制訊號Sc維持在無效狀態而傳送至通訊網絡1。在接著的步驟S105中,處理器41會比較生成之控制訊號Sc以及從其他之處理部經由通訊網絡1所接收到的有效控制訊號Sc,而判斷各內容是否有一致。在未一致的情況(No)下,便會在步驟S106中實行使控制訊號Sc之內容成為一致的處理後,回到步驟S102。在一致的情況(Yes)下,便會前進到步驟S107,而不會在下個週期以後所生成的控制訊號建立無效標記。藉此,該處理部係作為子系統處理部來開始動作。In the subsequent step S104, the processor 41 maintains the generated control signal Sc in an inactive state and transmits it to the communication network 1. In the next step S105, the processor 41 compares the generated control signal Sc with the effective control signal Sc received from other processing units via the communication network 1 to determine whether the contents are consistent. If they are not consistent (No), the process of making the contents of the control signal Sc consistent is performed in step S106, and then the process returns to step S102. In the case of consistency (Yes), step S107 will be advanced without setting an invalid flag for control signals generated after the next cycle. Thereby, the processing unit starts operating as a subsystem processing unit.
在上述圖6之步驟S70中,判斷接收到無效控制訊號Sc時,步驟S110中處理器41係辨識出會處於雖開啟其他系統之電源,但不會決定母系統或子系統的動作之模式而傳送有無效控制訊號Sc的狀態,亦即幾乎同時啟動本身系統及其他系統的狀態(以下,稱為「同時開啟狀態」)。In step S70 of FIG. 6 , when it is determined that the invalid control signal Sc is received, in step S110 the processor 41 recognizes that although the power of other systems is turned on, it will not determine the operation of the parent system or subsystem. The state in which the invalid control signal Sc is transmitted is a state in which the own system and other systems are activated almost simultaneously (hereinafter referred to as the "simultaneous on state").
同時開啟狀態下的母子決定係例如優先在輸出入裝置45將啟動系統(以下稱為「優先系統」)預先儲存在記憶裝置43,而在自身系統相當於優先系統的情況便可為母系統,在不是的情況則為子系統。依照此方式,步驟S120中處理器41便會參照記憶裝置43所儲存之優先系統數據來進行本身系統是否為優先系統的判斷。在為優先系統的情況(Yes)下,便會前進至接著的步驟S130,在非為優先系統的情況(No)下,便移動至步驟S150。另外,在此雖顯示參照記憶裝置43所儲存之優先系統數據來判斷優先系統的一範例,但關於優先系統之設定方法並不限於此,例如亦可預先在各處理部分別設置物理開關,而利用該物理開關來設定、參照各處理部之優先度。The determination of the parent and child in the simultaneous open state is, for example, to give priority to the input/output device 45 and store the startup system (hereinafter referred to as the "priority system") in the memory device 43 in advance, and the parent system can be the case where the own system is equivalent to the priority system. If not, it is the subsystem. In this manner, in step S120, the processor 41 will refer to the priority system data stored in the memory device 43 to determine whether its own system is a priority system. If the system is a priority system (Yes), the process proceeds to step S130. If the system is not a priority system (No), the process proceeds to step S150. In addition, although an example of determining the priority system by referring to the priority system data stored in the memory device 43 is shown here, the setting method of the priority system is not limited to this. For example, physical switches can also be set in each processing unit in advance. Use this physical switch to set and refer to the priority of each processing unit.
步驟S130中,處理器41係判斷同時啟動狀態是否有連續m週期。為此判斷基準的週期數m係設定為會較在上述步驟S50等的判斷所使用的週期數n要小的數值(m<n)。在同時啟動狀態已連續m週期的情況(Yes)下,便會前進至步驟S140,在未連續m週期的情況(No)下,便回到步驟S10。In step S130, the processor 41 determines whether the simultaneous startup state has m consecutive periods. For this reason, the period number m of the judgment criterion is set to a smaller value (m<n) than the period number n used for the judgment in step S50 and the like. If the simultaneous activation state has continued for m periods (Yes), the process proceeds to step S140. If the simultaneous activation state has not continued for m periods (No), the process returns to step S10.
在相當於優先系統且連續m週期並確認到同時啟動狀態時,步驟S140中,處理器41便會與上述步驟S60之處理同樣地決定使本身之處理部作為母系統來開始動作。When it corresponds to the priority system and continues for m cycles and confirms the simultaneous start-up state, in step S140, the processor 41 determines to start operating its own processing unit as the parent system in the same manner as the above-mentioned step S60.
在上述步驟S120判斷本身系統非為優先系統時,步驟S150中,處理器41係判斷同時啟動狀態是否有連續n週期。在同時啟動狀態已連續n週期的情況(Yes)下,便會前進至步驟S160,在未連續n週期的情況(No)下,便回到步驟S10。When it is determined in step S120 that the own system is not a priority system, in step S150, the processor 41 determines whether the simultaneous startup state lasts for n consecutive periods. If the simultaneous activation state has continued for n cycles (Yes), the process proceeds to step S160. If the simultaneous activation state has not continued for n cycles (No), the process returns to step S10.
在非為優先系統且連續n週期並確認到同時啟動狀態時,步驟S160中,處理器41係實行使本身之處理部作為子系統來動作用的處理。另外,在此時機點其他系統便會作為母系統處理部來開始動作。子系統動作用之處理係與上述步驟S100之處理相同,會依照圖7所例示的流程圖來實行處理。藉此,該處理部便會作為子系統處理部來開始動作。When the system is not a priority system and the simultaneous start-up state is confirmed for n consecutive cycles, in step S160, the processor 41 executes a process of causing its own processing unit to function as a subsystem. In addition, at this time, other systems will start operating as the parent system processing unit. The processing of the subsystem action is the same as the processing of step S100 described above, and the processing will be executed according to the flowchart illustrated in FIG. 7 . This causes the processing unit to start operating as a subsystem processing unit.
藉由在上述般電子連動裝置10啟動時之母子決定用的處理動作來使構成雙重系統的處理部11-1、11-2中之一者作為母系統處理部來動作,使另者作為子系統處理部來動作,而開始利用電子連動裝置10之電子機器20-1~20-n及現場機器30的連動控制。在啟動後運轉時,會從電子連動裝置10之主系統處理部將同步訊號Ss及有效控制訊號Sc1(或Sc2)傳送至通訊網絡1,從子系統處理部將有效控制訊號Sc2(或Sc1)傳送至通訊網絡1。作為具體一範例,上述圖1係顯示在使電子連動裝置10之處理部11-1作為主系統處理部,使處理部11-2作為子系統處理部來分別動作的情況,在通訊網絡1上雙向傳送同步訊號Ss、控制訊號Sc1,Sc2及狀態訊號C1~Cn的狀況。另外,圖1所例示的訊號傳送之狀況中括號內的記號係故障產生時所傳送之訊號一範例,關於此會在之後詳述。Through the above-mentioned processing operation for determining the parent and child when the electronic interlocking device 10 is activated, one of the processing units 11-1 and 11-2 constituting the dual system operates as the parent system processing unit, and the other acts as the child system processing unit. The system processing unit operates to start interlocking control of the electronic devices 20-1 to 20-n and the field device 30 using the electronic interlocking device 10. During operation after startup, the synchronization signal Ss and the effective control signal Sc1 (or Sc2) will be transmitted from the main system processing part of the electronic linkage device 10 to the communication network 1, and the effective control signal Sc2 (or Sc1) will be transmitted from the subsystem processing part. Sent to communication network 1. As a specific example, the above-mentioned FIG. 1 shows a case where the processing unit 11-1 of the electronic linkage device 10 is used as the main system processing unit and the processing unit 11-2 is operated as a subsystem processing unit. On the communication network 1 The status of bidirectional transmission of synchronization signal Ss, control signals Sc1, Sc2 and status signals C1~Cn. In addition, the symbols in brackets in the signal transmission status illustrated in Figure 1 are examples of signals transmitted when a fault occurs, which will be described in detail later.
為連動控制對象之電子機器20-1~20-n及現場機器30會例如比較透過通訊網絡1所接收的來自母系統處理部及子系統處理部之各控制訊號Sc1、Sc2的內容,在藉由該等的一致而確認到電子連動裝置10的雙重系統處於正常狀態後,便會依照控制訊號Sc1(或Sc2)來控制各自動作。另外,使各控制訊號Sc1、Sc2的內容成為一致的確認只要能對應於連動控制系統所要求的可靠性等來適當進行即可,基本上,可僅使用來自母系統處理部之控制訊號,來進行對象機器之動作控制,亦可另外制定在各控制訊號Sc1、Sc2的內容不一致之情況下的動作。The electronic devices 20-1~20-n and the field device 30 that are the objects of linked control will, for example, compare the contents of the control signals Sc1 and Sc2 received from the parent system processing unit and the subsystem processing unit through the communication network 1. After confirming that the dual systems of the electronic linkage device 10 are in a normal state based on the coincidence, respective actions will be controlled according to the control signal Sc1 (or Sc2). In addition, the confirmation that the contents of each control signal Sc1 and Sc2 are consistent only needs to be appropriately performed in accordance with the reliability required by the linked control system. Basically, only the control signal from the parent system processing unit can be used. To control the operation of the target machine, it is also possible to separately specify the operation when the contents of the control signals Sc1 and Sc2 are inconsistent.
接著,便參照圖8之流程圖來具體說明開啟後運轉時之電子連動裝置10的母系統及子系統之切換動作一範例。Next, an example of the switching operation between the parent system and the subsystem of the electronic linkage device 10 during operation after startup will be described in detail with reference to the flow chart of FIG. 8 .
在使電子連動裝置10之處理部11-1、11-2中之一者作為母系統處理部,使另者作為子系統處理部來動作之運轉時,各處理部之處理器41會依照母子決定程式及連動處理程式來實行本身處理部的動作模式之切換判斷處理。首先,圖8之步驟S300中,處理器41會監視透過通訊網絡1所接收的訊號,來判斷是否有接收到同步訊號Ss。在接收到同步訊號Ss的情況(Yes)下,接著的步驟S310中,本身處理部之動作模式若為子系統的話便會持續動作,若為母系統的話便會切換為子系統。在未接收到同步訊號Ss的情況(No)下便移動至步驟S320。When one of the processing units 11-1 and 11-2 of the electronic interlocking device 10 is operated as a parent system processing unit and the other one is operated as a subsystem processing unit, the processor 41 of each processing unit operates in accordance with the parent and subsystem processing unit. The decision program and the linkage processing program execute the switching judgment processing of the operation mode of the own processing unit. First, in step S300 of FIG. 8 , the processor 41 monitors the signal received through the communication network 1 to determine whether the synchronization signal Ss is received. When the synchronization signal Ss is received (Yes), in the following step S310, the operation mode of the processing unit itself will continue to operate if it is a subsystem, or it will switch to a subsystem if it is a parent system. If the synchronization signal Ss is not received (No), the process moves to step S320.
關於上述步驟S300、S310的處理,同步訊號Ss係僅從母系統所傳送之訊號,所謂接收到其係指本身處理部基本上會作為子系統來動作,而原則上非作為母系統來動作。然而,亦無法排除在本身系統之處理產生異常而使兩者處理部都作為母系統來動作之可能性。假設此般狀況,步驟S310之處理中,在本身系統的動作為母系統的情況下便會切換為子系統。另外,亦可根據異常的內容,不切換為子系統,而是停止本身系統的動作。Regarding the processing of the above-mentioned steps S300 and S310, the synchronization signal Ss is a signal transmitted only from the parent system. The so-called reception means that the processing unit itself basically operates as a subsystem and does not operate as the parent system in principle. However, it cannot be ruled out that an abnormality occurs in the processing of the own system, causing both processing units to operate as the parent system. Assuming this situation, in the process of step S310, if the operation of the own system is the parent system, it will be switched to the subsystem. In addition, depending on the content of the exception, it is possible to stop the operation of the own system without switching to a subsystem.
由於步驟S320中係確認到未接收同步訊號Ss,故處理器41會判斷是否有接收到來自其他處理部之控制訊號Sc。在接收到控制訊號Sc的情況(Yes)下便會前進至步驟S330,在未接收到控制訊號Sc的情況(No)下便會移動至步驟S420。Since it is confirmed in step S320 that the synchronization signal Ss has not been received, the processor 41 determines whether the control signal Sc from other processing units has been received. If the control signal Sc is received (Yes), the process proceeds to step S330. If the control signal Sc is not received (No), the process proceeds to step S420.
步驟S330中,處理器41係判斷所接收的控制訊號Sc為有效還是無效。在為有效控制訊號Sc的情況(Yes)下,會判斷不會接收來自其他處理部之同步訊號Ss,且有接收到有效控制訊號Sc的狀態,亦即為其他處理部會作為子系統來動作之狀態。在此狀態下,本身處理部基本上會作為母系統來動作,而原則上非作為子系統來動作。然而,與上述情況相同,仍有在本身系統之處理產生異常而使兩者處理部都作為子系統來動作之可能性。假設此般狀況,接著的步驟S340中,處理器41便會進行本身之處理部為母系統還是為子系統的判斷。In step S330, the processor 41 determines whether the received control signal Sc is valid or invalid. In the case where the control signal Sc is valid (Yes), it will be judged that the synchronization signal Ss from other processing units will not be received, and there is a state of receiving the valid control signal Sc, that is, the other processing units will operate as subsystems. state. In this state, the processing unit itself basically operates as a parent system and does not operate as a subsystem in principle. However, as in the above case, there is still a possibility that an abnormality occurs in the processing of the own system, causing both processing units to operate as subsystems. Assuming this situation, in the following step S340, the processor 41 will determine whether its processing unit is a parent system or a subsystem.
在為母系統的情況(Yes)下,接著的步驟S350中,係持續作為母系統來動作。另一方面,在為子系統的情況(No)下,便會移動至步驟S360,且判斷是否有連續n週期相同狀態,亦即,不接收來自其他處理部之同步訊號Ss,且有接收到有效控制訊號Sc的狀態。在相同狀態連續n週期的情況(Yes)下,便會前進至步驟S370,在未連續n週期的情況(No)下,便會移動至步驟S380,而持續作為子系統來動作。If it is the parent system (Yes), in the following step S350, the system continues to operate as the parent system. On the other hand, if it is a subsystem (No), it will move to step S360 and determine whether there is the same state for n consecutive periods, that is, the synchronization signal Ss from other processing units is not received, and the synchronization signal Ss from other processing units is received. Effectively control the state of signal Sc. If the same state continues for n cycles (Yes), the process proceeds to step S370. If the same state does not continue for n cycles (No), the process proceeds to step S380 and continues to operate as a subsystem.
步驟S370中,處理器41會辨識出兩者處理部都處於作為子系統來動作之狀態,而進行自身系統是否相當於上述優先系統的判斷。在本身系統相當於優先系統的情況(Yes)下,接著的步驟S390中,會將本身之處理部的動作模式從子系統切換為母系統。另一方面,在本身系統非為優先系統的情況(No)下,便會與上述步驟S380同樣地持續作為子系統來動作。In step S370, the processor 41 recognizes that both processing units are operating as subsystems, and determines whether its own system is equivalent to the above-mentioned priority system. If the own system corresponds to the priority system (Yes), in subsequent step S390, the operation mode of the own processing unit is switched from the subsystem to the parent system. On the other hand, if the own system is not a priority system (No), it will continue to operate as a subsystem in the same manner as in step S380.
在上述步驟S330中判斷有接收到無效控制訊號Sc的情況(No)下,步驟S400中,處理器41係判斷是否有連續n週期相同狀態,亦即,不接收來自其他處理部之同步訊號Ss,且有接收到無效控制訊號Sc的狀態。此般狀態會在其他處理部啟動中,或是在演算處理本身中產生小問題之輕微故障中產生。在相同狀態已連續n週期的情況(Yes)下,接著的步驟S410中,若本身處理部之動作模式為母系統的話便會持續動作,若是為子系統的話,便會切換為母系統。另一方面,在未連續n週期的情況(No)下,便會回到上述步驟S300。If it is determined in step S330 that the invalid control signal Sc is received (No), in step S400, the processor 41 determines whether there is the same state for n consecutive cycles, that is, the synchronization signal Ss from other processing units is not received. , and there is a state of receiving invalid control signal Sc. Such a state may occur when other processing units are starting up, or when a minor glitch causes a minor problem in the calculation process itself. If the same state has continued for n cycles (Yes), in the following step S410, if the operation mode of the processing unit is the parent system, it will continue to operate, and if it is the subsystem, it will switch to the parent system. On the other hand, if n cycles are not continued (No), the process returns to step S300.
接收到未接收上述步驟S320中之來自其他系統的控制訊號Sc的判斷,步驟S420中,處理器41便會判斷是否有接收到來自電子機器20-1~20-n的狀態訊號C1~Cn的任一者。在接收到狀態訊號的情況(Yes)下,便會前進至步驟S430,在未接收狀態訊號的情況(No)下,便會移動至步驟S450。After receiving the determination that the control signal Sc from other systems in step S320 has not been received, in step S420, the processor 41 will determine whether the status signals C1~Cn from the electronic devices 20-1~20-n have been received. Either. If the status signal is received (Yes), the process proceeds to step S430. If the status signal is not received (No), the process proceeds to step S450.
步驟S430中,處理器41係判斷是否有連續n週期相同狀態,亦即不會接收來自其他處理部之同步訊號Ss及控制訊號Sc兩者,且有接收到來自電子機器20-1~20-n的任一者之狀態訊號的狀態。在連續n週期相同狀態的情況(Yes)下,接著的步驟S440中,便會判斷在其他處理部產生通訊線路故障或停止動作,而將本身處理部之動作模式從子系統切換為母系統。另一方面,在未連續n週期的情況(No)下,便會回到步驟S300。In step S430, the processor 41 determines whether there are n consecutive periods of the same state, that is, it does not receive both the synchronization signal Ss and the control signal Sc from other processing units, and it receives the same state from the electronic devices 20-1~20- The state of any status signal of n. In the case of the same state for n consecutive cycles (Yes), in the subsequent step S440, it will be determined that a communication line failure has occurred or stopped operating in other processing units, and the operation mode of the own processing unit will be switched from the subsystem to the parent system. On the other hand, if n cycles are not continued (No), the process returns to step S300.
步驟S450中,處理器41係判斷是否有連續n週期相同狀態,亦即未接收到來自其他處理部之同步訊號Ss及控制訊號Sc以及來自電子機器20-1~20-n的任一者之狀態訊號的狀態。在連續n週期相同狀態的情況(Yes)下,便會前進至步驟S460,在未連續n週期的情況(No)下,便回到上述步驟S300。In step S450, the processor 41 determines whether there is the same state for n consecutive cycles, that is, the synchronization signal Ss and the control signal Sc from other processing units and any one of the electronic devices 20-1 to 20-n are not received. The status of the status signal. If the same state is continued for n cycles (Yes), the process proceeds to step S460. If the state is not continued for n cycles (No), the process returns to step S300.
步驟S460中,處理器41會因為處於完全無法接收來自通訊網絡1之訊號的狀態,而辨識出本身之通訊線路故障。然後,停止從本身系統所傳送之控制訊號Sc,若本身處理部之動作模式為母系統的話,亦會停止傳送同步訊號Ss,而將表示本身之通訊線路故障的故障資訊F傳送至通訊網絡1上之各機器。作為具體一範例,在上述圖1之括號內係顯示在使電子連動裝置10之處理部11-1作為母系統,而處理部11-2作為子系統來動作之情況,於母系統之處理部11-1產生通訊線路故障時,傳送至通訊網絡1上的故障資訊F、控制訊號Sc2以及狀態訊號C1~Cn的狀態。藉此,作為子系統來動作之處理部11-2便會切換為母系統。然後,在處理部11-1已修復故障時,便會依照上述圖6所示之啟動時的順序來再次依序實行步驟S10以後的處理。藉此,若是處理部11-2會作為母系統來持續正常動作的話,故障已修復的處理部11-1便會作為子系統來回復運作。In step S460, the processor 41 will recognize that its own communication line is faulty because it is completely unable to receive signals from the communication network 1. Then, it stops transmitting the control signal Sc from its own system. If the operation mode of its own processing unit is the parent system, it also stops transmitting the synchronization signal Ss, and transmits the fault information F indicating the fault of its own communication line to the communication network 1. All machines above. As a specific example, the parentheses in FIG. 1 show a case where the processing unit 11-1 of the electronic linkage device 10 is used as a parent system and the processing unit 11-2 is operated as a subsystem. In the processing unit of the parent system, 11-1 When a communication line fault occurs, the fault information F, control signal Sc2 and status signals C1~Cn are sent to the communication network 1. Thereby, the processing unit 11-2 operating as a subsystem is switched to the parent system. Then, when the processing unit 11-1 has repaired the fault, the processing after step S10 will be sequentially executed again according to the startup sequence shown in FIG. 6 . Therefore, if the processing unit 11-2 continues to operate normally as a parent system, the processing unit 11-1 with the fault repaired will resume operation as a subsystem.
另外,上述說明中,雖已顯示通訊線路故障已產生之處理部11-1會停止傳送控制訊號Sc1的一範例,但除此之外,亦可在控制訊號Sc1建立無效標記,而將無效化後之控制訊號Sc1傳送至通訊網絡1。在故障產生時係可適當選擇要停止控制訊號Sc1還是無效化。In addition, in the above description, although an example has been shown that the processing unit 11-1 will stop transmitting the control signal Sc1 when a communication line failure has occurred, but in addition, an invalid flag can also be set in the control signal Sc1 to invalidate it. The control signal Sc1 is then sent to the communication network 1. When a fault occurs, it can be appropriately selected whether to stop the control signal Sc1 or to invalidate it.
以下,便參照圖9就作為母系統來動作之處理部11-1產生通訊線路故障的情況之母系統及子系統的切換動作來詳細說明。Hereinafter, the switching operation between the parent system and the subsystem when a communication line failure occurs in the processing unit 11-1 operating as the parent system will be described in detail with reference to FIG. 9 .
圖9上段係例示從母系統之處理部11-1來看的動作之變遷,圖9下段係例示從子系統之處理部11-2來看的動作之變遷。在此,母系統及子系統的處理部11-1、11-2以及各電子機器20-1~20-n會分別在200ms的固定週期反覆處理,而在進行圖9左側所示之最先的週期處理之途中,假設在母系統產生通訊線路故障(圖中之×記號)的情況。The upper part of FIG. 9 illustrates the transition of operations when viewed from the processing unit 11-1 of the parent system, and the lower part of FIG. 9 illustrates the transition of operations when viewed from the processing unit 11-2 of the subsystem. Here, the processing units 11-1 and 11-2 of the parent system and the subsystem and the electronic devices 20-1 to 20-n respectively perform repeated processing in a fixed cycle of 200 ms, and the first step shown on the left side of Figure 9 is During the periodic processing, assume that a communication line failure (× mark in the figure) occurs in the parent system.
在此般假設下,母系統之處理部11-1在最先之處理週期中,會傳送同步訊號Ss並接收來自子系統之處理部11-2的控制訊號Sc2及來自電子機器20-1~20-n的狀態訊號C1~Cn。然而,在故障產生後之週期處理(第2次)中,雖會生成同步訊號Ss,但卻無法將該同步訊號Ss傳送至通訊網絡1,又,亦無法接收到來自子系統之處理部11-2及電子機器20-1~20-n的訊號(圖中之虛線箭頭)。然後,在此狀態連續3週期(n=3)時,母系統之處理部11-1便會停止輸出同步訊號Ss且亦停止輸出控制訊號Sc(或無效化),而從與子系統之同時運轉當中脫離。Under this assumption, in the first processing cycle, the processing unit 11-1 of the parent system will transmit the synchronization signal Ss and receive the control signal Sc2 from the processing unit 11-2 of the subsystem and the electronic device 20-1~ 20-n status signals C1~Cn. However, in the periodic processing (the second time) after the fault occurs, although the synchronization signal Ss is generated, the synchronization signal Ss cannot be transmitted to the communication network 1, and the processing unit 11 from the subsystem cannot be received. -2 and the signals of electronic devices 20-1~20-n (dashed arrows in the figure). Then, when this state continues for 3 cycles (n=3), the processing unit 11-1 of the parent system will stop outputting the synchronization signal Ss and also stop outputting the control signal Sc (or invalidate), and synchronize with the subsystem. Detached during operation.
此時,子系統之處理部11-2在母系統之處理部11-1的通訊線路故障產生後的週期處理(第2次)中,雖能接收到來自電子機器20-1~20-n的狀態訊號C1~Cn,但卻無法接收到來自母系統之同步訊號Ss及控制訊號Sc1。然後,在此狀態已連續3週期時,子系統之處理部11-2便會判斷母系統之處理部11-1產生故障,而將本身之動作模式從子系統切換為母系統。藉此,切換後之處理部11-2便會透過通訊網絡1來將同步訊號Ss及控制訊號Sc2傳送至電子機器20-1~20-n,而成為新的母系統處理部。At this time, although the processing unit 11-2 of the subsystem can receive signals from the electronic devices 20-1~20-n during the periodic processing (the second time) after the communication line failure of the processing unit 11-1 of the parent system occurs, status signals C1~Cn, but cannot receive the synchronization signal Ss and control signal Sc1 from the parent system. Then, when this state continues for three cycles, the processing unit 11-2 of the subsystem will determine that the processing unit 11-1 of the parent system has failed, and switch its operation mode from the subsystem to the parent system. Thereby, the switched processing unit 11-2 will transmit the synchronization signal Ss and the control signal Sc2 to the electronic devices 20-1~20-n through the communication network 1, and become a new parent system processing unit.
如上述說明般,根據本實施形態之鐵路控制系統100,由於電子連動裝置10之各處理部11-1、11-2會利用透過通訊網絡1所傳送接收的同步訊號Ss(啟動後運轉時)以及控制訊號Sc1、Sc2與狀態訊號C1~Cn(啟動時、啟動後運轉時),來獨立進行本身之正常判斷與母子決定,故無需如以往的電子連動裝置般,透過繼電連結方式的共通部並以金屬線路來連接使用系統(母系統)及待機系統(子系統)而進行兩系統之切換。藉此,便可將構成電子連動裝置10之雙重系統的處理部11-1、11-2遠離一段距離而配置在不同的A車站及B車站的各機器室。從而,即便其中之一車站的機器室遭遇火災或水災等的災害,仍可藉由使位在其他車站之機器室的處理部作為母系統而動作,來維持連動控制系統,而可避免災害所致之系統障礙產生並確實地進行列車之運行控制。又,由於可無需共通部而減少構件數量,故可降低電子連動裝置10之故障頻率。As explained above, according to the railway control system 100 of this embodiment, each processing unit 11-1 and 11-2 of the electronic linkage device 10 uses the synchronization signal Ss transmitted and received through the communication network 1 (during operation after startup) As well as control signals Sc1, Sc2 and status signals C1~Cn (when starting and running after starting), it can independently carry out its own normal judgment and mother-child decision, so there is no need to use a common relay connection method like previous electronic linkage devices. The part also uses metal lines to connect the operating system (parent system) and the standby system (subsystem) to switch between the two systems. Thereby, the processing units 11-1 and 11-2 constituting the dual system of the electronic linkage device 10 can be arranged at a certain distance in each machine room of different stations A and B. Therefore, even if the machine room of one of the stations encounters a disaster such as fire or flood, the processing unit in the machine room of the other station can still operate as a parent system to maintain the linked control system and avoid the disaster. System failures are caused and the train operation is controlled reliably. In addition, since no common parts are required and the number of components can be reduced, the frequency of failure of the electronic linkage device 10 can be reduced.
進一步地,根據本實施形態之鐵路控制系統100,由於可自由設定構成電子連動裝置10之雙重系統的處理部11-1、11-2之間的距離,換言之,可將處理部11-1、11-2配置在通訊網絡1上的任意處,故會提高電子連動裝置10之設計自由度,且能完成會抑制設備費用的設計。例如,在構成各處理部11-1、11-2的硬體上有新舊差異的情況,會以新硬體所構成之處理部的優先度會變高,而以舊硬體所構成之處理部的優先度則會變低的方式來在輸出入裝置45或物理開關等進行設定,若是將優先度較高之處理部(優先系統)配置在更容易維護的地方的話,便可實現有效率之系統設計及運動。此般效果在將關連於複數車站的連動邏輯總括處理之集約型或集中型連動控制系統中特別有效。Furthermore, according to the railway control system 100 of this embodiment, the distance between the processing units 11-1 and 11-2 constituting the dual system of the electronic linkage device 10 can be freely set. In other words, the processing units 11-1, 11-2 can be 11-2 is arranged anywhere on the communication network 1, thereby increasing the design freedom of the electronic linkage device 10 and enabling a design that reduces equipment costs. For example, if there is a difference between the old and new hardware constituting each of the processing units 11-1 and 11-2, the priority of the processing unit configured with the new hardware will become higher, and the priority of the processing unit configured with the old hardware will be higher. The input/output device 45 or physical switch is set in such a way that the priority of the processing unit is lowered. If the processing unit (priority system) with a higher priority is placed in a place where maintenance is easier, efficient maintenance can be achieved. System design and movement for efficiency. This effect is particularly effective in an intensive or centralized linkage control system that collectively handles linkage logic related to a plurality of stations.
另外,上述實施形態中,雖已就將電子連動裝置10之處理部11-1、11-2分別配置在不同車站之機器室的一範例來加以說明,但即便例如將處理部11-1、11-2分別配置在相同車站之腹地內遠離一段距離之處所設置的2個機器室,仍可避免災害所致之系統障礙的產生。又,雖已顯示電子連動裝置10會藉由2個處理部11-1、11-2來構成雙重系統的一範例,但在藉由3個以上的處理部來構成多重系統的情況下本發明亦為有效。在電子連動裝置具備3個以上的處理部的情況,關於各處理部係可藉由將優先度,亦即優先啟動之系統的順序依各處理部而在輸出入裝置45來決定並預先記憶於記憶裝置43,或是利用物理開關等來預先設定,便可與上述實施形態之情況同樣地使各處理部獨立決定本身之母子動作模式。在此情況,便會使1個處理部作為母系統來動作,而使剩下的處理部作為子系統來動作。In addition, in the above embodiment, an example in which the processing units 11-1 and 11-2 of the electronic linkage device 10 are respectively arranged in the machine rooms of different stations has been described. However, even if the processing units 11-1, 11-2, 11-2 By arranging two machine rooms at a distance away from each other in the hinterland of the same station, system obstacles caused by disasters can still be avoided. Furthermore, although an example of the electronic linkage device 10 constituting a dual system with two processing units 11-1 and 11-2 has been shown, when three or more processing units are used to configure a multiple system, the present invention Also valid. When the electronic linkage device has three or more processing units, the priority of each processing unit, that is, the order of the system to be activated first, can be determined in the input/output device 45 and stored in advance in the input/output device 45 according to each processing unit. The memory device 43 can be pre-set using a physical switch or the like, so that each processing unit can independently determine its own mother-child action mode, similar to the case of the above embodiment. In this case, one processing unit operates as a parent system, and the remaining processing units operate as subsystems.
進一步地,上述本實施形態中,雖已說明電子連動裝置10會透過通訊網絡1來進行電子機器20-1~20-n及現場機器30的連動控制的系統構成一範例,但本發明並不限於包含此般電子連動裝置10之連動控制系統,而可對為了確保列車運行之安全性而採用多重系統方式的任意鐵路控制系統適用本發明。Furthermore, in the above embodiment, although it has been explained that the electronic linkage device 10 can perform linkage control of the electronic devices 20-1~20-n and the field device 30 through the communication network 1 as an example, the present invention does not The present invention is limited to the interlocking control system including such electronic interlocking device 10, but can be applied to any railway control system that adopts a multi-system approach in order to ensure the safety of train operation.
在對上述般任意的鐵路控制系統適用本發明中,構成多重系統的複數處理部係分別保有會透過通訊網絡來進行傳送接收的彼此之資訊。此保有資訊係所謂通訊網絡上之各處理部會將何種訊號傳送至通訊網絡且從通訊網絡接收到何種訊號的資訊。然後,複數處理部會基於保有資訊來分別進行正常判斷,並決定本身會作為母系統來動作或是作為子系統來動作。此處之正常判斷係例如在藉由保有資訊,而得知其他處理部在應從通訊網絡接收到3種類的訊號之處僅接收到2種類的訊號,且本身之處理部所傳送出之訊號並未被其他處理部所接收時,便能判斷出本身之通訊線路故障。又,本身之母子動作模式的決定係例如在藉由保有資訊而得知雖其他處理部會傳送僅由母系統所生成之訊號,但在包含本身之母系統以外的處理部並未接收到該訊號時,便能判斷母系統處理部故障而將本身之動作模式切換為母系統。藉由使複數各處理部具備此般功能,便可得到與上述實施形態之情況相同的作用效果。When the present invention is applied to any railway control system as described above, the plurality of processing units constituting the multiple systems each hold mutual information that is transmitted and received through the communication network. This retained information refers to what kind of signals each processing unit on the so-called communication network sends to the communication network and what kind of signals it receives from the communication network. Then, the plurality processing unit will perform normal judgment based on the retained information, and decide whether it will operate as a parent system or a subsystem. The normal judgment here is, for example, by retaining information and knowing that other processing units only received 2 types of signals where they should have received 3 types of signals from the communication network, and the signals sent by their own processing units did not When it is not received by other processing units, it can be judged that its own communication line is faulty. In addition, the mother-child operation mode of the self is determined by, for example, holding information that although other processing units transmit signals generated only by the mother system, the processing units other than the mother system including the self have not received the signal. When receiving a signal, it can determine that the processing unit of the parent system is faulty and switch its operating mode to the parent system. By providing each plurality of processing units with such functions, the same operational effects as those in the above-described embodiment can be obtained.
以上,雖已就本發明之實施形態及其應用例來加以說明,但本發明並不限於上述實施形態及其應用例,而可基於本發明之技術思想來進一步地變形及改變。Although the embodiments and application examples of the present invention have been described above, the present invention is not limited to the above-mentioned embodiments and application examples, and can be further deformed and changed based on the technical idea of the present invention.
1:通訊網絡 10:電子連動裝置 11-1、11-2:處理部 20-1~20-n:電子機器 30:現場機器 41:處理器 42:記憶體 43:記憶裝置 44:通訊裝置 45:輸出入裝置 46:匯流排 51:訊號監視部 52:正常判斷部 53:母子決定部 54:故障資訊輸出部 55:同步訊號生成部 56:控制訊號生成部 100:鐵路控制系統 C1~Cn:狀態訊號 F:故障資訊 Ss:同步訊號 Sc1、Sc2:控制訊號1: Communication network 10: Electronic linkage device 11-1, 11-2: Processing Department 20-1~20-n: Electronic equipment 30: On-site machine 41: Processor 42:Memory 43:Memory device 44:Communication device 45:Input/output device 46:Bus 51:Signal Monitoring Department 52:Normal Judgment Department 53:Mother and Child Decision Department 54:Fault information output department 55: Synchronization signal generation part 56:Control signal generation part 100:Railway control system C1~Cn: status signal F:Fault information Ss: synchronization signal Sc1, Sc2: control signal
圖1係顯示本發明一實施形態相關之鐵路控制系統的概略構成之塊狀圖。 圖2係顯示上述實施形態中之處理部的硬體構成一範例的塊狀圖。 圖3係上述實施形態中之處理部的功能塊狀圖。 圖4係顯示上述實施形態中之控制訊號格式一範例的圖式。 圖5係例示取代上述實施形態之同步訊號的其他方法之概略圖。 圖6係顯示上述實施形態中之電子連動裝置啟動時的處理動作一範例之流程圖。 圖7係顯示子母動作用之處理一範例的流程圖。 圖8係顯示上述實施形態中之電子連動裝置運轉時之處理一範例的流程圖。 圖9係用以說明上述實施形態中在母系統處理部產生有通訊線路故障之情況下的母子切換動作之圖式。FIG. 1 is a block diagram showing the schematic configuration of a railway control system according to an embodiment of the present invention. FIG. 2 is a block diagram showing an example of the hardware configuration of the processing unit in the above embodiment. Fig. 3 is a functional block diagram of the processing unit in the above embodiment. FIG. 4 is a diagram showing an example of the control signal format in the above embodiment. FIG. 5 is a schematic diagram illustrating another method of synchronizing signals in place of the above embodiment. FIG. 6 is a flowchart showing an example of processing operations when the electronic linkage device in the above embodiment is activated. FIG. 7 is a flowchart showing an example of processing of parent-child action. FIG. 8 is a flowchart showing an example of processing during operation of the electronic linkage device in the above embodiment. FIG. 9 is a diagram for explaining the parent-child switching operation when a communication line failure occurs in the parent system processing unit in the above embodiment.
無without
1:通訊網絡 1: Communication network
10:電子連動裝置 10: Electronic linkage device
11-1、11-2:處理部 11-1, 11-2: Processing Department
20-1~20-n:電子機器 20-1~20-n: Electronic equipment
30:現場機器 30: On-site machine
100:鐵路控制系統 100:Railway control system
C1~Cn:狀態訊號 C1~Cn: status signal
F:故障資訊 F:Fault information
Ss:同步訊號 Ss: synchronization signal
Sc1、Sc2:控制訊號 Sc1, Sc2: control signal
Claims (7)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2019040344A JP7313845B2 (en) | 2019-03-06 | 2019-03-06 | railway control system |
| JP2019-040344 | 2019-03-06 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202105184A TW202105184A (en) | 2021-02-01 |
| TWI834832B true TWI834832B (en) | 2024-03-11 |
Family
ID=72354245
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW109107324A TWI834832B (en) | 2019-03-06 | 2020-03-05 | railway control system |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP7313845B2 (en) |
| TW (1) | TWI834832B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7770903B2 (en) * | 2021-12-21 | 2025-11-17 | 株式会社東芝 | Electronic Interlocking System |
| CN114407975B (en) * | 2021-12-21 | 2024-04-19 | 合肥工大高科信息科技股份有限公司 | Hot standby method of execution unit of all-electronic interlocking system and hot standby interlocking system |
| WO2024257589A1 (en) * | 2023-06-14 | 2024-12-19 | 株式会社日立製作所 | Passenger guidance system and passenger guidance method |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011136632A (en) * | 2009-12-28 | 2011-07-14 | Hitachi Ltd | Railway security system |
| JP2011235682A (en) * | 2010-05-07 | 2011-11-24 | Hitachi Ltd | Train operation control system |
| JP2018030541A (en) * | 2016-08-26 | 2018-03-01 | 株式会社東芝 | Interlocking device |
| CN109263686A (en) * | 2018-10-25 | 2019-01-25 | 交控科技股份有限公司 | A kind of method of the not parking auto-changeover control power of ATP and LKJ, train |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0283744A (en) * | 1988-09-21 | 1990-03-23 | Hitachi Ltd | Dual system synchronization processing method |
| JP3813909B2 (en) * | 2002-07-26 | 2006-08-23 | 株式会社京三製作所 | Electronic interlocking device |
| JP2004155246A (en) * | 2002-11-05 | 2004-06-03 | Nippon Signal Co Ltd:The | Startup device for train control device |
-
2019
- 2019-03-06 JP JP2019040344A patent/JP7313845B2/en active Active
-
2020
- 2020-03-05 TW TW109107324A patent/TWI834832B/en active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011136632A (en) * | 2009-12-28 | 2011-07-14 | Hitachi Ltd | Railway security system |
| JP2011235682A (en) * | 2010-05-07 | 2011-11-24 | Hitachi Ltd | Train operation control system |
| JP2018030541A (en) * | 2016-08-26 | 2018-03-01 | 株式会社東芝 | Interlocking device |
| CN109263686A (en) * | 2018-10-25 | 2019-01-25 | 交控科技股份有限公司 | A kind of method of the not parking auto-changeover control power of ATP and LKJ, train |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2020144575A (en) | 2020-09-10 |
| TW202105184A (en) | 2021-02-01 |
| JP7313845B2 (en) | 2023-07-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI834832B (en) | railway control system | |
| EP2245472B1 (en) | System and method for network recovery from multiple link failures | |
| US8006129B2 (en) | Detecting and preventing the split-brain condition in redundant processing units | |
| CN101546187B (en) | Redundant PLC system | |
| CN103057572B (en) | Control switch method of main machine and standby machine | |
| CN103955188A (en) | Control system and method supporting redundancy switching function | |
| CN102193543B (en) | Control system and switching method based on fieldbus redundant network topology | |
| CN102137017A (en) | Working method and device for virtual network unit | |
| CN110488701A (en) | The High Availabitity heat backup method of network and FlexRay bus based on production domesticization processor | |
| CN105577444A (en) | Wireless controller management method and wireless controller | |
| CN108725521B (en) | A rail transit main and backup control center hot backup redundancy management system and method | |
| CN103152209B (en) | Application service based on multiple-node backup runs treatment system | |
| CN115720180B (en) | Method and system for real-time monitoring and recovery of SRIO bus communication network faults | |
| CN111522698B (en) | Automatic switching system and method for front-end processor | |
| WO2016177105A1 (en) | Pseudo-wire dual-homing protection management method and communication device | |
| CN101860888B (en) | Method, system and equipment for transmitting data by wireless link | |
| JP2012014673A (en) | Cluster system restoration method, server and program | |
| CN116938628A (en) | Method and system for equipment redundancy synchronization switching of regional controller | |
| JP5606652B2 (en) | Control and monitoring signal transmission system | |
| CN105306256A (en) | Hot-standby implementation method based on VxWorks equipment | |
| JP2002247017A (en) | Communication line switching device | |
| JP2010136038A (en) | Transmitter, and method for switching system in redundant configuration | |
| JP2015207239A (en) | Control system, control device and program | |
| JP5836853B2 (en) | Monitoring system and maintenance method using the same | |
| CN1286014C (en) | Methods of recovering from agent module failures |