JP2016052150A - Transmission control system and transmission control device for use in teh same - Google Patents
Transmission control system and transmission control device for use in teh same Download PDFInfo
- Publication number
- JP2016052150A JP2016052150A JP2014174513A JP2014174513A JP2016052150A JP 2016052150 A JP2016052150 A JP 2016052150A JP 2014174513 A JP2014174513 A JP 2014174513A JP 2014174513 A JP2014174513 A JP 2014174513A JP 2016052150 A JP2016052150 A JP 2016052150A
- Authority
- JP
- Japan
- Prior art keywords
- transmission control
- control device
- vehicle
- master
- state
- 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
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 530
- 238000004891 communication Methods 0.000 claims abstract description 182
- 230000004044 response Effects 0.000 claims description 34
- 230000008520 organization Effects 0.000 abstract description 23
- 230000007704 transition Effects 0.000 description 45
- 230000015572 biosynthetic process Effects 0.000 description 20
- 238000005755 formation reaction Methods 0.000 description 20
- 238000012545 processing Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 238000012790 confirmation Methods 0.000 description 6
- 238000000034 method Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 238000007562 laser obscuration time method Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T90/00—Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02T90/10—Technologies relating to charging of electric vehicles
- Y02T90/16—Information or communication technologies improving the operation of electric vehicles
Abstract
Description
本発明は伝送制御システム及びこれに使われる伝送制御装置に関する。 The present invention relates to a transmission control system and a transmission control apparatus used therefor.
一群の車両からななる車両編成を構成する各車両を適切に運転するには、各車両に搭載される機器の情報を集め、制御する必要がある。そのために、各機器には個別の識別情報が設定され、この識別情報を用いて各機器をネットワーク化する。また各車両の機器を適切に制御するには、その機器が車両編成の何番目の車両に搭載されているかを意味する車号番号を知る必要がある。 In order to appropriately drive each vehicle constituting a vehicle organization composed of a group of vehicles, it is necessary to collect and control information on devices mounted on each vehicle. For this purpose, individual identification information is set for each device, and each device is networked using this identification information. In addition, in order to properly control the equipment of each vehicle, it is necessary to know the vehicle number that means the numbered vehicle in which the equipment is mounted.
車両編成を構成する車両に搭載された機器をネットワーク化するためにはネットワークに接続される各機器の識別情報や、ネットワークを制御するマスターとなる装置を設定するために車両に搭載された機器を識別するスイッチ等を設定する必要がある。 In order to network the equipment mounted on the vehicles that make up the vehicle organization, the identification information of each device connected to the network and the equipment mounted on the vehicle to set the master device that controls the network It is necessary to set a switch to be identified.
ネットワークの構成としてバス型のスタブ接続のネットワークを用いた場合は信号線に端末は並列に接続されていて前後の接続の順序関係が見えないのでネットワークの信号線と別に、隣の車両を判別するための隣接確認線が必要であった。この隣接確認線を使用して例えば端部の車両に配置されたマスターとなる装置から隣接車両へ指令し、その車両に配置された装置だけがマスターである装置からのブロードキャストパケットに応答することで車号番号を順番に認識して各機器の識別情報を設定していた。 When a bus-type stub connection network is used as the network configuration, the terminal is connected in parallel to the signal line, and the order relationship of the front and rear connections cannot be seen, so the adjacent vehicle is distinguished from the network signal line. Neighboring confirmation lines were necessary. By using this adjacency confirmation line, for example, a command is sent from the master device arranged in the end vehicle to the adjacent vehicle, and only the device arranged in that vehicle responds to the broadcast packet from the master device. The identification number of each device was set by recognizing the car number in order.
この隣接確認線を使わずに、信号線のみでネットワークを構成する場合は、各車両にルータを搭載して車両ごとに個別のネットワークを構成させ、ルータをカスケード接続(縦続接続)する方法もある。こうすることで、 端末は隣接車両の情報を収集できる。そしてその情報を編成内の全てのルータに送信することで各端末は編成全体の構成を設定できる。ただし、ルータの処理時間が掛かるので伝送速度を速めるには高速のルータが必要になりコストの増大につながる。 When configuring a network with only signal lines without using this adjacency confirmation line, there is a method in which a router is installed in each vehicle to form an individual network for each vehicle, and the routers are connected in cascade (cascade connection). . In this way, the terminal can collect information on neighboring vehicles. By transmitting the information to all routers in the composition, each terminal can set the composition of the entire composition. However, since the processing time of the router is required, a high-speed router is required to increase the transmission speed, leading to an increase in cost.
車両に搭載される機器のネットワーク化を行うには各機器を識別する識別情報の設定が必要になる。隣接確認線やルータを使わないで車両編成のネットワークに必要な識別情報としてのIP(Internet Protocol)アドレスの設定を自動で行うことが行われている(特許文献1及び2を参照)。特許文献1では、隣接車両との交信を中継装置が行い、自装置の並び順やデータの方向性を表すのにIPアドレスを使い、ソフトウェアによる処理を行っている。
In order to network the devices mounted on the vehicle, it is necessary to set identification information for identifying each device. An IP (Internet Protocol) address is automatically set as identification information necessary for a vehicle organization network without using an adjacent confirmation line or a router (see
また、特許文献2では、IPアドレスの割り付けにDHCPサーバを用意して動的なアドレス管理をソフトウェア処理で行っている。一般に処理をソフトウェアで行うと処理時間が掛かる。このソフトウェア処理に伴う処理速度の遅れを改善するためにL2スイッチを用いる例が特許文献3に開示されている(特許文献3を参照)。
In
従来行われていた手動での各機器の識別情報の設定には誤設定の問題があった。また誤設定を避けるための自動設定の処理をソフトウェアにて行う場合は処理時間が掛かり、車両の制御を行う上での障害となっている。 There has been a problem of erroneous setting in manual setting of identification information for each device that has been performed conventionally. In addition, when automatic setting processing for avoiding erroneous setting is performed by software, processing time is required, which is an obstacle to vehicle control.
誤設定をさけるために自動での車両編成情報の設定をなるべく自動で行うことが求められている。また、車両編成のネットワークを制御に使うために短時間での車両編成情報の設定が望まれている。そこで、発明者らは車両編成に必要な車両情報の自動設定をなるべく短時間で行い、機器制御の時間遅れを避けることを目的として車両編成情報の自動設定を行う伝送制御システム及びこれに使われる伝送制御装置の開発を行った。その結果、本願の伝送制御システム及びこれに使われる伝送制御装置の発明を完成するに至ったものである。 In order to avoid erroneous settings, it is required to automatically set the vehicle organization information as much as possible. In addition, in order to use the vehicle organization network for control, it is desired to set the vehicle organization information in a short time. In view of this, the inventors have performed a transmission control system for automatically setting vehicle information necessary for vehicle composition in as short a time as possible and for automatically setting the vehicle information for the purpose of avoiding a time delay in device control, and the transmission control system used for this. A transmission control device was developed. As a result, the invention of the transmission control system of the present application and the transmission control device used therein has been completed.
本発明は、自動での車両編成情報の設定をなるべく短時間で行う伝送制御システム及びこれに使われる伝送制御装置の提供を目的とする。 It is an object of the present invention to provide a transmission control system that automatically sets vehicle composition information in as short a time as possible and a transmission control device used therefor.
上記課題を解決するためになされた請求項1に記載された発明は、少なくとも2つの交信部を有する伝送制御装置と、複数の車両にそれぞれ1以上設置される前記伝送制御装置がそれぞれの前記交信部を介して縦続接続され、前記伝送制御装置及びそれが置かれる車両の並び順を識別する識別情報が前記複数の伝送制御装置のそれぞれに順次に設定される伝送制御システムであって、前記複数の伝送制御装置のうち、他の前記伝送制御装置との接続状態及び所定の条件にしたがってマスターとなる伝送制御装置を決定し、前記マスターとなる伝送制御装置以外の前記伝送制御装置は、前記交信部の送信機能を停止させ、前記マスターとなる伝送制御装置は、自身に隣接する前記伝送制御装置から順次前記識別情報を設定させ、前記識別情報が設定された伝送制御装置は、前記交信部の送信機能を回復させる、ことを特徴とする伝送制御システムである。
The invention described in
複数の伝送制御装置が縦続接続されている伝送制御システムにおいて、それら複数の伝送制御装置の中から、他の伝送制御装置との接続状態から車両編成の一番端にあるかを識別でき、更に加えて所定の条件にしたがってマスターとなる伝送制御装置を決定する。次に、マスターとなった伝送制御装置以外の伝送制御装置の交信部の送信機能を停止させる。これで伝送制御システムに伝送される情報が中継されなくなる。そして、マスターとなった伝送制御装置が、隣接する伝送制御装置から順次識別情報を設定させて、識別情報が設定された伝送制御装置は交信部の送信機能を回復させる。したがって、マスターとなった伝送制御装置からは宛先を指定しなくても順次マスター以外の伝送制御装置に識別情報を設定させることができる。 In a transmission control system in which a plurality of transmission control devices are connected in cascade, from among the plurality of transmission control devices, it can be identified from the connection state with other transmission control devices whether it is at the end of the vehicle formation, In addition, the master transmission control device is determined according to predetermined conditions. Next, the transmission function of the communication unit of the transmission control device other than the master transmission control device is stopped. This prevents information transmitted to the transmission control system from being relayed. Then, the transmission control device that becomes the master sequentially sets identification information from adjacent transmission control devices, and the transmission control device to which the identification information is set restores the transmission function of the communication unit. Therefore, it is possible to sequentially set identification information in transmission control apparatuses other than the master without specifying a destination from the master transmission control apparatus.
請求項2に記載された発明は、請求項1に記載の発明において、前記所定の条件として、前記車両内の両端のうちいずれに置かれたかを示す端部符号及び前記車両の固有の番号である車両番号のうちいずれか一方に基づいて前記マスターとなる伝送制御装置が決定されることを特徴とするものである。 According to a second aspect of the present invention, in the first aspect of the present invention, as the predetermined condition, an end code indicating which of the two ends in the vehicle is placed and a unique number of the vehicle. The transmission control device serving as the master is determined based on one of certain vehicle numbers.
マスターとなる伝送制御装置を、車両内の両端のうちいずれに置かれたかを示す端部符号、および、車両の固有の番号である車両番号といった属性に基づいて決定する。例えば他の伝送制御装置との接続の有無や、1位、2位といった端部符号のいずれであるか、あるいは車両番号の大小の比較などで決定することができるようになる。 The transmission control device to be a master is determined based on attributes such as an end part code indicating which of the both ends of the vehicle is placed and a vehicle number that is a unique number of the vehicle. For example, it can be determined by the presence / absence of connection with another transmission control device, the end code such as 1st or 2nd, or the comparison of vehicle numbers.
請求項3に記載された発明は、請求項1または2に記載された発明において、前記識別情報が設定された伝送制御装置は、前記交信部の送信機能を回復させた後は、前記マスターとなる伝送制御装置から送信された前記識別情報を設定するための情報を中継して、隣接する前記伝送制御装置へ伝送することを特徴とするものである。
The invention described in
送信機能が回復した交信部は、他の伝送制御装置の識別情報の設定のためにマスターとなった伝送制御装置から送信される情報等を中継する。 The communication unit that has recovered the transmission function relays information transmitted from the transmission control apparatus that becomes the master for setting the identification information of other transmission control apparatuses.
請求項4に記載された発明は、それぞれ異なる他の伝送制御装置と信号の送受信を行う第1の交信部及び第2の交信部を備え、固有の車両番号を有して、前記車両番号に基づいて自身及び自身が置かれる車両の並び順を識別する識別情報が設定される車両に設置される伝送制御装置であって、自身が置かれる前記車両の前記車両番号及び当該車両内の両端のうちいずれに置かれたかを示す端部符号のうち少なくともいずれか一方と、他の伝送制御装置が置かれる前記車両の前記車両番号及び当該車両内の両端のうちいずれに置かれたかを示す端部符号のうち少なくともいずれか一方と、に基づいて自身をマスターとするか否かを判定する判定部と、前記判定部の判定結果が前記マスターとなった場合は、自身の前記識別情報を設定した後に、前記他の伝送制御装置に対して前記識別情報の設定要求情報を送信し、前記マスターと判定されない場合は、前記第1及び第2の交信部の送信機能を停止させ、前記識別情報の設定要求情報を受信して、当該識別情報の設定要求情報に基づいて自身の前記識別情報を設定した後に、前記第1及び第2の交信部の送信機能を回復させる通信制御部と、を有することを特徴とする伝送制御装置である。
The invention described in
本発明は、自身以外の他の伝送制御装置の交信部と信号の送受信を行う第1及び第2の交信部を備え固有の車両番号を有する車両に設置される伝送制御装置である。この伝送制御装置は、判定部が、自身が置かれる車両番号及び当該車両内の両端のうちいずれに置かれたかを示す端部符号と、他の伝送制御装置の車両番号及び交信部が置かれる車両の位置を示す端部符号と、に基づいて自身をマスターとするか否かを判定する。そして、通信制御部が、判定部の判定結果がマスターとなった場合は、自身の識別情報を設定した後に、他の伝送制御装置に対して識別情報の設定要求情報を送信し、マスターと判定されない場合は、第1及び第2の交信部の送信機能を停止させ、識別情報の設定要求情報を受信して、当該識別情報の設定要求情報に基づいて自身の識別情報を設定した後に、第1及び第2の交信部の送信機能を回復させる。 The present invention is a transmission control device installed in a vehicle having a unique vehicle number, including first and second communication units that transmit and receive signals to and from a communication unit of another transmission control device other than itself. In this transmission control device, the determination unit is provided with a vehicle number in which the determination unit is placed and an end code indicating where the determination unit is placed at both ends in the vehicle, and a vehicle number and a communication unit of another transmission control device. Based on the end code indicating the position of the vehicle, it is determined whether or not to make itself a master. Then, when the determination result of the determination unit becomes the master, the communication control unit sets its own identification information, then transmits identification information setting request information to another transmission control device, and determines that it is the master. If not, the transmission function of the first and second communication units is stopped, the identification information setting request information is received, and the identification information is set based on the identification information setting request information. The transmission function of the first and second communication units is restored.
請求項5に記載された発明は、請求項4に記載された発明において、前記判定部は、前記第1の交信部及び前記第2の交信部のうち、他の伝送制御装置との接続が検出されない交信部が無い場合に前記マスターとしない旨の判定を行うことを特徴とするものである。
The invention described in
判定部は、2つの交信部のうち、他の伝送制御装置との接続が検出されない交信部が無い場合は、自身が車両の端部に無いと判断できる。したがって、この場合にマスターとしない旨の判定を行うことで、端部に置かれていない伝送制御装置をマスターの候補から外すことができる。 The determination unit can determine that it is not at the end of the vehicle when there is no communication unit in which connection with another transmission control device is not detected among the two communication units. Therefore, in this case, it is possible to remove a transmission control apparatus that is not placed at the end from the master candidates by determining that the master is not used.
請求項6に記載された発明は、請求項5に記載された発明において、前記通信制御部は、前記他の伝送制御装置との接続が検出されない前記交信部が有る場合に、他の伝送制御装置との接続が検出されない前記交信部が有る旨と、自身の前記車両番号並びに該交信部が検出された側の端部を示す前記端部符号と、を含む端点通知情報を他の伝送制御装置に送信することを特徴とするものである。
In the invention described in
車両編成の端部であることを他の伝送制御装置に通知するために、通信制御部は、他の伝送制御装置との接続が検出されない交信部が有る場合に、他の伝送制御装置との接続が検出されない交信部が有る旨と、自身の車両番号並びに該交信部が検出された側の端部を示す端部符号と、を含む端点通知情報を送信する。 In order to notify the other transmission control device that it is the end of the vehicle organization, the communication control unit communicates with another transmission control device when there is a communication unit that is not detected to be connected to the other transmission control device. End point notification information including that there is a communication unit in which connection is not detected and its own vehicle number and an end code indicating the end on which the communication unit is detected is transmitted.
請求項7に記載された発明は、請求項4乃至6のうちいずれか一項に記載された発明において、通信制御部は、前記マスターと判定された場合は、自身の前記識別情報を設定した後に、識別情報設定開始情報を送信後、前記他の伝送制御装置に対して前記識別情報の設定要求情報を送信し、前記マスターと判定されない場合は、前記識別情報設定開始情報を受信した際に前記第1及び第2の交信部の送信機能を停止させることを特徴とするものである。
The invention described in
マスターと判定された場合は、自身が他の伝送制御装置の識別情報設定動作を主導して行い、マスターと判定されない場合は、交信部の送信機能を停止させ、各種情報の中継を遮断してマスターからの識別情報設定開始情報の受信を待つ。 If it is determined to be the master, it will lead the identification information setting operation of the other transmission control device, and if it is not determined to be the master, it will stop the transmission function of the communication unit and block the relay of various information Wait for reception of identification information setting start information from the master.
請求項8に記載された発明は、請求項4乃至7のいずれか一項に記載された発明において、前記通信制御部は、前記マスターと判定されない場合に、前記第1及び第2の交信部の送信機能を回復させた後に、前記識別情報設定の完了を示す応答情報を前記マスターに送信することを特徴とするものである。
The invention described in
マスターと判定されない場合は、交信部の送信機能を回復されて識別情報の設定の完了をマスターに通知する。 When it is not determined as the master, the transmission function of the communication unit is restored and the master is notified of the completion of the setting of the identification information.
請求項9に記載された発明は、請求項8に記載された発明において、前記通信制御部は、前記マスターと判定されず、かつ、前記第1の交信部及び前記第2の交信部のうち、他の伝送制御装置との接続が検出されない交信部が有る場合は、前記応答情報を全ての前記伝送制御装置の前記識別情報の設定が完了したことを示す最終応答情報として前記マスターに送信することを特徴とするものである。
The invention described in
マスターと判定されず、かつ、第1の交信部及び第2の交信部のうち、他の伝送制御装置との接続が検出されない交信部が有る場合は、自身を最後に識別情報が設定される伝送制御装置と判断して、識別情報の設定が完了したことを示す最終応答情報としてマスターに送信する。 If there is a communication unit that is not determined to be a master and does not detect a connection with another transmission control device among the first communication unit and the second communication unit, the identification information is set last. It is determined as a transmission control device, and is transmitted to the master as final response information indicating that the setting of identification information has been completed.
請求項10に記載の発明は、請求項4乃至9のいずれか一項に記載の発明において、前記第1の交信部と第2の交信部とを接続して情報を伝送するバイパス手段を備えることを特徴とするものである。 A tenth aspect of the invention is the invention according to any one of the fourth to ninth aspects, further comprising bypass means for connecting the first communication unit and the second communication unit to transmit information. It is characterized by this.
伝送制御装置が動作不能の場合に、第1の交信部と第2の交信部とが直結されて情報の伝送が可能になる。バイパス手段はリレーなどの機械的なものが好ましい。 When the transmission control device is inoperable, the first communication unit and the second communication unit are directly connected to transmit information. The bypass means is preferably a mechanical device such as a relay.
請求項1に記載された発明によれば、少なくとも、他の伝送制御装置との接続状態から車両編成の端部にある伝送制御装置をマスターとし、マスターとなる伝送制御装置が他の伝送制御装置の識別情報の設定の制御を主導することができる。また、マスターとなる伝送制御装置以外の交信部の送信機能を停止させて、識別情報設定後に送信機能を回復させることで、識別情報の設定をする伝送制御装置を明示しなくても、マスターとなる伝送制御装置に近い伝送制御装置から順に識別情報を設定することができる。したがって、各伝送制御装置の識別情報の設定作業の効率化を図ることができる。また、隣接確認線が不要になり艤装線が減るので軽量化を図れる。 According to the first aspect of the present invention, at least the transmission control device at the end of the vehicle formation is connected to another transmission control device as a master, and the master transmission control device is another transmission control device. It can lead the control of the setting of identification information. In addition, by stopping the transmission function of the communication unit other than the master transmission control device and restoring the transmission function after setting the identification information, the master and the transmission control device for setting the identification information are not clearly indicated. The identification information can be set in order from the transmission control device closest to the transmission control device. Therefore, it is possible to improve the efficiency of setting identification information for each transmission control device. In addition, the adjoining confirmation line is not required and the number of outfitting lines is reduced, so that the weight can be reduced.
請求項2に記載された発明によれば、車両内の両端のうちいずれに置かれたかを示す端部符号から、端部のうちいずれ側に置かれているかを判定できる。また、車両番号を比較することで、二つの端部に置かれた伝送制御装置のいずれか一方をマスターとして選択することができる。即ち、車両編成の端部に置かれる二つの伝送制御装置の何れかがマスターとなる伝送制御装置であるかを明確に決めることができる。 According to the second aspect of the present invention, it is possible to determine which side of the end portion is located from the end portion code indicating which of the both ends of the vehicle is placed. Further, by comparing the vehicle numbers, one of the transmission control devices placed at the two ends can be selected as a master. That is, it is possible to clearly determine which of the two transmission control devices placed at the end of the vehicle formation is the master transmission control device.
請求項3に記載された発明によれば、識別情報の設定が完了した伝送制御装置から順に中継機能が回復し、識別情報が設定されていない伝送制御装置にマスターとなった伝送制御装置から送信される識別情報設定にかかる情報を伝送することができる。したがって、車両編成内の全ての伝送制御装置での設定作業が漏れなく行われる。 According to the third aspect of the present invention, the relay function is restored in order from the transmission control device for which the identification information has been set, and the transmission control device to which no identification information is set is transmitted from the master transmission control device. The information concerning the identification information setting to be transmitted can be transmitted. Therefore, the setting work in all the transmission control devices in the vehicle organization is performed without omission.
請求項4に記載された発明によれば、判定部によって、自身をマスターとするか否かを判定できる。また、通信制御部によって、マスターの場合は他の伝送制御装置の識別情報の設定の制御を主導することができ、マスター以外の場合は、自身の識別情報の設定までは交信部の送信機能を停止させることで、自身以外に誤って識別情報が設定されることを防止できる。つまり、識別情報の設定をする伝送制御装置を明示しなくても、マスターに近い伝送制御装置から順に識別情報が設定することができる。したがって、マスターとなる伝送制御装置が必ず決まり、マスター伝送制御装置とそれ以外の伝送制御装置の間の無駄な情報のやり取りが減少して各伝送制御装置での設定作業の効率化を図れる。
According to the invention described in
請求項5に記載された発明によれば、自身が車両の端部に無いと判断でき、自身をマスターの候補から除外することができる。 According to the fifth aspect of the present invention, it can be determined that the vehicle is not at the end of the vehicle, and the device can be excluded from the master candidates.
請求項6に記載された発明によれば、車両編成の両端にある伝送制御装置が、それぞれの情報を端点通知情報として互いに通知することができる。したがって、端部をマスターとする場合に、二つの端部のうちどちらをマスターとするかを容易に判定可能とできる。
According to the invention described in
請求項7に記載された発明によれば、識別情報設定開始情報によって、第1及び第2の交信部の送信機能の停止タイミングを特定することができる。 According to the seventh aspect of the invention, the stop timing of the transmission function of the first and second communication units can be specified by the identification information setting start information.
請求項8に記載された発明によれば、識別情報設定の完了を示す応答情報によって、マスターとなる伝送制御装置は識別情報の設定が完了したことを知ることができる。したがって、マスターとなる伝送制御装置は、次の伝送制御装置の識別情報の設定動作を行うことができる。 According to the eighth aspect of the invention, the response control information indicating completion of identification information setting allows the master transmission control apparatus to know that identification information setting has been completed. Therefore, the master transmission control device can perform the setting operation of the identification information of the next transmission control device.
請求項9に記載された発明によれば、マスターとなる伝送制御装置は、全ての伝送制御装置の識別情報の設定が完了したことを知ることができる。したがって、以降、通常の動作を行うことができる。
According to the invention described in
請求項10に記載された発明によれば、伝送制御装置が正常な動作をできない場合に第1及び第2の交信部を接続するバイパス手段を備えるので伝送制御装置の故障による伝送制御システムのダウンを避けることができる。
According to the invention described in
(第1実施形態)
以下、本発明の第1の実施形態として鉄道車両に適用した場合の発明の内容を図1乃至図9を参照して詳細に説明する。図1は、本願発明の第1の実施形態にかかる伝送制御装置1の構成図である。主にスイッチングハブ(Hub)2とルータ3で構成される。スイッチングハブ2は外部との交信を行う交信部として少なくともH1,H2,H3のポートを備える。交信部H1は車両に搭載される各種機器へ接続されるルータ3へ繋がる。交信部H2は幹線ポートA、交信部H3は幹線ポートBとなり、送信・受信動作の停止、回復の制御が可能である。即ち、幹線ポートA及びBは第1の交信部及び第2の交信部として機能する。幹線ポートA及びBの間はバイパス手段であるリレー(バイパスリレー)4などで接続可能とされる。伝送制御装置が故障した場合には、このリレー4が閉じて幹線ポートA(交信部H2)と幹線ポートB(交信部H3)とが直接接続されることで、伝送制御装置1の故障の影響でネットワークがダウンすることを防止する。
(First embodiment)
Hereinafter, the content of the invention applied to a railway vehicle as a first embodiment of the present invention will be described in detail with reference to FIGS. 1 to 9. FIG. 1 is a configuration diagram of a
ルータ3は例えば内蔵するソフトウェアで制御されており、外部から車種、1位、2位などの伝送制御装置が置かれる場所を示す位置及び車両番号などの情報が設定されている。ルータは接続部R1を介してスイッチングハブ2の交信部H1と接続され主信号のやり取りを行う。また、スイッチングハブ2の動作をルータ3で制御するための制御通信線が、スイッチングハブ2とルータ3の間に設けられている。ルータ3はスイッチングハブ2のH2ポートとH3ポートを介して隣接する伝送制御装置1の有無を認識する。また幹線(幹線ポートAやBに接続される通信線)を経由して他のルータ3(他の伝送制御装置1)を認識して編成全体の構成を認識することができる。即ち、ルータ3が判定部、通信制御部として機能する。なお、隣接する伝送制御装置1の有無を判別し、後述する送信機能の停止及び回復の作業をスイッチングハブ2に組み込まれたASIC(Application Specific Integrated Circuit)等のハードウェアで行うことでさらなる高速化が図れる。つまり、スイッチングハブ2を判定部、通信制御部として機能させてもよい。
The
ルータ3の接続部R2は、伝送制御装置1の外部との交信部である支線ポートCとなり、車両内に設置される各種機器と接続される。各種機器の識別情報として例えばIPアドレスはルータ3によりアドレス変換されて幹線ポートとのやり取りが行われるので各車両の支線側の端末のアドレス設定を共通化できる。
The connection part R2 of the
伝送制御装置1を含む各種機器をネットワークへ接続するためにネットワーク識別情報としてIPアドレスを使うことが簡便であり汎用性を増すことができる。鉄道車両におけるIPアドレスの割り当て方の例としてIEC61375が制定されている(図2を参照)。以下の実施例では、IEC61375に準拠したIPアドレスの設定を行う。
In order to connect various devices including the
図2の下側は凡例、上側は符号体系がECN、編成IDが1、車両IDが0の場合の設定例である。図2の左から3ビット目は、符号体系の種類(ECN又はETB)の何れかを示す。この例ではECNなので0が設定されている。次のbで示される2ビットはIPアドレスを使う目的が設定されている。ここでは、TCMS(Train Control and. Monitoring System)なので、0が設定されている。 The lower side of FIG. 2 is a legend, and the upper side is a setting example when the encoding system is ECN, the organization ID is 1, and the vehicle ID is 0. The third bit from the left in FIG. 2 indicates one of the coding system types (ECN or ETB). Since this example is ECN, 0 is set. The purpose of using the IP address is set for 2 bits indicated by b below. Here, since it is a TCMS (Train Control and Monitoring System), 0 is set.
次のSで示される6ビットは編成IDなどに使われ、ここでは編成ID=1が設定されている。次のVで示される1ビットは、障害に備えた2重系での1系又は2系の選択を示す。次のCで示される5ビットは車両IDを示し、次のhで示される8ビットは車両内の位置を示す位及び機器IDを示す。この車両IDは、IPアドレスの初期値を設定するために必要とする情報であり、各車両で同じ値が設定されていてもよい。なお、複数の車両が連結された場合(複数の伝送制御装置1がある場合)は、後述する方法により、適切なIPアドレスに変更される。 The next 6 bits indicated by S are used for an organization ID or the like, and organization ID = 1 is set here. The next 1 bit indicated by V indicates the selection of the 1 system or 2 system in the duplex system in preparation for a failure. The next 5 bits indicated by C indicate the vehicle ID, and the next 8 bits indicated by h indicate the position indicating the position in the vehicle and the device ID. The vehicle ID is information necessary for setting the initial value of the IP address, and the same value may be set for each vehicle. In addition, when a some vehicle is connected (when there exists a some transmission control apparatus 1), it changes into an appropriate IP address by the method mentioned later.
次に、車両に1台の伝送制御装置1が置かれた場合の識別情報の設定について図3〜図6を用いて説明する。状態(0)〜状態(2)において、3台の車両(イ、ロ、ハ)を示す外枠で囲まれた中に伝送制御装置1が1台ずつ置かれている。状態(0)は初期状態を示し、各車両は互いに未結合であり伝送制御装置1の交信部は互いに接続されていない。この状態では各伝送制御装置1はマスター伝送制御装置となっている。
Next, setting of identification information when one
初期状態では各伝送制御装置1は編成番号1、車号番号=0、に設定されている。また、各車両には固有の車両番号が与えられており、左から、車両番号=0000、車両番号=1234、車両番号=3210となっている。伝送制御装置1のIPアドレスは全て10.0.64.254であり、図示しないルータ3へ接続されるポート(交信部H1)のアドレスは全て192.168.0.254となっている。
In the initial state, each
ここで、図中枠の左上に1位と記載され、右上に2位と記載されるのは、車両の端を見分けるための端部符号であり、交信部の属性の一つである。また図中左端の車両は1位が未接続となる車両イ、中間の車両は1位と2位が共に接続される車両ロ、右端の車両は2位が未接続となる車両ハとする。 Here, what is described as first place in the upper left of the frame and second place in the upper right is an end part code for identifying the end of the vehicle, which is one of the attributes of the communication part. Further, the leftmost vehicle in the figure is a vehicle a in which the first place is unconnected, the middle vehicle is a vehicle in which the first and second places are both connected, and the rightmost vehicle is a vehicle in which the second place is unconnected.
次に状態(1)において、車両が結合されると伝送制御装置1の交信部H2と他の伝送制御装置1の交信部H3とが接続されて物理的に交信可能な状態になるとともに全ての伝送制御装置1がスレーブ状態(後述するマスターから制御される状態)になる。本発明の一実施形態にかかる伝送制御システム100は、図3等に示したような複数台の伝送制御装置1が順次縦続接続(カスケード接続)された状態で構成される。隣接する伝送制御装置1の存在を認識すると各伝送制御装置1は接続直後の不安定状態を避けるために適宜な、例えば1秒程度の待ち時間経過後に初期化要求パケットをブロードキャストにて送信する。車両イの伝送制御装置1からは初期化要求パケットA、車両ロの伝送制御装置1からは初期化要求パケットB、車両ハの伝送制御装置1からは初期化要求パケットCが送信され、これらの初期化要求パケットは自分以外の全ての伝送制御装置1へ到達する。
Next, in the state (1), when the vehicle is coupled, the communication unit H2 of the
状態(2)において、各車両の伝送制御装置1は他の伝送制御装置1からの初期化要求パケットを受信すると、それぞれ自分のIPアドレスを0.0.0.0に設定する。また、この時点では車両編成の中での順番を示す車号は未定なので車号番号=?と表現する。本実施形態では、IPアドレスが伝送制御装置1を識別する識別情報、車号番号が伝送制御装置1が置かれる車両の並び順を識別する識別情報となる。
In the state (2), when the
次に図4を用いて設定作業を説明する。状態(3)において、車両編成の端に位置する車両イと車両ハの伝送制御装置1は他の伝送制御装置1を認識しない交信部(H2またはH3)を有するので、車両編成の端に有ることが分かる。即ち、他の伝送制御装置1との接続状態が分かる。車両イと車両ハに置かれた伝送制御装置1は他の伝送制御装置1を認識しない交信部の送受信機能を停止し、車両イに置かれた伝送制御装置1から端点通知パケットD、車両ハに置かれた伝送制御装置1から端点通知パケットEをブロードキャストで送信する。この端点通知パケット(端点通知情報)には、それぞれの車両番号と他の伝送制御装置1を認識しない車両編成間の交信に使われる交信部が置かれる位置情報(1位または2位)を含む端部符号が含まれる。即ち、車両内の両端のうちいずれに置かれたかを示す端部符号のうち他の伝送制御装置1を検出しない側の端部符号である。例えば車両イの場合は1位が相当し、車両ハの場合は2位が相当する。
Next, setting work will be described with reference to FIG. In the state (3), the
状態(4)において、左端の車両イに置かれた伝送制御装置1は右端の車両ハに置かれた伝送制御装置1からの端点通知パケットEを受信する。また、右端の車両ハに置かれた伝送制御装置1は左端の車両イに置かれた伝送制御装置1からの端点通知パケットDを受信する。
In the state (4), the
端点通知パケットEを受信した車両イに置かれた伝送制御装置1は、端点通知パケットEの中の車両番号(3210)を読む。これを自分が置かれた車両イの車両番号(0000)と対比して複数の伝送制御装置1の識別情報の設定制御を司るマスターとなるか判定する。予め、値の小さい方が優位となりマスターとなるように判定する場合は、車両イに置かれた伝送制御装置1が優位となり車両イに置かれた伝送制御装置1がマスター伝送制御装置(Train Master)となる。また、自分のIPアドレスを予め定めた10.0.64.254に設定する。以後、マスター伝送制御装置は1Mの符号を付し、マスター伝送制御装置1M以外の伝送制御装置(スレーブ伝送制御装置)は1Sの符号を付す。
The
また、車両ハにおいても同様な処理が行われ、車両番号(3210)を有する車両ハの伝送制御装置1Sはスレーブのままになり、マスター伝送制御装置1Mからの指令を待つことになる。なお、本実施形態では車両番号の値の小さい方を優位としているが、勿論大きい方を優位としてもよい。また、車両番号の比較ではなく、1位、2位などの端部符号に基づいて判定してもよい。
Similar processing is also performed in the vehicle C, and the
次に状態(5)において、マスター伝送制御装置1Mは自らが置かれた車両の車号を0(車号番号=0)とし、識別情報設定開始情報としての車号設定開始パケットFをブロードキャストで送信する。他のスレーブ伝送制御装置1SはこのパケットFを受信する。
Next, in state (5), the master
図5の状態(6)において、車号設定開始パケットFを受信したスレーブ伝送制御装置1Sは、それぞれの交信部(H2、H3)の送信機能を停止させる。
In the state (6) of FIG. 5, the slave
状態(7)において、マスター伝送制御装置1Mはスレーブ伝送制御装置1Sがその交信部の送信機能を停止するまでの時間(例えば500ms)を待って、予め設定される車両IDに対応するIPアドレス10.0.64.254、自らが置かれた車両の車両番号(0000)、そして自らに設定した車号番号0を含む設定要求情報としての車号設定要求パケットGをブロードキャストで送信する。送信はブロードキャストで行われるので全ての伝送制御装置1Sで受信可能であるが、状態(6)で交信部の送信機能を停止しているので、車両イのマスター伝送制御装置1Mに直接接続される車両ロのスレーブ伝送制御装置1Sより下流へは、車号設定要求パケットGは伝送されない。
In the state (7), the master
マスター伝送制御装置1Mから送信された車号設定要求パケットGを受信した車両ロのスレーブ伝送制御装置1Sは、車号設定要求パケットGに含まれる車両番号(0000)を自分の車両番号(1234)と比べる。
Receiving the vehicle number setting request packet G transmitted from the master
状態(8)において、車両ロの伝送制御装置1Sは車両番号を対比して車両番号が異なるので、自らのIPアドレスを車号設定要求パケットに含まれるIPアドレスに所定の値(ここでは、下位2バイト目に1)を加算して10.0.65.254とする。また、送られて来た車号設定要求パケットGに含まれる車号番号0に1を加算して自らの車号番号を1とする。自装置での全ての設定が終わると車両ロの伝送制御装置1Sは交信部の送信機能を回復させてマスター伝送制御装置1Mへ識別情報設定の完了を示す応答情報としての車号設定応答パケットHを送信する。
In the state (8), since the
図6の状態(9)において、車両ロの伝送制御装置1Sからの車号設定応答パケットHを受信したマスター伝送制御装置1Mは、続けて、車両ロの伝送制御装置1Sに設定済みのIPアドレス10.0.65.254、車両ロの車両番号(1234)、そして車両ロに設定された車号番号1を含む車号設定要求パケットIをブロードキャストで送信する。つまり、直前に設定された車号番号とIPアドレスを車号設定要求パケットに含めて送信する。
In the state (9) of FIG. 6, the master
車両ロの伝送制御装置1Sは既に自分の設定が終わっているのでマスター伝送制御装置1Mからの車号設定要求パケットIを無視する。マスター伝送制御装置1Mからの車号設定要求パケットIは車両ロの伝送制御装置1Sの交信部の送信機能が回復しているので、車号設定要求パケットIを中継して隣接する車両ハの伝送制御装置1Sへ転送される。
Since the
車号設定要求パケットIを初めて受信した車両ハの伝送制御装置1Sは、車両イのマスター伝送制御装置1Mからの車号設定要求パケットIに含まれる車両番号(1234)を自分の車両番号(3210)と対比する。
The
状態(10)において、車両ハの伝送制御装置1Sは、車号設定要求パケットに含まれる車両番号と自らの車両番号を対比して自分の車両番号が送られて来た車両番号と異なるので、自らのIPアドレスを車号設定要求パケットに含まれる車両ロの伝送制御装置のIPアドレス10.0.65.254に所定の値(ここでは、下位2バイト目に1)を加算して10.0.66.254とする。また、送られて来た車号設定要求パケットIに含まれる車号番号1に1を加算して自らの車号番号を2とする。
In the state (10), the
車両ハの伝送制御装置1Sは、自装置での全ての設定が終わると交信部の送信機能を回復させる。車両ハは端の車両であり、状態(3)で他の伝送制御装置1を認識しない交信部の送受信機能を停止したことから、これより下流の伝送制御装置1Sは存在しないのが判明しているのでマスター伝送制御装置1Mへ全ての伝送制御装置の識別情報の設定が完了したことを示す最終応答情報としての車号設定最終応答パケットJを送信する。車両ロに置かれた伝送制御装置1Sはこの車号設定最終応答パケットJを車両イのマスター伝送制御装置1Mへ転送し、マスター伝送制御装置1Mは車号設定最終応答パケットJを受信する。
The
状態(11)において、車号設定最終応答パケットJを受信したマスター伝送制御装置1Mは車号設定完了パケットKをブロードキャストで送信する。また停止していた交信部の送受信機能を回復する。以上でマスター伝送制御装置1Mの設定作業は終了する。停止していた交信部の送受信機能を回復することで、車両編成の両端に新たな車両編成の併結作業に備えることができる。
In the state (11), the master
車号設定完了パケットKを受信した車両ロ及び車両ハの伝送制御装置1Sは、設定作業を終了する。さらに、車両ハの伝送制御装置1Sは、送受信機能を停止した交信部の送受信機能を回復する。この送受信機能を回復も上記と同様に車両編成の両端に新たな車両編成の併結作業に備えることができる。
Upon receiving the vehicle number setting completion packet K, the
以上のように動作させることで、マスターとなる伝送制御装置1Mは、自身に隣接する伝送制御装置1Sから順次IPアドレスや車号番号を設定するための情報(車号設定要求パケット)を送信して、伝送制御装置1Sが受信した車号設定要求パケットに基づいてIPアドレスや車号番号を設定している。つまり、マスターとなる伝送制御装置1Mは、自身に隣接する伝送制御装置1Sから順次識別情報を設定させている。
By operating as described above, the
次に、伝送制御装置1の動作を図7〜図9に示した状態遷移図を参照して説明する。まず、電源投入直後の初期状態S1では他の伝送制御装置1の接続を検出がなく接続されるのを待っている状態である。
Next, the operation of the
そして、他の伝送制御装置へいずれか一方の交信部(H2またはH3)を介しての接続が検出される(LinkUp)と、状態S4に遷移する(図8参照)。 Then, when a connection to one of the other transmission control devices via one of the communication units (H2 or H3) is detected (LinkUp), the state transitions to state S4 (see FIG. 8).
図8の状態S4において、初期化要求パケットを送信して(send init)、状態S5に遷移する。 In state S4 of FIG. 8, an initialization request packet is transmitted (send init), and the state transitions to state S5.
次に、状態S5において、初期化要求パケットを受信した結果、H2、H3のうち一方の交信部の接続のみの検出であるので、車両編成の端に位置する伝送制御装置1であると判定し、端点通知パケットを送信し(send end)、状態S6に遷移する。即ち、他の伝送制御装置1との接続が検出されない交信部が有る場合に、他の伝送制御装置1との接続が検出されない交信部が有る旨と、自身の車両番号並びに交信部が置かれる車両の位置を示す端部符号と、を含む端点通知情報を他の伝送制御装置1に送信している。
Next, in the state S5, as a result of receiving the initialization request packet, it is determined that the
次に、状態S6において、自身以外の伝送制御装置1から受信した端点通知パケットに基づいて、自身がマスターとなるかを判定する。即ち、第1の交信部及び第2の交信部のうち、他の伝送制御装置1との接続が検出されない交信部が有る場合にマスターとするか否かの判定を行っている。マスターとなるかの判定は、上述した図4の(4)の車両番号のみに限らず、1位、2位などの端部符号も参照して判定してもよい。判定の結果マスターと判定した場合は状態S7に遷移し、スレーブと判定した場合は状態S11に遷移する。なお、状態S6において、初期化要求パケットを受信した場合は状態S5に遷移する。また、自身以外の伝送制御装置1からの端点通知パケットが10秒間受信されない場合は状態S4に遷移する(Timeout)。
Next, in state S6, based on the end point notification packet received from the
次に、状態S7において、上述した図4、図5の(4)〜(7)に示したように、自身のIPアドレスと車号番号を設定した後、車号設定開始パケットを送信して(send start)、状態S8に遷移する。 Next, in state S7, as shown in FIGS. 4 and 5 (4) to (7) above, after setting its own IP address and vehicle number, it transmits a vehicle number setting start packet. (Send start), transition to state S8.
次に、状態S8において、車号設定要求パケットを送信して(send req)、状態S9に遷移する。即ち、車号設定開始パケット送信後に車号設定要求パケットを送信する。 Next, in state S8, a vehicle number setting request packet is transmitted (send req), and the state transitions to state S9. That is, the vehicle number setting request packet is transmitted after the vehicle number setting start packet is transmitted.
次に、状態S9において、スレーブの伝送制御装置1から車号設定応答パケットを受信した場合は状態S8に遷移し、車号設定最終応答パケットを受信した場合は状態S10に遷移する。なお、状態S9において、初期化要求パケットを受信した場合は状態S5に遷移する。また、状態S9に遷移後3秒間車号設定応答パケットまたは車号設定最終応答パケットまたは初期化要求パケットを受信しない場合は状態S4に遷移する(Timeout)。
Next, in state S9, when a vehicle number setting response packet is received from the slave
次に、状態S10において、車号設定完了パケットを送信し(send comp)、状態S3に遷移する(図7参照)。状態S3に遷移後は、マスターとしての設定動作が完了し、以後の定常状態における動作を行う。 Next, in state S10, a vehicle number setting completion packet is transmitted (send comp), and the state transitions to state S3 (see FIG. 7). After the transition to the state S3, the setting operation as the master is completed, and the subsequent operation in the steady state is performed.
一方、状態S11においては、スレーブとして車号設定開始パケットの受信を待ち、受信した場合(recv start)は状態S12に遷移する。なお、状態S11において、初期化要求パケットを受信した場合は状態S5に遷移する。また、状態S11に遷移後5秒間車号設定開始パケットを受信しない場合は状態S4に遷移する(Timeout)。 On the other hand, in the state S11, it waits for the reception of the vehicle number setting start packet as a slave, and when it is received (recv start), it transits to the state S12. In the state S11, when an initialization request packet is received, the flow goes to the state S5. If the vehicle number setting start packet is not received for 5 seconds after the transition to the state S11, the state transitions to the state S4 (Timeout).
次に、状態S12において、交信部の送信機能を停止させて(Tx port close)、状態S13に遷移する。 Next, in state S12, the transmission function of the communication unit is stopped (Tx port close), and the state transitions to state S13.
次に、状態S13において、車号設定要求パケットの受信を待ち、受信した場合(recv req)は上述した図5の(8)に示したように、自身のIPアドレスと車号番号を設定して状態S14に遷移する。なお、状態S13において、初期化要求パケットを受信した場合は、状態S5に遷移する。また、状態S13に遷移後60秒間車号設定要求パケットを受信しない場合は状態S4に遷移する(Timeout)。 Next, in the state S13, it waits for reception of the vehicle number setting request packet, and when it is received (recv req), it sets its own IP address and vehicle number as shown in (8) of FIG. To state S14. If the initialization request packet is received in the state S13, the flow goes to the state S5. If the vehicle number setting request packet is not received for 60 seconds after the transition to the state S13, the state transitions to the state S4 (Timeout).
次に、状態S14において、交信部の送信機能を回復させて(Tx port open)、状態S15に遷移する。 Next, in state S14, the transmission function of the communication unit is restored (Tx port open), and the state transitions to state S15.
次に、状態S15において、車号設定最終応答パケットを送信して(send last resp)、状態S16に遷移する。本状態の場合、交信部がH2、H3のいずれか一方のみしか接続が検出されてなく、かつ、マスターではないので、最後に車号設定がなされる伝送制御装置1となる。したがって、車号設定最終応答パケットを送信する。
Next, in state S15, a vehicle number setting final response packet is transmitted (send last resp), and the state transitions to state S16. In the case of this state, since only one of the communication units H2 and H3 is detected for connection and is not the master, the
次に、状態S16において、車号設定完了パケットの受信を待ち、受信した場合(recv comp)は状態S2に遷移する(図7参照)。S2に遷移後は、スレーブとしての設定動作が完了し、以後の定常状態における動作を行う。なお、状態S16において、初期化要求パケットを受信した場合は状態S5に遷移する。また、状態S16に遷移後60秒間車号設定完了パケットを受信しない場合は状態S5に遷移する(Timeout)。 Next, in the state S16, it waits for reception of the vehicle number setting completion packet, and when it is received (recv comp), the state transitions to the state S2 (see FIG. 7). After the transition to S2, the setting operation as a slave is completed, and the subsequent steady state operation is performed. If an initialization request packet is received in state S16, the flow goes to state S5. If the vehicle setting complete packet is not received for 60 seconds after the transition to the state S16, the state transitions to the state S5 (Timeout).
なお、状態S4〜S16において、各処理の前に交信部のうち残りの他方(H3またはH2)の接続が検出された場合(Linkup)は状態S18に遷移する(図9参照)。また、接続されている交信部(H2またはH3)の接続が検出されなくなった場合(Linkdown)は状態S1に遷移する(図7参照)。 In addition, in the states S4 to S16, when the other connection (H3 or H2) of the communication units is detected before each process (Linkup), the state transitions to the state S18 (see FIG. 9). Further, when the connection of the connected communication unit (H2 or H3) is not detected (Linkdown), the state transitions to the state S1 (see FIG. 7).
図9に示した状態S18において、初期化要求パケットを送信して(send init)、状態S19に遷移する。 In state S18 shown in FIG. 9, an initialization request packet is transmitted (send init), and the state transitions to state S19.
次に、状態S19において、状態S18に遷移した時点で、2つの交信部(H2、H3)の両方に接続が検出されているので、車両編成の端部に位置する伝送制御装置1ではないと判定し、端部に位置する伝送制御装置1から送信された端点通知パケットを中継し、状態S20に遷移する。なお、状態S19に遷移後10秒間車号設定要求パケットを受信しない場合は状態S18に遷移する(Timeout)。
Next, in the state S19, since the connection is detected to both of the two communication units (H2, H3) at the time of transition to the state S18, the
次に、状態S20において、スレーブとして車号設定開始パケットの受信を待ち、受信した場合(recv start)は状態S21に遷移する。なお、状態S20において、初期化要求パケットを受信した場合は状態S19に遷移する。また、状態S20に遷移後5秒間車号設定開始パケットを受信しない場合は状態S18に遷移する(Timeout)。 Next, in state S20, it waits for the reception of a vehicle number setting start packet as a slave, and when it is received (recv start), it transits to state S21. If an initialization request packet is received in state S20, the flow goes to state S19. If the vehicle number setting start packet is not received for 5 seconds after the transition to the state S20, the state transitions to the state S18 (Timeout).
次に、状態S21において、交信部の送信機能を停止させて(Tx port close)、状態S22に遷移する。 Next, in state S21, the transmission function of the communication unit is stopped (Tx port close), and the state transitions to state S22.
次に、状態S22において、車号設定要求パケットの受信を待ち、受信した場合(recv req)は、上述した図5の(8)に示したように、自身のIPアドレスと車号番号を設定して状態S23に遷移する。なお、状態S22において、初期化要求パケットを受信した場合は状態S19に遷移する。また、状態S22に遷移後60秒間車号設定要求パケットを受信しない場合は状態S18に遷移する(Timeout)。 Next, in the state S22, it waits for reception of the vehicle number setting request packet, and when it is received (recv req), as shown in (8) of FIG. 5 described above, sets its own IP address and vehicle number. And it changes to state S23. If an initialization request packet is received in state S22, the flow goes to state S19. If the vehicle number setting request packet is not received for 60 seconds after the transition to the state S22, the state transitions to the state S18 (Timeout).
次に、状態S23において、交信部の送信機能を回復させて(Tx port open)、状態S24に遷移する。 Next, in state S23, the transmission function of the communication unit is restored (Tx port open), and the state transitions to state S24.
次に、状態S24において、車号設定応答パケットを送信して(send resp)、状態S25に遷移する。 Next, in state S24, a vehicle number setting response packet is transmitted (send resp), and the state transitions to state S25.
次に、状態S25において、車号設定完了パケットの受信を待ち、受信した場合(recv comp)は状態S17に遷移する(図7参照)。なお、状態S25に遷移後60秒間車号設定完了パケットを受信しない場合は状態S18に遷移する(Timeout)。 Next, in the state S25, it waits for reception of a vehicle number setting completion packet, and when it receives (recv comp), it changes to state S17 (refer FIG. 7). In addition, when a vehicle number setting completion packet is not received for 60 seconds after changing to state S25, it changes to state S18 (Timeout).
なお、状態S18〜S25において、接続されている交信部(H2またはH3)のうちいずれか一方の接続が検出されなくなった場合(Linkdown)は状態S4に遷移する(図8参照)。 In the states S18 to S25, when any one of the connected communication units (H2 or H3) is not detected (Linkdown), the state transits to the state S4 (see FIG. 8).
状態S2においては、初期化要求パケットを受信した場合は状態S5に遷移する(図8参照)。また、交信部のうち残りの他方(H3またはH2)の接続が検出された場合(Linkup)は状態S18に遷移する(図9参照)。また、接続されている交信部(H2またはH3)の接続が検出されなくなった場合(Linkdown)は状態S1に遷移する。 In the state S2, when the initialization request packet is received, the state transitions to the state S5 (see FIG. 8). In addition, when the other connection (H3 or H2) of the communication unit is detected (Linkup), the state transitions to state S18 (see FIG. 9). Further, when the connection of the connected communication unit (H2 or H3) is not detected (Linkdown), the state transits to state S1.
状態S3においては、初期化要求パケットを受信した場合は状態S5に遷移する(図8参照)。また、交信部のうち残りの他方(H3またはH2)の接続が検出された場合(Linkup)は状態S18に遷移する(図9参照)。また、接続されている交信部(H2またはH3)の接続が検出されなくなった場合(Linkdown)は状態S1に遷移する。 In the state S3, when the initialization request packet is received, the state transitions to the state S5 (see FIG. 8). In addition, when the other connection (H3 or H2) of the communication unit is detected (Linkup), the state transitions to state S18 (see FIG. 9). Further, when the connection of the connected communication unit (H2 or H3) is not detected (Linkdown), the state transits to state S1.
状態S17においては、初期化要求パケットを受信した場合は状態S18に遷移する(図9参照)。また、接続されている交信部(H2またはH3)のいずれか一方の接続が検出されなくなった場合(Linkdown)は状態S4に遷移する(図8参照)。 In the state S17, when the initialization request packet is received, the state transitions to the state S18 (see FIG. 9). In addition, when any one of the connected communication units (H2 or H3) is not detected (Linkdown), the state transits to the state S4 (see FIG. 8).
なお、上述した状態遷移図において、タイムアウトや待ち時間等の時間及び同じパケットを送信する回数は一例であり、記載の値に限らない。 In the state transition diagram described above, times such as timeout and waiting time and the number of times the same packet is transmitted are examples, and are not limited to the values described.
本実施形態によれば、マスターとなる伝送制御装置1Mがスレーブとなる伝送制御装置1SのIPアドレスや車号番号の設定の制御を主導して行うことができる。また、マスターとなる伝送制御装置1M以外である伝送制御装置1Sの交信部(H2、H3)の送信機能を停止させて、IPアドレスや車号番号設定後に送信機能を回復させることで、マスターとなる伝送制御装置1MがIPアドレスや車号番号の設定をする伝送制御装置1Sを明示しなくても、マスターとなる伝送制御装置1Mに隣接する伝送制御装置1Sから順にIPアドレスや車号番号を設定することができる。したがって、各伝送制御装置1の識別情報の設定作業の効率化を図ることができる。隣接確認線が不要になり艤装線が減るので軽量化を図れる。
According to the present embodiment, the
また、交信部H2、H3のうち、いずれか一方のみが他の伝送制御装置と接続されていることを検出して自身が車両編成の端部にあるか判定している。また、1位、2位を示す端部符号から、端部のうちいずれ側に置かれているかを判定できる。また、固有の車両番号を比較して大小を判定して2つの端部のいずれか一方をマスターとして選択している。即ち、車両編成の端部に置かれる二つの伝送制御装置1の何れかがマスターとなる伝送制御装置1Mであるかを明確に決めることができる。
Further, it is determined whether only one of the communication units H2 and H3 is connected to the other transmission control device to determine whether it is at the end of the vehicle formation. In addition, it can be determined which side of the end portion is located from the end code indicating the first and second positions. Also, the unique vehicle number is compared to determine the size, and one of the two ends is selected as the master. That is, it is possible to clearly determine which of the two
また、IPアドレスや車号番号の設定が完了した伝送制御装置1Sから順に中継機能が回復し、IPアドレスや車号番号が設定されていない伝送制御装置1Sにマスターとなった伝送制御装置1Mから送信される車号設定要求パケットを伝送することができる。したがって、車両編成内の全ての伝送制御装置1での設定作業が漏れなく行われる。
Further, the relay function is restored in order from the
また、マスターとなる伝送制御装置1が車両編成の両端のいずれか一方であるので、端から順次IPアドレスや車号番号を設定することができる。また、他方の端部に置かれた伝送制御装置1まで設定が完了すれば、全ての設定が完了したことを容易に知ることができる。
Moreover, since the
また、車両編成の両端にある伝送制御装置1が、それぞれの情報を端点通知パケットとして互いに通知することで、端部にある伝送制御装置1をマスターとする場合に、どちらの端部をマスターとするかを容易に判定可能とできる。
Further, when the
また、車号設定開始パケットによって、交信部H2,H3の送信機能の停止タイミングを特定することができる。 Moreover, the stop timing of the transmission function of the communication units H2 and H3 can be specified by the vehicle number setting start packet.
また、車号設定応答パケットによって、マスターとなる伝送制御装置1MはIPアドレスや車号番号の設定が完了したことを知ることができる。したがって、マスターとなる伝送制御装置1Mは、次の伝送制御装置1SのIPアドレスや車号番号の設定動作を行うことができる。
Further, the
また、マスターとなる伝送制御装置は、車号設定最終応答パケットを受信することによって、全ての伝送制御装置1のIPアドレスや車号番号の設定が完了したことを知ることができる。したがって、以降、通常の動作を行うことができる。
Further, the transmission control device as a master can know that the setting of the IP addresses and vehicle number of all the
また、伝送制御装置1が正常な動作をできない場合に交信部H2と交信部H3とを接続するバイパスリレーを備えるので伝送制御装置1の故障による伝送制御システム100のダウンを避けることができる。
Further, when the
(第2実施形態)
次に、本発明の第2の実施形態にかかる伝送制御装置および伝送制御システムについて、図10乃至図12を参照して説明する。なお、前述した第1の実施形態と同一部分には、同一符号を付して説明を省略する。
(Second Embodiment)
Next, a transmission control device and a transmission control system according to the second embodiment of the present invention will be described with reference to FIGS. Note that the same parts as those in the first embodiment described above are denoted by the same reference numerals and description thereof is omitted.
本実施形態では、1車両に2台の伝送制御装置1(伝送制御装置A1a、伝送制御装置B1b)が搭載される。即ち、2つの伝送制御装置1から伝送制御システム101を構成している。なお、本実施形態では、1編成が1両のみの場合の例である。基本的な動作は第1の実施形態と同様である。図10の状態(0)は初期状態で、車両を示す外枠で囲まれた中に設置された2台の伝送制御装置は互いに接続されている。図中枠の左上に1位と記載され、右上に2位と記載されるのは、車両の端を見分けるための端部符号であり交信部の属性を示す。図の左側の伝送制御装置A(1a)は1位に位置し、右側の伝送制御装置B(1b)は2位に位置する。
In the present embodiment, two transmission control devices 1 (transmission control device A1a and transmission control device B1b) are mounted on one vehicle. That is, the
初期状態では伝送制御装置A(1a)、伝送制御装置B(1b)は編成番号1、車号番号=0、に設定されている。また、車両には固有の車両番号=0000が付与されている。伝送制御装置A(1a)、伝送制御装置B(1b)のIPアドレスは全て10.0.64.254であり、図示しないルータ3へ接続されるポート(交信部H1)のアドレスは全て192.168.0.254となっている。
In the initial state, the transmission control device A (1a) and the transmission control device B (1b) are set to the
次に状態(1)において、伝送制御装置A(1a)の交信部(H2またはH3)は接続されているので伝送制御装置B(1b)の交信部(H3またはH2)を検出して物理的に交信可能な状態になり伝送制御装置A(1a)、伝送制御装置B(1b)はスレーブ状態になる。隣接する伝送制御装置1の存在を認識すると伝送制御装置A(1a)、伝送制御装置B(1b)は接続直後の不安定状態を避けるために適宜な、例えば1秒位の待ち時間を経過後に初期化要求パケットをブロードキャストにて送信して設定作業を開始する。伝送制御装置A(1a)からは初期化要求パケットA,伝送制御装置B(1b)からは初期化要求パケットBが送信され、自分以外の全ての伝送制御装置1へ到達する。
Next, in state (1), since the communication unit (H2 or H3) of the transmission control device A (1a) is connected, the communication unit (H3 or H2) of the transmission control device B (1b) is detected and physically The transmission control device A (1a) and the transmission control device B (1b) are in the slave state. When recognizing the existence of the adjacent
状態(2)において、伝送制御装置A(1a)、伝送制御装置B(1b)は初期化要求パケットを受信して、それぞれ自分のIPアドレスを0.0.0.0に設定する。また、車両編成の中での順番を示す車号は未定なので車号番号=?と表現する。 In the state (2), the transmission control device A (1a) and the transmission control device B (1b) receive the initialization request packet and set their own IP addresses to 0.0.0.0. In addition, the car number indicating the order in the vehicle organization is undecided, so the car number =? It expresses.
次に設定作業を説明する。状態(3)において、車両編成の端に位置する交信部を有する伝送制御装置A(1a)と伝送制御装置B(1b)は他の伝送制御装置1を認識しない交信部を有するので、車両編成の端に有ることが分かる。そこで伝送制御装置A(1a)、伝送制御装置B(1b)は他の伝送制御装置1を認識しない交信部の送受信機能を停止し、端点通知パケットC及び端点通知パケットDをそれぞれブロードキャストで送信する。この端点通知パケットには、それぞれの車両番号と他の伝送制御装置1を認識しない交信部が置かれる位置情報(1位または2位)を示す端部符号が含まれる。
Next, setting work will be described. In the state (3), the transmission control device A (1a) and the transmission control device B (1b) having the communication unit located at the end of the vehicle formation have communication units that do not recognize the other
図11の状態(4)において、車両の左端に置かれた交信部を有する伝送制御装置A(1a)は右端に置かれた交信部を有する伝送制御装置B(1b)からの端点通知パケットDを受信する。また、右端に置かれた伝送制御装置B(1b)は左端に置かれた伝送制御装置A(1a)からの端点通知パケットCを受信する。 In the state (4) of FIG. 11, the transmission control device A (1a) having the communication unit placed at the left end of the vehicle is the end point notification packet D from the transmission control device B (1b) having the communication unit placed at the right end. Receive. The transmission control device B (1b) placed at the right end receives the end point notification packet C from the transmission control device A (1a) placed at the left end.
端点通知パケットDを受信した伝送制御装置A(1a)は、端点通知パケットDの中の車両番号(0000)を読む。これを自分が置かれた自車両の車両番号(0000)と対比する。両者を対比すると車両番号が等しいため優劣が決まらないので位置情報を示す端部符号を対比する。予め、値の小さい方が優位となりマスターとなるように決める場合は、1位に位置する伝送制御装置A(1a)が優位となり伝送制御装置A(1a)がマスター伝送制御装置1Mとなり、マスター伝送制御装置1Mは自分のIPアドレスを予め定めた10.0.64.254に設定する。この点が第1の実施形態との主な相違点である。
The transmission control device A (1a) that has received the end point notification packet D reads the vehicle number (0000) in the end point notification packet D. This is compared with the vehicle number (0000) of the own vehicle on which it is placed. If the two are compared, the vehicle numbers are equal and the superiority or inferiority is not determined. In the case where it is determined in advance that the smaller value is dominant and becomes the master, the transmission control device A (1a) located at the first place becomes dominant, and the transmission control device A (1a) becomes the master
また、車両の2位に位置する交信部を有する伝送制御装置B(1b)はスレーブ(スレーブ伝送制御装置1S)のままになりマスター伝送制御装置1Mとなった伝送制御装置A(1a)からの指令を待つことになる。
In addition, the transmission control device B (1b) having the communication unit located at the second position of the vehicle remains as a slave (slave
次に状態(5)において、マスター伝送制御装置1Mは自らが置かれた車両の車号を0とし、車号設定開始パケットEをブロードキャストで送信する。スレーブ伝送制御装置1SはこのパケットEを受信する。
Next, in the state (5), the master
状態(6)において、車号設定開始パケットEを受信したスレーブ伝送制御装置1Sは、交信部(H2、H3)の送信機能を停止させる。
In the state (6), the slave
状態(7)において、マスター伝送制御装置1Mはスレーブ伝送制御装置1Sがその交信部の送信機能を停止するまでの時間(例えば500ms)を待って、予め設定される車両IDに対応するIPアドレス10.0.64.254、自らが置かれた車両の車両番号(0000)、そして自らに設定した車号番号0を含む車号設定要求パケットFをブロードキャストで送信する。送信はブロードキャストで行われるので全てのスレーブ伝送制御装置1Sで受信可能であるが、状態(6)で交信部の送信機能を停止しているので、マスター伝送制御装置1Mに直接接続されるスレーブ伝送制御装置1Sより下流へは、車号設定要求パケットは伝送されない。
In the state (7), the master
マスター制御装置1Mから送信された車号設定要求パケットFを受信したスレーブ伝送制御装置1Sは、車両番号が等しいので、自分のIPアドレスを受信したIPアドレスの下位2バイトに所定の数(ここでは−10)を加算して、10.0.64・244に設定する。
The slave
図12の状態(8)において、右端の2位に位置する交信相手のない交信部を有する伝送制御装置B(1b)は、自装置での全ての設定が終わるとマスター伝送制御装置1Mへ車号設定最終応答パケットGを送信する。また交信部の送信機能を回復させる。
In the state (8) of FIG. 12, the transmission control device B (1b) having a communication unit with no communication partner located at the second position on the right end sends the vehicle to the master
状態(9)において、マスター伝送制御装置1Mは車号設定最終応答パケットGを受信して車号設定完了パケットHをブロードキャストで送信し、停止していた交信部の送受信機能を回復する。以上でマスター伝送制御装置1Mの設定作業は終了する。
In the state (9), the master
車号設定完了パケットHを受信したスレーブ伝送制御装置1Sは、送受信機能を停止していた交信部の送受信機能を回復し設定作業を終了する。
The slave
本実施形態によれば、1両の両端に伝送制御装置1が置かれている場合であって、かつ、1両編成の場合であっても、マスターとなる伝送制御装置1を決定できる。また、IPアドレスや車号番号の設定も基本的に複数の車両が連結された場合と共通の動作で行うことができる。
According to the present embodiment, the
(第3実施形態)
次に、本発明の第3の実施形態にかかる伝送制御装置および伝送制御システムについて、図13乃至図17を参照して説明する。なお、前述した第1、第2の実施形態と同一部分には、同一符号を付して説明を省略する。
(Third embodiment)
Next, a transmission control device and a transmission control system according to the third embodiment of the present invention will be described with reference to FIGS. The same parts as those in the first and second embodiments described above are denoted by the same reference numerals and description thereof is omitted.
本実施形態では、1車両に2台の伝送制御装置1(伝送制御装置A(1a)、伝送制御装置B(1b))が搭載された状態で2両が連結される際の設定作業を説明する。即ち、4つの伝送制御装置1から伝送制御システム102を構成している。基本的な動作は第1の実施形態と同様である。図13の状態(0)〜状態(2)において、車両を示す外枠で囲まれた中に伝送制御装置1が2台ずつ置かれている。状態(0)は初期状態を示し、各車両は互いに未結合であり車両間の伝送制御装置1の交信部は互いに接続されていない。
In the present embodiment, setting work when two vehicles are connected in a state where two transmission control devices 1 (transmission control device A (1a) and transmission control device B (1b)) are mounted on one vehicle will be described. To do. That is, the
初期状態では各伝送制御装置は編成番号1、車号番号=0、に設定されている。また、各車両には固有の車両番号が与えられていて、車両イの車両番号=0000、車両ロの車両番号=3210となっている。伝送制御装置のIPアドレスは図中左側の伝送制御装置A(1a)は10.0.64.254であり図中右側の伝送制御装置B(1b)は10.0.64.244である。図示しないルータ3へ接続されるポート(交信部H1)のアドレスは全て192.168.0.254となっている。
In the initial state, each transmission control device is set to
ここで、図中枠の左上に1位と記載され、右上に2位と記載されるのは、車両の端を見分けるための端部符号である。また図中左端の車両は1位が未接続となる車両イ、右端の車両は2位が未接続となる車両ハとする。 Here, what is described as first place in the upper left of the frame and second place in the upper right is an end code for distinguishing the end of the vehicle. Further, the leftmost vehicle in the figure is a vehicle A in which the first place is unconnected, and the rightmost vehicle is a vehicle C in which the second place is unconnected.
次に状態(1)において、車両が結合されると車両間の伝送制御装置1の交信部が接続されて物理的に交信可能な状態になり全ての伝送制御装置1がスレーブ状態になる。隣接する伝送制御装置1の存在を認識する車両イの伝送制御装置B(1b)と車両ロの伝送制御装置A(1a)は、接続直後の不安定状態を避けるために適宜な、例えば1秒程度の待ち時間経過後に初期化要求パケットをブロードキャストにて送信する。車両イの伝送制御装置B(1b)からは初期化要求パケットA,車両ロの伝送制御装置A(1a)からは初期化要求パケットBが送信され、これらの初期化要求パケットは自分以外の全ての伝送制御装置1へ到達する。
Next, in the state (1), when the vehicles are coupled, the communication unit of the
状態(2)において、伝送制御装置1は他の伝送制御装置1からの初期化要求パケットを受信すると、それぞれ自分のIPアドレスを0.0.0.0に設定する。また、この時点では車両編成の中での順番を示す車号は未定なので車号番号=?と表現する。
In the state (2), when the
次に図14を用いて設定作業を説明する。状態(3)において、車両編成の端に位置する車両イの伝送制御装置A(1a)と車両ハの伝送制御装置B(1b)は他の伝送制御装置を認識しない交信部(H2またはH3)を有するので、車両編成の端に有ることが分かる。そこでこれらの伝送制御装置1は他の伝送制御装置1を認識しない交信部の送受信機能を停止し、端点通知パケットC及びDをブロードキャストで送信する。この端点通知パケットには、それぞれの伝送制御装置が置かれた車両の車両番号と他の伝送制御装置1を認識しない交信部が置かれる位置情報(1位または2位)である端部符号が含まれる。
Next, setting work will be described with reference to FIG. In the state (3), the vehicle A transmission control device A (1a) and the vehicle C transmission control device B (1b) located at the end of the vehicle formation do not recognize other transmission control devices (H2 or H3). It can be seen that it is at the end of the vehicle formation. Therefore, these
状態(4)において、左端の車両イに置かれた伝送制御装置A(1a)は右端の車両ロに置かれた伝送制御装置B(1b)からの端点通知パケットDを受信する。また、右端の車両ロに置かれた伝送制御装置B(1b)は左端の車両イに置かれた伝送制御装置A(1a)からの端点通知パケットCを受信する。 In the state (4), the transmission control device A (1a) placed on the leftmost vehicle A receives the end point notification packet D from the transmission control device B (1b) placed on the rightmost vehicle b. The transmission control device B (1b) placed on the rightmost vehicle B receives the end point notification packet C from the transmission control device A (1a) placed on the leftmost vehicle A.
端点通知パケットDを受信した車両イに置かれた伝送制御装置A(1a)は、端点通知パケットDの中の車両番号(3210)を読む。これを自分が置かれた車両イの車両番号(0000)としてマスターとなるか判定する。予め、値の小さい方が優位となりマスターとなるように判定する場合は、車両イに置かれた伝送制御装置が優位となり車両イに置かれた伝送制御装置1がマスター伝送制御装置1Mとなる。また、マスター伝送制御装置1Mは自分のIPアドレスを予め定めた10.0.64.254に設定する。
The transmission control device A (1a) placed in the vehicle A that has received the end point notification packet D reads the vehicle number (3210) in the end point notification packet D. It determines whether it becomes a master by setting this as the vehicle number (0000) of the vehicle (a) in which it is placed. When it is determined in advance that the smaller value is dominant and becomes the master, the transmission control device placed in the vehicle A becomes dominant and the
そして車両ロにおいても同様な処理が行われ、車両番号(3210)を有する車両ロの伝送制御装置B(1b)はスレーブ(スレーブ伝送制御装置1S)のままになり、マスター伝送制御装置1Mからの指令を待つことになる。
The same processing is also performed in the vehicle B, and the vehicle control transmission device B (1b) having the vehicle number (3210) remains the slave (slave
次に状態(5)において、マスター伝送制御装置1Mは自らが置かれた車両の車号を0とし、車号設定開始パケットEをブロードキャストで送信する。他のスレーブ伝送制御装置1Sはこの車号設定開始パケットEを受信する。
Next, in the state (5), the master
図15の状態(6)において、車号設定開始パケットEを受信したスレーブ伝送制御装置1Sは、それぞれの交信部(H2、H3)の送信機能を停止させる。
In the state (6) of FIG. 15, the slave
状態(7)において、マスター伝送制御装置1Mはスレーブ伝送制御装置1Sがその交信部の送信機能を停止するまでの時間(例えば500ms)を待って、予め設定される車両IDに対応するIPアドレス10.0.64.254、自らが置かれた車両の車両番号(0000)、そして自らに設定した車号番号0を含む車号設定要求パケットFをブロードキャストで送信する。送信はブロードキャストで行われるので全てのスレーブ伝送制御装置1Sで受信可能であるが、状態(6)で交信部の送信機能を停止しているので、車両イのマスター伝送制御装置1Mに直接接続される車両イのスレーブ伝送制御装置1S(伝送制御装置B(1b))より下流へは、車号設定要求パケットFは伝送されない。
In the state (7), the master
マスター制御装置1Mから送信された車号設定要求パケットFを受信した車両イのスレーブ伝送制御装置1Sは、車号設定要求パケットFに含まれる車両番号(0000)が自分の車両番号と同じなのでそのIPアドレスの下位2バイトについて、所定の数(ここでは−10)を加算して、IPアドレスとして10.0.64.244に設定する。
The slave
状態(8)において、車両イのスレーブ伝送制御装置1Sは停止していた交信部の送信機能を回復するとともに自装置での全ての設定が終わると設定済みのIPアドレス10.0.64.244、設定済みの車両番号0000、設定済みの車号番号0を含む車号設定応答パケットGをマスター伝送制御装置1Mへ送信する。
In the state (8), the slave
図16の状態(9)において、スレーブ伝送制御装置1Sからの車号設定応答パケットを受信したマスター伝送制御装置1Mは、続けて、スレーブ伝送制御装置1S(車両イの伝送制御装置B(1b))へ設定済みのIPアドレス10.0.64.244、車両番号(0000)、そして車号番号0を含む車号設定要求パケットHをブロードキャストで送信する。
In the state (9) of FIG. 16, the master
車両イの伝送制御装置B(1b)は既に自分の設定が終わっているので車号設定要求パケットHを無視する。また車両イの伝送制御装置B(1b)の交信部の送信機能が回復しているのでマスター伝送制御装置1Mからの車号設定要求パケットHは車両ロのスレーブ伝送制御装置1S(伝送制御装置A(1a))へ転送される。
The transmission control device B (1b) of the vehicle A ignores the vehicle number setting request packet H because its own setting has already been completed. Further, since the transmission function of the communication unit of the vehicle A transmission control device B (1b) has been restored, the vehicle number setting request packet H from the master
状態(10)において、車両ロのスレーブ伝送制御装置1Sは、車号設定要求パケットHを初めて受信し、その中に含まれる車両番号を対比する。送られて来た車両番号と自分の車両番号が異なるので、自らのIPアドレスを車号設定要求パケットHに含まれるIPアドレスに所定の値(ここでは、下位1バイト目に10、下位2バイト目に1、)を加算して10.0.65.254とする。また、送られて来た車号設定要求パケットHに含まれる車号番号0に1を加算して自らの車号番号を1とする。そして、自装置での全ての設定が終わると交信部の送信機能を回復して、マスター伝送制御装置1Mへ設定されたIPアドレス10.0.65.254、車両番号(3210)、車号番号1を含む車号設定応答パケットIを送信し、マスター伝送制御装置1Mはこの車号設定応答パケットIを受信する。
In the state (10), the slave
状態(11)において、車両ロのスレーブ伝送制御装置(伝送制御装置A(1a))からの車号設定応答パケットIを受信したマスター伝送制御装置1Mは、続けて、車号設定応答パケットIに含まれる車両ロの伝送制御装置A(1a)へ設定済みのIPアドレス10.0.65.254、車両番号(3210)、そして車号番号1を含む車号設定要求パケットJをブロードキャストで送信する。
In the state (11), the master
車両ロの伝送制御装置A(1a)は既に設定を終わっているので、車号設定要求パケットJを伝送制御装置B(1b)へ転送する。車両ロの伝送制御装置B(1b)はパケットJの中の車両番号と自分の置かれた車両の車両番号を対比して、車両番号が同じで、自分が2位に位置するのでIPアドレスの最下位の2バイトに所定の数(ここでは−1)を加算して、10.0.65.244とする。 Since the transmission control device A (1a) in the vehicle has already been set, the vehicle number setting request packet J is transferred to the transmission control device B (1b). The transmission control device B (1b) of the vehicle B compares the vehicle number in the packet J with the vehicle number of the vehicle on which it is placed. A predetermined number (in this case, -1) is added to the lowest 2 bytes to obtain 10.0.65.244.
図17の状態(12)において、車両ロの伝送制御装置B(1b)は端部に置かれる交信部を有するので、設定済みのIPアドレス10.0.65.244、車両番号3210、車号番号1を含む車号設定最終応答パケットKをマスター伝送制御装置1Mへ送信する。
In the state (12) of FIG. 17, since the transmission control device B (1b) of the vehicle B has a communication unit placed at the end, the set IP address 10.0.65.244,
状態(13)において、車号設定最終応答パケットKを受信したマスター伝送制御装置1Mは車号設定完了パケットLをブロードキャストで送信する。また停止していた交信部の送受信機能を回復し、設定作業を終了する。
In the state (13), the master
車号設定完了パケットLを受信したスレーブ伝送制御装置1Sは車号設定を終了する。また車両ロの端に位置する伝送制御装置B(1b)の交信部はその送受信機能を回復する。
The slave
本実施形態によれば、1両の両端に伝送制御装置1が置かれている場合であって、かつ、複数車両編成の場合であっても、マスターとなる伝送制御装置1を決定し、IPアドレスや車号番号の設定を行うことができる。
According to the present embodiment, even when the
本発明は上記実施形態に限定されるものではない。即ち、当業者は、従来公知の知見に従い、本発明の骨子を逸脱しない範囲で種々変形して実施することができる。かかる変形によってもなお本発明の伝送制御システムや伝送制御装置の構成を具備する限り、勿論、本発明の範疇に含まれるものである。 The present invention is not limited to the above embodiment. That is, those skilled in the art can implement various modifications in accordance with conventionally known knowledge without departing from the scope of the present invention. Of course, such modifications are included in the scope of the present invention as long as the transmission control system and the transmission control apparatus of the present invention are configured.
1 伝送制御装置
2 スイッチングハブ(判定部、通信制御部)
3 ルータ(判定部、通信制御部)
4 バイパスリレー(バイパス手段)
100、101、102 伝送制御システム
1
3 routers (determination unit, communication control unit)
4 Bypass relay (bypass means)
100, 101, 102 Transmission control system
Claims (10)
前記複数の伝送制御装置のうち、他の前記伝送制御装置との接続状態及び所定の条件にしたがってマスターとなる伝送制御装置を決定し、
前記マスターとなる伝送制御装置以外の前記伝送制御装置は、前記交信部の送信機能を停止させ、
前記マスターとなる伝送制御装置は、自身に隣接する前記伝送制御装置から順次前記識別情報を設定させ、
前記識別情報が設定された伝送制御装置は、前記交信部の送信機能を回復させる、
ことを特徴とする伝送制御システム。 A transmission control device having at least two communication units and one or more transmission control devices installed in each of a plurality of vehicles are connected in cascade through the communication units, and the transmission control device and a vehicle in which the transmission control device is placed A transmission control system in which identification information for identifying the arrangement order is sequentially set in each of the plurality of transmission control devices,
Among the plurality of transmission control devices, determine a transmission control device to be a master according to the connection state with the other transmission control devices and predetermined conditions,
The transmission control device other than the master transmission control device stops the transmission function of the communication unit,
The transmission control device serving as the master sequentially sets the identification information from the transmission control device adjacent to the master,
The transmission control device in which the identification information is set restores the transmission function of the communication unit.
A transmission control system characterized by that.
自身が置かれる前記車両の前記車両番号及び当該車両内の両端のうちいずれに置かれたかを示す端部符号のうち少なくともいずれか一方と、他の伝送制御装置が置かれる前記車両の前記車両番号及び当該車両内の両端のうちいずれに置かれたかを示す端部符号のうち少なくともいずれか一方と、に基づいて自身をマスターとするか否かを判定する判定部と、
前記判定部の判定結果が前記マスターとなった場合は、自身の前記識別情報を設定した後に、前記他の伝送制御装置に対して前記識別情報の設定要求情報を送信し、前記マスターと判定されない場合は、前記第1及び第2の交信部の送信機能を停止させ、前記識別情報の設定要求情報を受信して、当該識別情報の設定要求情報に基づいて自身の前記識別情報を設定した後に、前記第1及び第2の交信部の送信機能を回復させる通信制御部と、
を有することを特徴とする伝送制御装置。 A first communication unit and a second communication unit that transmit and receive signals to and from other different transmission control devices, each having a unique vehicle number, and the vehicle on which the vehicle itself is placed based on the vehicle number A transmission control device installed in a vehicle in which identification information for identifying the arrangement order is set,
At least one of the vehicle number of the vehicle on which the vehicle is placed and an end code indicating which of the vehicle is placed at both ends of the vehicle, and the vehicle number of the vehicle on which another transmission control device is placed And a determination unit that determines whether or not to be a master based on at least one of the end codes indicating which of the both ends of the vehicle is placed, and
When the determination result of the determination unit is the master, after setting the identification information of itself, the setting request information of the identification information is transmitted to the other transmission control device, and is not determined as the master. In the case, after stopping the transmission function of the first and second communication units, receiving the setting request information of the identification information, and setting the identification information of itself based on the setting request information of the identification information A communication control unit for recovering the transmission function of the first and second communication units;
A transmission control apparatus comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014174513A JP6468759B2 (en) | 2014-08-28 | 2014-08-28 | Transmission control system and transmission control apparatus used therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014174513A JP6468759B2 (en) | 2014-08-28 | 2014-08-28 | Transmission control system and transmission control apparatus used therefor |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2016052150A true JP2016052150A (en) | 2016-04-11 |
JP6468759B2 JP6468759B2 (en) | 2019-02-13 |
Family
ID=55659324
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014174513A Active JP6468759B2 (en) | 2014-08-28 | 2014-08-28 | Transmission control system and transmission control apparatus used therefor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6468759B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102085196B1 (en) * | 2019-09-17 | 2020-03-05 | (주)대연씨앤아이 | Solar panel supporting self-identification and operating method of the same |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0191601A (en) * | 1987-09-30 | 1989-04-11 | Toshiba Corp | Car number setter for rolling stock |
JP2001088704A (en) * | 1999-09-27 | 2001-04-03 | Niigata Eng Co Ltd | Control signal transmitting system for vehicle |
WO2008004617A1 (en) * | 2006-07-05 | 2008-01-10 | Kabushiki Kaisha Toshiba | Transmission system for railway vehicle |
JP2011205777A (en) * | 2010-03-25 | 2011-10-13 | Koito Ind Ltd | Vehicle network system for formation of vehicle and vehicle network controller |
-
2014
- 2014-08-28 JP JP2014174513A patent/JP6468759B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0191601A (en) * | 1987-09-30 | 1989-04-11 | Toshiba Corp | Car number setter for rolling stock |
JP2001088704A (en) * | 1999-09-27 | 2001-04-03 | Niigata Eng Co Ltd | Control signal transmitting system for vehicle |
WO2008004617A1 (en) * | 2006-07-05 | 2008-01-10 | Kabushiki Kaisha Toshiba | Transmission system for railway vehicle |
JP2011205777A (en) * | 2010-03-25 | 2011-10-13 | Koito Ind Ltd | Vehicle network system for formation of vehicle and vehicle network controller |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102085196B1 (en) * | 2019-09-17 | 2020-03-05 | (주)대연씨앤아이 | Solar panel supporting self-identification and operating method of the same |
Also Published As
Publication number | Publication date |
---|---|
JP6468759B2 (en) | 2019-02-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104378291B (en) | Method and communication equipment for the information transmission for carrying out redundancy in industrial communication network | |
JP4738533B2 (en) | Train-to-car communication device | |
US7885181B2 (en) | Ring node apparatus | |
CN103454992B (en) | The network equipment, network equipment and the method for operational network device | |
JPH09321821A (en) | Protocol conversion system and its method | |
CN103916275A (en) | BFD detection device and method | |
JP2017034590A (en) | Communication network and relay device | |
CN109586958B (en) | Configuration management method for dual-system device and dual-system device | |
EP2211509A2 (en) | Network communication node | |
CN110959272B (en) | Defect detection in IP/MPLS network tunnels | |
US9455867B2 (en) | Automatic configuration of a repeater | |
JP6328173B2 (en) | Inverter control method | |
CN101741849A (en) | Method, system and device for transmitting serial port service data | |
CN104104596A (en) | Intelligent resilient framework (IRF) split processing method and device | |
US9692636B2 (en) | Relay system and relay device | |
JP6468759B2 (en) | Transmission control system and transmission control apparatus used therefor | |
CN102918809A (en) | Network and expansion unit and method for operating a network | |
CN104536853B (en) | A kind of device ensureing dual controller storage device resource continuous availability | |
JP4850704B2 (en) | Data transmission method and apparatus | |
JP6138282B2 (en) | Communication apparatus, train network system, and network setting method | |
JP5169798B2 (en) | Bridge device and virtual network failure switching method | |
US7565166B2 (en) | Non-interacting transmission of identification information on communication lines | |
JP6359914B2 (en) | Relay system and relay device | |
CN110601941B (en) | Vehicle-mounted signal transmission system and method based on EtherCAT bus | |
CN101917291A (en) | Serial-bus streaming media transmission system and terminal equipment in same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170824 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20180122 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20180523 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180529 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180727 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20180809 |
|
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: 20190108 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190115 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6468759 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |