JP7016229B2 - Railroad signaling system and control method - Google Patents

Railroad signaling system and control method Download PDF

Info

Publication number
JP7016229B2
JP7016229B2 JP2017161913A JP2017161913A JP7016229B2 JP 7016229 B2 JP7016229 B2 JP 7016229B2 JP 2017161913 A JP2017161913 A JP 2017161913A JP 2017161913 A JP2017161913 A JP 2017161913A JP 7016229 B2 JP7016229 B2 JP 7016229B2
Authority
JP
Japan
Prior art keywords
instruction
unit
communication frame
mode switching
response
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017161913A
Other languages
Japanese (ja)
Other versions
JP2019038379A (en
Inventor
正人 斉藤
慎司 鈴木
英生 落合
寛 植田
信広 藤村
義宏 真栄田
唯史 西中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Signal Co Ltd
Kyosan Electric Manufacturing Co Ltd
Central Japan Railway Co
Original Assignee
Nippon Signal Co Ltd
Kyosan Electric Manufacturing Co Ltd
Central Japan Railway Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Signal Co Ltd, Kyosan Electric Manufacturing Co Ltd, Central Japan Railway Co filed Critical Nippon Signal Co Ltd
Priority to JP2017161913A priority Critical patent/JP7016229B2/en
Publication of JP2019038379A publication Critical patent/JP2019038379A/en
Application granted granted Critical
Publication of JP7016229B2 publication Critical patent/JP7016229B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Train Traffic Observation, Control, And Security (AREA)
  • Small-Scale Networks (AREA)
  • Stored Programmes (AREA)

Description

本発明は、鉄道用信号保安システム等に関する。 The present invention relates to a railway signaling system and the like.

鉄道における電子連動装置やCTC(Centralized Traffic Control)、ATC(Automatic Train Control)等の信号保安システムは、概括すると、LAN(Local Area Network)に複数の論理装置が接続された構成を有している。論理装置は、信号保安システム上、論理部とも呼ばれるが、本明細書では1つの論理部のことを1台の論理装置とみなして説明する。論理装置には様々な種類があり、各論理装置は、その役割に応じて、また電子連動装置やCTC、ATC等に応じて、特有の機能を有して構成されている。但し、何れの論理装置にも共通して言えることが、その論理装置固有の機能を実現するためのプログラム及びデータを記憶しており、当該プログラム及びデータに基づきCPU(Central Processing Unit)が演算制御を行っている点である。これらのプログラムやデータは機能の改善や信号保安設備の改修等に応じて更新(交換とも言える)される場合がある。 Signal security systems such as electronic interlocking devices, CTC (Centralized Traffic Control), and ATC (Automatic Train Control) in railways generally have a configuration in which a plurality of logical devices are connected to a LAN (Local Area Network). .. The logic device is also called a logic unit in the signal security system, but in this specification, one logic unit will be described as one logic device. There are various types of logic devices, and each logic device is configured to have a unique function according to its role and according to an electronic interlocking device, CTC, ATC, and the like. However, what can be said in common with any logical device is that it stores programs and data for realizing the functions unique to the logical device, and the CPU (Central Processing Unit) controls operations based on the programs and data. Is the point of doing. These programs and data may be updated (also called replacement) in response to improvements in functions or repairs to signaling safety equipment.

特許文献1には、鉄道用信号保安システムの一種である電子連動装置について、各論理装置のデータ(連動データ)を、LANを介して監理装置(モニタ・試験部3)から送信されたデータに更新する技術が開示されている。 In Patent Document 1, regarding an electronic interlocking device which is a kind of signaling security system for railways, data (interlocking data) of each logic device is converted into data transmitted from a supervision device (monitor / test unit 3) via a LAN. The technology to be updated is disclosed.

特開2001-301619号公報Japanese Unexamined Patent Publication No. 2001-301619

しかしながら、上述の特許文献1の技術は、データの更新のみを対象としており、プログラムの更新は想定していない。電子連動装置の場合、例えば、各駅で共通して使用する連動機能などを共通の標準プログラムとして実装しておき、駅毎に異なる連動条件等を連動データとして個々の連動装置に与えるといった運用においては、多くの場合、プログラムを更新することなく連動データの更新のみを行えば対応できるからである。 However, the technique of Patent Document 1 described above is intended only for updating data, and does not assume updating of a program. In the case of electronic interlocking devices, for example, in operations such as implementing interlocking functions that are commonly used at each station as a common standard program and giving different interlocking conditions for each station as interlocking data to each interlocking device. This is because, in many cases, it can be dealt with only by updating the interlocking data without updating the program.

しかしながら、プログラムの更新が必要となる場合も生じる。プログラムを更新する場合、単に、メモリに記憶されたプログラムを書き換えるのみではなく、論理装置を再起動(電源リブートや、ハードウェアリセットなどとも呼ばれる)して更新後のプログラムに基づく新たな演算制御を起動させる必要がある。このため、プログラムの更新には、保守作業員が機器室に出向き、論理装置の制御ボード(CPUボードとも呼ばれる)を回収した後、制御ボードに実装されたプログラムを更新する作業を行う。そして、再び機器室にて制御ボードを論理装置に装着した後に、論理装置の再起動を行う。この一連の作業を行っているのが現状である。 However, there may be cases where the program needs to be updated. When updating a program, not only rewriting the program stored in the memory, but also restarting the logical device (also called power reboot, hardware reset, etc.) to perform new arithmetic control based on the updated program. Need to start. Therefore, in order to update the program, a maintenance worker goes to the equipment room, collects the control board (also referred to as a CPU board) of the logical device, and then updates the program mounted on the control board. Then, after the control board is attached to the logic device again in the equipment room, the logic device is restarted. The current situation is that this series of work is being carried out.

また、論理装置のプログラムはデータに比べて遙かにサイズが大きいため、上述の特許文献1の技術を流用してプログラムを伝送しようとすると、伝送自体に長時間を要してしまう点も問題である。 In addition, since the program of the logic device is much larger than the data, there is a problem that the transmission itself takes a long time when trying to transmit the program by diverting the technique of Patent Document 1 described above. Is.

本発明は、上記事情に鑑みてなされたものであり、その目的とするところは、鉄道用信号保安システムにおいて、LANに接続された各論理装置のプログラムを、LANを介して更新できるようにすることである。 The present invention has been made in view of the above circumstances, and an object of the present invention is to enable a program of each logic device connected to a LAN to be updated via a LAN in a railway signaling security system. That is.

上記課題を解決するための第1の発明は、
通信フィールドとして、監理装置から論理装置への指示が設定される指示部と、前記論理装置から前記監理装置への応答が設定される応答部と、通信情報部とを少なくとも含む通信フレームを、前記監理装置および複数の前記論理装置の間で周回させる通信方式で通信接続されて構成された鉄道用信号保安システムであって、
前記論理装置は、
管理プログラムおよび現用メインプログラムを記憶する記憶部と、
前記管理プログラムに従った管理処理と、前記現用メインプログラムに従った信号保安に係るメイン処理とを実行するプロセッサと、
を備え、
前記管理プログラムは、
受信した前記通信フレーム中の前記指示部に含まれるモード切替指示が、プログラムローディング(以下「PL」と略称する)を行う際のデータ管理モードへの切替指示に設定されていた場合に、動作モードを前記データ管理モードへ切り替える制御を行うモード切替ステップと、
前記モード切替ステップでの切り替えが完了した場合に、前記応答部に、モード切替完了応答を設定して前記通信フレームを送信する制御を行うモード切替完了応答ステップと、
受信した前記通信フレーム中の前記指示部に、PL指示が設定されていた場合に、当該通信フレーム中の前記通信情報部に格納されている新規メインプログラムを取得する制御を行うPLステップと、
前記新規メインプログラムの取得が完了した場合に、前記応答部に、取得完了応答を設定して前記通信フレームを送信する制御を行うPL完了応答ステップと、
受信した前記通信フレーム中の前記指示部に、承認指示が設定されていた場合に、前記記憶部に記憶されている前記現用メインプログラムを、取得が完了した前記新規メインプログラムに書き換える制御を行った後、前記論理装置をハードウェアリセットする制御を行う更新リセット制御ステップと、
を含む前記管理処理を前記プロセッサに実行させるためのプログラムであり、
前記監理装置は、
前記モード切替指示を前記データ管理モードへの切替指示に設定して前記通信フレームを送信する制御を行うモード切替指示ステップと、
受信した前記通信フレーム中の前記応答部に、前記モード切替完了応答が設定されていた場合に、前記指示部に、前記PL指示を設定するとともに、前記通信情報部に、前記新規メインプログラムを格納して前記通信フレームを送信する制御を行うPL指示ステップと、
受信した前記通信フレーム中の前記応答部に、前記取得完了応答が設定されていた場合に、前記指示部に、前記承認指示を設定して前記通信フレームを送信する制御を行う承認指示ステップと、
を実行する、
鉄道用信号保安システムである。
The first invention for solving the above problems is
As a communication field, the communication frame including at least an instruction unit in which an instruction from the supervising device to the logical device is set, a response unit in which a response from the logical device to the supervising device is set, and a communication information unit is described above. It is a railway signaling security system configured by communication connection by a communication method that circulates between a supervising device and a plurality of the above-mentioned logical devices.
The logic device is
A storage unit that stores the management program and the current main program,
A processor that executes management processing according to the management program and main processing related to signal security according to the current main program, and
Equipped with
The management program is
When the mode switching instruction included in the instruction unit in the received communication frame is set to the data management mode switching instruction when performing program loading (hereinafter abbreviated as "PL"), the operation mode is set. A mode switching step that controls switching to the data management mode,
When the switching in the mode switching step is completed, the mode switching completion response step for setting the mode switching completion response in the response unit and controlling the transmission of the communication frame, and the mode switching completion response step.
A PL step that controls acquisition of a new main program stored in the communication information unit in the communication frame when a PL instruction is set in the instruction unit in the received communication frame.
When the acquisition of the new main program is completed, the PL completion response step for setting the acquisition completion response in the response unit and controlling the transmission of the communication frame, and the PL completion response step.
When an approval instruction was set in the instruction unit in the received communication frame, control was performed to rewrite the current main program stored in the storage unit to the new main program for which acquisition was completed. After that, an update reset control step for controlling the hardware reset of the logical device, and
Is a program for causing the processor to execute the management process including the above.
The supervision device is
A mode switching instruction step for setting the mode switching instruction to the data management mode switching instruction and controlling transmission of the communication frame, and a mode switching instruction step.
When the mode switching completion response is set in the response unit in the received communication frame, the PL instruction is set in the instruction unit and the new main program is stored in the communication information unit. And the PL instruction step that controls the transmission of the communication frame,
When the acquisition completion response is set in the response unit in the received communication frame, the approval instruction step for setting the approval instruction in the instruction unit and controlling the transmission of the communication frame, and the approval instruction step.
To execute,
It is a signaling security system for railways.

また、他の発明として、
通信フィールドとして、監理装置から論理装置への指示が設定される指示部と、前記論理装置から前記監理装置への応答が設定される応答部と、通信情報部とを少なくとも含む通信フレームを、前記監理装置および複数の前記論理装置の間で周回させる通信方式で通信接続されて構成された鉄道用信号保安システムの制御方法であって、
前記論理装置は、
現用メインプログラムを記憶する記憶部と、
管理処理と、前記現用メインプログラムに従った信号保安に係るメイン処理とを実行するプロセッサと、
を備えており、
前記管理処理は、
受信した前記通信フレーム中の前記指示部に含まれるモード切替指示が、プログラムローディング(以下「PL」と略称する)を行う際のデータ管理モードへの切替指示に設定されていた場合に、動作モードを前記データ管理モードへ切り替える制御を行うモード切替ステップと、
前記モード切替ステップでの切り替えが完了した場合に、前記応答部に、モード切替完了応答を設定して前記通信フレームを送信する制御を行うモード切替完了応答ステップと、
受信した前記通信フレーム中の前記指示部に、PL指示が設定されていた場合に、当該通信フレーム中の前記通信情報部に格納されている新規メインプログラムを取得する制御を行うPLステップと、
前記新規メインプログラムの取得が完了した場合に、前記応答部に、取得完了応答を設定して前記通信フレームを送信する制御を行うPL完了応答ステップと、
受信した前記通信フレーム中の前記指示部に、承認指示が設定されていた場合に、前記記憶部に記憶されている前記現用メインプログラムを、取得が完了した前記新規メインプログラムに書き換える制御を行った後、前記論理装置をハードウェアリセットする制御を行う更新リセット制御ステップと、
を含み、
前記監理装置は、
前記モード切替指示を前記データ管理モードへの切替指示に設定して前記通信フレームを送信する制御を行うモード切替指示ステップと、
受信した前記通信フレーム中の前記応答部に、前記モード切替完了応答が設定されていた場合に、前記指示部に、前記PL指示を設定するとともに、前記通信情報部に、前記新規メインプログラムを格納して前記通信フレームを送信する制御を行うPL指示ステップと、
受信した前記通信フレーム中の前記応答部に、前記取得完了応答が設定されていた場合に、前記指示部に、前記承認指示を設定して前記通信フレームを送信する制御を行う承認指示ステップと、
を実行する、
制御方法を構成しても良い。
Also, as another invention,
As a communication field, the communication frame including at least an instruction unit in which an instruction from the supervising device to the logical device is set, a response unit in which a response from the logical device to the supervising device is set, and a communication information unit is described above. It is a control method of a railway signal security system configured by communication connection by a communication method that circulates between a supervising device and a plurality of the above-mentioned logical devices.
The logic device is
A storage unit that stores the current main program,
A processor that executes management processing and main processing related to signal security according to the current main program, and
Equipped with
The management process is
When the mode switching instruction included in the instruction unit in the received communication frame is set to the data management mode switching instruction when performing program loading (hereinafter abbreviated as "PL"), the operation mode is set. A mode switching step that controls switching to the data management mode,
When the switching in the mode switching step is completed, the mode switching completion response step for setting the mode switching completion response in the response unit and controlling the transmission of the communication frame, and the mode switching completion response step.
A PL step that controls acquisition of a new main program stored in the communication information unit in the communication frame when a PL instruction is set in the instruction unit in the received communication frame.
When the acquisition of the new main program is completed, the PL completion response step for setting the acquisition completion response in the response unit and controlling the transmission of the communication frame, and the PL completion response step.
When an approval instruction was set in the instruction unit in the received communication frame, control was performed to rewrite the current main program stored in the storage unit to the new main program for which acquisition was completed. After that, an update reset control step for controlling the hardware reset of the logical device, and
Including
The supervision device is
A mode switching instruction step for setting the mode switching instruction to the data management mode switching instruction and controlling transmission of the communication frame, and a mode switching instruction step.
When the mode switching completion response is set in the response unit in the received communication frame, the PL instruction is set in the instruction unit and the new main program is stored in the communication information unit. And the PL instruction step that controls the transmission of the communication frame,
When the acquisition completion response is set in the response unit in the received communication frame, the approval instruction step for setting the approval instruction in the instruction unit and controlling the transmission of the communication frame, and the approval instruction step.
To execute,
The control method may be configured.

この第1の発明等によれば、論理装置が管理プログラムに従った管理処理を実行することで、信号保安に係るメイン処理を実行するための現用メインプログラムを監理装置から取得した新規メインプログラムに書き換えるプログラムローディングが実現できる。また、このプログラムローディングでは、管理プログラムに従った管理処理によって現用メインプログラムを新規メインプログラムに書き換えた後に、自動的に論理装置をハードウェアリセットして、新規メインプログラムに基づく新しいメイン処理を起動することができる。すなわち、LANに接続された各論理装置のプログラムを、LANを介して更新できるようになる。 According to the first invention or the like, the logical device executes the management process according to the management program, so that the current main program for executing the main process related to signal security is acquired from the supervising device as a new main program. Program loading to be rewritten can be realized. In this program loading, after rewriting the current main program to a new main program by the management process according to the management program, the logic device is automatically reset by hardware and the new main process based on the new main program is started. be able to. That is, the program of each logical device connected to the LAN can be updated via the LAN.

また、論理装置が、監理装置からのモード切替指示に対するデータ管理モードへの切り替え、そのモード切替完了応答の送信、監理装置からの新規メインプログラムの取得、取得した新規メインプログラムの整合性照査(CRCチェック、自装置宛プログラム照査、SUM値チェック)、その取得完了応答の送信、監理装置からの承認指示による新規メインプログラムに書き換え、といった手順を踏むことによって、プログラムの更新に際して、LANを介した監理装置と各論理装置との通信にフェールセーフ性を確保することができる。 In addition, the logical device switches to the data management mode in response to the mode switching instruction from the supervising device, sends the mode switching completion response, acquires the new main program from the supervising device, and checks the consistency of the acquired new main program (CRC). Check, check the program addressed to your own device, check the SUM value), send the acquisition completion response, and rewrite to a new main program by the approval instruction from the supervising device. Fail-safety can be ensured for communication between the device and each logical device.

また、プログラムの伝送はデータ管理モードにおいて行われるため、通信フレームの通信情報部を、プログラムの伝送に特化した割り付けで格納することが可能となり、割り付けの設計次第ではプログラムの伝送の高速化を実現することが可能となる。 In addition, since the program is transmitted in the data management mode, the communication information part of the communication frame can be stored by the allocation specialized for the transmission of the program, and the speed of the program transmission can be increased depending on the allocation design. It will be possible to realize it.

第2の発明は、第1の発明の鉄道用信号保安システムであって、
前記複数の論理装置は、一部又は全部の論理装置がPLの対象となる対象論理装置であり、
前記監理装置は、
前記モード切替指示ステップにおいて、前記複数の論理装置のうちの前記対象論理装置を指定する指定情報を前記指示部に設定するとともに、前記モード切替指示を前記データ管理モードへの切替指示に設定して前記通信フレームを送信する制御を行い、
前記PL指示ステップにおいて、全ての前記対象論理装置が前記モード切替完了応答を設定した前記通信フレームを受信した場合に、前記指定情報を前記指示部に設定するとともに、前記指示部に前記PL指示を設定し、前記通信情報部に、前記新規メインプログラムを格納して前記通信フレームを送信する制御を行い、
前記承認指示ステップにおいて、全ての前記対象論理装置が前記取得完了応答を設定した前記通信フレームを受信した場合に、前記指定情報を前記指示部に設定するとともに、前記指示部に、前記承認指示を設定して前記通信フレームを送信する制御を行い、
前記管理プログラムは、
受信した前記通信フレーム中の前記指示部に、当該管理プログラムに係る論理装置が前記対象論理装置として指定された前記指定情報が設定されている場合に、前記モード切替ステップ、前記PLステップ、および前記更新リセット制御ステップを前記プロセッサに実行させるためのプログラムである、
鉄道用信号保安システムである。
The second invention is the railway signaling system of the first invention.
The plurality of logical devices are target logical devices to which some or all of the logical devices are subject to PL.
The supervision device is
In the mode switching instruction step, the designation information for designating the target logical device among the plurality of logical devices is set in the instruction unit, and the mode switching instruction is set in the switching instruction to the data management mode. Controls to transmit the communication frame,
In the PL instruction step, when all the target logic devices receive the communication frame for which the mode switching completion response is set, the designated information is set in the instruction unit and the PL instruction is given to the instruction unit. It is set, and the communication information unit is controlled to store the new main program and transmit the communication frame.
In the approval instruction step, when all the target logical devices receive the communication frame for which the acquisition completion response is set, the designated information is set in the instruction unit, and the approval instruction is given to the instruction unit. Control to set and transmit the communication frame,
The management program is
The mode switching step, the PL step, and the said A program for causing the processor to execute the update reset control step.
It is a signaling security system for railways.

この第2の発明によれば、複数の論理装置のうち、一部又は全ての論理装置を対象として、プログラムローディングを行うことができる。すなわち、監理装置は、対象論理装置を指定してデータ管理モードへの切り替えを指示し、対象論理装置として指定された論理装置のみが、データ管理モードへの切り替えや、新規メインプログラムの取得及び書き換えといったプログラムローディングを行う。対象論理装置は、1台でも複数台でも良い。 According to this second invention, program loading can be performed on a part or all of the logic devices among the plurality of logic devices. That is, the supervising device specifies the target logical device and instructs the switch to the data management mode, and only the logical device designated as the target logical device switches to the data management mode and acquires and rewrites the new main program. Program loading such as. The target logic device may be one or a plurality of units.

鉄道用信号保安システムの構成図。A block diagram of a railway signaling system. プログラムローディングの概要図。Schematic diagram of program loading. ピンポイントローディングの概要図。Schematic diagram of pinpoint loading. 通信フレームの構成図。Configuration diagram of the communication frame. ピンポイントローディングを行う際の通信フレームの設定例。Communication frame setting example for pinpoint loading. 論理装置の構成図。Configuration diagram of the logical device. プログラムローディングの処理手順。Program loading processing procedure.

[システム構成]
図1は、本実施形態の鉄道用信号保安システム1の構成図である。図1に示すように、鉄道用信号保安システム1は、1台の監理装置10と、複数台の論理装置20とが、LAN(Local Area Network)30に接続されて構成される。この鉄道用信号保安システム1では、通信フィールドとして固定長の通信フレーム40(図4参照)を、監理装置10及び各論理装置20の間でLAN30を介して所定周期で周回させる通信方式で通信接続されている。また、監理装置10及び各論理装置20の間の通信は、本実施形態の技術によってフェールセーフ性が確保される。
[System configuration]
FIG. 1 is a configuration diagram of a railway signaling system 1 of the present embodiment. As shown in FIG. 1, the railway signaling system 1 is configured by connecting one supervising device 10 and a plurality of logic devices 20 to a LAN (Local Area Network) 30. In this railway signaling system 1, a fixed-length communication frame 40 (see FIG. 4) is connected as a communication field by a communication method in which a fixed-length communication frame 40 (see FIG. 4) is circulated between the supervising device 10 and each logic device 20 via a LAN 30 at a predetermined cycle. Has been done. Further, the communication between the supervising device 10 and each logical device 20 is ensured to be fail-safe by the technique of the present embodiment.

鉄道用信号保安システム1は、電子連動装置やATC(Automatic Train Control)、CTC(Centralized Traffic Control)のシステムとして実現することができる。鉄道用信号保安システム1を電子連動装置とした場合、監理装置10及び論理装置20の各装置は、連動論理部や進路制御論理部、現場機器論理部に該当し、LAN30は、Ei-W(連動ワイヤ)に該当する。また、ATCシステムとした場合、監理装置10及び論理装置20の各装置は、ATC論理部に該当し、LAN30は、ATC-W(ATCワイヤ)に該当する。また、CTCシステムとした場合、監理装置10及び論理装置20の各装置は、CTC中央装置やCTC駅装置に該当し、LAN30は、CTC-W(CTCワイヤ)に該当する。このように、監理装置10及び論理装置20の各装置は、信号保安に係る固有の機能を有する複数種別の装置によって構成されている。 The railway signaling system 1 can be realized as an electronic interlocking device, an ATC (Automatic Train Control), or a CTC (Centralized Traffic Control) system. When the railway signaling system 1 is an electronic interlocking device, each device of the supervision device 10 and the logic device 20 corresponds to an interlocking logic unit, a course control logic unit, and a field equipment logic unit, and the LAN 30 is an Ei-W ( Interlocking wire). Further, in the case of an ATC system, each device of the supervision device 10 and the logic device 20 corresponds to the ATC logic unit, and the LAN 30 corresponds to the ATC-W (ATC wire). Further, in the case of a CTC system, each device of the supervision device 10 and the logic device 20 corresponds to the CTC central device and the CTC station device, and the LAN 30 corresponds to the CTC-W (CTC wire). As described above, each of the supervision device 10 and the logic device 20 is composed of a plurality of types of devices having unique functions related to signal security.

[モード]
論理装置20の動作モードには、実装された現用メインプログラムに従って信号保安に係る当該装置固有の処理を行う通常モードと、信号保安に係る処理を停止し、実装している現用メインプログラムの更新(以下、「プログラムローディング」或いは「PL」という)等を行う保守モードと、がある。メインプログラムに従った信号保安処理をメイン処理といい、モードの切り替えを含む、メイン処理の上位の処理のことを管理処理という。管理処理は、LAN30を介した監理装置10からの指示に従って実行制御される。
[mode]
The operation modes of the logic device 20 include a normal mode in which processing specific to the device related to signal security is performed according to the implemented current main program, and an update of the current main program implemented by stopping the processing related to signal security ( Hereinafter, there is a maintenance mode in which "program loading" or "PL") is performed. Signal security processing according to the main program is called main processing, and processing higher than the main processing, including mode switching, is called management processing. The management process is executed and controlled according to an instruction from the supervising device 10 via the LAN 30.

[プログラムローディング]
プログラムローディングについて説明する。保守モードは、更に詳細なモードとして、プログラムローディングを行う際のモードであるデータ管理モードを含む複数のモードを含んでいる。論理装置20は、保守モードに遷移した後、保守モードの下位モードであるデータ管理モードに更に遷移することで、プログラムローディングを行うことが可能となる。
[Program loading]
Program loading will be described. The maintenance mode includes a plurality of modes including a data management mode, which is a mode for performing program loading, as a more detailed mode. After transitioning to the maintenance mode, the logic device 20 can perform program loading by further transitioning to the data management mode, which is a lower mode of the maintenance mode.

図2は、プログラムローディングの概要図である。論理装置20は、信号保安に係るメイン処理を実行するための現用メインプログラム124と、プログラムローディングの実行を制御する管理処理を実行するための管理プログラム122とを、ROM(Read Only Memory)の所定領域に記憶している。この現用メインプログラム124を、監理装置10からLAN30を介して受信した新たなプログラムに更新する処理が、プログラムローディングである。 FIG. 2 is a schematic diagram of program loading. The logic device 20 has a ROM (Read Only Memory) of a working main program 124 for executing a main process related to signal security and a management program 122 for executing a management process for controlling the execution of program loading. I remember it in the area. Program loading is a process of updating the current main program 124 to a new program received from the supervising device 10 via the LAN 30.

すなわち、論理装置20は、データ管理モードに遷移した状態において、監理装置10から送信されてくる新規メインプログラム126を取得する(図2の(1))。取得した新規メインプログラム126は、RAM(Random Access Memory)の所定領域に一時的に格納する。そして、エラーチェック等によって新規メインプログラム126を正常に受信したことを確認した後、取得完了応答を監理装置10に送信する(図2の(2))。その後、監理装置10から、プログラムの書き換えを承認する承認指示を受信すると(図2の(3))、ROMに記憶している現用メインプログラム124を、RAMに記憶している新規メインプログラム126に書き換える(図2の(4))。そして、RAMに一時的に格納していた新規メインプログラム126を消去する(図2の(5))。続いて、論理装置20は、自装置をハードウェアリセット(電源リブートとも呼ばれる)して再起動する(図2の(6))。再起動によって、新たな現用メインプログラム124に従った新たなメイン処理が起動されることになる。 That is, the logic device 20 acquires the new main program 126 transmitted from the control device 10 in the state of transition to the data management mode ((1) in FIG. 2). The acquired new main program 126 is temporarily stored in a predetermined area of RAM (Random Access Memory). Then, after confirming that the new main program 126 has been normally received by an error check or the like, the acquisition completion response is transmitted to the supervising device 10 ((2) in FIG. 2). After that, when an approval instruction for approving the rewriting of the program is received from the supervising device 10 ((3) in FIG. 2), the current main program 124 stored in the ROM is transferred to the new main program 126 stored in the RAM. Rewrite ((4) in FIG. 2). Then, the new main program 126 temporarily stored in the RAM is erased ((5) in FIG. 2). Subsequently, the logic device 20 resets its own device by hardware (also referred to as a power reboot) and restarts it ((6) in FIG. 2). By restarting, a new main process according to the new working main program 124 will be started.

[ピンポイントローディング]
プログラムローディングは、同一のLAN30に接続されている複数の論理装置20のうち、装置種別が同一の一又は複数の装置に対して同時に行うことができる。装置種別が同一の装置とは、信号保安に係る機能として同一の機能を有する装置であり、つまり、信号保安処理を行うために実装している現用メインプログラム124が同一の装置のことである。
[Pinpoint loading]
Program loading can be performed simultaneously for one or more devices of the same device type among a plurality of logical devices 20 connected to the same LAN 30. A device having the same device type is a device having the same function as a function related to signal security, that is, a device having the same current main program 124 implemented for performing signal security processing.

図3は、ピンポイントローディングの概要図である。図3において、LAN30に接続されている4台の論理装置20(第1~第4論理装置20a~20d)のうち、第1論理装置20a、及び、第2論理装置20bは、装置種別が“種別α”であり、第3論理装置20cは、装置種別が“種別β”であり、第4論理装置20dは、装置種別が“種別γ”である。 FIG. 3 is a schematic diagram of pinpoint loading. In FIG. 3, among the four logic devices 20 (first to fourth logic devices 20a to 20d) connected to the LAN 30, the first logic device 20a and the second logic device 20b have the device type ". The third logical device 20c has a device type of "type β", and the fourth logical device 20d has a device type of "type γ".

この場合、図3(a)に示すように、1回分のピンポイントローディングで、装置種別がともに“種別α”である第1論理装置20a、及び、第2論理装置20bの2台の装置を対象(第1対象とする)とすることができる。すなわち、監理装置10は、全ての論理装置20(第1~第4論理装置20a~20d)を保守モードに遷移させ、更に、全ての論理装置20をデータ管理モードに遷移させる。次いで、監理装置10は、第1論理装置20a、及び、第2論理装置20bを、ピンポイントローディングの対象とする対象論理装置として指定する。 In this case, as shown in FIG. 3A, two devices, the first logical device 20a and the second logical device 20b, whose device types are both “type α” in one pinpoint loading, are used. It can be a target (first target). That is, the supervising device 10 shifts all the logical devices 20 (first to fourth logical devices 20a to 20d) to the maintenance mode, and further shifts all the logical devices 20 to the data management mode. Next, the supervising device 10 designates the first logical device 20a and the second logical device 20b as target logical devices to be pinpointed.

続いて、監理装置10は、第1対象用の新規メインプログラム126aを送信する。論理装置20は、自論理装置が対象論理装置と指定されている場合に、監理装置10から送信される新規メインプログラム126aを受信(取得)する。すなわち、対象論理装置と指定されている第1論理装置20a、及び、第2論理装置20bが、送信されてくる第1対象用の新規メインプログラム126aを受信し、記憶している現用メインプログラム124を更新するプログラムローディングを行い、対象論理装置と指定されていない第3論理装置20c、及び、第4論理装置20dは、特に処理を行わずにそのまま待機する。 Subsequently, the supervising device 10 transmits a new main program 126a for the first target. The logic device 20 receives (acquires) the new main program 126a transmitted from the control device 10 when the own logic device is designated as the target logic device. That is, the first logical device 20a and the second logical device 20b designated as the target logical device receive and store the transmitted new main program 126a for the first target, and the current main program 124. The third logical device 20c and the fourth logical device 20d, which are not designated as the target logical devices, are put on standby as they are without any particular processing.

また、他のピンポイントローディングとして、図3(b)に示すように、装置種別が“種別γ”である第4論理装置20dのみを対象(第2対象とする)としたピンポイントローディングを行うことができる。すなわち、監理装置10は、同様に、全ての論理装置20(第1~第4論理装置20a~20d)を保守モードに遷移させ、更に、全ての論理装置20をデータ管理モードに遷移させる。次いで、第4論理装置20dを、ピンポイントローディングの対象論理装置と指定する。図3(a)に示したようなピンポイントローディングに引き続いて、図3(b)に示すようなピンポイントローディングを行う場合には、既に全ての論理装置20がデータ管理モードに遷移されているため、データ管理モードに遷移させるステップは省略することができ、直ちに、対象論理装置を指定することができる。 Further, as another pinpoint loading, as shown in FIG. 3B, pinpoint loading is performed only for the fourth logical device 20d whose device type is “type γ” (the second target). be able to. That is, the supervising device 10 similarly shifts all the logical devices 20 (first to fourth logical devices 20a to 20d) to the maintenance mode, and further shifts all the logical devices 20 to the data management mode. Next, the fourth logical device 20d is designated as the target logical device for pinpoint loading. When the pinpoint loading as shown in FIG. 3 (b) is performed following the pinpoint loading as shown in FIG. 3 (a), all the logical devices 20 have already transitioned to the data management mode. Therefore, the step of transitioning to the data management mode can be omitted, and the target logical device can be specified immediately.

続いて、監理装置10は、第2対象用の新規メインプログラム126bを送信する。そして、対象論理装置と指定されている第4論理装置20dが、送信されてくる第2対象用の新規メインプログラム126bを受信(取得)し、記憶している現用メインプログラム124を更新するプログラムローディングを行う。対象論理装置と指定されていない第1~第3論理装置20a~20cは、特に処理を行わずにそのまま待機する。 Subsequently, the supervising device 10 transmits a new main program 126b for the second target. Then, the fourth logical device 20d designated as the target logical device receives (acquires) the transmitted new main program 126b for the second target, and program loading to update the stored current main program 124. I do. The first to third logic devices 20a to 20c, which are not designated as the target logic devices, stand by as they are without performing any particular processing.

[通信フレーム]
図4は、通信フレーム40のフォーマットの概要図である。図4(a)に示すように、通信フレーム40は、指示部42と、応答部44と、通信情報部46とを通信フィールドとして備えており、各部の配置位置やビット長が定められた固定フォーマットとなっている。なお、図4では、指示部42、応答部44、及び、通信情報部46の通信フィールドをそれぞれ1つずつに連続して纏めて配置する構成としているが、この例に限らず、連続せずに分割して配置することとしてもよい。例えば、指示部42を複数に分割して、通信フレーム40に配置するといった構成である。
[Communication frame]
FIG. 4 is a schematic diagram of the format of the communication frame 40. As shown in FIG. 4A, the communication frame 40 includes an instruction unit 42, a response unit 44, and a communication information unit 46 as communication fields, and the arrangement position and bit length of each unit are fixed. It is in the format. In addition, in FIG. 4, the communication fields of the instruction unit 42, the response unit 44, and the communication information unit 46 are arranged in a continuous manner, but the present invention is not limited to this example and the communication fields are not continuous. It may be divided into two and arranged. For example, the instruction unit 42 is divided into a plurality of parts and arranged in the communication frame 40.

指示部42は、監理装置10が使用する通信フィールドであり、監理装置10から論理装置20への指示が設定される。具体的には、図4(b)に示すように、指示部42は、論理装置20への指示の内容を指定する指示内容部42aと、指示の対象となる論理装置20を指定する指示宛先部42bとを有する。 The instruction unit 42 is a communication field used by the supervision device 10, and an instruction from the supervision device 10 to the logic device 20 is set. Specifically, as shown in FIG. 4B, the instruction unit 42 has an instruction content unit 42a for designating the content of the instruction to the logic device 20, and an instruction destination for designating the logic device 20 to be instructed. It has a portion 42b.

指示内容部42aは、通常モードや保守モード、データ管理モードといった各モードが割り当てられた複数のビットを有し、モードの切り替えを指示するモード切替指示用ビットと、PL(プログラムローディング)指示や承認指示といった各モードにおいて実行する各処理が割り当てられた複数のビットを有する処理指示用ビットとを有する。 The instruction content unit 42a has a plurality of bits to which each mode such as a normal mode, a maintenance mode, and a data management mode is assigned, a mode switching instruction bit for instructing mode switching, and a PL (program loading) instruction or approval. It has a processing instruction bit having a plurality of bits to which each processing to be executed in each mode such as an instruction is assigned.

指示宛先部42bは、第1装置用、第2装置用といった全ての論理装置20それぞれに割り当てられた複数の装置用ビットを有し、各装置用ビットは、モード切替指示用ビットで指示されたモード切り替えの対象であることを指定するモード指示宛先ビットと、処理指示用ビットで指示された処理の対象であることを指定する処理指示宛先ビットとを有する。 The instruction destination unit 42b has a plurality of device bits assigned to each of all the logical devices 20 such as those for the first device and the second device, and each device bit is designated by the mode switching instruction bit. It has a mode instruction destination bit that specifies that it is the target of mode switching, and a processing instruction destination bit that specifies that it is the target of processing specified by the processing instruction bit.

このように、指示宛先部42bとして論理装置20別の装置用ビットが設けられていることで、論理装置20それぞれに対する個別の指示が可能となる。具体的には、論理装置20に対するモードの切替指示のうち、通常モード及び保守モードへの切替指示については、指示内容部42aのモード切替指示用ビットにおいて、遷移させたいモード(通常モード又は保守モード)が割り当てられているビットを“1”に設定することで、全ての論理装置20に対するモード切替指示となり、全ての論理装置20を一斉に通常モード又は保守モードに遷移させることができる。データ管理モードへの切替指示については、全ての論理装置20を保守モードに遷移させた後、指示内容部42aにおいて、モード切替指示用ビットのデータ管理モードが割り当てられているビットを“1”に設定するとともに、指示宛先部42bにおいて、対象とする論理装置用のモード指示宛先ビットを“1”に設定することで、対象とする論理装置20のみをデータ管理モードに遷移させることができる。 As described above, by providing the device bit for each logical device 20 as the instruction destination unit 42b, individual instructions can be given to each of the logical devices 20. Specifically, among the mode switching instructions to the logic device 20, for the mode switching instruction to the normal mode and the maintenance mode, the mode to be changed (normal mode or maintenance mode) in the mode switching instruction bit of the instruction content unit 42a. By setting the bit to which) is assigned to "1", a mode switching instruction is given to all the logical devices 20, and all the logical devices 20 can be simultaneously transitioned to the normal mode or the maintenance mode. Regarding the instruction to switch to the data management mode, after all the logical devices 20 are transitioned to the maintenance mode, the bit to which the data management mode of the mode switching instruction bit is assigned is set to "1" in the instruction content unit 42a. At the same time, by setting the mode instruction destination bit for the target logic device to "1" in the instruction destination unit 42b, only the target logic device 20 can be transitioned to the data management mode.

また、論理装置20に対する処理の指示についても同様に、指示内容部42aの処理指示用ビットにおいて、行わせたい処理が割り当てられているビットを“1”に設定し、指示宛先部42bにおいて、対象とする論理装置用の処理指示宛先ビットを“1”に設定することで実現できる。1回の通信フレーム40の送信によって、複数の論理装置20を対象として共通の同じ指示を指定することができる。 Similarly, for the processing instruction to the logic device 20, the bit to which the processing to be performed is assigned is set to "1" in the processing instruction bit of the instruction content unit 42a, and the target is set in the instruction destination unit 42b. This can be realized by setting the processing instruction destination bit for the logical device to be "1". By transmitting the communication frame 40 once, the same common instruction can be specified for a plurality of logical devices 20.

図5は、一部の論理装置20についてのみプログラムローディングを行わせるピンポイントローディングを行う場合に、通信フレーム40の指示部42に設定されるビットの遷移を示す図である。先ず、図5(a)に示すように、指示内容部42aのモード切替指示用ビットにおいて、保守モードが割り当てられたビットを“1”に設定した通信フレーム40を送信することで、全ての論理装置20を保守モードに遷移させる。以降、保守モードを継続させることから、モード切替指示用ビットの保守モードが割り当てられたビットは継続して“1”に設定する。 FIG. 5 is a diagram showing a bit transition set in the instruction unit 42 of the communication frame 40 when pinpoint loading is performed so that program loading is performed only for a part of the logic devices 20. First, as shown in FIG. 5A, all the logic is transmitted by transmitting the communication frame 40 in which the bit to which the maintenance mode is assigned is set to "1" in the mode switching instruction bit of the instruction content unit 42a. The device 20 is transitioned to the maintenance mode. After that, since the maintenance mode is continued, the bit to which the maintenance mode of the mode switching instruction bit is assigned is continuously set to "1".

次いで、図5(b)に示すように、指示内容部42aのモード切替指示用ビットにおいて、保守モード及びデータ管理モードが割り当てられた各ビットを“1”に設定し、指示宛先部42bにおいて、全ての論理装置用のモード指示宛先ビットを“1”に設定した通信フレーム40を送信することで、全ての論理装置20をデータ管理モードへ遷移させる。以降、データ管理モードを継続させることから、指示内容部42aのモード切替指示用ビットにおいて、保守モード及びデータ管理モードが割り当てられた各ビットは継続して“1”に設定する。 Next, as shown in FIG. 5B, in the mode switching instruction bit of the instruction content unit 42a, each bit to which the maintenance mode and the data management mode are assigned is set to "1", and the instruction destination unit 42b sets the bit to "1". By transmitting the communication frame 40 in which the mode instruction destination bit for all the logical devices is set to "1", all the logical devices 20 are shifted to the data management mode. After that, since the data management mode is continued, each bit to which the maintenance mode and the data management mode are assigned is continuously set to "1" in the mode switching instruction bit of the instruction content unit 42a.

その後、図5(c)に示すように、指示内容部42aのモード切替指示用ビットにおいて、保守モード及びデータ管理モードが割り当てられた各ビットの設定は“1”のまま、処理指示用ビットにおいて、PL指示が割り当てられたビットを“1”に設定し、指示宛先部42bにおいて、プログラムローディングの対象とする論理装置用の処理指示宛先ビットの設定を“1”とした通信フレーム40を送信することで、プログラムローディングの対象論理装置を指定することができ、対象論理装置と指定した論理装置20にのみプログラムローディングを行わせる指示となる。 After that, as shown in FIG. 5C, in the mode switching instruction bit of the instruction content unit 42a, the setting of each bit to which the maintenance mode and the data management mode are assigned remains “1” in the processing instruction bit. , The bit to which the PL instruction is assigned is set to "1", and the instruction destination unit 42b transmits the communication frame 40 in which the setting of the processing instruction destination bit for the logical device to be the target of program loading is set to "1". As a result, the target logical device for program loading can be specified, and the instruction is to cause only the target logical device and the designated logical device 20 to perform program loading.

プログラムローディングを行う場合には、指示部42の設定は図5(a)~(c)に示したように変化していくため、論理装置20側で指示部42の設定を確認することで、プログラムローディングに係る通信のフェールセーフ性を高めることになる。例えば、図5(c)に示すように、処理指示用ビットのPL指示が割り当てられたビットが“1”に設定されているにも関わらず、モード切替指示用ビットの保守モードが割り当てられたビットが“1”に設定されていない通信フレーム40を論理装置20が受信した場合には、通信上の問題が生じたと判断して、受信した通信フレーム40を無視する。これにより、ビット値に変化が生じたエラーと言える通信フレーム40を排除して、フェールセーフ性を確保したプログラムローディングを実現することができる。 When program loading is performed, the setting of the instruction unit 42 changes as shown in FIGS. 5A to 5C. Therefore, by confirming the setting of the instruction unit 42 on the logic device 20 side, the setting of the instruction unit 42 can be confirmed. It will improve the fail-safeness of communication related to program loading. For example, as shown in FIG. 5C, the maintenance mode of the mode switching instruction bit is assigned even though the bit to which the PL instruction of the processing instruction bit is assigned is set to “1”. When the logical device 20 receives the communication frame 40 in which the bit is not set to "1", it is determined that a communication problem has occurred and the received communication frame 40 is ignored. As a result, it is possible to eliminate the communication frame 40, which can be said to be an error in which the bit value has changed, and realize program loading that ensures fail-safety.

図4に戻る。通信フレーム40の応答部44は、論理装置20が使用する通信フィールドであり、監理装置10からの指示に対する論理装置20から監理装置10への応答(アンサ)が設定される。本実施形態の鉄道用信号保安システム1では、フェールセーフな通信を実現するため、監理装置10からの指示それぞれに対して、論理装置20は、指示を受信してその指示に従った動作を完了したこと(例えば、モード遷移や処理の実行を完了したこと)を通知する応答(アンサ)を、監理装置10に送信することになっている。応答部44は、この応答を設定するための通信フィールドである。 Return to FIG. The response unit 44 of the communication frame 40 is a communication field used by the logic device 20, and a response (answer) from the logic device 20 to the control device 10 in response to an instruction from the control device 10 is set. In the railway signaling system 1 of the present embodiment, in order to realize fail-safe communication, the logic device 20 receives the instruction and completes the operation according to the instruction for each instruction from the supervision device 10. A response (answer) notifying that the operation has been completed (for example, the mode transition or the execution of the process has been completed) is to be transmitted to the supervising device 10. The response unit 44 is a communication field for setting this response.

すなわち、応答部44は、図4(c)に示すように、第1装置用、第2装置用といった全ての論理装置20それぞれに割り当てられた複数の装置用ビットを有し、各装置用ビットには、指示内容部42aの各指示ビットそれぞれに対応する応答用ビットが含まれる。具体的には、応答用ビットには、各モードの切替指示に応答するための各モードの応答用ビットを有するモード切替応答用ビットと、各モードにおいて実行する各処理の完了応答をするための処理応答用ビットとが含まれる。 That is, as shown in FIG. 4C, the response unit 44 has a plurality of device bits assigned to each of all the logical devices 20 such as those for the first device and the second device, and the bits for each device. Includes a response bit corresponding to each instruction bit of the instruction content unit 42a. Specifically, the response bits include a mode switching response bit having a response bit for each mode for responding to a switching instruction for each mode, and a completion response for each process executed in each mode. A bit for processing response is included.

通信フレーム40の通信情報部46は、監理装置10と各論理装置20との間で伝送される通信情報が格納される通信フィールドであり、本実施形態においては、データ管理モードにおいて、監理装置10から論理装置20へ送信され、置き換えられる新規メインプログラム126が格納される。勿論、通信情報部46には、その他の通信情報を格納することができる。 The communication information unit 46 of the communication frame 40 is a communication field in which communication information transmitted between the supervision device 10 and each logical device 20 is stored. In the present embodiment, in the data management mode, the supervision device 10 is stored. Stores a new main program 126 that is transmitted from and replaced by the logical device 20. Of course, other communication information can be stored in the communication information unit 46.

[論理装置]
図6は、論理装置20の内部構成図である。図6に示すように、論理装置20は、CPU制御ユニット100と、LAN通信制御ユニット200と、I/F(InterFace)制御ユニット300とが、内部バスBを介して通信可能に接続されて構成される。
[Logical device]
FIG. 6 is an internal configuration diagram of the logic device 20. As shown in FIG. 6, the logic device 20 is configured by connecting a CPU control unit 100, a LAN communication control unit 200, and an I / F (InterFace) control unit 300 so as to be communicable via an internal bus B. Will be done.

CPU制御ユニット100は、演算制御部110と、記憶部120とを有し、制御ボード或いはCPUボード等と呼ばれるユニットである。演算制御部110は、CPU等のプロセッサを有して構成され、現用メインプログラム124に従って、メインデータ128を用いた信号保安に係るメイン処理と、管理プログラム122に従った管理処理とを順に実行する。詳細には、管理処理とメイン処理とは、実行プロセスとして演算制御部110が実行するものであり、管理処理のプロセス上でメイン処理が実行される形を取る。従って、管理処理がメイン処理を実行するか否かを司ることになる。特に本実施形態では、管理処理は、監理装置10からの指示に従った論理装置20全体の統括制御を行う。例えば、監理装置10からのモード切替指示に従ってモード切り替えを行ったり、PL指示に従ってプログラムローディングを実行したりする。詳細には、図7を参照して後述する。 The CPU control unit 100 has an arithmetic control unit 110 and a storage unit 120, and is a unit called a control board, a CPU board, or the like. The arithmetic control unit 110 is configured to have a processor such as a CPU, and sequentially executes a main process related to signal security using the main data 128 and a management process according to the management program 122 according to the current main program 124. .. More specifically, the management process and the main process are executed by the arithmetic control unit 110 as an execution process, and the main process is executed on the process of the management process. Therefore, the management process controls whether or not the main process is executed. In particular, in the present embodiment, the management process performs integrated control of the entire logical device 20 according to the instruction from the supervising device 10. For example, mode switching is performed according to a mode switching instruction from the control device 10, or program loading is executed according to a PL instruction. Details will be described later with reference to FIG. 7.

記憶部120は、ROMやRAMによって実現される。記憶部120には、信号保安に係るメイン処理を実行するための現用メインプログラム124、及び、メイン処理の実行に用いられるメインデータ128と、プログラムローディングを含む管理処理を実行するための管理プログラム122と、が記憶されているとともに、監理装置10から取得した新規メインプログラム126を一時的に格納するための領域が確保されている。管理プログラム122、現用メインプログラム124及びメインデータ128は、例えばフラッシュROMなどの書き換え可能なROMに記憶される。 The storage unit 120 is realized by a ROM or a RAM. The storage unit 120 contains the current main program 124 for executing the main process related to signal security, the main data 128 used for executing the main process, and the management program 122 for executing the management process including the program loading. And are stored, and an area for temporarily storing the new main program 126 acquired from the supervising device 10 is secured. The management program 122, the current main program 124, and the main data 128 are stored in a rewritable ROM such as a flash ROM.

LAN通信制御ユニット200は、LAN30に接続して他装置との通信を行うための制御を行う。 The LAN communication control unit 200 controls to connect to the LAN 30 and communicate with other devices.

I/F制御ユニット300は、入力装置302や表示装置304等のインターフェースを実現するための制御部である。 The I / F control unit 300 is a control unit for realizing an interface such as an input device 302 and a display device 304.

[PLの処理手順]
図7は、鉄道用信号保安システム1においてプログラムローディングを行う際の処理手順を示す図であり、論理装置20の処理は管理プログラム122に基づいて実行される管理処理である。図7では、上側から下側に向かう方向を時系列方向とし、左側に監理装置10、中央に第1対象の論理装置20、右側に第2対象の論理装置20の処理を示し、装置間の通信を併せて示している。ここで「第1対象」とは、1回目のプログラムローディングの対象となる論理装置20のことを指し、「第2対象」とは、2回目のプログラムローディングの対象となる論理装置20のことを指す。
[PL processing procedure]
FIG. 7 is a diagram showing a processing procedure when program loading is performed in the railway signaling system 1, and the processing of the logic device 20 is a management process executed based on the management program 122. In FIG. 7, the direction from the upper side to the lower side is a time-series direction, the control device 10 is shown on the left side, the first target logic device 20 is shown in the center, and the second target logic device 20 is shown on the right side. Communication is also shown. Here, the "first target" refers to the logical device 20 that is the target of the first program loading, and the "second target" refers to the logical device 20 that is the target of the second program loading. Point to.

先ず、監理装置10が、全ての論理装置20を対象として、保守モードへの切替指示を設定した通信フレーム40を送信する。すなわち、監理装置10は、例えば、図5(a)に示したように、通信フレーム40に対して、指示部42の指示内容部42aのモード切替指示用ビットにおいて、保守モードが割り当てられたビットを“1”に設定する。 First, the supervising device 10 transmits a communication frame 40 in which a switching instruction to the maintenance mode is set for all the logical devices 20. That is, for example, as shown in FIG. 5A, the supervising device 10 is assigned a maintenance mode to the communication frame 40 in the mode switching instruction bit of the instruction content unit 42a of the instruction unit 42. Is set to "1".

各論理装置20は、この切替指示を設定した通信フレーム40を受信すると、指示に従って保守モードへ遷移し、遷移が完了すると、監理装置10へ切替応答を設定した通信フレーム40を送信する。具体的には、各論理装置20は、受信した通信フレーム40において、指示内容部42aのモード切替指示用ビットのうち、保守モードが割り当てられたビットが“1”に設定されている場合に、自装置に対する保守モードへの切替指示が設定されていると判断し、自装置を保守モードへ切り替える。そして、各論理装置20は、保守モードへの遷移を完了すると、通信フレーム40に対して、応答部44の自装置用のモード切替応答用ビットのうち、保守モードが割り当てられたビットを“1”に設定する。このときの通信フレーム40は、指示部42が、例えば、図5(a)に示したような、全ての論理装置20に対して保守モードへの切替指示が設定された状態のままである。応答部44については、保守モードへの遷移が完了した論理装置20用のモード切替応答用ビットのうちの、保守モードが割り当てられたビットが“1”に設定された状態となる。 When each logical device 20 receives the communication frame 40 for which the switching instruction is set, it transitions to the maintenance mode according to the instruction, and when the transition is completed, the communication frame 40 for which the switching response is set is transmitted to the supervising device 10. Specifically, in the received communication frame 40, each logical device 20 sets the bit to which the maintenance mode is assigned to "1" among the mode switching instruction bits of the instruction content unit 42a. Judges that the instruction to switch to the maintenance mode for the own device is set, and switches the own device to the maintenance mode. Then, when each logical device 20 completes the transition to the maintenance mode, the bit to which the maintenance mode is assigned among the mode switching response bits for the own device of the response unit 44 is set to "1" with respect to the communication frame 40. Set to ". At this time, the communication frame 40 remains in a state in which the instruction unit 42 is set to, for example, an instruction to switch to the maintenance mode for all the logical devices 20 as shown in FIG. 5A. Regarding the response unit 44, among the mode switching response bits for the logical device 20 for which the transition to the maintenance mode has been completed, the bit to which the maintenance mode is assigned is set to “1”.

監理装置10は、受信した通信フレーム40において、指示部42が、例えば、図5(a)に示したような、全ての論理装置20に対して保守モードへの切替指示を設定した状態であり、且つ、応答部44が、全ての論理装置20用のモード切替応答用ビットのうち、保守モードが割り当てられたビットが“1”に設定された状態となっていることを確認することで、全ての論理装置20から、保守モードへの切替指示に対する切替応答を受信したことを確認する。この確認が図7の(A)である。 In the received communication frame 40, the control device 10 is in a state in which the instruction unit 42 sets, for example, an instruction to switch to the maintenance mode for all the logic devices 20 as shown in FIG. 5A. Moreover, the response unit 44 confirms that the bit to which the maintenance mode is assigned is set to "1" among the mode switching response bits for all the logical devices 20. It is confirmed that the switching response to the switching instruction to the maintenance mode has been received from all the logical devices 20. This confirmation is shown in FIG. 7 (A).

続いて、監理装置10は、全ての論理装置20を対象として、データ管理モードへの切替指示を設定した通信フレーム40を送信する。すなわち、指示部42の指示内容部42aにおいて、モード切替指示用ビットのうち、保守モード及びデータ管理モードが割り当てられた各ビットを“1”に設定し、指示宛先部42bにおいて、全ての論理装置20用のモード指示宛先ビットを“1”に設定した通信フレーム40を送信する。これが、モード切替指示ステップに相当する。図7の(B)である。 Subsequently, the supervising device 10 transmits a communication frame 40 in which a switching instruction to the data management mode is set for all the logical devices 20. That is, in the instruction content unit 42a of the instruction unit 42, each bit to which the maintenance mode and the data management mode are assigned is set to "1" among the mode switching instruction bits, and all the logical devices are set in the instruction destination unit 42b. The communication frame 40 in which the mode instruction destination bit for 20 is set to "1" is transmitted. This corresponds to the mode switching instruction step. It is (B) of FIG.

各論理装置20は、この切替指示が設定された通信フレーム40を受信すると、切替指示に従ってデータ管理モードへ遷移する。すなわち、各各論理装置20は、受信した通信フレーム40の指示部42において、指示内容部42aのモード切替指示用ビットのうち、保守モード及びデータ管理モードが割り当てられた各ビットが“1”に設定され、且つ、指示宛先部42bの自論理装置用ビットのモード指示宛先ビットが“1”に設定されていることから、データ管理モードへの切替指示が設定されていると判断する。これが、モード切替ステップに相当する。 When each logical device 20 receives the communication frame 40 in which the switching instruction is set, each logical device 20 transitions to the data management mode according to the switching instruction. That is, in each logical device 20, in the instruction unit 42 of the received communication frame 40, among the mode switching instruction bits of the instruction content unit 42a, each bit to which the maintenance mode and the data management mode are assigned is set to "1". Since it is set and the mode instruction destination bit of the bit for the self-logic device of the instruction destination unit 42b is set to "1", it is determined that the instruction to switch to the data management mode is set. This corresponds to the mode switching step.

そして、各論理装置20は、データ管理モードへの遷移が完了すると、監理装置10へ、切替応答を設定した通信フレーム40を送信する。すなわち、応答部44の自論理装置用のモード切替応答用ビットのうち、保守モード及びデータ管理モードが割り当てられたビットを“1”に設定した通信フレーム40を送信する。これが、モード切替完了応答ステップに相当する。 Then, when the transition to the data management mode is completed, each logical device 20 transmits the communication frame 40 in which the switching response is set to the supervising device 10. That is, among the mode switching response bits for the self-logic device of the response unit 44, the communication frame 40 in which the bit to which the maintenance mode and the data management mode are assigned is set to "1" is transmitted. This corresponds to the mode switching completion response step.

従って、このときの通信フレーム40は、指示部42が、例えば、図5(b)に示したような、全ての論理装置20に対してデータ管理モードへの切替指示を設定した状態のままであり、応答部44は、データ管理モードへの遷移が完了した各論理装置20用のモード切替応答用ビットのうち、保守モード及びデータ管理モードが割り当てられたビットが“1”に設定された状態となる。 Therefore, in the communication frame 40 at this time, the instruction unit 42 remains in a state where the instruction for switching to the data management mode is set for all the logical devices 20 as shown in FIG. 5B, for example. In the response unit 44, among the mode switching response bits for each logical device 20 for which the transition to the data management mode has been completed, the bit to which the maintenance mode and the data management mode are assigned is set to "1". It becomes.

監理装置10は、受信した通信フレーム40において、指示部42が、例えば、図5(b)に示したような、全ての論理装置20に対してデータ管理モードへの切替指示を設定した状態であり、且つ、応答部44が、全ての論理装置20のモード切替応答用ビットのうち、保守モード及びデータ管理モードが割り当てられたビットが“1”に設定された状態となっていることを確認することで、全ての論理装置20が、データ管理モードへの遷移を完了したことを確認する。この確認が図7の(C)である。 In the received communication frame 40, the control device 10 is in a state where the instruction unit 42 sets, for example, an instruction to switch to the data management mode for all the logic devices 20 as shown in FIG. 5 (b). Yes, and the response unit 44 confirms that among the mode switching response bits of all the logical devices 20, the bits to which the maintenance mode and the data management mode are assigned are set to "1". By doing so, it is confirmed that all the logical devices 20 have completed the transition to the data management mode. This confirmation is shown in FIG. 7 (C).

全ての論理装置20がデータ管理モードへ遷移したことを確認すると、監理装置10は、第1対象の論理装置20に対してPL指示を設定した通信フレーム40を送信する。すなわち、指示部42の指示内容部42aにおいて、処理指示用ビットのうち、PL指示が割り当てられたビットを“1”に設定するとともに、指示宛先部42bにおいて、第1対象の論理装置用の処理指示宛先ビットを“1”に設定した通信フレームを送信する。この指示部42の設定が、ローディングの対象論理装置を指定する指定情報に相当する。従って、このときの通信フレーム40は、例えば、第1対象の論理装置20が第1論理装置のみであれば、指示部42が、図5(c)に示した状態となる。 After confirming that all the logical devices 20 have transitioned to the data management mode, the supervising device 10 transmits the communication frame 40 in which the PL instruction is set to the first target logical device 20. That is, in the instruction content unit 42a of the instruction unit 42, among the processing instruction bits, the bit to which the PL instruction is assigned is set to “1”, and in the instruction destination unit 42b, the processing for the first target logical device is performed. A communication frame in which the instruction destination bit is set to "1" is transmitted. The setting of the instruction unit 42 corresponds to the designated information for designating the target logical device for loading. Therefore, in the communication frame 40 at this time, for example, if the first target logic device 20 is only the first logic device, the instruction unit 42 is in the state shown in FIG. 5 (c).

第1対象の各論理装置20は、このPL指示が設定された通信フレーム40を受信すると、自論理装置がローディングの対象論理装置と指定されたと認識して、監理装置10へ、指示応答を設定した通信フレーム40を送信する。すなわち、第1対象の各論理装置20は、受信した通信フレーム40の指示部42において、指示内容部42aの処理指示用ビットのうち、PL指示が割り当てられたビットが“1”に設定され、且つ、指示宛先部42bの自装置用ビットの処理指示宛先ビットが“1”に設定されていることから、自論理装置が対象論理装置として指定された指定情報が設定されていると判断する。そして、応答部44の自論理装置用の処理応答用ビットのうち、PL応答が割り当てられたビットを“1”に設定した通信フレーム40を送信する。 When each of the first target logical devices 20 receives the communication frame 40 in which the PL instruction is set, it recognizes that the own logical device has been designated as the target logical device for loading, and sets an instruction response to the supervising device 10. The communication frame 40 is transmitted. That is, in each of the first target logical devices 20, in the instruction unit 42 of the received communication frame 40, among the processing instruction bits of the instruction content unit 42a, the bit to which the PL instruction is assigned is set to "1". Moreover, since the processing instruction destination bit of the own device bit of the instruction destination unit 42b is set to "1", it is determined that the designated information designated as the target logical device by the own logical device is set. Then, among the processing response bits for the self-logical device of the response unit 44, the communication frame 40 in which the bit to which the PL response is assigned is set to "1" is transmitted.

また、第2対象の各論理装置20は、受信した通信フレーム40の指示内容部42aの処理指示用ビットのうち、PL指示が割り当てられたビットが“1”に設定され、且つ、指示宛先部42bの自論理装置用ビットの処理指示宛先ビットが“0”に設定されていることから、自論理装置はローディングの対象論理装置として指定されていないと認識する。 Further, in each of the second target logical devices 20, among the processing instruction bits of the instruction content unit 42a of the received communication frame 40, the bit to which the PL instruction is assigned is set to "1", and the instruction destination unit Since the processing instruction destination bit of the bit for the self-logical device of 42b is set to "0", it is recognized that the self-logical device is not designated as the target logical device for loading.

監理装置10は、受信した通信フレーム40において、指示部42が、第1対象の論理装置20に対してPL指示を設定した状態であり、且つ、応答部44が、第1対象の全ての論理装置20用の処理応答用ビットのうち、PL応答が割り当てられたビットが“1”に設定された状態となっていることを確認することで、第1対象の全ての論理装置20から、PL指示に対する指示応答を受信したことを確認する。 In the received communication frame 40, the control device 10 is in a state in which the instruction unit 42 sets the PL instruction to the first target logic device 20, and the response unit 44 sets all the logics of the first target. By confirming that the bit to which the PL response is assigned is set to "1" among the processing response bits for the device 20, PL from all the first target logical devices 20 Confirm that the instruction response to the instruction has been received.

第1対象の全ての論理装置20から、PL指示に対する指示応答を受信したことを確認すると、監理装置10は、第1対象用の新規メインプログラムの送信を開始する。すなわち、指示部42において第1対象の論理装置に対してPL指示を設定した状態のまま、通信情報部46に第1対象用の新規メインプログラムを格納した通信フレーム40を送信する。これが、PL指示ステップに相当する。 Upon confirming that the instruction response to the PL instruction has been received from all the logical devices 20 of the first target, the supervising device 10 starts transmitting the new main program for the first target. That is, the communication frame 40 storing the new main program for the first target is transmitted to the communication information unit 46 while the PL instruction is set for the first target logic device in the instruction unit 42. This corresponds to the PL instruction step.

従って、このときの通信フレーム40は、指示部42が、例えば、図5(c)に示したように、指示内容部42aのモード切替指示用ビットのうち、保守モード及びデータ管理モードが割り当てられたビットを“1”に設定したままであり、且つ、処理指示用ビットのうち、PL指示が割り当てられたビットを“1”に設定した状態となり、指示宛先部42bにおいて、第1対象の全ての論理装置20の処理指示宛先ビットを“1”に設定した状態となる。 Therefore, in the communication frame 40 at this time, the instruction unit 42 is assigned the maintenance mode and the data management mode among the mode switching instruction bits of the instruction content unit 42a, for example, as shown in FIG. 5 (c). The bit is still set to "1", and among the processing instruction bits, the bit to which the PL instruction is assigned is set to "1", and all of the first targets are set in the instruction destination unit 42b. The processing instruction destination bit of the logical device 20 is set to "1".

第1対象用の新規メインプログラムの容量(サイズ)が大きい場合、プログラムを分割し、例えば、シーケンス番号を付加して通信フレーム40に格納し、複数回に亘って通信フレーム40の送信を繰り返す。 When the capacity (size) of the new main program for the first target is large, the program is divided, for example, a sequence number is added and stored in the communication frame 40, and transmission of the communication frame 40 is repeated a plurality of times.

第1対象の各論理装置20は、分割して送信されてくる第1対象用のプログラムを順次受信し、エラーチェック等を行い、シーケンス番号に従って復元して、プログラムを取得する。これがPLステップに相当する。そして、プログラムの取得を完了すると、監理装置10へ取得応答を送信する。すなわち、第1対象の論理装置20は、応答部44の自論理装置用の処理応答用ビットのうち、PL完了応答が割り当てられたビットを“1”に設定した通信フレーム40を送信する。これが、PL完了応答ステップに相当する。 Each of the first target logical devices 20 sequentially receives the divided and transmitted programs for the first target, performs error checking and the like, restores them according to the sequence number, and acquires the program. This corresponds to the PL step. Then, when the acquisition of the program is completed, the acquisition response is transmitted to the supervising device 10. That is, the first target logic device 20 transmits a communication frame 40 in which the bit to which the PL completion response is assigned is set to “1” among the processing response bits for the own logic device of the response unit 44. This corresponds to the PL completion response step.

このとき、第1対象以外の論理装置20は、ローディングの対象論理装置と指定されていないと認識しているため、特に何もしない。 At this time, since the logical device 20 other than the first target recognizes that it is not designated as the target logical device for loading, nothing in particular is performed.

従って、このときの通信フレーム40は、指示部42が、例えば、図5(c)に示したような、第1対象の論理装置20に対するPL指示を設定した状態のままであり、応答部44が、第1対象用の新規メインプログラムの取得が完了した第1対象の各論理装置20の処理応答用ビットのうち、PL完了応答が割り当てられたビットが“1”に設定され、それ以外の各論理装置20の処理応答用ビットのうち、PL完了応答が割り当てられたビットが“0”に設定された状態となる。 Therefore, in the communication frame 40 at this time, the instruction unit 42 remains in a state where the PL instruction to the first target logic device 20 is set, as shown in FIG. 5 (c), for example, and the response unit 44 remains. However, among the processing response bits of each of the first target logical devices 20 for which the acquisition of the new main program for the first target has been completed, the bit to which the PL completion response is assigned is set to "1", and the other bits are set to "1". Of the processing response bits of each logical device 20, the bit to which the PL completion response is assigned is set to “0”.

監理装置10は、受信した通信フレーム40において、指示部42が、例えば、図5(c)に示したような、第1対象の論理装置20に対するPL指示を設定した状態であり、且つ、応答部44が、第1対象の全ての論理装置20の処理応答用ビットのうち、PL完了応答が割り当てられたビットが“1”に設定された状態となっていることを確認することで、第1対象の論理装置20の全てから、第1対象用のプログラムの取得完了応答を受信したことを確認する。この確認が図7の(D)である。 In the received communication frame 40, the control device 10 is in a state where the instruction unit 42 sets a PL instruction to the first target logic device 20 as shown in FIG. 5 (c), and responds. The unit 44 confirms that the bit to which the PL completion response is assigned is set to "1" among the processing response bits of all the first target logical devices 20. 1 It is confirmed that the acquisition completion response of the program for the first target has been received from all of the target logical devices 20. This confirmation is shown in FIG. 7 (D).

第1対象の全ての論理装置20から取得完了応答を受信したことを確認すると、監理装置10は、続いて、第1対象の論理装置20を対象として、承認指示を送信する。すなわち、指示部42の指示内容部42aの処理指示用ビットのうち、承認指示が割り当てられたビットを“1”に設定し、指示宛先部42bにおいて、第1対象の論理装置20用の処理指示宛先ビットを“1”に設定することで、対象論理装置を指定する指定情報を設定した通信フレーム40を送信する。これが、承認指示ステップに相当する。 Upon confirming that the acquisition completion response has been received from all the logical devices 20 of the first target, the supervising device 10 subsequently transmits an approval instruction to the logical device 20 of the first target. That is, among the processing instruction bits of the instruction content unit 42a of the instruction unit 42, the bit to which the approval instruction is assigned is set to "1", and the instruction destination unit 42b sets the processing instruction for the first target logical device 20. By setting the destination bit to "1", the communication frame 40 in which the designated information for designating the target logical device is set is transmitted. This corresponds to the approval instruction step.

従って、このときの通信フレーム40は、指示部42の指示内容部42aにおいて、モード切替指示用ビットのうち、保守モード及びデータ管理モードが割り当てられたビットが“1”に設定され、処理指示用ビットのうち、承認指示が割り当てられたビットが“1”に設定され、指示宛先部42bにおいて、第1対象の論理装置用の処理指示宛先ビットが“1”に設定された状態となっている。 Therefore, in the communication frame 40 at this time, in the instruction content unit 42a of the instruction unit 42, among the mode switching instruction bits, the bit to which the maintenance mode and the data management mode are assigned is set to “1”, and the bit is set to “1” for processing instruction. Of the bits, the bit to which the approval instruction is assigned is set to "1", and the processing instruction destination bit for the first target logical device is set to "1" in the instruction destination unit 42b. ..

第1対象の論理装置20は、この承認指示を受信すると、記憶している現用メインプログラムを取得した新規メインプログラムに更新し、監理装置10へ承認応答を送信する。すなわち、第1対象の論理装置20は、受信した通信フレーム40において、指示部42の指示宛先部42bの自装置用の処理指示用ビットが“1”に設定されていることから、自装置が対象論理装置として指定された指定情報が設定されていると判断する。また、指示部42の指示内容部42aの処理指示用ビットのうち、承認指示が割り当てられたビットが“1”に設定されていることから、承認指示が設定されていると判断する。 Upon receiving this approval instruction, the first target logical device 20 updates the stored current main program to the acquired new main program, and sends an approval response to the supervising device 10. That is, since the processing instruction bit for the own device of the instruction destination unit 42b of the instruction unit 42 is set to "1" in the received communication frame 40, the first target logical device 20 has its own device. It is determined that the specified information specified as the target logical device is set. Further, since the bit to which the approval instruction is assigned is set to "1" among the processing instruction bits of the instruction content unit 42a of the instruction unit 42, it is determined that the approval instruction is set.

そして、第1対象の論理装置20は、プログラムの更新が完了すると、応答部44の自装置用の処理応答用ビットのうち、承認応答が割り当てられたビットを“1”に設定した通信フレーム40を送信する。 Then, when the update of the program is completed, the first target logical device 20 sets the communication frame 40 in which the bit to which the approval response is assigned among the processing response bits for the own device of the response unit 44 is set to “1”. To send.

また、第1対象の論理装置20は、自装置のハードウェアリセットを行って再起動する。再起動によって、更新した現用メインプログラムに従った新たなメイン処理が起動されることになる。これが、更新リセット制御ステップに相当する。 Further, the first target logic device 20 performs a hardware reset of its own device and restarts. By restarting, a new main process according to the updated current main program will be started. This corresponds to the update reset control step.

一方、監理装置10は、受信した通信フレーム40において、指示部42が、例えば、第1対象の論理装置20に対する承認指示を設定した状態であり、且つ、応答部44が、第1対象の全ての論理装置20の処理応答用ビットのうち、承認応答が割り当てられたビットが“1”に設定された状態となっていることを確認することで、第1対象の論理装置20の全てから、承認応答を受信したことを確認する。この確認が図7の(E)である。確認後は、続いて、第2対象の論理装置20を対象論理装置と指定して、同様に、第2対象用のプログラムを送信して更新させるプログラムローディングを行う。 On the other hand, in the supervising device 10, in the received communication frame 40, the instruction unit 42 is in a state where, for example, an approval instruction for the first target logic device 20 is set, and the response unit 44 is in a state where all of the first targets are set. Of the processing response bits of the logical device 20 of the above, by confirming that the bit to which the approval response is assigned is set to "1", all of the first target logical devices 20 can be selected. Confirm that the approval response has been received. This confirmation is shown in FIG. 7 (E). After the confirmation, subsequently, the second target logic device 20 is designated as the target logic device, and similarly, the program loading for transmitting and updating the program for the second target is performed.

[作用効果]
このように、本実施形態の鉄道用信号保安システム1によれば、論理装置20において、管理プログラム122に従った管理処理によって、信号保安に係るメイン処理を実行するための現用メインプログラム124を、LAN30を介して監理装置10から取得した新規メインプログラムに書き換えるプログラムローディングが可能となる。また、このプログラムローディングでは、現用メインプログラム124を新規メインプログラムに書き換えた後に、自動的に論理装置20をハードウェアリセットして、新規メインプログラムを起動することができる。すなわち、LAN30に接続された各論理装置20のプログラムを、LAN30を介して更新できるようになる。
[Action effect]
As described above, according to the railway signal security system 1 of the present embodiment, the current main program 124 for executing the main process related to signal security by the management process according to the management program 122 in the logic device 20 is provided. Program loading that rewrites to a new main program acquired from the supervising device 10 via the LAN 30 becomes possible. Further, in this program loading, after rewriting the current main program 124 to a new main program, the logic device 20 can be automatically reset by hardware to start the new main program. That is, the program of each logical device 20 connected to the LAN 30 can be updated via the LAN 30.

また、論理装置20では、監理装置10からのモード切替指示に対するデータ管理モードへの切り替え、そのモード切替完了応答の送信、監理装置からローディング指示とその応答および新規メインプログラムの取得、取得した新規メインプログラムの整合性照査(CRCチェック、自装置宛プログラム照査、SUM値チェック)、その取得完了応答の送信、監理装置10からの承認指示による新規メインプログラムに書き換え、といった手順を踏むことによって、LAN30を介した監理装置10と各論理装置20との通信にフェールセーフ性を確保することができる。 Further, in the logical device 20, switching to the data management mode in response to the mode switching instruction from the supervising device 10, transmission of the mode switching completion response, loading instruction and its response from the supervising device, acquisition of the new main program, and acquisition of the new main program. By taking steps such as program consistency check (CRC check, program check addressed to own device, SUM value check), transmission of the acquisition completion response, and rewriting to a new main program by the approval instruction from the supervising device 10, the LAN 30 is set. Fail-safety can be ensured for communication between the control device 10 and each logic device 20 via the system.

更に、監理装置10が対象論理装置と指定した論理装置20のみが、新規メインプログラムの取得及び書き換えといったプログラムローディングを行うことで、複数の論理装置20のうち、一部又は全ての論理装置20を対象としてプログラムローディングを行うといった、ピンポイントローディングが可能となる。 Further, only the logical device 20 designated by the supervising device 10 as the target logical device can perform program loading such as acquisition and rewriting of a new main program to obtain a part or all of the logical devices 20 among the plurality of logical devices 20. Pinpoint loading is possible, such as program loading as a target.

なお、本発明の適用可能な実施形態は、上述の実施形態に限定されることなく、本発明の趣旨を逸脱しない範囲で適宜変更可能なのは勿論である。 It should be noted that the applicable embodiment of the present invention is not limited to the above-described embodiment, and of course, it can be appropriately changed without departing from the spirit of the present invention.

例えば、上述の実施形態では、ピンポイントローディングを行う際に全ての論理装置20をデータ管理モードへ遷移させることとしたが、ローディングの対象とする論理装置20のみをデータ管理モードに遷移させ、それ以外のローディングの対象としない論理装置20についてはデータ管理モードに遷移させないこととしても良い。 For example, in the above-described embodiment, all the logical devices 20 are transitioned to the data management mode when performing pinpoint loading, but only the logical device 20 to be loaded is transitioned to the data management mode. The logic device 20 that is not the target of loading other than the above may not be transitioned to the data management mode.

1 鉄道用信号保安システム
10 監理装置
20 論理装置
100 CPU制御ユニット、110 演算制御部、120 記憶部
122 管理プログラム
124 現用メインプログラム、128 メインデータ
200 LAN通信制御ユニット
300 I/F制御ユニット、302 入力装置、304 表示装置
30 LAN
40 通信フレーム
1 Railroad signal security system 10 Supervision device 20 Logic device 100 CPU control unit, 110 Arithmetic control unit, 120 Storage unit 122 Management program 124 Current main program, 128 Main data 200 LAN communication control unit 300 I / F control unit, 302 input Device, 304 Display device 30 LAN
40 communication frames

Claims (3)

通信フィールドとして、監理装置から論理装置への指示が設定される指示部と、前記論理装置から前記監理装置への応答が設定される応答部と、通信情報部とを少なくとも含む通信フレームを、前記監理装置および複数の前記論理装置の間で周回させる通信方式で通信接続されて構成された鉄道用信号保安システムであって、
前記論理装置は、
管理プログラムおよび現用メインプログラムを記憶する記憶部と、
前記管理プログラムに従った管理処理と、前記現用メインプログラムに従った信号保安に係るメイン処理とを実行するプロセッサと、
を備え、
前記管理プログラムは、
受信した前記通信フレーム中の前記指示部に含まれるモード切替指示が、プログラムローディング(以下「PL」と略称する)を行う際のデータ管理モードへの切替指示に設定されていた場合に、動作モードを前記データ管理モードへ切り替える制御を行うモード切替ステップと、
前記モード切替ステップでの切り替えが完了した場合に、受信した前記通信フレーム中の前記応答部モード切替完了応答を設定して当該通信フレームを送信する制御を行うモード切替完了応答ステップと、
受信した前記通信フレーム中の前記指示部に、PL指示が設定されていた場合に、当該通信フレーム中の前記通信情報部に格納されている新規メインプログラムを取得する制御を行うPLステップと、
前記新規メインプログラムの取得が完了した場合に、受信した前記通信フレーム中の前記応答部取得完了応答を設定して当該通信フレームを送信する制御を行うPL完了応答ステップと、
受信した前記通信フレーム中の前記指示部に、承認指示が設定されていた場合に、前記記憶部に記憶されている前記現用メインプログラムを、取得が完了した前記新規メインプログラムに書き換える制御を行った後、前記論理装置をハードウェアリセットする制御を行う更新リセット制御ステップと、
を含む前記管理処理を前記プロセッサに実行させるためのプログラムであり、
前記監理装置は、
前記モード切替指示を前記データ管理モードへの切替指示に設定して前記通信フレームを送信する制御を行うモード切替指示ステップと、
受信した前記通信フレーム中の前記指示部に前記データ管理モードへの切替指示が設定されてあり、且つ、当該通信フレーム中の前記応答部前記モード切替完了応答が設定されていた場合に、前記指示部に前記データ管理モードへの切替指示と前記PL指示を設定するとともに、前記通信情報部に、前記新規メインプログラムを格納して前記通信フレームを送信する制御を行うPL指示ステップと、
受信した前記通信フレーム中の前記指示部に前記データ管理モードへの切替指示と前記PL指示とが設定されてあり、且つ、当該通信フレーム中の前記応答部前記取得完了応答が設定されていた場合に、前記指示部に、前記承認指示を設定して前記通信フレームを送信する制御を行う承認指示ステップと、
を実行する、
鉄道用信号保安システム。
As a communication field, the communication frame including at least an instruction unit in which an instruction from the supervising device to the logical device is set, a response unit in which a response from the logical device to the supervising device is set, and a communication information unit is described above. It is a railway signaling security system configured by communication connection by a communication method that circulates between a supervising device and a plurality of the above-mentioned logical devices.
The logic device is
A storage unit that stores the management program and the current main program,
A processor that executes management processing according to the management program and main processing related to signal security according to the current main program, and
Equipped with
The management program is
When the mode switching instruction included in the instruction unit in the received communication frame is set to the data management mode switching instruction when performing program loading (hereinafter abbreviated as "PL"), the operation mode is set. A mode switching step that controls switching to the data management mode,
When the switching in the mode switching step is completed, the mode switching completion response step for setting the mode switching completion response in the response unit in the received communication frame and controlling the transmission of the communication frame, and the mode switching completion response step.
A PL step that controls acquisition of a new main program stored in the communication information unit in the communication frame when a PL instruction is set in the instruction unit in the received communication frame.
When the acquisition of the new main program is completed, the PL completion response step for setting the acquisition completion response in the response unit in the received communication frame and controlling the transmission of the communication frame, and the PL completion response step.
When an approval instruction was set in the instruction unit in the received communication frame, control was performed to rewrite the current main program stored in the storage unit to the new main program for which acquisition was completed. After that, an update reset control step for controlling the hardware reset of the logical device, and
Is a program for causing the processor to execute the management process including the above.
The supervision device is
A mode switching instruction step for setting the mode switching instruction to the data management mode switching instruction and controlling transmission of the communication frame, and a mode switching instruction step.
When the instruction unit for switching to the data management mode is set in the received communication frame, and the mode switching completion response is set for the response unit in the communication frame, the mode switching completion response is set. A PL instruction step for setting a switching instruction to the data management mode and a PL instruction in the instruction unit, and controlling the communication information unit to store the new main program and transmit the communication frame.
The instruction for switching to the data management mode and the PL instruction are set in the instruction unit in the received communication frame, and the acquisition completion response is set in the response unit in the communication frame. In this case, an approval instruction step for setting the approval instruction in the instruction unit and controlling transmission of the communication frame, and
To execute,
Railroad signaling system.
前記複数の論理装置は、一部又は全部の論理装置がPLの対象となる対象論理装置であり、
前記監理装置は、
前記モード切替指示ステップにおいて、前記複数の論理装置のうちの前記対象論理装置を指定する指定情報を前記指示部に設定するとともに、前記モード切替指示を前記データ管理モードへの切替指示に設定して前記通信フレームを送信する制御を行い、
前記PL指示ステップにおいて、受信した前記通信フレーム中の前記指示部に前記データ管理モードへの切替指示が設定されてあり、且つ、当該通信フレーム中の前記応答部に全ての前記対象論理装置からの前記モード切替完了応答設定されていた場合に、前記指定情報を前記指示部に設定するとともに、前記指示部に前記データ管理モードへの切替指示と前記PL指示を設定し、前記通信情報部に、前記新規メインプログラムを格納して前記通信フレームを送信する制御を行い、
前記承認指示ステップにおいて、受信した前記通信フレーム中の前記指示部に前記データ管理モードへの切替指示と前記PL指示とが設定されてあり、且つ、当該通信フレーム中の前記応答部に全ての前記対象論理装置からの前記取得完了応答設定されていた場合に、前記指定情報を前記指示部に設定するとともに、前記指示部に、前記承認指示を設定して前記通信フレームを送信する制御を行い、
前記管理プログラムは、
受信した前記通信フレーム中の前記指示部に、当該管理プログラムに係る論理装置が前記対象論理装置として指定された前記指定情報が設定されている場合に、前記モード切替ステップ、前記PLステップ、および前記更新リセット制御ステップを前記プロセッサに実行させるためのプログラムである、
請求項1に記載の鉄道用信号保安システム。
The plurality of logical devices are target logical devices to which some or all of the logical devices are subject to PL.
The supervision device is
In the mode switching instruction step, the designation information for designating the target logical device among the plurality of logical devices is set in the instruction unit, and the mode switching instruction is set in the switching instruction to the data management mode. Controls to transmit the communication frame,
In the PL instruction step, an instruction to switch to the data management mode is set in the instruction unit in the received communication frame, and the response unit in the communication frame is from all the target logic devices. When the mode switching completion response is set , the designated information is set in the instruction unit, and the instruction unit for switching to the data management mode and the PL instruction are set in the instruction unit, and the communication information unit is used. Controls to store the new main program and transmit the communication frame.
In the approval instruction step, the instruction for switching to the data management mode and the PL instruction are set in the instruction unit in the received communication frame, and all the above in the response unit in the communication frame. When the acquisition completion response from the target logic device is set , the designated information is set in the instruction unit, and the approval instruction is set in the instruction unit to control transmission of the communication frame. ,
The management program is
The mode switching step, the PL step, and the said A program for causing the processor to execute the update reset control step.
The railway signaling system according to claim 1.
通信フィールドとして、監理装置から論理装置への指示が設定される指示部と、前記論理装置から前記監理装置への応答が設定される応答部と、通信情報部とを少なくとも含む通信フレームを、前記監理装置および複数の前記論理装置の間で周回させる通信方式で通信接続されて構成された鉄道用信号保安システムの制御方法であって、
前記論理装置は、
現用メインプログラムを記憶する記憶部と、
管理処理と、前記現用メインプログラムに従った信号保安に係るメイン処理とを実行するプロセッサと、
を備えており、
前記管理処理は、
受信した前記通信フレーム中の前記指示部に含まれるモード切替指示が、プログラムローディング(以下「PL」と略称する)を行う際のデータ管理モードへの切替指示に設定されていた場合に、動作モードを前記データ管理モードへ切り替える制御を行うモード切替ステップと、
前記モード切替ステップでの切り替えが完了した場合に、受信した前記通信フレーム中の前記応答部モード切替完了応答を設定して当該通信フレームを送信する制御を行うモード切替完了応答ステップと、
受信した前記通信フレーム中の前記指示部に、PL指示が設定されていた場合に、当該通信フレーム中の前記通信情報部に格納されている新規メインプログラムを取得する制御を行うPLステップと、
前記新規メインプログラムの取得が完了した場合に、受信した前記通信フレーム中の前記応答部取得完了応答を設定して当該通信フレームを送信する制御を行うPL完了応答ステップと、
受信した前記通信フレーム中の前記指示部に、承認指示が設定されていた場合に、前記記憶部に記憶されている前記現用メインプログラムを、取得が完了した前記新規メインプログラムに書き換える制御を行った後、前記論理装置をハードウェアリセットする制御を行う更新リセット制御ステップと、
を含み、
前記監理装置は、
前記モード切替指示を前記データ管理モードへの切替指示に設定して前記通信フレームを送信する制御を行うモード切替指示ステップと、
受信した前記通信フレーム中の前記指示部に前記データ管理モードへの切替指示が設定されてあり、且つ、当該通信フレーム中の前記応答部前記モード切替完了応答が設定されていた場合に、前記指示部に前記データ管理モードへの切替指示と前記PL指示を設定するとともに、前記通信情報部に、前記新規メインプログラムを格納して前記通信フレームを送信する制御を行うPL指示ステップと、
受信した前記通信フレーム中の前記指示部に前記データ管理モードへの切替指示と前記PL指示とが設定されてあり、且つ、当該通信フレーム中の前記応答部前記取得完了応答が設定されていた場合に、前記指示部に、前記承認指示を設定して前記通信フレームを送信する制御を行う承認指示ステップと、
を実行する、
制御方法。
As a communication field, the communication frame including at least an instruction unit in which an instruction from the supervising device to the logical device is set, a response unit in which a response from the logical device to the supervising device is set, and a communication information unit is described above. It is a control method of a railway signal security system configured by communication connection by a communication method that circulates between a supervising device and a plurality of the above-mentioned logical devices.
The logic device is
A storage unit that stores the current main program,
A processor that executes management processing and main processing related to signal security according to the current main program, and
Equipped with
The management process is
When the mode switching instruction included in the instruction unit in the received communication frame is set to the data management mode switching instruction when performing program loading (hereinafter abbreviated as "PL"), the operation mode is set. A mode switching step that controls switching to the data management mode,
When the switching in the mode switching step is completed, the mode switching completion response step for setting the mode switching completion response in the response unit in the received communication frame and controlling the transmission of the communication frame, and the mode switching completion response step.
A PL step that controls acquisition of a new main program stored in the communication information unit in the communication frame when a PL instruction is set in the instruction unit in the received communication frame.
When the acquisition of the new main program is completed, the PL completion response step for setting the acquisition completion response in the response unit in the received communication frame and controlling the transmission of the communication frame, and the PL completion response step.
When an approval instruction was set in the instruction unit in the received communication frame, control was performed to rewrite the current main program stored in the storage unit to the new main program for which acquisition was completed. After that, an update reset control step for controlling the hardware reset of the logical device, and
Including
The supervision device is
A mode switching instruction step for setting the mode switching instruction to the data management mode switching instruction and controlling transmission of the communication frame, and a mode switching instruction step.
When the instruction unit for switching to the data management mode is set in the received communication frame, and the mode switching completion response is set for the response unit in the communication frame, the mode switching completion response is set. A PL instruction step for setting a switching instruction to the data management mode and a PL instruction in the instruction unit, and controlling the communication information unit to store the new main program and transmit the communication frame.
The instruction for switching to the data management mode and the PL instruction are set in the instruction unit in the received communication frame, and the acquisition completion response is set in the response unit in the communication frame. In this case, an approval instruction step for setting the approval instruction in the instruction unit and controlling transmission of the communication frame, and
To execute,
Control method.
JP2017161913A 2017-08-25 2017-08-25 Railroad signaling system and control method Active JP7016229B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017161913A JP7016229B2 (en) 2017-08-25 2017-08-25 Railroad signaling system and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017161913A JP7016229B2 (en) 2017-08-25 2017-08-25 Railroad signaling system and control method

Publications (2)

Publication Number Publication Date
JP2019038379A JP2019038379A (en) 2019-03-14
JP7016229B2 true JP7016229B2 (en) 2022-02-04

Family

ID=65725202

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017161913A Active JP7016229B2 (en) 2017-08-25 2017-08-25 Railroad signaling system and control method

Country Status (1)

Country Link
JP (1) JP7016229B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009217488A (en) 2008-03-10 2009-09-24 Hitachi Ltd Operation management system and remote maintenance method thereof
JP2014182728A (en) 2013-03-21 2014-09-29 Toshiba Corp Automatic ticket examination system, and method for updating master data of the automatic ticket examination system
JP2015036259A (en) 2013-08-12 2015-02-23 日本信号株式会社 Electronic interlock device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009217488A (en) 2008-03-10 2009-09-24 Hitachi Ltd Operation management system and remote maintenance method thereof
JP2014182728A (en) 2013-03-21 2014-09-29 Toshiba Corp Automatic ticket examination system, and method for updating master data of the automatic ticket examination system
JP2015036259A (en) 2013-08-12 2015-02-23 日本信号株式会社 Electronic interlock device

Also Published As

Publication number Publication date
JP2019038379A (en) 2019-03-14

Similar Documents

Publication Publication Date Title
EP3608775B1 (en) Electronic control system
JP6563187B2 (en) Distributed control system, control device, and control method
WO2020044443A1 (en) Air conditioning system and program update method for air conditioning system
JP7012859B2 (en) How to update the air conditioning system and the program of the air conditioning system
WO2019163297A1 (en) Rewriting device, rewriting system, rewriting method and control program
US20190056970A1 (en) Method for computer-aided coupling a processing module into a modular technical system and modular technical system
JP7016229B2 (en) Railroad signaling system and control method
JP2016103114A (en) Inverter and update method of firmware program in inverter
JP7016231B2 (en) Railroad signaling system and control method
JP7016230B2 (en) Railroad signaling system and control method
CN114930258A (en) Controlling and/or monitoring a group of machines
JP6304048B2 (en) Control system and control device
KR102129465B1 (en) Plc system and method for increasing the unit of the same
CN116909678A (en) Implementation method and system of containerized PLC and management server
TWI584089B (en) Controller
CN111123780B (en) Number configuration method and device, electronic equipment and storage medium
CN111123779B (en) Number configuration method and device, electronic equipment and storage medium
JP6516719B2 (en) Elevator program rewriting system and program rewriting method
JPH0689181A (en) System for updating program by down load
JP6547020B2 (en) Commissioning the machine with virtual components in isolated operation without IP addressing
JP7149896B2 (en) Controller and supervisory control system
JP2007308259A (en) Elevator control system
JP6776191B2 (en) Gateway devices, data access methods performed by gateway devices, controllers, and data access methods performed by controllers.
JPS5839307A (en) Programmable controller
JP3496436B2 (en) Programmable controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200708

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210528

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210629

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210823

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220111

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220125