JP2005041341A - Method for preparing interlocking logical data - Google Patents

Method for preparing interlocking logical data Download PDF

Info

Publication number
JP2005041341A
JP2005041341A JP2003277743A JP2003277743A JP2005041341A JP 2005041341 A JP2005041341 A JP 2005041341A JP 2003277743 A JP2003277743 A JP 2003277743A JP 2003277743 A JP2003277743 A JP 2003277743A JP 2005041341 A JP2005041341 A JP 2005041341A
Authority
JP
Japan
Prior art keywords
interlocking
logical
logical expression
relay
interlocking device
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.)
Granted
Application number
JP2003277743A
Other languages
Japanese (ja)
Other versions
JP4143495B2 (en
Inventor
Atsushi Takami
敦 高見
Akira Asuka
昌 明日香
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2003277743A priority Critical patent/JP4143495B2/en
Publication of JP2005041341A publication Critical patent/JP2005041341A/en
Application granted granted Critical
Publication of JP4143495B2 publication Critical patent/JP4143495B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Train Traffic Observation, Control, And Security (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a new method for preparing interlocking logical data for an interlocking device, capable of preparing interlocking logic data using a connection diagram for relay interlocking as it is when a connection diagram for an electronic interlocking device is newly prepared based on a connection diagram for the relay interlocking device. <P>SOLUTION: In this method for preparing interlocking logical data for the interlocking device, the connection diagram for interlocking device for a railroad signal consisting of a group of relay circuits is inputted in a computer by an input device such as a mouse, graphic data obtained by this is converted into node information described by nodes which collectively displays branches and anode/cathode terminals, and segments between the nodes. Every current route reaching from an anode to a cathode is searched on the basis of the node information, and after the every current route obtained by this are modified by means of considering electric characteristics, logical conversion is performed. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

この発明は、連動装置特に鉄道信号用連動装置の連動条件に使用可能な連動論理データの作成方法に関するものである。   The present invention relates to a method of creating interlocking logical data that can be used as interlocking conditions for interlocking devices, particularly railway signal interlocking devices.

鉄道の停車場構内等においては、列車等の衝突または脱線を防止するために、列車等に対する進路の割り当て、関係する転轍器の転換制御を行なうと共に、列車等への進行を指示あるいは停止する信号を発出する機能を有する連動装置が使用されている。この連動装置により、信号機の相互間、信号機と当該進路に関係する転轍器との間、車両と信号機もしくは転轍器との間などに連鎖を設けるとともに、信号機や転轍器等の各機器の相互間に鎖錠の関係を持たせ、一方の機器を取扱った場合には、他方の機器を取扱うことができないようにする、いわゆる連動機能をもたせている。   In order to prevent collisions or derailments of trains, etc. at railway stops, etc., signals are assigned to the trains, etc., are controlled to switch related switches, and signals to instruct or stop traveling to the trains, etc. The interlocking device which has the function to emit is used. With this interlocking device, a chain is provided between the traffic lights, between the traffic lights and the switch related to the route, between the vehicle and the traffic light or the switch, and each device such as the traffic light and the switch A so-called interlocking function is provided so that when one device is handled, the other device cannot be handled when the other device is handled.

従来は,電磁リレーを用いた電気回路で連動処理を行なう継電連動装置が用いられていたが、近年では、省スペース化や汎用技術の利用を目的として、連動処理を計算機が行なう電子連動装置の導入が進められている。電子連動装置を製作するためには、計算機に適合させるための連動論理データを作成し、またこの作成された連動論理データの正当性を検証する必要がある。しかし、計算機用連動論理データの作成作業と検証作業は極めて複雑かつ難解であり、従来は人間が膨大な労力と時間をかけてこの作業を行っていた。   Conventionally, a relay interlocking device that performs interlocking processing in an electric circuit using an electromagnetic relay has been used. However, in recent years, an electronic interlocking device in which interlocking processing is performed by a computer for the purpose of saving space and using general-purpose technology. Is being introduced. In order to produce an electronic interlocking device, it is necessary to create interlocking logic data for adapting to a computer and to verify the validity of the prepared interlocking logic data. However, the creation and verification of linked logical data for computers is extremely complicated and difficult, and humans have conventionally spent a great deal of effort and time.

このような問題に対して、例えば特開平5-16807号公報(特許文献1)では、継電連動装置製作の際に用いられる、リレーなどを使用した回路群からなる結線図をマウスなどの入力装置を用いて計算機に入力し、この入力により得た図形データをもとに、陽極から陰極へ至る全ての電流経路を調べることで、計算機が実行可能な、ブール代数に基づく論理式を作成し、電子連動装置の連動条件に使用可能な連動論理データを作成していた。   In order to deal with such problems, for example, in Japanese Patent Laid-Open No. 5-16807 (Patent Document 1), a connection diagram composed of a circuit group using a relay or the like used for manufacturing a relay interlocking device is input with a mouse or the like. A logical expression based on a Boolean algebra that can be executed by the computer is created by checking all current paths from the anode to the cathode based on the graphic data obtained by inputting to the computer using the device. The link logic data that can be used for the link condition of the electronic link device was created.

このような連動論理データ作成方法にあっては、結線図(図形データ)を論理式に変換することが前提となっているが、論理式に変換することを前提とした結線図は、電磁リレーを対象とした継電連動装置用の結線図と全く同一にはなりえない。
例えば、継電連動装置用の結線図に記載される回路には、1つの回路で複数のリレーを制御するものが存在する。リレーを制御するとは、論理式では変数に値(1/0)を設定することに対応するが、1つの論理式で値を設定できる変数は1つである。このため、論理式に変換するためには、変数毎の回路を作成する必要がある。
In such a linked logical data creation method, it is assumed that the connection diagram (graphic data) is converted into a logical expression, but the connection diagram based on the assumption that it is converted into a logical expression is an electromagnetic relay. It cannot be exactly the same as the connection diagram for relay interlocking devices.
For example, among the circuits described in the connection diagram for the relay interlocking device, there is one that controls a plurality of relays by one circuit. Controlling a relay corresponds to setting a value (1/0) in a variable in a logical expression, but only one variable can be set in one logical expression. For this reason, in order to convert into a logical expression, it is necessary to create a circuit for each variable.

また、継電連動装置用の転轍器制御回路には、電流方向により動作の異なるリレーが含まれる。しかしながら、論理式には電流方向の概念がないため、論理式に変換するためには、電流方向毎の回路を作成する必要がある。
このように、従来は、継電連動装置用結線図をもとに新たに電子連動装置用の結線図を作成する必要があったが、先行例には、上記回路に対する対策は、記載もしくは示唆されていない。
The switch control circuit for the relay interlocking device includes relays that operate differently depending on the current direction. However, since there is no concept of the current direction in the logical expression, it is necessary to create a circuit for each current direction in order to convert it into the logical expression.
Thus, conventionally, it was necessary to create a new connection diagram for the electronic interlocking device based on the connection diagram for the relay interlocking device. However, in the preceding example, the measures for the above circuit are described or suggested. It has not been.

特開平5―16807号公報Japanese Patent Laid-Open No. 5-16807

この発明は、上記のような問題点を解消するためになされたもので、継電連動装置用結線図をもとに新たに電子連動装置用の結線図を作成する場合、継電連動用の結線図をそのまま利用して連動論理データを作成できる新規な連動装置の連動論理データ作成方法を提供することを目的とする。   The present invention was made to solve the above problems, and when a new connection diagram for an electronic interlocking device is created based on the connection diagram for a relay interlocking device, It is an object of the present invention to provide a linked logical data creation method for a new linked device that can create linked logical data using a connection diagram as it is.

更にこの発明は、結線図(図形データ)を論理式に変換するに当たって、継電連動装置用の結線図に、1つの回路で複数のリレーを制御するものが存在しても、リレー毎に論理式の自動展開が可能な連動装置の連動論理データ作成方法を提供することを目的とする。
更にこの発明は、結線図(図形データ)を論理式に変換するに当たって、電流方向により動作の異なるリレーが存在しても、電流方向を考慮した経路探索を行なうことで、各方向に対応する論理式が得られる連動装置の連動論理データ作成方法を提供することを目的とする。
Further, according to the present invention, when converting a connection diagram (graphic data) into a logical expression, even if there is a connection diagram for a relay interlocking device that controls a plurality of relays with one circuit, a logic is provided for each relay. It is an object of the present invention to provide an interlocking logical data creation method of an interlocking device capable of automatically expanding expressions.
Further, the present invention converts a connection diagram (graphic data) into a logical expression by performing a route search in consideration of the current direction, even if there are relays having different operations depending on the current direction. It is an object of the present invention to provide an interlocking logical data creation method of an interlocking device that can obtain an expression.

更にこの発明は、可読性が高く、且つ高速な演算が可能な論理式が得られる連動装置の連動論理データ作成方法を提供することを目的とする。
更にこの発明は、論理式変換過程の信頼性が確保される連動装置の連動論理データ作成方法を提供することを目的とする。
更にこの発明は、連動データ作成時に連動論理の変化を表示部の結線図上で容易に確認できる連動装置の連動論理データ作成方法を提供することを目的とする。
It is another object of the present invention to provide a linked logical data creation method for a linked device that can obtain a logical expression that is highly readable and capable of high-speed computation.
It is another object of the present invention to provide a linked logical data creation method for a linked device that ensures the reliability of a logical formula conversion process.
A further object of the present invention is to provide a method for creating interlocking logic data of an interlocking device that can easily check changes in interlocking logic on the connection diagram of the display unit when creating interlocking data.

この発明に係わる連動装置の連動論理データ作成方法は、リレー回路群からなる鉄道信
号用連動装置の結線図をマウスなど入力装置を用いて計算機に入力する段階と、この計算機への入力により得られた図形データを、分岐と陽極端・陰極端とをまとめて示すノードと上記ノードで挟まれた線分とで表したノード情報に変換する段階と、このノード情報をもとに、陽極から陰極へ至る全ての電流経路を探索する段階と、これにより得られた全電流経路から電気的特性を考慮した経路の修正を行なった後に論理式変換を行う段階とからなることを特徴とするものである。
The interlocking logic data creation method of the interlocking device according to the present invention is obtained by inputting a connection diagram of the railway signal interlocking device composed of a relay circuit group to a computer using an input device such as a mouse, and input to the computer. Converting the graphic data into node information represented by a node indicating the branch and the anode end / cathode end together and a line segment sandwiched between the nodes, and from the anode to the cathode based on the node information. It is characterized in that it comprises a step of searching for all current paths leading to, and a step of performing logical expression conversion after correcting the paths in consideration of electrical characteristics from all the current paths obtained thereby. is there.

また、上述の連動装置の連動論理データ作成方法において、1つの回路内に複数のリレーが存在する回路にあっては、各リレー毎に論理式変換を行うようにしたことを特徴とするものである。
また、上述の連動装置の連動論理データ作成方法において、電流方向により動作の異なるリレーを含む回路にあっては、対象リレーに関して電流方向毎の論理式に自動展開するようにしたことを特徴とするものである。
また、上述の連動装置の連動論理データ作成方法において、探索された全電流経路の
うち構成不能又は冗長論理を含む回路にあっては、これらの経路を削除するようにしたことを特徴とするものである。
Further, in the above-described interlocking logical data creation method of the interlocking device, in a circuit having a plurality of relays in one circuit, logical expression conversion is performed for each relay. is there.
Further, in the above-described interlocking logic data creation method of the interlocking device, in a circuit including relays that operate differently depending on the current direction, the target relay is automatically expanded into a logical expression for each current direction. Is.
Further, in the above-described interlocking logic data generation method of the interlocking device, in the circuit including unconfigurable or redundant logic among all the searched current paths, these paths are deleted. It is.

また、上述の連動装置の連動論理データ作成方法において、全経路探索結果に基づく
論理式変換結果と、ノード情報の簡約化に基づく論理式変換結果を照合する段階を備えたことを特徴とするものである。
また、上述の連動装置の連動論理データ作成方法において、ノード情報の簡約化は回
路の並列化と直列化を適宜実現することにより論理式変換を行うことを特徴とするものである。
また、上述の連動装置の連動論理データ作成方法において、条件設定を行ない、論理
式演算を行うことで、リレー状態を表示部の結線図上に表示するようにしたことを特徴とするものである。
The linked logical data creation method of the linked device includes a step of collating a logical expression conversion result based on a whole route search result and a logical expression conversion result based on simplification of node information. It is.
In the linked logical data creation method of the linked device described above, the simplification of the node information is characterized in that logical expression conversion is performed by appropriately realizing parallelization and serialization of circuits.
Further, in the above-described interlocking logical data creation method of the interlocking device, the relay state is displayed on the connection diagram of the display unit by performing condition setting and performing a logical expression operation. .

この発明による連動装置の連動論理データ作成方法によれば、継電連動装置用結線図をもとに新たに電子連動装置用の結線図を作成する場合、継電連動用の結線図をそのまま利用して連動論理データを作成できる効果を有する。
また、この発明による連動装置の連動論理データ作成方法によれば、一般の技術者が理解できる可読性の高い高信頼度の連動論理データを作成できる効果を有する。
According to the interlocking logic data creation method of the interlocking device according to the present invention, when creating a new connection diagram for the electronic interlocking device based on the relaying interlocking device connection diagram, the relay interlocking connection diagram is used as it is. Thus, it is possible to create linked logical data.
In addition, according to the interlocking logic data creation method of the interlocking device according to the present invention, it is possible to create highly reliable interlocking logic data with high readability that can be understood by a general engineer.

実施の形態1.
図1に本発明が前提とする連動論理データ作成方法の例を示す。図中図1(a)は処理装置の基本構成を示すブロック図であり、図1(b)はその作用を示すフローチャートである。この方式について説明するに、まず、駅構内における信号機や転轍器等の配置や、それらの連鎖関係を表す連動図表を用意する。このような連動図表をもとに、その内容をリレー等の具体的な結線で表現した結線図105を作成する。 このリレー等から構成される結線図を、マウス、キーボードなどの入力部101を用いて計算機102に入力する。計算機は、CPU(CentralProcessing Unit:中央演算処理装置)や、メモリなどの記憶装置を備えている。入力された結線図は、ディスプレイなどの表示部103に表示される。また、入力された結線図は、図形データ106としてメモリなどの計算機内の記憶装置あるいはフロッピー(登録商標)ディスクなどの出力部104に保存される。計算機は、図形データ106を所定の変換規則に従って論理式107に変換し、鉄道信号用連動装置の連動条件に使用可能な連動論理データ108を作成する。
Embodiment 1 FIG.
FIG. 1 shows an example of a linked logical data creation method on which the present invention is based. FIG. 1A is a block diagram showing the basic configuration of the processing apparatus, and FIG. 1B is a flowchart showing its operation. In order to explain this method, first, an interlocking chart that shows the arrangement of traffic lights, switches, and the like in the station premises and their chain relationship is prepared. Based on such a linkage diagram, a connection diagram 105 is created in which the content is expressed by a specific connection such as a relay. A connection diagram composed of the relays and the like is input to the computer 102 using the input unit 101 such as a mouse or a keyboard. The computer includes a CPU (Central Processing Unit) and a storage device such as a memory. The input connection diagram is displayed on a display unit 103 such as a display. The input connection diagram is stored as graphic data 106 in a storage device in a computer such as a memory or an output unit 104 such as a floppy (registered trademark) disk. The computer converts the graphic data 106 into a logical expression 107 according to a predetermined conversion rule, and creates interlocking logical data 108 that can be used as interlocking conditions for the railway signal interlocking device.

図2は、本発明による連動論理データ作成方法の一実施例を示すフローチャートである。本実施の形態1では、前述した方法で、まず所定の結線図をマウスやキーボードにより計算機に入力する(ステップ201)。 ここでの結線図と図形データの一例を図3(a)(b)に示す。図3(a)に示す結線図は、電源の陽極301、陰極302、リレー303、リレー接点304、305などから構成される。リレーは回路が構成されて陽極から陰極へ電流が流れると動作する。定位接点X(304)は、リレーXが動作している時に回路を構成し、また、反位接点Y(305)はリレーYが動作していない時に回路を構成する。この回路では、リレーX動作時、または、リレーY無動作時に、リレーRが動作する。上記のように入力された結線図は、図形データに変換される(ステップ202)。図3(b)に示す図形データの一例では、例えば、結線図を同じ大きさの矩形306(以下セルと呼ぶ)で分割し、セル番号(行、列)と、そのセルに配置するリレーやリレー接点といったシンボルと、これらを結ぶ水平または垂直方向の直線など、構成要素の情報で結線図を表現するものとする。   FIG. 2 is a flowchart showing an embodiment of a linked logical data creation method according to the present invention. In the first embodiment, a predetermined connection diagram is first input to the computer using a mouse or a keyboard by the method described above (step 201). An example of the connection diagram and graphic data is shown in FIGS. 3 (a) and 3 (b). The connection diagram shown in FIG. 3A includes a power source anode 301, a cathode 302, a relay 303, relay contacts 304 and 305, and the like. The relay operates when a circuit is formed and current flows from the anode to the cathode. The localization contact X (304) constitutes a circuit when the relay X is operating, and the inversion contact Y (305) constitutes a circuit when the relay Y is not operating. In this circuit, the relay R operates when the relay X is operating or when the relay Y is not operating. The connection diagram input as described above is converted into graphic data (step 202). In the example of the graphic data shown in FIG. 3 (b), for example, the connection diagram is divided into rectangles 306 of the same size (hereinafter referred to as cells), cell numbers (rows, columns), relays arranged in the cells, A connection diagram is expressed by information of components such as a relay contact and a horizontal or vertical straight line connecting them.

図形データは保安上重要なデータであり、入力した結線図の内容が正しく図形データに反映されていることを確認する必要がある。このため、セルに配置される構成要素の認識番号として、例えば結線図において配線の交差部分を文字「+」、リレーを文字「R」など、人間が直感的に意味を認識できるような文字コードを対応させることにより図形データの確認が容易になるようにする。   Graphic data is important for security, and it is necessary to confirm that the contents of the input connection diagram are correctly reflected in the graphic data. For this reason, as a recognition number of a component arranged in a cell, for example, a character code that allows a human to intuitively recognize the meaning, such as a character “+” for a wiring intersection in a connection diagram and a character “R” for a relay. By making these correspond to each other, it becomes easy to confirm the graphic data.

また、セル(行、列)に配置されるデータを扱う一般的なデータフォーマットにCSV(CommaSeparated Value)があり、このCSV形式は列要素をコンマ「,」、改行を改行文字で区切ったテキストファイルであり、一般的な表計算プログラムなどで読み込むことができる。これらのプログラムでは各セルの要素を文字列として表示することができ、従って、図形データを例えばCSV形式とすることで、本発明により作成した図形データを、その他の一般的なプログラムで読み込んで表示することにより、意図どおりに図形データが作成できたかどうかを確認することができる。
以上のようにすることにより、図形データ作成の段階でデータ中に障害が含まれることを防止することができる。
In addition, CSV (Comma Separated Value) is a common data format that handles data placed in cells (rows, columns). This CSV format is a text file in which column elements are separated by commas "," and line breaks are separated by line feed characters. It can be read by a general spreadsheet program. In these programs, each cell element can be displayed as a character string. Therefore, the graphic data created by the present invention can be read and displayed by other general programs by converting the graphic data into, for example, CSV format. By doing so, it can be confirmed whether or not the graphic data can be created as intended.
By doing as described above, it is possible to prevent a failure from being included in the data at the stage of graphic data creation.

次に、図形データをノード情報に変換することが行われる(ステップ203)。
このノード情報の一例を図4に示している。ここでは図3とは異なる結線図の例を示しており、陽極端B24と陰極端C24との間に3つの電流経路を有する場合を示している。各径路にはそれぞれ2つのリレー接点A,BとC,Dと、E,Fとを直列に有している。なお、接点A,C,Eは定位接点、B,D,Fは反位接点である。ノード情報とは上記結線図の構成要素のうち、分岐と陽極端・陰極端をまとめてノード(402)とし、2つのノードで挟まれた部分を線分(401)として表したものである。
次に、このノード情報をもとに、各リレーへの電流経路(以下、経路と呼ぶ)を探索する(図2のステップ204)。一般に、結線図で表現される回路には陽極から陰極に流れる経路が複数存在する。図5(a)(b)に、経路のノード情報による表現方法の一例を示す。
Next, the graphic data is converted into node information (step 203).
An example of this node information is shown in FIG. Here, an example of a connection diagram different from FIG. 3 is shown, and a case where three current paths are provided between the anode end B24 and the cathode end C24 is shown. Each path has two relay contacts A, B, C, D and E, F in series. The contacts A, C and E are localization contacts, and B, D and F are inversion contacts. Node information is a component of the above connection diagram in which a branch and an anode end / cathode end are collectively represented as a node (402), and a portion sandwiched between two nodes is represented as a line segment (401).
Next, based on this node information, a current path to each relay (hereinafter referred to as a path) is searched (step 204 in FIG. 2). In general, a circuit represented by a connection diagram has a plurality of paths from the anode to the cathode. FIGS. 5A and 5B show an example of an expression method based on route node information.

図5(a)の回路においては、リレーRに対して、3つの経路Line1、Line2、Line3があり、これらいずれかの経路上ですべての接点が構成されればリレーRが動作する。ここで、「経路上のすべての接点が構成される」とは、論理式で表現すれば、各接点の論理積(AND)をとった評価結果が真(1)になることに等しい。
経路は、ノード情報を用いて表現すると、始点ノード(陽極)から終点ノード(陰極)の間の、順序付けられた線分とノードの集合として図5(b)のように表すことができる(502)。リレー、リレー接点などの要素を含まない線分は、前後のノードをまとめて1つのノードとする(501)。線分S1、S2、S3、S4を論理式で表現すると、それぞれ、[A]*〜[B]、[C]*〜[D]、[E]*〜[F]、[G]のようになる。ここで、「[A,B,C等のname]」は変数、「*」は論理積(AND)、「〜」は否定(NOT)を表すものとする。経路は、経路を構成する線分の論理式表現の論理積で表現でき、経路Line1、Line2、Line3の論理式表現はそれぞれ、[A]*〜[B]*[G]、[C]*〜[D]*[G]、[E]*〜[F]*[G]のようになる。さらに、リレーRが動作するには、これらの経路のうち、どれか1つが構成されればよく、論理式で表現すると、経路の論理和(OR)をとればよく、次のようになる。
In the circuit of FIG. 5A, there are three paths Line1, Line2, and Line3 for the relay R, and the relay R operates if all the contacts are configured on any of these paths. Here, “all the contacts on the path are configured” means that, when expressed by a logical expression, the evaluation result obtained by taking the logical product (AND) of each contact becomes true (1).
When the path is expressed using node information, it can be expressed as a set of ordered line segments and nodes between the start node (anode) and the end node (cathode) as shown in FIG. 5B (502). ). For line segments that do not include elements such as relays and relay contacts, the preceding and following nodes are combined into one node (501). When the line segments S1, S2, S3, and S4 are expressed by logical expressions, [A] * to [B], [C] * to [D], [E] * to [F], and [G] respectively. become. Here, “[name of A, B, C, etc.]” represents a variable, “*” represents a logical product (AND), and “˜” represents a negation (NOT). The route can be expressed by the logical product of the logical expressions of the line segments that make up the route. The logical expressions of the paths Line1, Line2, and Line3 are [A] * to [B] * [G], [C] *, respectively. ~ [D] * [G], [E] * ~ [F] * [G]. Further, in order for the relay R to operate, any one of these paths only needs to be configured, and when expressed by a logical expression, a logical OR (OR) of the paths may be taken, as follows.

[A]*〜[B]*[G]+[C]*〜[D]*[G]+[E]*〜[F]*[G]=[R]
ここで、「+」は論理和(OR)、「=」は代入演算子である。このように、リレーに対する各電流経路の論理式表現を論理和で結ぶことによって論理式を作成する手法を、以下、標準型手法(207)と呼ぶことにし、図6に前述したその手順をまとめてフローチャート化している。すなわち図6において、先ず、回路上のすべての線分に対する論理式表現を作成し(ステップ401)、次に、回路上のすべての経路を線分単位で検索し、経路毎の線分リストを作成する(ステップ402)。続いて各経路上の線分の論理積をとり(ステップ403)、最後に各経路の論理和をとってリレー毎の論理式を完成する(ステップ404)。
[A] * ~ [B] * [G] + [C] * ~ [D] * [G] + [E] * ~ [F] * [G] = [R]
Here, “+” is a logical sum (OR), and “=” is an assignment operator. In this way, the method of creating a logical expression by connecting logical expression expressions of the respective current paths to the relay by logical sum is hereinafter referred to as a standard method (207), and the procedure described above in FIG. 6 is summarized. Is a flowchart. That is, in FIG. 6, first, logical expression expressions for all line segments on the circuit are created (step 401), then all paths on the circuit are searched in line units, and a line segment list for each path is obtained. Create (step 402). Subsequently, the logical product of line segments on each path is calculated (step 403), and finally the logical sum of each path is taken to complete a logical expression for each relay (step 404).

標準型手法による全経路探索を終えると、次に、探索された全経路のうち不要な経路の削除(線路の刈り取り・エラーチェック)と、電流方向による経路の分類を行なう(図2のステップ205)。この詳細を図7〜図9に従って説明する。図7は1つの回路で複数のリレーを制御する回路の例である。経路探索時には、すべての経路を探索するため、リレー702、703、704が直列に置かれている経路701が存在する。
通常のリレーは24Vで動作するようになっており、実際の回路ではこのような経路が構成されても、電圧不足により、いずれのリレーも動作しない。しかし、論理式では、経路が構成されればリレー(変数)の値を真(1)とするので、各リレー毎の経路の論理式を登録しておくと共に、陽極、陰極の電圧(図7の場合は直流24V)と、各経路上のリレーの数(リレー1個につき18V×リレー数)を考慮して、このような経路701を削除する。
When the entire route search by the standard method is completed, unnecessary route deletion (line pruning / error check) among all the searched routes is performed, and route classification based on the current direction is performed (step 205 in FIG. 2). ). Details will be described with reference to FIGS. FIG. 7 shows an example of a circuit that controls a plurality of relays with a single circuit. At the time of route search, there is a route 701 in which relays 702, 703, and 704 are placed in series in order to search all routes.
Ordinary relays operate at 24V, and even if such a path is configured in an actual circuit, none of the relays operate due to insufficient voltage. However, in the logical expression, the value of the relay (variable) is set to true (1) when the path is configured. Therefore, the logical expression of the path for each relay is registered, and the voltages of the anode and the cathode (see FIG. 7). In this case, the route 701 is deleted in consideration of DC 24V) and the number of relays on each route (18V per relay × the number of relays).

次に、図8は、構成不能な経路が含まれる回路の一例である。経路801には、リレーXの定位接点802と反位接点(803)が含まれており、この経路は構成されることはない。
論理式では[X]*〜[X]のようになり、これは恒等的に偽(0)であるので、論理式の演算結果に影響はない。しかしながら、論理式が不要に複雑になるため、同じリレーの定位接点と反位接点がともに含まれる経路は、構成不能な経路とし、探索結果から削除する。
次に、図9(a)は、冗長な経路が含まれる回路の一例であり、図9(b)はそれを論理式で表したものである。図9(a)の回路に対し、全経路探索を実施すると、経路901と経路902が登録される。しかし、これらの経路に対応する図9(b)に示す論理式表現では、903、904の論理和をとり、論理式の性質(1+[X]=1など)を考慮すると、最終的な論理式表現905は経路901の論理式表現と一致し、経路(902)は不要であることがわかる。このような冗長な経路は、リレー毎の可能な経路を比較し、ある経路上の、リレー要素を含む線分のすべてが、他の経路上の線分である場合、後者が冗長な経路であると判断する。冗長な経路は論理式演算結果に影響を与えないが、演算時間の短縮と、論理式の可読性を考慮して、経路から削除する。
Next, FIG. 8 is an example of a circuit including a non-configurable path. The path 801 includes a localization contact 802 and an inversion contact (803) of the relay X, and this path is never configured.
In the logical expression, [X] * to [X] are obtained, which are falsely (0), so that the calculation result of the logical expression is not affected. However, since the logical expression becomes unnecessarily complicated, a route including both the localization contact and the inversion contact of the same relay is regarded as an unconfigurable route and is deleted from the search result.
Next, FIG. 9A shows an example of a circuit including a redundant path, and FIG. 9B shows it by a logical expression. When a full route search is performed on the circuit of FIG. 9A, a route 901 and a route 902 are registered. However, in the logical expression shown in FIG. 9 (b) corresponding to these paths, the logical sum of 903 and 904 is taken, and the final characteristic is taken into consideration when the properties of the logical expression (1+ [X] = 1, etc.) are taken into account. It can be seen that the logical expression 905 matches the logical expression of the path 901, and the path (902) is unnecessary. Such redundant paths compare the possible paths for each relay, and if all of the line segments on one path that include relay elements are line segments on other paths, the latter is a redundant path. Judge that there is. The redundant path does not affect the logical expression calculation result, but is deleted from the path in consideration of shortening the calculation time and readability of the logical expression.

次に、図10(a)は、電流方向が意味をもつ回路の一例である。リレーには電流方向によって動作が異なるものがある。例えば磁気保持リレーは、電流が結線図上、左から右へ流れた場合と、右から左へと流れた場合で動作が異なる。結線図上では一つの回路で二つの電流方向を表現するが、論理式には方向の概念がない。そこで電流方向により動作が異なるリレーの場合、各方向に電流が流れた場合の動作を表す論理式をそれぞれ作成する。例えば、回路中の磁気保持リレーW1001に対して、電流が陽極1004から陰極1006へ流れる経路1002と、陽極1004から陰極1005へ流れる経路1003が存在する。磁気保持リレーは電流の方向により動作が異なるため、紙面左から右方向に電流が流れる経路1002と、逆に流れる経路1003を分類する必要がある。このような経路の分類をするために、リレーを含む線分Swの接続ノードNa、Nbと、リレーへの電流方向の関係を調べておく。図10(b)はこれをノード情報で表したもので、ノードNaが経路の陽極側にある場合、その経路はNa→Sw→Nbの順序のノード情報で表される(1007)。一方、ノードNbが経路の陽極側にある場合、その経路はNb→Sw→Naの順序のノード情報で表される(1008)。これにより、電流方向による経路の分類が可能となり、電流方向毎の論理式を作成できる。
このように、探索された全電流経路から電気的特性を考慮した経路の修正を行った後に論理式変換を行うものである。
Next, FIG. 10A is an example of a circuit in which the current direction has a meaning. Some relays operate differently depending on the current direction. For example, a magnetic holding relay operates differently when a current flows from left to right and from right to left on the connection diagram. On the connection diagram, two current directions are expressed by one circuit, but there is no concept of the direction in the logical expression. Therefore, in the case of a relay whose operation differs depending on the current direction, a logical expression representing the operation when current flows in each direction is created. For example, for the magnetic holding relay W1001 in the circuit, there are a path 1002 through which current flows from the anode 1004 to the cathode 1006 and a path 1003 through which current flows from the anode 1004 to the cathode 1005. Since the magnetic holding relay operates differently depending on the direction of the current, it is necessary to classify the path 1002 through which the current flows from the left to the right in the drawing and the path 1003 through which it flows in the opposite direction. In order to classify such routes, the relationship between the connection nodes Na and Nb of the line segment Sw including the relay and the current direction to the relay is examined. FIG. 10B represents this by node information. When the node Na is on the anode side of the path, the path is represented by node information in the order of Na → Sw → Nb (1007). On the other hand, when the node Nb is on the anode side of the route, the route is represented by node information in the order of Nb → Sw → Na (1008). This makes it possible to classify paths according to the current direction and create a logical expression for each current direction.
As described above, the logical expression is converted after correcting the paths in consideration of the electrical characteristics from all the searched current paths.

実施の形態2.
次に、探索された全電流経路から電気的特性を考慮した経路の修正を行なった後に論理式変換を行う他の方法を説明する。
人間が論理式を作成する場合には、次のようなルールに基づいて論理式を作成する。
・ 並列に挿入された接点を論理和にする。
・ 直列に挿入された接点を論理積にする。
・ 上記の操作を繰り返すことにより、論理式を作成する。
Embodiment 2. FIG.
Next, another method for performing logical expression conversion after correcting the paths in consideration of electrical characteristics from all the searched current paths will be described.
When a human creates a logical expression, the logical expression is created based on the following rules.
・ Logically OR the contacts inserted in parallel.
・ Logically connect the contacts inserted in series.
-Create a logical expression by repeating the above operations.

実施の形態2はこのように人間が回路を見ながら論理式を作成する方法を模擬したものである。図11は、ノード情報を用いて並列化と直列化を行う課程を表した一例である。ノードN1とノードN2の間には3つの線分、線分S1、線分S2、線分S3がある。これらの線分は並列であるので、各線分の論理式表現を論理和(OR)で結び、新たな1つの線分S123に割り当てる(1101)。これにより、線分S123の論理式表現は[A]*〜[B]+[C]*〜[D]+[E]*〜[F]となる。並列化の後、ノードN1とノードN3の間には2つの線分、線分S123と線分S4がある。これらの線分は直列であるので、各線分の論理式表現を論理積(AND)で結び、新たな1つの線分S1234に割り当てる(1102)。これにより、線分S1234の論理式表現は{[A]*〜[B]+[C]*〜[D]+[E]*〜[F]}*[G]のようになる。   The second embodiment simulates a method in which a human creates a logical expression while looking at a circuit. FIG. 11 is an example showing a process of performing parallelization and serialization using node information. Between the node N1 and the node N2, there are three line segments, a line segment S1, a line segment S2, and a line segment S3. Since these line segments are parallel, the logical expression representations of the line segments are connected by a logical sum (OR) and assigned to a new line segment S123 (1101). As a result, the logical expression of the line segment S123 becomes [A] * to [B] + [C] * to [D] + [E] * to [F]. After parallelization, there are two line segments, line segment S123 and line segment S4, between node N1 and node N3. Since these line segments are serial, the logical expression representation of each line segment is connected by logical product (AND) and assigned to one new line segment S1234 (1102). Thereby, the logical expression of the line segment S1234 becomes {[A] * to [B] + [C] * to [D] + [E] * to [F]} * [G].

このように、図11の例では、直列化と並列化を繰り返すことで、グラフは始点ノードと終点ノード、および、その間の1つの線分に簡約化される。この変換手法を、以後、簡約型手法(ステップ208)と呼ぶこととする。図12は上記簡約化手法の手順をまとめてフローチャート化して示したものである。図12において、まず、簡約回数カウンターNを0に設定する(ステップ1201)。 次に、並列化が可能かどうかを調べ(ステップ1202)、並列化可能なら並列化を実行し、簡約回数カウンターに1を加える(ステップ1203)。上記ステップ1202〜1203の操作を繰り返し、並列化ができなくなると、次に直列化が可能かどうかを調べ(ステップ1204)、可能であれば直列化を実行し、簡約回数カウンターに1を加える(ステップ1205)。 次に、直列化ができなくなると、線分が1つに簡約化されたかを調べ(ステップ1206)、線分がひとつであれば簡約化完了(ステップ1207)とする。
線分が複数残る場合には、簡約回数カウンターを調べ(ステップ1209)、N > 0であれば、再び並列化が可能になっている場合があるので、(ステップ1201)に戻る。
N = 0の場合には、簡約化できないと判断し、標準型論理式を用いる(ステップ1208)。
As described above, in the example of FIG. 11, by repeating serialization and parallelization, the graph is simplified to a start point node, an end point node, and one line segment therebetween. This conversion method is hereinafter referred to as a simplified method (step 208). FIG. 12 is a flowchart showing the procedure of the simplification method. In FIG. 12, first, the reduction number counter N is set to 0 (step 1201). Next, it is checked whether parallelization is possible (step 1202). If parallelization is possible, parallelization is executed and 1 is added to the reduction counter (step 1203). When the operations in steps 1202 to 1203 are repeated and parallelization becomes impossible, it is next checked whether serialization is possible (step 1204) .If possible, serialization is performed and 1 is added to the reduction counter ( Step 1205). Next, when serialization becomes impossible, it is checked whether or not the line segment has been reduced to one (step 1206). If there is only one line segment, the simplification is completed (step 1207).
When a plurality of line segments remain, the reduction counter is checked (step 1209). If N> 0, parallelization may be possible again, and the process returns to (step 1201).
If N = 0, it is determined that simplification cannot be performed, and a standard logical expression is used (step 1208).

さて、本発明の好ましい実施形態によれば、経路探索結果に対し、経路の刈り取りとエラーチェックを行なった後、各リレーを含む経路を選択し(図2のステップ206)、標準型手法(ステップ207)と簡約型手法(ステップ208)で論理式に変換する。標準型手法、簡約型手法により得られる論理式をそれぞれ、標準型論理式、簡約型論理式と表現する。
標準型論理式は、全経路探索結果に基づき、全経路の論理式表現の論理和をとることをいい、単純で論理的な手法で作成されるため、経路探索結果に反する論理式が作成されることはない。しかし、回路中のリレー接点が各経路毎に論理積で並ぶことになり、回路上では一つのリレー接点が論理式上では変数として複数箇所に現れるため、論理式が長くなって人間が判読しにくいものとなる。
Now, according to a preferred embodiment of the present invention, the route search result is subjected to pruning and error checking, then the route including each relay is selected (step 206 in FIG. 2), and the standard method (step 207) and a simplified method (step 208) to convert to a logical expression. The logical expressions obtained by the standard method and the simplified method are expressed as a standard logical expression and a simplified logical expression, respectively.
The standard logical expression is a logical sum of logical expression expressions of all routes based on the result of all route search. Since it is created by a simple and logical method, a logical equation contrary to the route search result is created. Never happen. However, the relay contacts in the circuit are arranged in a logical product for each path, and one relay contact appears on the circuit as a variable in multiple places on the circuit, so the logical expression becomes long and human-readable. It will be difficult.

一方、簡約型論理式は、全経路探索結果からノード情報の簡約化を行うという手法で作成されるため、経路探索結果どおりの論理式が作成されない可能性がある。しかし人間が回路を見ながら論理式を作成する手順を模擬しており、因数分解がなされた形をとるため、標準型論理式より式が短く、人間が判読しやすい。また、電子式連動装置が論理式をプログラムで実行する際、計算時間を短縮することができる。そこで、好ましい実施例では、標準型論理式と簡約型論理式を照合し、両者が論理的に等しいことを確かめた上で(ステップ209)、論理式として優れている簡約型論理式を出力するようになされる(ステップ210)。このようにすることによって論理式作成時の信頼性を確保することができる。   On the other hand, since the simplified logical formula is created by a method of simplifying node information from the entire route search result, there is a possibility that the logical formula according to the route search result is not created. However, humans simulate the procedure of creating logical expressions while looking at the circuit, and take the form of factorization. Therefore, the expressions are shorter than the standard logical expressions and are easy for humans to read. Further, when the electronic interlocking device executes a logical expression by a program, the calculation time can be shortened. Therefore, in the preferred embodiment, the standard logical expression and the simplified logical expression are collated, and after confirming that both are logically equal (step 209), an excellent simplified logical expression is output as the logical expression. (Step 210). By doing so, it is possible to ensure reliability when creating a logical expression.

図13に、2つの論理式照合フローチャートの一例を示す。まず指定された回路に対し、2つの変換手法で論理式を作成する(ステップ1301)。
次に、論理式の左辺を展開する(ステップ1302)。
次に、変数と項情報を登録する(ステップ1303)。この際、項の中に含まれる不要な変数を削除した上で登録を行なう。例えば、論理式の性質上、項[A]*[A]*[B]は[A]*[B]と等価であり、[A]*[B]として登録する。
FIG. 13 shows an example of two logical expression matching flowcharts. First, a logical expression is created for the specified circuit by two conversion methods (step 1301).
Next, the left side of the logical expression is expanded (step 1302).
Next, variables and term information are registered (step 1303). At this time, registration is performed after deleting unnecessary variables included in the term. For example, the term [A] * [A] * [B] is equivalent to [A] * [B] due to the properties of the logical expression, and is registered as [A] * [B].

次に、真にならない項と冗長な項の情報を削除する(ステップ1304)。真にならない項とは、[A]*〜[A]*[B]のように、同名の変数で、一方が他方の否定を含む場合である。冗長な項とは、ある項のすべての変数が別の項に含まれている場合の後者の項である。
例えば、2つの項[A]、[A]*[B]の論理和[A]+[A]*[B]は[A]*{1+[B]}のように因数分解でき、1+[B]は恒等的に真(1)であるので、[A]*[B]は冗長な項である。
そのような項の情報をすべて削除した後、残りの項を1つずつ比較する(ステップ1305)。すべての項が一致した場合、2つの論理式は論理的に等しいと判断する(ステップ1306)。反対に、項の数が異なる場合や、一致しない項が存在する場合、2つの論理式は論理的に等しくないと判断する(ステップ1307)。
Next, information on a term that is not true and a redundant term are deleted (step 1304). A term that does not become true is a variable with the same name, such as [A] * to [A] * [B], where one includes the negation of the other. A redundant term is the latter term when all the variables of one term are contained in another term.
For example, the logical sum [A] + [A] * [B] of two terms [A] and [A] * [B] can be factored as [A] * {1+ [B]} Since [B] is identically true (1), [A] * [B] is a redundant term.
After deleting all the information of such terms, the remaining terms are compared one by one (step 1305). If all terms match, it is determined that the two logical expressions are logically equal (step 1306). On the other hand, if the number of terms is different or there are terms that do not match, it is determined that the two logical expressions are not logically equal (step 1307).

2つの結果が一致すると、簡約型論理式を図1の表示部103や出力部104に出力し(図2のステップ210)、入力した結線図と比較する(ステップ212)。
2つの結果が一致しない場合、どちらかの変換手法に誤りがあると判断し、論理式を出力せず(ステップ211)、これにより結線図と合致しない論理式が作成されることを防ぐことができる。
When the two results match, the reduced logical expression is output to the display unit 103 and the output unit 104 in FIG. 1 (step 210 in FIG. 2) and compared with the input connection diagram (step 212).
If the two results do not match, it is determined that one of the conversion methods is incorrect, and the logical expression is not output (step 211), thereby preventing the generation of a logical expression that does not match the connection diagram. it can.

次に、このような過程を経て得られる論理式に対して、マウスやキーボードを用いて、ディスプレイ上に表示される結線図上のリレーなどの条件や状態を設定した後(ステップ213)、論理式演算(ステップ214)を行なう。結線図上の各リレーやリレー接点に対応する図形データのセル番号、リレーに対応する論理式、及び論理式の論理演算結果を互いに関連付けてメモリなどの計算機内の記憶装置に記憶させておく。これにより、論理式の論理演算を行ったときに、演算結果(1/0)に応じてその論理式に対応する結線図上のリレーのシンボルを、例えば、動作(1)なら青色、無動作(0)なら赤色などで表示することで、リレーの動作を確認することができる。   Next, for the logical expression obtained through this process, use the mouse or keyboard to set conditions and states such as relays on the connection diagram displayed on the display (step 213), Formula calculation (step 214) is performed. The cell number of the graphic data corresponding to each relay and relay contact on the connection diagram, the logical expression corresponding to the relay, and the logical operation result of the logical expression are associated with each other and stored in a storage device such as a memory. As a result, when the logical operation of the logical expression is performed, the relay symbol on the connection diagram corresponding to the logical expression according to the operation result (1/0), for example, blue for operation (1), no operation If it is (0), the operation of the relay can be confirmed by displaying it in red.

論理式演算を行う方法として、例えば、論理式の左辺を後置記法に変換する方法がある。後置記法は、変数を先に書き、その変数に対する演算子を後に書く記法であり、計算機で式の四則演算や論理演算を行うことを容易にするものである。例えば、論理式[X]+[Y]=[R]の左辺を後置記法に書き換えると、[X][Y]+となる。変数[X]の値が1、変数[Y]の値が0の場合、その値をメモリなどに記憶させておき、対応する演算子が現れた時に、順次2つの値を取り出して演算を実施し、再び結果をメモリに記憶させる。そのような操作を繰り返すことで、論理式の演算が行なわれる。   As a method of performing a logical expression operation, for example, there is a method of converting the left side of a logical expression into a postfix notation. The postfix notation is a notation in which a variable is written first and an operator for the variable is written later, and makes it easy to perform four arithmetic operations and logical operations of an expression on a computer. For example, when the left side of the logical expression [X] + [Y] = [R] is rewritten to the postfix notation, [X] [Y] + is obtained. If the value of variable [X] is 1 and the value of variable [Y] is 0, the value is stored in memory etc., and when the corresponding operator appears, the two values are sequentially extracted and the operation is performed. Then, the result is stored again in the memory. By repeating such an operation, a logical expression is calculated.

この場合、左辺の演算結果は1となり、右辺の変数[R]の値を1に更新する。変数[R]の値が1であるとは、結線図上では、リレーRが動作状態にあることを意味し、このときのリレーの動作状態を結線図上に表示することができる(ステップ215)。これにより、意図したとおりに回路が動作するかどうかを確認することができる。なお、計算機で式の四則演算や論理演算を行うことを容易にする他の手法として前置記法もあり、これを用いることができるのは言うまでもない。
以上の手順により、論理式から連動論理データを作成することができる(ステップ216)。
In this case, the calculation result on the left side is 1, and the value of the variable [R] on the right side is updated to 1. The value of the variable [R] being 1 means that the relay R is in an operating state on the connection diagram, and the operation state of the relay at this time can be displayed on the connection diagram (step 215). ). This makes it possible to check whether the circuit operates as intended. Note that it is needless to say that there is a prefix notation as another method for facilitating the arithmetic operation and logical operation of an expression by a computer.
Through the above procedure, linked logical data can be created from the logical expression (step 216).

本発明が前提とする連動論理データ作成方法の例を示し、図1(a)は処理装置の基本構成を示すブロック図であり、図1(b)はその作用を示すフローチャートである。FIG. 1A is a block diagram illustrating a basic configuration of a processing apparatus, and FIG. 1B is a flowchart illustrating the operation thereof. 本発明の実施の形態1による連動論理データ作成方法を示すフローチャート図である。It is a flowchart figure which shows the interlocking | linkage logical data creation method by Embodiment 1 of this invention. 図3(a)は図2で作成された結線図の一例、図3(b)は図形データの一例を示す図である。FIG. 3A shows an example of the connection diagram created in FIG. 2, and FIG. 3B shows an example of graphic data. 図3(b)の図形データから変換されるノード情報の一例を示す図である。It is a figure which shows an example of the node information converted from the graphic data of FIG.3 (b). 経路のノード情報による表現方法の例を示す図である。It is a figure which shows the example of the expression method by the node information of a path | route. 標準型手法によって論理式を作成する方法をフローチャートで示した図である。It is the figure which showed the method of producing a logical expression with a standard method with the flowchart. 1つの回路で複数のリレーを制御する回路の刈り取りを示す図である。It is a figure which shows the cutting of the circuit which controls a some relay with one circuit. 構成不能な経路が含まれる回路の刈り取りを示す図であるFIG. 6 is a diagram illustrating pruning a circuit including a non-configurable path 図9(a)は冗長な経路が含まれる回路例、図9(b)はこれを論理式変換する例を示す図である。FIG. 9A shows an example of a circuit including a redundant path, and FIG. 9B shows an example of logical expression conversion. 図10(a)は電流方向により動作が異なるリレーを持つ回路の例を示す図、図10(b)はそれをノード情報で表した例を示す図である。FIG. 10A is a diagram showing an example of a circuit having a relay whose operation differs depending on the current direction, and FIG. 本発明の実施の形態2による簡約型手法によるノード情報の処理方法を示す図である。It is a figure which shows the processing method of the node information by the reduction method by Embodiment 2 of this invention. 簡約化手法によって論理式を作成する方法をフローチャートで示した図である。It is the figure which showed the method of producing a logical expression by the simplification method with the flowchart. 標準型手法および簡約型手法の2つの論理式を照合するフローチャートを示す図である。It is a figure which shows the flowchart which collates two logical expressions of a standard method and a reduction method.

符号の説明Explanation of symbols

101 入力部
102 計算機
103 表示部
104 出力部
105 結線図
401 線分
402,501 ノード
B24 陽極端
C24 陰極端
101 input unit 102 computer
103 Display unit 104 Output unit 105 Connection diagram 401 Line segment 402,501 Node B24 Anode end C24 Cathode end

Claims (9)

リレー回路群からなる鉄道信号用連動装置の結線図を計算機に入力する段階と、
この計算機への入力により得られた図形データを、分岐点と陽極端あるいは陰極端とをまとめて示すノードと上記ノードで挟まれた線分とで表したノード情報に変換する段階と、
このノード情報をもとに、陽極から陰極へ至る全ての電流経路を探索する段階と、
これにより得られた全電流経路から電気的特性を考慮した経路の修正を行った後に論理式変換を行う段階とからなることを特徴とする連動装置の連動論理データ作成方法。
Inputting a wiring diagram of a railway signal interlocking device comprising a relay circuit group to a computer;
Converting the graphic data obtained by the input to the computer into node information represented by a node indicating a branch point and an anode end or a cathode end together and a line segment sandwiched between the nodes;
Based on this node information, searching for all current paths from the anode to the cathode;
An interlocking logic data generation method for an interlocking device, comprising: a step of performing logical expression conversion after correcting a path in consideration of electrical characteristics from all current paths obtained in this way.
1つの回路内に複数のリレーが存在する回路にあっては、リレー毎に論理式変換を行う
ようにしたことを特徴とする請求項1記載の連動装置の連動論理データ作成方法。
2. The interlocking logic data creation method for an interlocking device according to claim 1, wherein in a circuit having a plurality of relays in one circuit, logical expression conversion is performed for each relay.
電流方向により動作の異なるリレーを含む回路にあっては、対象リレーに関して電流方
向毎に論理式変換を行うようにしたことを特徴とする請求項1記載の連動装置の連動論理データ作成方法。
2. The interlocking logic data creation method for an interlocking device according to claim 1, wherein in the circuit including relays that operate differently depending on the current direction, logical expression conversion is performed for each current direction with respect to the target relay.
探索された全電流経路のうち構成不能又は冗長論理を含む回路にあっては、これらの経
路を削除した後に論理式変換を行うようにしたことを特徴とする請求項1記載の連動装置の連動論理データ作成方法。
2. The interlock of the interlocking device according to claim 1, wherein in the circuit including unconfigurable or redundant logic among all searched current paths, logical expression conversion is performed after these paths are deleted. Logical data creation method.
全経路探索結果に基づいて、全経路の論理式表現の論理和をとることにより論理式変換
を行うことを特徴とする請求項1記載の連動装置の連動論理データ作成方法。
2. The interlocking logical data creation method of the interlocking device according to claim 1, wherein logical expression conversion is performed by taking a logical sum of logical expression expressions of all paths based on a result of searching all paths.
全経路探索結果に基づいて、ノード間回路の並列化と直列化を適宜実施し、一つの線分
に簡約化されるまで繰り返すことにより論理式変換を行うことを特徴とする請求項1記載の連動装置の連動論理データ作成方法。
The logical expression conversion is performed by performing parallelization and serialization of the inter-node circuit based on the result of the entire path search, and repeating the process until it is reduced to one line segment. How to create interlocking logical data for interlocking devices.
全経路探索結果に基づいて、全経路の論理式表現の論理和をとることによる論理式変換
結果と、ノード間回路の並列化と直列化を適宜実施し、一つの線分に簡約化されるまで繰り返すことによる論理式変換結果とを照合する段階を備えたことを特徴とする請求項1記載の連動装置の連動論理データ作成方法。
Based on the result of all-path search, logical expression conversion result by logical sum of logical expressions of all paths and parallelization and serialization of inter-node circuits are performed as appropriate, and simplified to one line segment. The interlocking logic data creation method of the interlocking device according to claim 1, further comprising a step of collating the logical expression conversion result obtained by repeating the process up to.
上記両論理式変換結果の照合の結果、両者が論理的に等しい場合は簡約型論理式を採用
することを特徴とする請求項7記載の連動装置の連動論理データ作成方法。
8. The interlocking logic data creation method for an interlocking device according to claim 7, wherein when the two logical expression conversion results are collated, if both are logically equal, a simplified logical expression is employed.
条件設定を行ない、論理式演算を行うことで、リレー状態を表示部の結線図上に表示するようにしたことを特徴とする請求項5〜請求項8のいずれか1項に記載の連動装置の連動論理データ作成方法。 The interlock device according to any one of claims 5 to 8, wherein the relay state is displayed on the connection diagram of the display unit by performing condition setting and performing a logical expression operation. How to create linked logical data.
JP2003277743A 2003-07-22 2003-07-22 How to create linked logical data Expired - Fee Related JP4143495B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003277743A JP4143495B2 (en) 2003-07-22 2003-07-22 How to create linked logical data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003277743A JP4143495B2 (en) 2003-07-22 2003-07-22 How to create linked logical data

Publications (2)

Publication Number Publication Date
JP2005041341A true JP2005041341A (en) 2005-02-17
JP4143495B2 JP4143495B2 (en) 2008-09-03

Family

ID=34264377

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003277743A Expired - Fee Related JP4143495B2 (en) 2003-07-22 2003-07-22 How to create linked logical data

Country Status (1)

Country Link
JP (1) JP4143495B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012061998A (en) * 2010-09-17 2012-03-29 Meielec:Kk Simulator for railway signal cad system, computer program therefor, computer-readable recording medium in which program is recorded and method of simulating railway signal cad system
CN113268455A (en) * 2021-04-26 2021-08-17 卡斯柯信号(成都)有限公司 Boolean logic-based automatic configuration method and system for interlocking data

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012061998A (en) * 2010-09-17 2012-03-29 Meielec:Kk Simulator for railway signal cad system, computer program therefor, computer-readable recording medium in which program is recorded and method of simulating railway signal cad system
CN113268455A (en) * 2021-04-26 2021-08-17 卡斯柯信号(成都)有限公司 Boolean logic-based automatic configuration method and system for interlocking data
CN113268455B (en) * 2021-04-26 2022-07-26 卡斯柯信号(成都)有限公司 Boolean logic-based automatic configuration method and system for interlocking data

Also Published As

Publication number Publication date
JP4143495B2 (en) 2008-09-03

Similar Documents

Publication Publication Date Title
EP2876519B1 (en) Safety analysis of a complex system using component-oriented fault trees
Robidoux et al. Automated modeling of dynamic reliability block diagrams using colored Petri nets
JP5516736B2 (en) Software maintenance support device and electronic control device verified thereby
EP1490253A1 (en) Method and device of generating logic control units for railroad station-based vital computer apparatuses
Hartonas-Garmhausen et al. ProbVerus: Probabilistic symbolic model checking
Manesis et al. Automated synthesis of ladder automation circuits based on state-diagrams
WO2011102397A1 (en) Wire harness connectivity inspection method and wire harness connectivity inspection program
JP4143495B2 (en) How to create linked logical data
Astanaliev Important principles of innovative reforms in the process of electronic document management in railway automation and telemechanics
US20120116727A1 (en) System and method for generating three dimensional functional space reservation systems of a vehicle using delta storage
CN112542892B (en) Substation regulation and control integrated control method and control device
JP5740882B2 (en) Layout data error determination method, layout data error determination device, layout data creation device, and layout data error determination program
JP3301503B2 (en) Electronic interlocking device
Brito et al. From requirements to code (Re2Code)—A model-based approach for controller implementation
JP2009110405A (en) Document data processor
Xiangxian et al. Automatic generation of relay logic for interlocking system based on statecharts
JP5123337B2 (en) Verification data generation device, verification data generation program, and verification data generation method
JP2023008070A (en) Drawing information extraction system and elementary wiring diagram/software logic diagram linkage simulation system
Raaphorst et al. Automated fault-tree generation for operational fault diagnosis
WO2017104571A1 (en) Information processing device, information processing method, and recording medium
EP4328683A1 (en) Method and system for generating user recommendations to aid generation of an engineering project
US20170287349A1 (en) Method and system for updating a simulation plan for training personnel on system maintenance
Jiang et al. A supervisory control strategy for the detection and restoration of power transmission failures during peak periods using Petri nets
US20220320898A1 (en) Device and method for controlling an interface for a power utility
JP2020091782A (en) Isolation management device, method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051110

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080304

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080429

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: 20080603

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080616

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110620

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110620

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120620

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130620

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees