JP2007047995A - Traffic signal controller - Google Patents

Traffic signal controller Download PDF

Info

Publication number
JP2007047995A
JP2007047995A JP2005231073A JP2005231073A JP2007047995A JP 2007047995 A JP2007047995 A JP 2007047995A JP 2005231073 A JP2005231073 A JP 2005231073A JP 2005231073 A JP2005231073 A JP 2005231073A JP 2007047995 A JP2007047995 A JP 2007047995A
Authority
JP
Japan
Prior art keywords
data
control unit
storage unit
display data
unit
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
JP2005231073A
Other languages
Japanese (ja)
Other versions
JP4670541B2 (en
Inventor
Masahiro Miura
正宏 三浦
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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries Ltd
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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP2005231073A priority Critical patent/JP4670541B2/en
Publication of JP2007047995A publication Critical patent/JP2007047995A/en
Application granted granted Critical
Publication of JP4670541B2 publication Critical patent/JP4670541B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Traffic Control Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a smaller-space and lower-cost traffic signal controller compared with a conventional one allowing the change of data. <P>SOLUTION: In this traffic signal controller, a switching device equipped in a signal control part 11 is only a switching device 15ab, so that the number of the switching devices is reduced in sized as compared to a conventional signal control part to miniaturize a circuit and to reduce cost. Because a main control part 11ab performs the rewriting of present data only to a memory 15aa of a present data master storage part 15a when rewriting the present data, a frequency at which the main control part rewrites the present data is reduced as compared to the conventional signal control part. Accordingly, in the traffic signal controller, a time spent for the change of the present data is reduced, and a load of the main control part accompanied by the rewriting is reduced. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は交通信号灯器の信号灯の点滅を制御するための交通信号制御機に関し、特に、信号灯点滅を制御する情報を変更するための回路部を低コストかつ省スペースで実現できる交通信号制御機に関する。   The present invention relates to a traffic signal controller for controlling blinking of a signal lamp of a traffic signal lamp device, and more particularly to a traffic signal controller capable of realizing a circuit unit for changing information for controlling blinking of a signal lamp at low cost and in a small space. .

交通の流れを円滑にし、また交通の安全を確保するために交通信号機がさまざまな街路の交差点に配置される。交通信号機は、通常、青、黄および赤の3つの色灯を点滅させる交通信号灯器と、3色灯器の点滅を制御するための交通信号制御機とにより構成される。十字交差路などにおいて設けられる複数の交通信号灯器は、共通の交通信号制御機からの制御情報に従って信号灯の点滅が制御される。   Traffic signals are placed at the intersections of various streets to smooth traffic flow and ensure traffic safety. The traffic signal is usually composed of a traffic signal lamp that blinks three color lights of blue, yellow, and red, and a traffic signal controller that controls blinking of the three-color lamp. In a plurality of traffic signal lamps provided in a cross road or the like, blinking of a signal lamp is controlled according to control information from a common traffic signal controller.

特開平11−232589号公報(特許文献1)には、点滅を制御するための情報を容易に変更することが可能な交通信号制御機が開示されている。図10は、特開平11−232589号公報(特許文献1)に開示される交通信号制御機に含まれる信号制御機の構成を示す概略ブロック図である。   Japanese Patent Application Laid-Open No. 11-232589 (Patent Document 1) discloses a traffic signal controller capable of easily changing information for controlling blinking. FIG. 10 is a schematic block diagram showing the configuration of a signal controller included in the traffic signal controller disclosed in Japanese Patent Laid-Open No. 11-232589 (Patent Document 1).

図10を参照して、信号制御部111は交通信号制御機において交通信号灯の点滅に必要な信号を発生するブロックである。信号制御部111は制御処理部111aおよび現示データ格納部115を含む。   Referring to FIG. 10, a signal control unit 111 is a block that generates a signal necessary for blinking a traffic signal lamp in a traffic signal controller. The signal control unit 111 includes a control processing unit 111a and a display data storage unit 115.

「現示データ」とは、この交通信号制御機が設けられる地点における、いずれの道路に対して通行権が与えられているかを示すデータである。この信号現示の設定状況を定量的に示す信号パラメータには、信号現示が一巡するのに必要とされる時間(秒)を示すサイクル、この信号の1サイクル中に占める各現示の時間的比率を示すスプリット、および同じサイクルを有する信号機群の間での信号の位相のずれを表わすオフセット等が含まれる。交通量を最適に制御するために、この信号パラメータは最適化され、この最適化された信号パラメータが現示データ格納部115に格納される。なお、現示データには点滅パタンが複数記録されている場合もある。   “Current data” is data indicating to which road the right of passage is given at the point where the traffic signal controller is provided. The signal parameter that quantitatively indicates the setting status of this signal display includes a cycle indicating the time (seconds) required for the signal display to make a round, and the time of each display occupied in one cycle of this signal. A split indicating a dynamic ratio, an offset indicating a phase shift of a signal between signal groups having the same cycle, and the like are included. In order to optimally control the traffic volume, the signal parameter is optimized, and the optimized signal parameter is stored in the present data storage unit 115. There may be a case where a plurality of blinking patterns are recorded in the present data.

制御処理部111aは現示データ制御部111aaと主制御部111abとを含む。現示データ制御部111aaは現示データ格納部115に格納された現示データに従って信号灯の点滅動作を制御する。主制御部111abは入出力部117を介して外部と情報の授受を行なうとともに、現示データ変更部119から書換用の現示データを受けると現示データ格納部115に格納された現示データの書換を行なう。なお、現示データ制御部111aaはバス111cに接続され、主制御部111abは、バス111dに接続される。   The control processing unit 111a includes a display data control unit 111aa and a main control unit 111ab. The display data control unit 111aa controls the blinking operation of the signal lamp according to the display data stored in the display data storage unit 115. The main control unit 111ab exchanges information with the outside via the input / output unit 117. When the main control unit 111ab receives display data for rewriting from the display data changing unit 119, the display data stored in the display data storage unit 115 is displayed. Rewrite. The displayed data control unit 111aa is connected to the bus 111c, and the main control unit 111ab is connected to the bus 111d.

現示データマスタ格納部115aは、電気的にデータの書換や消去が可能な不揮発性メモリ(たとえばフラッシュメモリ等)で構成され、現示データを格納するメモリ115aaと、メモリ115aaをバス111cおよびバス111dのいずれかに接続する切替器115abとを含む。現示データサブ格納部115bも現示データマスタ格納部115aと同様に、現示データを格納するため、記憶内容が電気的に書換可能なフラッシュメモリ等のメモリで構成されるメモリ115baと、メモリ115baをバス111cおよび111dのいずれかに接続する切替器115bbとを含む。切替器115abおよび115bbは主制御部111abの制御のもとにその接続態様が設定される。   The display data master storage unit 115a is composed of a nonvolatile memory (for example, a flash memory) that can electrically rewrite and erase data. The memory 115aa that stores the display data, the memory 115aa as a bus 111c, and a bus And a switch 115ab connected to any one of 111d. Similarly to the display data master storage unit 115a, the display data sub-storage unit 115b stores the display data, and therefore, a memory 115ba including a memory such as a flash memory whose storage contents can be electrically rewritten, and a memory And a switch 115bb for connecting 115ba to one of the buses 111c and 111d. The connection modes of the switches 115ab and 115bb are set under the control of the main control unit 111ab.

図11は、図10に示す主制御部111abによる現示データ格納部115に格納される現示データの変更処理を示すフローチャートである。   FIG. 11 is a flowchart showing a process of changing the display data stored in the display data storage unit 115 by the main control unit 111ab shown in FIG.

現示データマスタ格納部115aに含まれる切替器115abは、メモリ115aaをバス111cに接続している。また現示データサブ格納部115bの切替器115bbはメモリ115baをバス111dに接続している。この状態において、現示データ制御部111aaはメモリ115aaに格納された現示データに従って信号灯の点滅動作を制御するための灯器出力信号を出力する。   The switch 115ab included in the displayed data master storage unit 115a connects the memory 115aa to the bus 111c. The switch 115bb of the current data sub storage unit 115b connects the memory 115ba to the bus 111d. In this state, the display data control unit 111aa outputs a lamp output signal for controlling the blinking operation of the signal lamp according to the display data stored in the memory 115aa.

ステップS101において、主制御部111abは現示データ変更部119から現示データ変更指示が与えられたか否かを監視する。   In step S101, the main control unit 111ab monitors whether a display data change instruction is given from the display data change unit 119.

ステップS101において主制御部111abに現示データ変更指示が与えられた場合(ステップS101においてYES)、ステップS102において主制御部111abは現示データ変更制御を起動する。現示データ変更制御が起動されると主制御部111abは現示データ変更部119と情報の通信を行なうことが可能な状態に設定される。切替器115bbはメモリ115baをバス111dに接続しており、主制御部111abは現示データ変更部119から書換用の現示データを受ける。   When a display data change instruction is given to the main control unit 111ab in step S101 (YES in step S101), the main control unit 111ab starts display data change control in step S102. When the display data change control is activated, the main control unit 111ab is set to a state in which information communication with the display data change unit 119 is possible. The switch 115bb connects the memory 115ba to the bus 111d, and the main control unit 111ab receives the present data for rewriting from the present data changing unit 119.

主制御部111abは、現示データサブ格納部115bに対するデータ書込に必要な制御信号をバス111dおよび切替器115bbを介してメモリ115baへ与えるとともに、現示データ変更部119から受ける書換用の現示データをメモリ115baへ与える。この現示データサブ格納部115bにおける現示データの変更時、すなわちメモリ115baへの現示データ書込時、バス111cにはメモリ115aaが切替器115abを介して接続されている。したがって現示データ制御部111aaは、このバス111cを介してメモリ115aaにアクセスして必要な現示データを読出し、信号灯器の制御動作を実行する。   The main control unit 111ab provides a control signal necessary for data writing to the display data sub-storage unit 115b to the memory 115ba via the bus 111d and the switch 115bb, and a rewrite current signal received from the display data change unit 119. The indicated data is given to the memory 115ba. When the present data is changed in the present data sub-storage unit 115b, that is, when present data is written to the memory 115ba, the memory 115aa is connected to the bus 111c via the switch 115ab. Therefore, the display data control unit 111aa accesses the memory 115aa via the bus 111c, reads out necessary display data, and executes the control operation of the signal lamp.

次いでステップS103において、必要な現示データがすべて転送されたことが現示データ変更部119から知らされると、主制御部111abはこの転送された現示データをすべてメモリ115baに書込んだか否かを判定する。主制御部111abは、この現示データの書込が完了したと判定する場合(ステップS103においてYES)、ステップS104において切替器115abおよび切替器115bbの接続態様を変更する。ステップS104ではメモリ115aaがバス111dに接続され、一方、メモリ115baがバス111cに接続される。この状態において、主制御部111abは、再び現示データサブ格納部115bへのデータ書込時と同様の動作を現示データマスタ格納部115aに対して行ない、メモリ115aaに現示データの書込を行なう。現示データ制御部111aaは、単にバス111c上に必要な制御信号を送出して必要な現示データの読取を行なう。   Next, in step S103, when the display data changing unit 119 informs that all necessary display data has been transferred, the main control unit 111ab has written all the transferred display data into the memory 115ba. Determine whether. When main controller 111ab determines that the writing of the present data has been completed (YES in step S103), it changes the connection mode of switch 115ab and switch 115bb in step S104. In step S104, the memory 115aa is connected to the bus 111d, while the memory 115ba is connected to the bus 111c. In this state, main controller 111ab performs again the same operation as that for writing data to display data sub-storage unit 115b to display data master storage unit 115a, and writes the display data to memory 115aa. To do. The display data control unit 111aa simply sends a necessary control signal on the bus 111c and reads the necessary display data.

バス111cには現示データサブ格納部115bが結合されており、したがって、現示データ制御部111aaはこの現示データマスタ格納部115aへの現示データ書込時においても、何らその制御動作を停止させることなくメモリ115baに格納された現示データに従って信号灯器の点滅制御を実行することができる。   The displayed data sub-storage unit 115b is coupled to the bus 111c. Therefore, the displayed data control unit 111aa does not perform any control operation even when writing the displayed data to the displayed data master storage unit 115a. The blinking control of the signal lamp can be executed according to the present data stored in the memory 115ba without stopping.

次にステップS105において、現示データマスタ格納部115aの現示データの書込が完了すると(ステップS105においてYES)、この書込完了が主制御部111abから現示データ変更部119に知らされ、現示データの書込が完了する。   Next, in step S105, when the writing of the display data in the display data master storage unit 115a is completed (YES in step S105), the writing completion is notified from the main control unit 111ab to the display data changing unit 119, Writing of the present data is completed.

図12は、図11のステップS102における制御処理部111aでのバスの接続態様を示す図である。図12を参照して、現示データ制御部111aaはバス111cおよび切替器115abを介してメモリ115aaに接続される。主制御部111abはバス111dおよび切替器115bbを介してメモリ115baに接続される。   FIG. 12 is a diagram illustrating a bus connection mode in the control processing unit 111a in step S102 of FIG. Referring to FIG. 12, display data control unit 111aa is connected to memory 115aa via bus 111c and switch 115ab. The main controller 111ab is connected to the memory 115ba via the bus 111d and the switch 115bb.

図13は、図11のステップS104における制御処理部111aでのバスの接続態様を示す図である。図13を参照して、現示データ制御部111aaはバス111cおよび切替器115bbを介してメモリ115baに接続される。主制御部111abはバス111dおよび切替器115abを介してメモリ115aaに接続される。
特開平11−232589号公報
FIG. 13 is a diagram showing a bus connection mode in the control processing unit 111a in step S104 of FIG. Referring to FIG. 13, display data control unit 111aa is connected to memory 115ba via bus 111c and switch 115bb. The main control unit 111ab is connected to the memory 115aa via the bus 111d and the switch 115ab.
Japanese Patent Application Laid-Open No. 11-232589

従来の制御処理部では切替器に接続される信号線の本数が多いという問題がある。切替器はメモリ上のアドレスを指定するためのアドレス信号やデータ信号、データ書込およびデータ読出を指示する制御信号等の多くの信号の入出力先を現示データ制御部と主制御部との間で切替える必要がある。よって従来の制御処理部では切替器を実現するために必要なIC(Integrated Circuit)の数が多くなる。さらに、プリント基板上にはこれらの信号を伝送するための配線をレイアウトする必要があるので、従来の制御処理部ではプリント基板上で切替器が占有するスペースが大きくなるという問題点がある。これらの点が制御処理部を構成する回路の小型化や集積化にとって障壁となっている。   The conventional control processing unit has a problem that the number of signal lines connected to the switch is large. The switch is used to send and receive many signals such as an address signal for designating an address on the memory, a data signal, and a control signal for instructing data writing and data reading between the present data control unit and the main control unit. Need to switch between. Therefore, in the conventional control processing unit, the number of ICs (Integrated Circuits) necessary for realizing the switch increases. Furthermore, since it is necessary to lay out wiring for transmitting these signals on the printed circuit board, the conventional control processing unit has a problem that the space occupied by the switch on the printed circuit board becomes large. These points are barriers to miniaturization and integration of the circuits constituting the control processing unit.

なお、信号線の本数の一例を示すと、たとえばアドレス信号の伝送に用いられる信号線の本数は14本であり、データ信号の伝送に用いられる信号線の本数は8本であり、制御信号の伝送に用いられる信号線の本数は3本である。よって切替器は25本の信号線の接続を切替える必要がある。   As an example of the number of signal lines, for example, the number of signal lines used for transmitting an address signal is 14 and the number of signal lines used for transmitting a data signal is 8, The number of signal lines used for transmission is three. Therefore, the switch needs to switch the connection of 25 signal lines.

図14は、従来の交通信号制御機における信号線のレイアウトの一例を示す図である。図14を参照して、切替器115ab,115bbの各々は複数のスイッチ回路SWTを含む。複数のスイッチ回路SWTの各々は、たとえばスイッチICであり、主制御部111abの切替指示に応じてメモリ115aaまたはメモリ115baの信号の接続先を、現示データ制御部111aaと主制御部111abとの間(すなわちバス111c,111d)で切替える。なお、メモリ115aa,115baの各々には25本の信号線が接続される。各スイッチ回路SWTの信号線はメモリ115aaまたはメモリ115baに接続される。各スイッチ回路SWTは8個のスイッチを内蔵しており、信号線8本の接続先を切替えることができる。よって、メモリ115aaに対して4個のスイッチ回路SWTが必要になり、同様にメモリ115baに対しても4個のスイッチ回路SWTが必要になる。   FIG. 14 is a diagram illustrating an example of a signal line layout in a conventional traffic signal controller. Referring to FIG. 14, each of switches 115ab and 115bb includes a plurality of switch circuits SWT. Each of the plurality of switch circuits SWT is, for example, a switch IC, and the connection destination of the signal of the memory 115aa or the memory 115ba is determined between the display data control unit 111aa and the main control unit 111ab according to the switching instruction of the main control unit 111ab. Switching between them (that is, buses 111c and 111d). Note that 25 signal lines are connected to each of the memories 115aa and 115ba. The signal line of each switch circuit SWT is connected to the memory 115aa or the memory 115ba. Each switch circuit SWT incorporates eight switches and can switch the connection destination of eight signal lines. Therefore, four switch circuits SWT are required for the memory 115aa, and similarly, four switch circuits SWT are required for the memory 115ba.

切替器115abはメモリ115aaとの間に25本の信号線が接続されており、さらに、現示データ制御部111aaと主制御部111abとの間にも各々25本の信号線が接続されている。切替器115bbはメモリ115baとの間に25本の信号線が接続されており、さらに、現示データ制御部111aaと主制御部111abとの間にも各々25本の信号線が接続されている。つまり、切替器115ab,115bbにはそれぞれ75本の信号線が接続される。このように切替器に接続される信号線の本数が多いことにより、従来の信号制御機では回路基板上において切替器が占有するスペースが大きくなる。   The switch 115ab has 25 signal lines connected to the memory 115aa, and 25 signal lines are also connected between the display data control unit 111aa and the main control unit 111ab. . 25 signal lines are connected between the switch 115bb and the memory 115ba, and 25 signal lines are also connected between the display data control unit 111aa and the main control unit 111ab. . That is, 75 signal lines are connected to the switches 115ab and 115bb, respectively. Thus, since the number of signal lines connected to the switch is large, in the conventional signal controller, the space occupied by the switch on the circuit board increases.

また、従来の交通信号制御機の場合、現示データの書換時には現示データサブ格納部と現示データマスタ格納部との両方にデータが書込まれているため、現示データの書換処理に要する時間が長くなるという問題がある。   In the case of a conventional traffic signal controller, since the data is written in both the display data sub-storage unit and the display data master storage unit at the time of rewriting the display data, it is possible to rewrite the display data. There is a problem that it takes a long time.

本発明はこれらの課題を解決するものであり、従来よりも省スペースかつ低コストでデータの変更が可能な交通信号制御機を提供することを目的とする。   The present invention solves these problems, and an object thereof is to provide a traffic signal controller capable of changing data at a smaller space and at a lower cost than conventional ones.

本発明は要約すれば、交通信号灯器の信号灯の点滅を制御するための交通信号制御機であって、信号灯の点滅を制御するための現示データを格納する第1のデータ格納部と、第1のデータ格納部に対して現示データの読出を行ない、読出された現示データに基づいて信号灯の点滅を制御する制御部と、第1のデータ格納部から現示データが読出されたことを検知して、読出された現示データを、所定の動作モード時に制御部が読出すバックアップデータとして内部に格納する第2のデータ格納部とを備える。第2のデータ格納部が第1のデータ格納部から現示データが読出されたことを検知し、その読出された現示データをバックアップデータとして格納することにより、従来の交通信号制御機よりも切替器の個数を減らすことができるので、本発明の交通信号制御機は省スペースかつ低コストを実現することができる。   In summary, the present invention is a traffic signal controller for controlling blinking of a signal lamp of a traffic signal lamp device, the first data storage unit for storing present data for controlling blinking of the signal lamp, The present data is read from one data storage unit, and the present data is read from the control unit for controlling blinking of the signal lamp based on the read present data, and the first data storage unit. And a second data storage unit that stores the read present data as backup data read by the control unit in a predetermined operation mode. The second data storage unit detects that the present data has been read from the first data storage unit, and stores the read present data as backup data, so that the conventional traffic signal controller can be used. Since the number of switching devices can be reduced, the traffic signal controller of the present invention can realize space saving and low cost.

好ましくは、制御部は、現示データを読出すための読出指示を第1のデータ格納部に対して出力し、第2のデータ格納部は、読出指示に応じてバックアップデータの書込を指示する書込指示を出力するバックアップ制御器と、書込指示に応じ、バックアップデータを内部に格納する記憶部とを含む。制御部から送られる読出指示に応じて記憶部にバックアップデータが格納されるので、制御部は読出指示のみを出力するだけでよくなり、制御部の処理を簡単にすることができる。   Preferably, the control unit outputs a read instruction for reading the present data to the first data storage unit, and the second data storage unit instructs writing of the backup data in accordance with the read instruction. A backup controller that outputs a write instruction to be performed, and a storage unit that stores backup data therein in response to the write instruction. Since the backup data is stored in the storage unit in response to the read instruction sent from the control unit, the control unit need only output the read instruction, and the processing of the control unit can be simplified.

より好ましくは、交通信号制御機は、制御部の動作を監視し、制御部が第1のデータ格納部から現示データの読出を完了したと判定する場合に、現示データがバックアップデータとして記憶部に格納されたことを示す完了情報を制御部に対して送る監視部をさらに備える。監視部が現示データの読出を完了したと判定する場合に完了情報を制御部に対して送ることによって、記憶部に高速にバックアップデータの書込を行ないながら、第1のデータ格納部に格納された現示データとバックアップデータとが一致することを保証することができる。   More preferably, the traffic signal controller monitors the operation of the control unit, and stores the present data as backup data when the control unit determines that the present data has been read from the first data storage unit. And a monitoring unit that sends completion information indicating that the information is stored in the control unit to the control unit. When the monitoring unit determines that the reading of the present data has been completed, it sends the completion information to the control unit, so that the backup data is written to the storage unit at a high speed and stored in the first data storage unit. It can be ensured that the displayed data and the backup data coincide with each other.

さらに好ましくは、制御部は、読出された現示データに基づいて、信号現示を一巡させる点滅制御処理を繰返し実行し、監視部は、点滅制御処理が少なくとも1回終了すると、制御部に対して完了情報を送る。点滅制御処理が少なくとも1回終了すれば、信号灯の点滅制御に必要な全ての現示データが読み出されることになるので、点滅制御処理の終了により現示データのバックアップが完了したことを保証できる。   More preferably, the control unit repeatedly executes a flashing control process for making a round of the signal display based on the read display data, and the monitoring unit performs the control on the control unit when the flashing control process is completed at least once. Send completion information. If the blinking control process is completed at least once, all the display data necessary for the blinking control of the signal lamp is read out, so that it is possible to guarantee that the backup of the display data is completed by the completion of the blinking control process.

さらに好ましくは、制御部は、入力される書換データを用いて第1のデータ格納部に格納される現示データを書換え、第1のデータ格納部に格納される書換後の現示データのうちアドレス指定されたデータを読出開始指示に応じて読出し、読出しが完了すると監視部に対して通知を送る。監視部は、第1のデータ格納部において書換後の現示データが格納されるアドレスの範囲を示すアドレス情報に基づいて、アドレス指定されたデータの読出しを制御部に行なわせるために、アドレスの範囲に含まれるアドレスを第1のデータ格納部に対して順次指定して、アドレスを指定するごとに制御部に対して読出開始指示を送り、制御部から受ける通知に基づいてアドレスの範囲に含まれるアドレスをすべて指定したと判定する場合に、制御部に対して完了情報を送る。第1のデータ格納部に現示データの書換が行なわれた直後に第1のデータ格納部から書換後の現示データが読み出されることにより、読出された現示データがバックアップデータとして第2のデータ格納部に格納される。信号現示を一巡させる点滅制御処理を実行しなくても現示データのバックアップが可能になるので、現示データの書換から短期間でバックアップ格納部への現示データの格納を終了させることができる。   More preferably, the control unit rewrites the display data stored in the first data storage unit using the input rewrite data, and among the rewritten display data stored in the first data storage unit The addressed data is read according to the read start instruction, and a notification is sent to the monitoring unit when the read is completed. The monitoring unit, in order to cause the control unit to read the addressed data based on the address information indicating the range of addresses where the present data after rewriting is stored in the first data storage unit, The address included in the range is sequentially specified to the first data storage unit, and each time the address is specified, a read start instruction is sent to the control unit, and included in the address range based on the notification received from the control unit When it is determined that all the addresses to be specified are designated, completion information is sent to the control unit. Immediately after the display data is rewritten to the first data storage unit, the display data after rewriting is read from the first data storage unit, so that the read display data becomes the second data as backup data. Stored in the data storage. Since the display data can be backed up without executing the blinking control process for making a round of signal display, the storage of the display data in the backup storage unit can be completed in a short period of time after rewriting the display data. it can.

より好ましくは、所定の動作モードは、書換モードであり、制御部は、書換モードの開始時に切替指令を出力し、書換モード時には、入力される書換データを用いて第1のデータ格納部に格納される現示データの書換を行ない、かつ、記憶部から読み出したバックアップデータに基づいて信号灯の点滅を制御し、書換モードの終了時に切替指令を再度出力する。バックアップ制御器は、切替指令に応じ、書換モード時には、制御部から受ける読出指示をそのまま記憶部に与え、書換モードの終了後には読出指示に応じて書込指示を出力する。記憶部は、読出し指示に応じ、バックアップデータを出力する。制御部は現示データの書換時(書換モード時)に第1のデータ格納部に対してのみ現示データの書換を行なえばよくなるので、制御部が現示データの書換を行なう回数が従来よりも減り、現示データの変更に要する時間が短縮されるとともに書換に伴う制御部の負荷が減少する。   More preferably, the predetermined operation mode is a rewrite mode, and the control unit outputs a switching command at the start of the rewrite mode, and stores the first data storage unit using the input rewrite data in the rewrite mode. The displayed data is rewritten, the blinking of the signal lamp is controlled based on the backup data read from the storage unit, and the switching command is output again at the end of the rewriting mode. In response to the switching command, the backup controller gives a read instruction received from the control unit to the storage unit as it is in the rewrite mode, and outputs a write instruction in response to the read instruction after the end of the rewrite mode. The storage unit outputs backup data in response to the read instruction. Since the control unit only needs to rewrite the display data only to the first data storage unit at the time of rewriting the display data (during the rewrite mode), the number of times the control unit rewrites the display data is higher than before. As a result, the time required for changing the display data is shortened and the load on the control unit accompanying rewriting is reduced.

さらに好ましくは、交通信号制御機は、制御部が現示データまたはバックアップデータを受けるための第1のバスと、制御部が書換データを送るための第2のバスとをさらに備える。第1のデータ格納部は、現示データを記憶する現示データ記憶部と、切替指令に応じ、現示データ記憶部を第1のバスに接続するか第2のバスに接続するかを切替える切替器とを含む。記憶部は、第1のバスに直接接続される。データ書換時に現示データ記憶部が第1のバスから第2のバスに接続されるよう切替器がバスの接続の切替を行なうことで、書換用のデータと第1のデータ格納部から出力されるバックアップデータ(現示データ)とが第1のバス上で衝突することを防ぐことができる。   More preferably, the traffic signal controller further includes a first bus for the controller to receive the present data or the backup data, and a second bus for the controller to send rewrite data. The first data storage unit switches between the display data storage unit for storing the display data and whether to connect the display data storage unit to the first bus or the second bus in response to the switching command. Switcher. The storage unit is directly connected to the first bus. When the data is rewritten, the switching unit switches the connection of the bus so that the current data storage unit is connected from the first bus to the second bus, so that the data for rewriting and the first data storage unit are output. It is possible to prevent the backup data (present data) from colliding on the first bus.

本発明の交通信号制御機によれば、切替器の個数を従来よりも減らすことによって、プリント基板上において切替器が占有するスペースを減らすことができるので、省スペースかつ低コストの交通信号制御機を実現することができる。   According to the traffic signal controller of the present invention, the space occupied by the switch on the printed circuit board can be reduced by reducing the number of the switch as compared with the conventional one. Can be realized.

以下において、本発明の実施の形態について図面を参照して詳しく説明する。なお、図中同一符号は同一または相当部分を示す。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the drawings, the same reference numerals indicate the same or corresponding parts.

[実施の形態1]
図1は、実施の形態1の交通信号制御機の全体の構成を概略的に示す図である。図1を参照して、交通信号制御機10は、交通信号灯の点滅に必要な信号を発生する信号制御部11と、この信号制御部11の出力する灯器出力信号に従って交通信号灯の点滅を制御するための灯器出力を出力する灯器開閉部12と、交通管制センタと信号制御部11の間で通信を行ない、信号制御部11から受け取った感知器等のセンサ情報及び信号制御部の動作情報を交通管制センタへ送信するとともに、交通管制センタからの制御情報を受信して信号制御部11に送信する送受信部13とを含む。
[Embodiment 1]
FIG. 1 is a diagram schematically showing an overall configuration of the traffic signal controller according to the first embodiment. Referring to FIG. 1, a traffic signal controller 10 controls the blinking of a traffic signal lamp according to a signal control unit 11 that generates a signal necessary for the blinking of the traffic signal lamp, and a lamp output signal output from the signal control unit 11. Communication between the traffic control center and the signal control unit 11, sensor information such as sensors received from the signal control unit 11, and the operation of the signal control unit And a transmission / reception unit 13 that transmits information to the traffic control center and receives control information from the traffic control center and transmits the control information to the signal control unit 11.

信号制御部11は、信号灯点滅および情報送受信などの必要な制御を行なう制御処理部11aと、この交通信号制御機10に対して設けられる交通信号灯器の現示データを格納する現示データ格納部15と、入出力部17とを含む。   The signal control unit 11 includes a control processing unit 11a that performs necessary control such as blinking of a signal lamp and information transmission / reception, and a display data storage unit that stores display data of a traffic signal lamp provided for the traffic signal controller 10. 15 and an input / output unit 17.

制御処理部11aは現示データ格納部15から読み出した現示データに従って、交通信号灯器の点滅を制御するための灯器出力信号を出力する。制御処理部11aは入出力部17を介して接続された車両感知器や押しボタン箱からのセンサ入力、および、送受信部13経由で交通管制センタから受信した制御情報を元に、交通信号灯器の点滅状態の切替タイミングを制御し、交通の円滑な流れを実現する。   The control processing unit 11a outputs a lamp output signal for controlling blinking of the traffic signal lamp according to the display data read from the display data storage unit 15. The control processing unit 11a is connected to the vehicle sensor or the push button box connected via the input / output unit 17 and the control information received from the traffic control center via the transmission / reception unit 13 based on the traffic signal lamp. Controls the switching timing of the blinking state to realize a smooth traffic flow.

現示データ格納部15は現示データを格納する部分である。現示データ格納部15の構成の詳細は後述する。   The display data storage unit 15 is a part for storing display data. Details of the configuration of the display data storage unit 15 will be described later.

入出力部17は走行車両量を感知する車両感知器などの信号入力と、押ボタン式交通信号機に設けられた押ボタン箱が押圧されたか否かを示す押ボタン箱感知入力と、この押ボタン箱感知入力の状態に従って押ボタン箱に対し、押ボタン押圧確認などの信号を出力する押ボタン箱信号出力の入出力を行なう。なお、現示データ格納部15および入出力部17は制御処理部11aに結合される。   The input / output unit 17 inputs a signal from a vehicle sensor or the like that senses the amount of the traveling vehicle, a push-button box detection input that indicates whether or not a push-button box provided in the push-button traffic signal has been pressed, and the push button. According to the state of the box detection input, the pushbutton box signal output for outputting a signal such as a pushbutton pressing confirmation to the pushbutton box is input / output. The display data storage unit 15 and the input / output unit 17 are coupled to the control processing unit 11a.

現示データ変更部19は新しい現示データを制御処理部11aに入力する機能および、現示データの変更を指示する機能を有する。具体的には、現示データ変更部19はパーソナルコンピュータや、信号制御機の操作用パネルなどで実現される。   The display data changing unit 19 has a function of inputting new display data to the control processing unit 11a and a function of instructing change of the display data. Specifically, the display data changing unit 19 is realized by a personal computer, an operation panel of a signal controller, or the like.

図2は、図1の信号制御部11の構成をより詳細に示す図である。図2を参照して、信号制御部11は、制御処理部11aおよび現示データ格納部15を含む。   FIG. 2 is a diagram showing the configuration of the signal control unit 11 in FIG. 1 in more detail. With reference to FIG. 2, the signal control unit 11 includes a control processing unit 11 a and a presenting data storage unit 15.

制御処理部11aは現示データ制御部11aaと主制御部11abとを含む。現示データ制御部11aaは現示データ格納部15に格納された現示データに基づいて現示階梯を進め、3色の色灯の点滅を順次切替える。通常状態時には現示データ格納部15に格納された現示データに従って現示階梯が進められ、灯器開閉部12は、この信号制御部11からの灯器出力信号に従って交通信号灯の開閉(点滅)を制御する。   The control processing unit 11a includes a display data control unit 11aa and a main control unit 11ab. The display data control unit 11aa advances the display step based on the display data stored in the display data storage unit 15, and sequentially switches blinking of the three color lights. In the normal state, the display hierarchy is advanced according to the display data stored in the display data storage unit 15, and the lamp opening / closing unit 12 opens / closes (flashes) the traffic signal lamp according to the lamp output signal from the signal control unit 11. To control.

主制御部11abは入出力部17を介して外部と情報の授受を行なうとともに、現示データ変更部19から書換用の新しい現示データを受けると現示データ格納部15に格納された現示データの書換を行なう。なお、現示データ制御部11aaはバス11cに接続され、主制御部11abは、バス11dに接続される。   The main control unit 11ab exchanges information with the outside via the input / output unit 17 and also receives the new display data for rewriting from the display data changing unit 19, and the display stored in the display data storage unit 15 Rewrite data. The present data control unit 11aa is connected to the bus 11c, and the main control unit 11ab is connected to the bus 11d.

現示データ格納部15は、現示データマスタ格納部15aと現示データバックアップ格納部15bとを含む。現示データマスタ格納部15aは、たとえばフラッシュメモリのような、電気的にデータの書換や消去が可能であり、かつ、不揮発的にデータを記憶するメモリで構成されるメモリ15aaと、メモリ15aaをバス11cおよびバス11dのいずれかに接続する切替器15abとを含む。なお、切替器15abは主制御部11abの制御によって、その接続態様が設定される。   The display data storage unit 15 includes a display data master storage unit 15a and a display data backup storage unit 15b. The displayed data master storage unit 15a includes, for example, a memory 15aa including a memory that can electrically rewrite and erase data, such as a flash memory, and that stores data in a nonvolatile manner, and a memory 15aa. And a switch 15ab connected to either the bus 11c or the bus 11d. Note that the connection mode of the switch 15ab is set under the control of the main controller 11ab.

現示バックアップデータ格納部は、メモリ15baとバックアップ制御器21とで構成される。   The current backup data storage unit includes a memory 15ba and a backup controller 21.

メモリ15baは揮発性のメモリであり、より具体的にはSRAM(Static Random Access Memory)である。なお、メモリ15baはDRAM(Dynamic Random Access Memory)であってもよい。   The memory 15ba is a volatile memory, and more specifically, an SRAM (Static Random Access Memory). The memory 15ba may be a DRAM (Dynamic Random Access Memory).

メモリ15baには現示データ制御部11aaから出力されるアドレス信号およびメモリ15aaから出力されるデータ信号を伝達するためのバス11cが直接接続されている。バックアップ制御器21は現示データ制御部11aaから送られる読出指示信号RS、および主制御部11abから送られる切替指令信号SW1を受ける。   The memory 15ba is directly connected to a bus 11c for transmitting an address signal output from the current data control unit 11aa and a data signal output from the memory 15aa. The backup controller 21 receives a read instruction signal RS sent from the present data control unit 11aa and a switching command signal SW1 sent from the main control unit 11ab.

バックアップ制御器21は現示データ制御部11aaから読出指示信号RSを受けた際に、メモリ15baに対してデータの書込を行なうかデータの読出を行なうかを切替指令信号SW1に応じて判定する。   When backup controller 21 receives read instruction signal RS from display data control unit 11aa, backup controller 21 determines whether to write data to memory 15ba or to read data in accordance with switching command signal SW1. .

信号制御部11は、さらにバックアップ保証部22を含む。バックアップ保証部22は本発明における「監視部」に相当する。バックアップ保証部22は現示データ制御部11aaの動作を監視することによりメモリ15aaに格納されている現示データがメモリ15baにバックアップされたことを主制御部11abに対して通知する(保証する)ためのブロックである。なお、バックアップ保証部22はハードウェアとして実現されてもよいし、主制御部11abにおけるソフトウェア処理によって実現されてもよい。   The signal control unit 11 further includes a backup guarantee unit 22. The backup assurance unit 22 corresponds to the “monitoring unit” in the present invention. The backup guarantee unit 22 notifies the main control unit 11ab that the present data stored in the memory 15aa has been backed up to the memory 15ba by monitoring the operation of the present data control unit 11aa. It is a block for. The backup assurance unit 22 may be realized as hardware, or may be realized by software processing in the main control unit 11ab.

図2の信号制御部11と図10に示す従来の信号制御部111との相違点について以下説明する。   Differences between the signal control unit 11 of FIG. 2 and the conventional signal control unit 111 shown in FIG. 10 will be described below.

信号制御部11ではバス11cとメモリ15baが常に接続されている。これに対し、信号制御部111ではバス111cとメモリ115baとが切替器115bbを介して接続されている。信号制御部11は信号制御部111に比較して内部に備える切替器の個数が1つ少ないので、回路の小型化や集積化が可能になる。   In the signal control unit 11, the bus 11c and the memory 15ba are always connected. On the other hand, in the signal control unit 111, the bus 111c and the memory 115ba are connected via the switch 115bb. Since the signal control unit 11 has one less switch than the signal control unit 111, the circuit can be downsized and integrated.

なお、信号制御部11においても現示データ格納部15には切替器が必要である。現示データ制御部11aaはメモリ15aaから現示データを読出す際にアドレス信号を出力する。現示データ制御部11aaでの処理を簡単にするため、アドレス信号はメモリ15aaとメモリ15baとで区別されずに共通に用いられる。   In the signal control unit 11 as well, the display data storage unit 15 requires a switch. The current data controller 11aa outputs an address signal when reading current data from the memory 15aa. In order to simplify the processing in the display data control unit 11aa, the address signal is commonly used without being distinguished between the memory 15aa and the memory 15ba.

現示データ制御部11aaが出力するアドレス信号に応じてメモリ15aaは指定されたアドレスに格納された現示データを出力し、メモリ15baは指定されたアドレスに現示データを格納する。つまり、現示データ制御部11aaがメモリ15aa,15baの区別を行なわずにアドレス信号を出力することができる。   In response to the address signal output by the display data control unit 11aa, the memory 15aa outputs the display data stored at the specified address, and the memory 15ba stores the display data at the specified address. That is, the display data control unit 11aa can output an address signal without distinguishing between the memories 15aa and 15ba.

切替器15abはメモリ15baから読出されるデータが書換用のデータによって破壊されないために設けられる。メモリ15aaは通常動作時にはバス11cを介してアドレス信号を受け、現示データを出力する。一方、現示データの書換時にも信号灯の点滅を制御するために、現示データ制御部11aaはメモリ15baからバス11cを介して現示データを読出す。データ書換時に切替器15abがバス11cからバス11dに接続を切替えることで、書換用のデータとメモリ15baから出力されるバックアップデータ(現示データ)とがバス11c上で衝突することを防ぐことができる。   The switch 15ab is provided so that data read from the memory 15ba is not destroyed by data for rewriting. The memory 15aa receives an address signal via the bus 11c during normal operation and outputs present data. On the other hand, in order to control the blinking of the signal lamp even when the display data is rewritten, the display data control unit 11aa reads the display data from the memory 15ba via the bus 11c. By switching the connection of the switch 15ab from the bus 11c to the bus 11d at the time of data rewriting, it is possible to prevent the rewriting data and the backup data (present data) output from the memory 15ba from colliding on the bus 11c. it can.

また、信号制御部11はメモリ15baにSRAM等の揮発性メモリが用いられている点で、不揮発性メモリのみを含む信号制御部111と異なる。メモリ15baがSRAM(またはDRAM)であることにより、データを高速にメモリ15baに書込むことが可能になる。さらに、フラッシュメモリの場合にはデータの書込後に書込が成功したかどうかのベリファイが行なわれるが、メモリ15baがSRAMやDRAMであればデータの読出やデータの書込をフラッシュメモリ等の不揮発性メモリよりも簡単に行なうことができる。   The signal control unit 11 is different from the signal control unit 111 including only a nonvolatile memory in that a volatile memory such as an SRAM is used for the memory 15ba. Since the memory 15ba is SRAM (or DRAM), data can be written to the memory 15ba at high speed. Further, in the case of a flash memory, whether data has been successfully written or not is verified after the data has been written. However, if the memory 15ba is an SRAM or DRAM, data reading or data writing can be performed in a nonvolatile memory such as a flash memory. This can be done more easily than the memory.

また、信号制御部11では、バックアップ制御器21が新たに設けられる点で信号制御部111と相違する。上述のように現示データ制御部11aaは読出指示信号RSのみを出力し、メモリ15baに対するバックアップデータの書込指示を出力しない。バックアップ制御器21は、読出指示信号RSがメモリ15aaから送られると、この読出指示信号RSがメモリ15baに対してバックアップデータを書込む指示か、メモリ15baから現示データを読出す指示であるかを切替指令信号SW1に応じて判定する。これにより、現示データ制御部11aaは読出指示信号RSのみを出力するだけでよくなるので、現示データ制御部11aaの処理を簡単にすることができる。   The signal control unit 11 is different from the signal control unit 111 in that a backup controller 21 is newly provided. As described above, the present data control unit 11aa outputs only the read instruction signal RS and does not output the backup data write instruction to the memory 15ba. When the read instruction signal RS is sent from the memory 15aa, the backup controller 21 indicates whether the read instruction signal RS is an instruction to write backup data to the memory 15ba or an instruction to read current data from the memory 15ba. Is determined according to the switching command signal SW1. As a result, the display data control unit 11aa only needs to output the read instruction signal RS, so that the processing of the display data control unit 11aa can be simplified.

また、信号制御部11ではバックアップ保証部22が新たに設けられる点で信号制御部111と相違する。メモリ15aaに格納された現示データがメモリ15baにバックアップされたか否かを検出するにはメモリ15aa,15baの各々に記憶されているデータを照合する方法が最も確実な方法である。しかし、バックアップ保証部がこのような処理を行なった場合には時間を要する可能性がある。よって、たとえばメモリ15baにバックアップデータが頻繁に書込まれる場合、照合が困難になる。また、バックアップ保証部が照合を行なうために必要な回路を実現するには、回路が大型となり、コストがかかる。   The signal control unit 11 is different from the signal control unit 111 in that a backup guarantee unit 22 is newly provided. In order to detect whether or not the present data stored in the memory 15aa has been backed up in the memory 15ba, the method of checking the data stored in each of the memories 15aa and 15ba is the most reliable method. However, when the backup assurance unit performs such processing, it may take time. Therefore, for example, when backup data is frequently written in the memory 15ba, verification becomes difficult. In addition, in order to realize a circuit necessary for the backup assurance unit to perform verification, the circuit becomes large and expensive.

バックアップ保証部22はメモリ15aa,15baを直接参照する代わりに、現示データ制御部11aaの動作を監視する。バックアップ保証部22は現示データ制御部11aaがメモリ15aaから信号灯の点滅制御を行なうために必要な全ての現示データの読出を完了したと判定すると、主制御部11abに対してバックアップが完了したことを示す完了情報を送る。よって、本発明の交通信号制御機ではメモリ15baに高速にバックアップデータの書込を行ないながら、メモリ15aaに格納された現示データとバックアップデータとが一致することを保証できる。また、メモリを直接参照する方式に比較して、バックアップ保証部に必要な回路の構成を簡単にすることができる。   The backup assurance unit 22 monitors the operation of the current data control unit 11aa instead of directly referring to the memories 15aa and 15ba. When the backup guarantee unit 22 determines that the display data control unit 11aa has read all the display data necessary for controlling the blinking of the signal lamp from the memory 15aa, the backup to the main control unit 11ab is completed. Send completion information indicating that Therefore, in the traffic signal controller of the present invention, it is possible to guarantee that the present data stored in the memory 15aa and the backup data match while writing the backup data in the memory 15ba at a high speed. In addition, the circuit configuration required for the backup guarantee unit can be simplified as compared with the method of directly referring to the memory.

このように、本発明の交通信号制御機では、信号制御部11に備わる切替器は切替器15abのみであり、従来の信号制御部よりも切替器の個数が減るので回路の小型化とコスト低減とを実現できる。また、主制御部11abは現示データの書換時に現示データマスタ格納部15aのメモリ15aaに対してのみ現示データの書換を行なうので、従来の信号制御部よりも主制御部が現示データの書換を行なう回数が減る。よって本発明の交通信号制御機では、現示データの変更に要する時間が短縮されるとともに書換に伴う主制御部の負荷が減少する。   Thus, in the traffic signal controller of the present invention, the signal control unit 11 has only the switch 15ab, and the number of switches is smaller than that of the conventional signal control unit, so the circuit is downsized and the cost is reduced. Can be realized. Further, since the main control unit 11ab rewrites the display data only to the memory 15aa of the display data master storage unit 15a when the display data is rewritten, the main control unit displays the display data rather than the conventional signal control unit. The number of times of rewriting is reduced. Therefore, in the traffic signal controller of the present invention, the time required for changing the display data is shortened and the load on the main control unit accompanying rewriting is reduced.

以下、図面を参照しながら本発明の交通信号制御機の動作についてより詳細に説明する。なお、本発明の交通信号制御機において「所定の動作モード」とは交通信号制御機がある定められた動作を行なうよう設定された状態を意味する。   Hereinafter, the operation of the traffic signal controller of the present invention will be described in more detail with reference to the drawings. In the traffic signal controller of the present invention, the “predetermined operation mode” means a state in which the traffic signal controller is set to perform a predetermined operation.

図3は、図2の信号制御部11の通常時における動作を説明する図である。なお、以下の動作も本発明における「所定の動作モード」に含まれる。図3を参照して、通常動作時には現示データ制御部11aaがバス11cを介して現示データマスタ格納部15aのメモリ15aaから現示データを読み出して交通信号灯器の点滅を制御する。現示データ制御部11aaが現示データを読み出すとともに、バックアップ制御器21は現示データバックアップ格納部15bのメモリ15baに、読み出した現示データと同じデータをバックアップデータとして書込む。   FIG. 3 is a diagram for explaining the normal operation of the signal control unit 11 of FIG. The following operations are also included in the “predetermined operation mode” in the present invention. Referring to FIG. 3, during normal operation, display data control unit 11aa reads display data from memory 15aa of display data master storage unit 15a via bus 11c to control blinking of the traffic light. The current data controller 11aa reads the current data, and the backup controller 21 writes the same data as the read current data as backup data in the memory 15ba of the current data backup storage 15b.

この現示データ制御部11aaによる現示データの読み出しにおいては、現示データ制御部11aaが指定したアドレスと、現示データマスタ格納部15aにおける指定されたアドレスに対応したデータとが、バス11c上に信号パタンとして現われる。   In reading the display data by the display data control unit 11aa, the address specified by the display data control unit 11aa and the data corresponding to the specified address in the display data master storage unit 15a are on the bus 11c. Appears as a signal pattern.

バス11cは現示データ制御部11aaに接続される。また、バス11cは現示データバックアップ格納部15bのメモリ15baに直接接続されている。また、主制御部11abは、通常動作時にはバックアップ制御器21に対し書込動作を行なうことを示す切替指令信号SW1を出力する。   The bus 11c is connected to the display data control unit 11aa. The bus 11c is directly connected to the memory 15ba of the current data backup storage unit 15b. Further, main controller 11ab outputs a switching command signal SW1 indicating that a write operation is performed to backup controller 21 during a normal operation.

よって、現示データ制御部11aaがメモリ15aaから現示データを読み出すため、読出指示信号RSおよびアドレス信号を出力すると、読出指示信号RSを受けたバックアップ制御器21は現示データバックアップ格納部15bのメモリ15baに対し、書込指示信号を出力する。よって、現示データ制御部11aaが指示するメモリ15baのアドレスに、メモリ15aaに格納されたデータと同じデータを書込むことができる。   Therefore, when the display data control unit 11aa reads the display data from the memory 15aa, when the read instruction signal RS and the address signal are output, the backup controller 21 that has received the read instruction signal RS stores the data in the display data backup storage unit 15b. A write instruction signal is output to the memory 15ba. Therefore, the same data as the data stored in the memory 15aa can be written to the address of the memory 15ba instructed by the display data control unit 11aa.

バックアップ保証部22は、メモリ15baに対し、読み出された現示データがすべてバックアップされていることを保証するため、現示データ制御部11aaの動作を監視する。バックアップ保証部22は、現示データ制御部11aaがすべての現示データを最低1回読み出したことを確認することによりメモリ15baに現示データの格納が完了したと判断する。   The backup guarantee unit 22 monitors the operation of the display data control unit 11aa in order to ensure that the read-out display data is all backed up in the memory 15ba. The backup guarantee unit 22 determines that the display data has been stored in the memory 15ba by confirming that the display data control unit 11aa has read all the display data at least once.

たとえば、現示データ制御部11aaが交通信号灯器の点滅制御を、ある点滅パタン(点滅パタンAとする)に基づいて1サイクル分行なったとすると、現示データ制御部11aaの動作を監視するバックアップ保証部22は点滅パタンAを行なうのに必要な現示データが正常にバックアップデータがメモリ15baに格納されたことを主制御部11abに通知する。   For example, if the display data control unit 11aa performs the blink control of the traffic signal lamp for one cycle based on a certain flashing pattern (referred to as a flashing pattern A), the backup guarantee for monitoring the operation of the display data control unit 11aa is performed. The unit 22 notifies the main control unit 11ab that the display data necessary for performing the blinking pattern A is normally stored in the memory 15ba.

複数の点滅パタンが15aaに格納されている場合には、バックアップ保証部22は現示データ制御部11aaが複数の点滅パタンのすべてを読出して点滅制御を行なった時点で、主制御部11abにメモリ15aaに格納されるすべての現示データがメモリ15ba中に格納されたことを通知するため完了情報を送る。   When a plurality of blinking patterns are stored in 15aa, the backup guarantee unit 22 stores the memory in the main control unit 11ab when the current data control unit 11aa reads all of the plurality of blinking patterns and performs blinking control. Completion information is sent to notify that all the display data stored in 15aa has been stored in the memory 15ba.

なお、現示データ変更中は特定の点滅パタンにのみ従って現示データ制御部11aaが動作するように、現示データ制御部11aaの動作が制限されていてもよい。この場合には、メモリ15baにバックアップされる現示データは、その特定の点滅パタンのデータのみになるので、メモリ15baに格納される点滅パタンの数を減らすことができる。   Note that the operation of the display data control unit 11aa may be limited so that the display data control unit 11aa operates only according to a specific blinking pattern during the display data change. In this case, since the display data backed up in the memory 15ba is only the data of the specific blinking pattern, the number of blinking patterns stored in the memory 15ba can be reduced.

図4は、図2のバックアップ保証部22の動作を説明するフローチャートである。図4を参照して、まずステップS0で処理が開始される。現示データ制御部11aaは3色灯器の点滅を制御するため、アドレス信号を出力するとともに、読出指示信号RSを出力し、メモリ15aaから現示データを読み出す。この現示データには青、黄および赤の3つの色灯の点滅を順次切替える(信号現示を一巡させる)点滅制御処理を行なうための現示階梯情報が含まれる。   FIG. 4 is a flowchart for explaining the operation of the backup assurance unit 22 of FIG. Referring to FIG. 4, the process is first started in step S0. In order to control blinking of the three-color lamp device, the display data control unit 11aa outputs an address signal and also outputs a read instruction signal RS, and reads the display data from the memory 15aa. This display data includes display step information for performing a flashing control process for sequentially switching the flashing of the three color lights of blue, yellow, and red (ie, making a round of the signal display).

次にステップS1では、現示データ制御部11aaからバックアップ保証部22に現示階梯情報が入力される。以後、バックアップ保証部22は現示データ制御部11aaから、どの現示階梯における点滅処理が実行されているかを示す情報を受ける。   Next, in step S1, the display hierarchy information is input from the display data control unit 11aa to the backup guarantee unit 22. Thereafter, the backup guarantee unit 22 receives information indicating which flashing process is being executed in the displayed level from the displayed data control unit 11aa.

ステップS2では、バックアップ保証部22は現示データ制御部11aaから受ける情報に基づいて現示階梯が1であるか否かを判定する。現示階梯が1である場合(ステップS2においてYES)、処理はステップS3に進む。   In step S2, the backup guarantee unit 22 determines whether or not the current level is 1 based on information received from the current data control unit 11aa. If the displayed floor is 1 (YES in step S2), the process proceeds to step S3.

ステップS3ではステップS2と同様に、バックアップ保証部22は現示階梯が2であるか否かを判定する。現示階梯の数が増えるということは色灯の点滅が順次切換わることを意味する。現示階梯が2である場合(ステップS3においてYES)、処理はステップS4に進む。   In step S3, as in step S2, the backup assurance unit 22 determines whether or not the current level is 2. An increase in the number of displayed floors means that the blinking of the color lights is sequentially switched. If the displayed floor is 2 (YES in step S3), the process proceeds to step S4.

ステップS4ではステップS2と同様に、バックアップ保証部22は現示階梯が1であるか否かを判定する。ステップS4において現示階梯が1であるということは、3色の色灯の点滅が巡回したことを意味する。つまり、点滅制御処理が1回終了したことを意味する。現示階梯が1である場合(ステップS4においてYES)、処理はステップS5に進む。   In step S4, as in step S2, the backup assurance unit 22 determines whether or not the current level is 1. The fact that the current level is 1 in step S4 means that the blinking of the three color lights has circulated. That is, it means that the blinking control process is completed once. If the displayed floor is 1 (YES in step S4), the process proceeds to step S5.

ステップS5では、バックアップ保証部22は現示データバックアップ格納部15bへのバックアップデータの格納が完了したことを示す完了情報(バックアップデータ格納完了情報)を主制御部11abに送る。ステップS5での処理が終了するとステップS6において全体の処理が終了する。点滅制御処理は繰り返し実行されるが、少なくとも1回終了すると信号灯の点滅制御に必要な全ての現示データが読み出されるので、点滅制御処理の終了により現示データのバックアップが完了したことを保証できる。   In step S5, the backup assurance unit 22 sends completion information (backup data storage completion information) indicating that the storage of the backup data in the current data backup storage unit 15b is completed to the main control unit 11ab. When the process in step S5 ends, the entire process ends in step S6. The blinking control process is repeatedly executed, but when it is finished at least once, all the presenting data necessary for the blinking control of the signal lamp is read, so that it is possible to guarantee that the presenting data backup is completed by the end of the blinking control process. .

次に、メモリ15aaに格納された現示データの書換えについて説明する。図5は、図2の信号制御部11の現示データ書換時における動作を説明する図である。図5を参照して、現示データの書換が行なわれる際中には、主制御部11abの指令により現示データ制御部11aaが使用する現示データの読出し元が変更される。この場合、現示データ制御部11aaは現示データバックアップ格納部15bのメモリ15baに格納された現示データに従って交通信号灯器を点滅させる。   Next, rewriting of the display data stored in the memory 15aa will be described. FIG. 5 is a diagram for explaining the operation of the signal control unit 11 shown in FIG. Referring to FIG. 5, when rewriting the display data, the reading source of the display data used by display data control unit 11aa is changed by a command from main control unit 11ab. In this case, the display data control unit 11aa blinks the traffic signal lamp according to the display data stored in the memory 15ba of the display data backup storage unit 15b.

主制御部11abは現示データマスタ格納部15aのメモリ15aaに新しい現示データを書込む。新しい現示データの書込が終了した後に、主制御部11abは現示データ制御部11aaで使用する現示データの読み出し元を再びメモリ15aaに設定する。つまり書換が完了すると接続形態は通常動作と同じ態様に戻る。   The main control unit 11ab writes new display data into the memory 15aa of the display data master storage unit 15a. After the writing of the new display data is completed, the main control unit 11ab sets the reading source of the display data used by the display data control unit 11aa in the memory 15aa again. That is, when the rewriting is completed, the connection form returns to the same mode as the normal operation.

図6は、図2の主制御部11abが行なう現示データ変更処理を説明するフローチャートである。なお、主制御部11abが現示データ変更処理を行なうよう主制御部11abの動作が設定された状態は、本発明の交通信号制御機における「書換モード」に相当する。図6を参照して、まずステップS10において、主制御部11abは現示データ変更部19からの変更要求を受け、現示データ変更処理を開始する。   FIG. 6 is a flowchart for explaining the display data changing process performed by the main control unit 11ab of FIG. The state in which the operation of the main control unit 11ab is set so that the main control unit 11ab performs the display data changing process corresponds to the “rewrite mode” in the traffic signal controller of the present invention. Referring to FIG. 6, first, in step S <b> 10, main controller 11 ab receives a change request from display data change unit 19 and starts display data change processing.

ステップS11において、主制御部11abに現示データ変更部19から新しい現示データ(書換用のデータ)が入力される。   In step S11, new display data (rewrite data) is input from the display data changing unit 19 to the main control unit 11ab.

ステップS12において、主制御部11abはメモリ15baに変更前の現示データが格納されているか否かを判定する。主制御部11abは、バックアップ保証部22からバックアップデータ格納完了情報を受けている場合(ステップS12においてYES)、メモリ15baに変更前の現示データが格納されていると判定し、ステップS13での処理を実行する。   In step S12, the main control unit 11ab determines whether the display data before the change is stored in the memory 15ba. When the main control unit 11ab receives the backup data storage completion information from the backup guarantee unit 22 (YES in step S12), the main control unit 11ab determines that the current display data before the change is stored in the memory 15ba, and in step S13 Execute the process.

ステップS13において、主制御部11abは切替器15abとバックアップ制御器21に対して、切替指令信号SW1を出力する。これにより、メモリ15aaに接続されるバスはバス11cからバス11dに切替わる。また、バックアップ制御器21は切替指令信号SW1に応じ、その動作を書込動作から読出動作に切替える。ステップS11〜S13の処理は本発明における「書換モードの開始時」の処理である。   In step S13, the main controller 11ab outputs a switching command signal SW1 to the switch 15ab and the backup controller 21. As a result, the bus connected to the memory 15aa is switched from the bus 11c to the bus 11d. Further, the backup controller 21 switches its operation from the writing operation to the reading operation in response to the switching command signal SW1. The processing of steps S11 to S13 is processing at the time of “start of the rewrite mode” in the present invention.

なお、ステップS13で切替器15abがバスとの接続を切替えることにより、ステップS17において書換モードが終了するまで、現示データ制御部11aaはメモリ15baから現示データを読み出し、交通信号灯器の点滅制御を行なう。   In step S13, the switch 15ab switches the connection with the bus, so that the display data control unit 11aa reads the display data from the memory 15ba until the rewrite mode ends in step S17, and the traffic signal lamp blinking control is performed. To do.

ステップS14において、主制御部11abはメモリ15aaに新しい現示データを書込む。   In step S14, the main control unit 11ab writes new display data into the memory 15aa.

ステップS15において、主制御部11abはメモリ15aaに対して新しい現示データの書込が終了した場合(ステップS15においてYES)、ステップS16での処理を行なう。ステップS16での処理は本発明における「書換モードの終了時」の処理である。   In step S15, main controller 11ab performs the process in step S16 when the writing of new display data to memory 15aa is completed (YES in step S15). The process in step S16 is a process at the “end of the rewrite mode” in the present invention.

ステップS16において、主制御部11abは現示データマスタ格納部15aの切替器15abとバックアップ制御器21に対して、再び切替指令信号SW1を出力する。切替指令信号SW1に応じて切替器15abはメモリ15aaの接続をバス11dからバス11cに切替える。また、バックアップ制御器21は切替指令に応じ、読み出し動作から書込動作に動作を切替える。なおステップS16での処理により、以後、現示データ制御部11aaはメモリ15aaから新しい現示データを読出して交通信号灯器の点滅制御を行なう。   In step S16, the main control unit 11ab outputs the switching command signal SW1 again to the switching unit 15ab and the backup controller 21 of the current data master storage unit 15a. In response to the switching command signal SW1, the switch 15ab switches the connection of the memory 15aa from the bus 11d to the bus 11c. Further, the backup controller 21 switches the operation from the read operation to the write operation in response to the switching command. By the process in step S16, the displayed data control unit 11aa subsequently reads new displayed data from the memory 15aa and controls the traffic signal lamp to blink.

以上のように実施の形態1によれば、現示データ制御部が現示データを取得するためのバスに現示データマスタ格納部から読出された現示データを格納するバックアップデータ格納部を接続させることで切替器の個数を従来よりも減らすことができるので、従来よりも省スペースかつ低コストな交通信号制御機を提供することができる。   As described above, according to the first embodiment, the backup data storage unit for storing the display data read from the display data master storage unit is connected to the bus for the display data control unit to acquire the display data. By doing so, the number of switching devices can be reduced as compared with the prior art, so that it is possible to provide a traffic signal controller that saves space and is less expensive than the conventional one.

[実施の形態2]
実施の形態2の交通信号制御機の全体構成は図1の交通信号制御機10の構成と同様であるので以後の説明は繰り返さない。以下、信号制御部の構成について説明する。
[Embodiment 2]
Since the overall configuration of the traffic signal controller of the second embodiment is similar to the configuration of traffic signal controller 10 of FIG. 1, the following description will not be repeated. Hereinafter, the configuration of the signal control unit will be described.

図7は、実施の形態2の交通信号制御機に含まれる信号制御部の構成を示す図である。図7を参照して、信号制御部11Aはバックアップ保証部22に代えてバックアップ保証部22Aを含む点で図2の信号制御部11と異なる。信号制御部11Aの他の部分の構成は信号制御部11と同様であるので以後の説明は繰り返さない。なお、バックアップ保証部22Aは、ハードウェアで構成されてもよいし、主制御部11abが実行するソフトウェアの一部として構成されてもよい。バックアップ保証部22Aは本発明における「監視部」に相当する。   FIG. 7 is a diagram illustrating a configuration of a signal control unit included in the traffic signal controller according to the second embodiment. Referring to FIG. 7, signal control unit 11 </ b> A is different from signal control unit 11 of FIG. 2 in that it includes backup assurance unit 22 </ b> A instead of backup assurance unit 22. Since the configuration of other parts of signal control unit 11A is similar to that of signal control unit 11, the following description will not be repeated. Note that the backup assurance unit 22A may be configured by hardware or may be configured as part of software executed by the main control unit 11ab. The backup assurance unit 22A corresponds to the “monitoring unit” in the present invention.

図8は、図7の信号制御部11Aにおいて、メモリ15aaへの現示データ書込終了後の動作を説明する図である。図8を参照して、主制御部11abはメモリ15aaに新しい現示データの書込が終了すると、バックアップが必要な(読出しが必要な)現示データの情報をバックアップ保証部22Aに対して出力する。なお、この情報はバックアップ保証部22Aに予め記憶されていてもよい。   FIG. 8 is a diagram for explaining an operation after the completion of writing of the present data to the memory 15aa in the signal control unit 11A of FIG. Referring to FIG. 8, main controller 11ab outputs, to backup guaranteeing unit 22A, information on the present data that needs to be backed up (required to be read) when the writing of new present data to memory 15aa is completed. To do. This information may be stored in advance in the backup assurance unit 22A.

バックアップ保証部22Aは現示データ制御部11aaに読出の開始を指示する読出開始指示を送る。また、バックアップ保証部22Aは、アドレス指定されたデータの読出しを現示データ制御部11aaに行なわせるため、メモリ15aaのアドレスを順次指定する。現示データ制御部11aaはバックアップ保証部22Aから読出開始指示を受けるとメモリ15aaの指定されたアドレスからデータを読出す(アドレス指定されたデータを読出す)。現示データ制御部11aaはデータの読出しが完了するごとに、読出しが完了したことを示す通知をバックアップ保証部22Aに対して送る。   The backup assurance unit 22A sends a read start instruction for instructing the start of reading to the current data control unit 11aa. Further, the backup assurance unit 22A sequentially specifies the addresses of the memory 15aa in order to cause the current data control unit 11aa to read the addressed data. When the current data control unit 11aa receives a read start instruction from the backup guarantee unit 22A, it reads the data from the specified address of the memory 15aa (reads the addressed data). Each time the current data control unit 11aa completes reading of data, the current data control unit 11aa sends a notification indicating that the reading has been completed to the backup assurance unit 22A.

バックアップ保証部22Aは現示データ制御部11aaからの通知に応じ、現示データの情報に従って定められるアドレスの範囲内のすべてのアドレスに対して読出開始指示を出力したか否かを判定する。すべてのアドレスに対して読出開始指示を出力したと判定する場合、バックアップ保証部22Aはバックアップ格納完了通知を主制御部11abに送る。まだ指定していないアドレスが存在すると判定する場合、バックアップ保証部22Aはメモリ15aaに対してそのアドレスを指定するとともに、現示データ制御部11aaに対して読出開始指示を送る。   In response to the notification from the display data control unit 11aa, the backup guarantee unit 22A determines whether or not a read start instruction has been output to all addresses within the address range determined according to the information of the display data. When it is determined that the read start instruction has been output for all addresses, the backup assurance unit 22A sends a backup storage completion notification to the main control unit 11ab. If it is determined that there is an address that has not yet been specified, the backup assurance unit 22A specifies the address to the memory 15aa and sends a read start instruction to the current data control unit 11aa.

なお、メモリ15aaへの現示データの書換動作は図5,図6に示す動作と同様であるので、以後の説明は繰り返さない。また、メモリ15aaから読み出された現示データをメモリ15baに格納する動作も図3に示す動作と同様であるので以後の説明は繰り返さない。   Since the rewriting operation of the present data to the memory 15aa is the same as the operation shown in FIGS. 5 and 6, the subsequent description will not be repeated. The operation for storing the present data read from the memory 15aa in the memory 15ba is the same as the operation shown in FIG. 3, and therefore, the following description will not be repeated.

実施の形態2ではメモリ15baへの現示データの書込はメモリ15aaに格納された現示データが変更された直後に1回のみ行なわれる。実施の形態1ではバックアップ保証部は現示データ制御部11aaが読出した現示データに基づいて信号現示を一巡させるまでバックアップデータ格納完了情報を送ることができない。実施の形態2では信号現示を一巡させる点滅制御処理を実行しなくても現示データのバックアップが可能になるので、実施の形態1よりも、現示データの書換が行なわれてからバックアップ保証部がバックアップデータ格納完了情報を送るまでの期間を短くすることができる。   In the second embodiment, the present data is written into the memory 15ba only once immediately after the present data stored in the memory 15aa is changed. In the first embodiment, the backup guarantee unit cannot send backup data storage completion information until it completes the signal display based on the display data read by the display data control unit 11aa. In the second embodiment, the displayed data can be backed up without executing the flashing control process for making a round of the signal display. Therefore, the backup guarantee is more effective after the displayed data is rewritten than in the first embodiment. It is possible to shorten the period until the part sends the backup data storage completion information.

図9は、図7のバックアップ保証部22Aの動作を説明するフローチャートである。図9を参照して、まずステップS20において処理が開始される。   FIG. 9 is a flowchart for explaining the operation of the backup assurance unit 22A of FIG. Referring to FIG. 9, first, processing is started in step S20.

次にステップS21において主制御部11abはバックアップ保証部22Aに対し、バックアップが必要な現示データの情報を出力する。この情報は、メモリ15aaにおいて書換後の現示データが格納されるアドレスの範囲(たとえば「アドレスA〜アドレスBまでの範囲」)を示すアドレス情報である。   Next, in step S21, the main control unit 11ab outputs information on the display data that needs to be backed up to the backup guarantee unit 22A. This information is address information indicating a range of addresses (for example, “range from address A to address B”) where the current data after rewriting is stored in the memory 15aa.

ステップS22において、バックアップ保証部22Aは主制御部11abからアドレス情報を受ける。なお、上述のように、アドレス情報はバックアップ保証部22A内に予め記憶されていてもよい。バックアップ保証部22Aはアドレス情報に基づいてメモリ15aaに対してアドレスを順次指定する。バックアップ保証部22Aはアドレスを指定するごとに読出開始指示を出力する。ステップS23において現示データ制御部11aaは指定されたメモリ15aaからのデータの読出しが完了するとバックアップ保証部22Aに対して通知を送る。   In step S22, the backup assurance unit 22A receives address information from the main control unit 11ab. As described above, the address information may be stored in advance in the backup assurance unit 22A. The backup assurance unit 22A sequentially designates addresses to the memory 15aa based on the address information. The backup assurance unit 22A outputs a read start instruction each time an address is designated. In step S23, the current data control unit 11aa sends a notification to the backup assurance unit 22A when reading of data from the designated memory 15aa is completed.

ステップS23において、バックアップ保証部22Aは現示データ制御部11aaからの通知に基づいて、全てのアドレスに対して読出開始指示を出したか否かを判定する。指定したすべてのアドレスに対して現示データ制御部11aaから通知を受けている場合(ステップS23においてYES)、バックアップ保証部22Aはすべてのアドレスを指定したと判定し、ステップS24においてバックアップデータ格納完了情報を主制御部11abに対して出力する。ステップS24での処理が終了すると、ステップS26において全体の処理が終了する。   In step S23, the backup assurance unit 22A determines whether a read start instruction has been issued for all addresses based on the notification from the current data control unit 11aa. If notification has been received from the present data control unit 11aa for all specified addresses (YES in step S23), the backup guarantee unit 22A determines that all addresses have been specified, and backup data storage is complete in step S24. Information is output to the main controller 11ab. When the process in step S24 ends, the entire process ends in step S26.

一方、ステップS23において、まだ指定していないアドレスが残っている場合(ステップS23においてNO)、処理はステップS25に進む。ステップS25では、バックアップ保証部22Aは指定するアドレスを変更するとともに、そのアドレスに対する読出開始指示を現示データ制御部11aaに送る。ステップS25での処理が終了すると、再び処理はステップS23に戻る。   On the other hand, if there remains an address that has not yet been specified in step S23 (NO in step S23), the process proceeds to step S25. In step S25, the backup assurance unit 22A changes the designated address and sends a read start instruction for the address to the current data control unit 11aa. When the process in step S25 ends, the process returns to step S23 again.

なお、バックアップ保証部22Aは現示データ制御部11aaがメモリ15aaに対して指定したアドレスに関する情報を取得するため、現示データ制御部11aaがバス11cに対して出力するアドレス信号を監視してもよい。この場合、バックアップ保証部22Aは主制御部11abが指定したすべてのアドレスに対応するアドレス信号が現示データ制御部11aaからバス11cに送られたことを確認し、バックアップデータ格納完了情報を主制御部11abに送る。   Since the backup guarantee unit 22A acquires information related to the address designated by the display data control unit 11aa to the memory 15aa, the backup data control unit 11aa monitors the address signal output to the bus 11c. Good. In this case, the backup guarantee unit 22A confirms that address signals corresponding to all addresses designated by the main control unit 11ab have been sent from the current data control unit 11aa to the bus 11c, and controls the backup data storage completion information to the main control. Send to part 11ab.

以上のように実施の形態2によれば、バックアップ保証部が現示データ制御部に対し、現示データの書換後にマスタデータ格納部から現示データを読み出すよう指示を送ることで、現示データの書換から短期間でバックアップ格納部への現示データの格納を終了させることができる。   As described above, according to the second embodiment, the backup guarantee unit sends an instruction to the display data control unit to read the display data from the master data storage unit after rewriting the display data. The storage of the present data in the backup storage unit can be completed in a short period of time after rewriting.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

実施の形態1の交通信号制御機の全体の構成を概略的に示す図である。It is a figure which shows schematically the whole structure of the traffic signal controller of Embodiment 1. FIG. 図1の信号制御部11の構成をより詳細に示す図である。It is a figure which shows the structure of the signal control part 11 of FIG. 1 in detail. 図2の信号制御部11の通常時における動作を説明する図である。It is a figure explaining the operation | movement in the normal time of the signal control part 11 of FIG. 図2のバックアップ保証部22の動作を説明するフローチャートである。3 is a flowchart for explaining the operation of a backup assurance unit 22 in FIG. 2. 図2の信号制御部11の現示データ書換時における動作を説明する図である。It is a figure explaining the operation | movement at the time of the present data rewriting of the signal control part 11 of FIG. 図2の主制御部11abが行なう現示データ変更処理を説明するフローチャートである。It is a flowchart explaining the display data change process which the main control part 11ab of FIG. 2 performs. 実施の形態2の交通信号制御機に含まれる信号制御部の構成を示す図である。It is a figure which shows the structure of the signal control part contained in the traffic signal controller of Embodiment 2. 図7の信号制御部11Aにおいて、メモリ15aaへの現示データ書込終了後の動作を説明する図である。FIG. 8 is a diagram for explaining an operation after writing of present data to the memory 15aa in the signal control unit 11A of FIG. 図7のバックアップ保証部22Aの動作を説明するフローチャートである。It is a flowchart explaining operation | movement of the backup guarantee part 22A of FIG. 特開平11−232589号公報(特許文献1)に開示される交通信号制御機に含まれる信号制御機の構成を示す概略ブロック図である。It is a schematic block diagram which shows the structure of the signal controller contained in the traffic signal controller disclosed by Unexamined-Japanese-Patent No. 11-232589 (patent document 1). 図10に示す主制御部111abによる現示データ格納部115に格納される現示データの変更処理を示すフローチャートである。It is a flowchart which shows the change process of the display data stored in the display data storage part 115 by the main control part 111ab shown in FIG. 図11のステップS102における制御処理部111aでのバスの接続態様を示す図である。It is a figure which shows the connection aspect of the bus | bath in the control process part 111a in FIG.11 S102. 図11のステップS104における制御処理部111aでのバスの接続態様を示す図である。It is a figure which shows the connection aspect of the bus | bath in the control process part 111a in FIG.11 S104. 従来の交通信号制御機における信号線のレイアウトの一例を示す図である。It is a figure which shows an example of the layout of the signal wire | line in the conventional traffic signal controller.

符号の説明Explanation of symbols

10 交通信号制御機、11,11A,111 信号制御部、11a,111a 制御処理部、11aa,111aa 現示データ制御部、11ab,111ab 主制御部、11c,11d,111c,111d バス、12 灯器開閉部、13 送受信部、15,115 現示データ格納部、15aa,15ba,115aa,115ba メモリ、15ab,115ab,115bb 切替器、15a,115a 現示データマスタ格納部、15b 現示データバックアップ格納部、17,117 入出力部、19,119 現示データ変更部、21 バックアップ制御器、22,22A バックアップ保証部、115b 現示データサブ格納部、S0〜S25,S101〜S105 ステップ、SWT スイッチ回路。   10 traffic signal controller, 11, 11A, 111 signal control unit, 11a, 111a control processing unit, 11aa, 111aa display data control unit, 11ab, 111ab main control unit, 11c, 11d, 111c, 111d bus, 12 lamp Opening / closing unit, 13 transceiver unit, 15, 115 display data storage unit, 15aa, 15ba, 115aa, 115ba memory, 15ab, 115ab, 115bb switch, 15a, 115a display data master storage unit, 15b display data backup storage unit , 17, 117 input / output unit, 19, 119 current data change unit, 21 backup controller, 22, 22A backup guarantee unit, 115b current data sub storage unit, S0-S25, S101-S105 steps, SWT switch circuit.

Claims (7)

交通信号灯器の信号灯の点滅を制御するための交通信号制御機であって、
前記信号灯の点滅を制御するための現示データを格納する第1のデータ格納部と、
前記第1のデータ格納部に対して前記現示データの読出を行ない、読出された前記現示データに基づいて前記信号灯の点滅を制御する制御部と、
前記第1のデータ格納部から前記現示データが読出されたことを検知して、読出された前記現示データを、所定の動作モード時に前記制御部が読出すバックアップデータとして内部に格納する第2のデータ格納部とを備える、交通信号制御機。
A traffic signal controller for controlling blinking of a signal lamp of a traffic signal lamp,
A first data storage unit for storing display data for controlling blinking of the signal lamp;
A control unit that reads the display data from the first data storage unit and controls blinking of the signal lamp based on the read display data;
Detecting that the present data has been read from the first data storage unit, and storing the read present data as backup data read by the control unit in a predetermined operation mode. A traffic signal controller comprising two data storage units.
前記制御部は、前記現示データを読出すための読出指示を前記第1のデータ格納部に対して出力し、
前記第2のデータ格納部は、
前記読出指示に応じて前記バックアップデータの書込を指示する書込指示を出力するバックアップ制御器と、
前記書込指示に応じ、前記バックアップデータを内部に格納する記憶部とを含む、請求項1に記載の交通信号制御機。
The control unit outputs a read instruction for reading the display data to the first data storage unit,
The second data storage unit is
A backup controller for outputting a write instruction for instructing writing of the backup data in response to the read instruction;
The traffic signal controller according to claim 1, further comprising a storage unit that stores the backup data therein in response to the writing instruction.
前記制御部の動作を監視し、前記制御部が前記第1のデータ格納部から前記現示データの読出を完了したと判定する場合に、前記現示データが前記バックアップデータとして前記記憶部に格納されたことを示す完了情報を前記制御部に対して送る監視部をさらに備える、請求項2に記載の交通信号制御機。   The operation of the control unit is monitored, and when the control unit determines that the reading of the present data has been completed from the first data storage unit, the present data is stored in the storage unit as the backup data The traffic signal controller according to claim 2, further comprising a monitoring unit that sends completion information indicating that the control has been performed to the control unit. 前記制御部は、読出された前記現示データに基づいて、信号現示を一巡させる点滅制御処理を繰り返し実行し、
前記監視部は、前記点滅制御処理が少なくとも1回終了すると、前記制御部に対して前記完了情報を送る、請求項3に記載の交通信号制御機。
The control unit repeatedly executes a blinking control process for making a round of signal display based on the read display data,
The traffic signal controller according to claim 3, wherein the monitoring unit sends the completion information to the control unit when the blinking control process is completed at least once.
前記制御部は、入力される書換データを用いて前記第1のデータ格納部に格納される前記現示データを書換え、前記第1のデータ格納部に格納される書換後の現示データのうちアドレス指定されたデータを読出開始指示に応じて読出し、読出しが完了すると前記監視部に対して通知を送り、
前記監視部は、前記第1のデータ格納部において前記書換後の現示データが格納されるアドレスの範囲を示すアドレス情報に基づいて、前記アドレス指定されたデータの読出しを前記制御部に行なわせるために、前記アドレスの範囲に含まれるアドレスを前記第1のデータ格納部に対して順次指定して、前記アドレスを指定するごとに前記制御部に対して前記読出開始指示を送り、前記制御部から受ける前記通知に基づいて前記アドレスの範囲に含まれる前記アドレスをすべて指定したと判定する場合に、前記制御部に対して前記完了情報を送る、請求項3に記載の交通信号制御機。
The control unit rewrites the display data stored in the first data storage unit using the input rewrite data, and among the rewritten display data stored in the first data storage unit Read the addressed data according to the read start instruction, and when the read is completed, send a notification to the monitoring unit,
The monitoring unit causes the control unit to read the addressed data based on address information indicating an address range in which the rewritten current data is stored in the first data storage unit. Therefore, the address included in the address range is sequentially designated to the first data storage unit, and the read start instruction is sent to the control unit each time the address is designated, and the control unit The traffic signal controller according to claim 3, wherein the completion information is sent to the control unit when it is determined that all the addresses included in the address range are designated based on the notification received from the control unit.
前記所定の動作モードは、書換モードであり、
前記制御部は、前記書換モードの開始時に切替指令を出力し、前記書換モード時には、入力される書換データを用いて前記第1のデータ格納部に格納される前記現示データの書換を行ない、かつ、前記記憶部から読み出した前記バックアップデータに基づいて前記信号灯の点滅を制御し、前記書換モードの終了時に前記切替指令を再度出力し、
前記バックアップ制御器は、前記切替指令に応じ、前記書換モード時には、前記制御部から受ける前記読出指示をそのまま前記記憶部に与え、前記書換モードの終了後には前記読出指示に応じて前記書込指示を出力し、
前記記憶部は、前記読出指示に応じ、前記バックアップデータを出力する、請求項2に記載の交通信号制御機。
The predetermined operation mode is a rewrite mode,
The control unit outputs a switching command at the start of the rewrite mode, and rewrites the display data stored in the first data storage unit using the input rewrite data in the rewrite mode. And, based on the backup data read from the storage unit, to control the blinking of the signal lamp, to output the switching command again at the end of the rewrite mode,
In response to the switching command, the backup controller gives the reading instruction received from the control unit to the storage unit as it is in the rewriting mode, and after the rewriting mode ends, the writing instruction in accordance with the reading instruction Output
The traffic signal controller according to claim 2, wherein the storage unit outputs the backup data in response to the read instruction.
前記交通信号制御機は、
前記制御部が前記現示データまたは前記バックアップデータを受けるための第1のバスと、
前記制御部が前記書換データを送るための第2のバスとをさらに備え、
前記第1のデータ格納部は、
前記現示データを記憶する現示データ記憶部と、
前記切替指令に応じ、前記現示データ記憶部を前記第1のバスに接続するか前記第2のバスに接続するかを切替える切替器とを含み、
前記記憶部は、前記第1のバスに直接接続される、請求項6に記載の交通信号制御機。
The traffic signal controller is
A first bus for the control unit to receive the present data or the backup data;
A second bus for the controller to send the rewrite data;
The first data storage unit includes:
A display data storage unit for storing the display data;
A switch for switching whether to connect the present data storage unit to the first bus or the second bus in response to the switching command;
The traffic signal controller according to claim 6, wherein the storage unit is directly connected to the first bus.
JP2005231073A 2005-08-09 2005-08-09 Traffic signal controller Expired - Fee Related JP4670541B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005231073A JP4670541B2 (en) 2005-08-09 2005-08-09 Traffic signal controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005231073A JP4670541B2 (en) 2005-08-09 2005-08-09 Traffic signal controller

Publications (2)

Publication Number Publication Date
JP2007047995A true JP2007047995A (en) 2007-02-22
JP4670541B2 JP4670541B2 (en) 2011-04-13

Family

ID=37850774

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005231073A Expired - Fee Related JP4670541B2 (en) 2005-08-09 2005-08-09 Traffic signal controller

Country Status (1)

Country Link
JP (1) JP4670541B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012027789A (en) * 2010-07-26 2012-02-09 Sumitomo Electric Ind Ltd Traffic signal controller

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07319720A (en) * 1994-05-25 1995-12-08 Nec Corp System switching method for processor
JPH11232589A (en) * 1998-02-19 1999-08-27 Sumitomo Electric Ind Ltd Traffic signal controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07319720A (en) * 1994-05-25 1995-12-08 Nec Corp System switching method for processor
JPH11232589A (en) * 1998-02-19 1999-08-27 Sumitomo Electric Ind Ltd Traffic signal controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012027789A (en) * 2010-07-26 2012-02-09 Sumitomo Electric Ind Ltd Traffic signal controller

Also Published As

Publication number Publication date
JP4670541B2 (en) 2011-04-13

Similar Documents

Publication Publication Date Title
JP3828484B2 (en) Data access method and data access apparatus for in-vehicle information equipment
JP2002278783A (en) System for rewriting firmware
JP2000065899A (en) Semiconductor device, and its data rewriting method
JP4670541B2 (en) Traffic signal controller
JP3021414B2 (en) Traffic signal controller
JPH07219860A (en) Memory rewrite control method/device
JP2010286897A (en) Electronic control unit, and program rewriting method
US7487281B2 (en) Computer system to control the data transfer between a memory and a peripheral device connected to a CPU via a bus
JPH09231065A (en) Program changeable electronic controller
JP2005346282A (en) Microcomputer incorporated with electrically rewritable nonvolatile memory
JP2003022101A (en) Pio controller
JP2005128613A (en) Image forming device
JP3350688B2 (en) Data processing device
JP2000172635A (en) Device and method for serial transmission
JPH07287603A (en) Engine controller
JP2908274B2 (en) CPU board
JPH08221334A (en) Device and method for setting device address
JPH0522780A (en) Multiplex transmission system
JPH1040209A (en) Electronic device
JP2002175219A (en) Data memory
JP2000227856A (en) Memory control system
JPH06202961A (en) Microcomputer with built-in memory test function
JPH06259313A (en) Information processor
JPH11149407A (en) Memory system and using method for external non-volatile memory
JPH0354074A (en) Test circuit for device for controlling a plurality of loads

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080717

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100729

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101005

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101202

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

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140128

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees