JP2007047995A - Traffic signal controller - Google Patents
Traffic signal controller Download PDFInfo
- 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
Links
Images
Landscapes
- Traffic Control Systems (AREA)
Abstract
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
「現示データ」とは、この交通信号制御機が設けられる地点における、いずれの道路に対して通行権が与えられているかを示すデータである。この信号現示の設定状況を定量的に示す信号パラメータには、信号現示が一巡するのに必要とされる時間(秒)を示すサイクル、この信号の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
制御処理部111aは現示データ制御部111aaと主制御部111abとを含む。現示データ制御部111aaは現示データ格納部115に格納された現示データに従って信号灯の点滅動作を制御する。主制御部111abは入出力部117を介して外部と情報の授受を行なうとともに、現示データ変更部119から書換用の現示データを受けると現示データ格納部115に格納された現示データの書換を行なう。なお、現示データ制御部111aaはバス111cに接続され、主制御部111abは、バス111dに接続される。
The
現示データマスタ格納部115aは、電気的にデータの書換や消去が可能な不揮発性メモリ(たとえばフラッシュメモリ等)で構成され、現示データを格納するメモリ115aaと、メモリ115aaをバス111cおよびバス111dのいずれかに接続する切替器115abとを含む。現示データサブ格納部115bも現示データマスタ格納部115aと同様に、現示データを格納するため、記憶内容が電気的に書換可能なフラッシュメモリ等のメモリで構成されるメモリ115baと、メモリ115baをバス111cおよび111dのいずれかに接続する切替器115bbとを含む。切替器115abおよび115bbは主制御部111abの制御のもとにその接続態様が設定される。
The display data
図11は、図10に示す主制御部111abによる現示データ格納部115に格納される現示データの変更処理を示すフローチャートである。
FIG. 11 is a flowchart showing a process of changing the display data stored in the display
現示データマスタ格納部115aに含まれる切替器115abは、メモリ115aaをバス111cに接続している。また現示データサブ格納部115bの切替器115bbはメモリ115baをバス111dに接続している。この状態において、現示データ制御部111aaはメモリ115aaに格納された現示データに従って信号灯の点滅動作を制御するための灯器出力信号を出力する。
The switch 115ab included in the displayed data
ステップS101において、主制御部111abは現示データ変更部119から現示データ変更指示が与えられたか否かを監視する。
In step S101, the main control unit 111ab monitors whether a display data change instruction is given from the display
ステップ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
主制御部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
次いでステップ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
バス111cには現示データサブ格納部115bが結合されており、したがって、現示データ制御部111aaはこの現示データマスタ格納部115aへの現示データ書込時においても、何らその制御動作を停止させることなくメモリ115baに格納された現示データに従って信号灯器の点滅制御を実行することができる。
The displayed
次にステップS105において、現示データマスタ格納部115aの現示データの書込が完了すると(ステップS105においてYES)、この書込完了が主制御部111abから現示データ変更部119に知らされ、現示データの書込が完了する。
Next, in step S105, when the writing of the display data in the display data
図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
図13は、図11のステップS104における制御処理部111aでのバスの接続態様を示す図である。図13を参照して、現示データ制御部111aaはバス111cおよび切替器115bbを介してメモリ115baに接続される。主制御部111abはバス111dおよび切替器115abを介してメモリ115aaに接続される。
従来の制御処理部では切替器に接続される信号線の本数が多いという問題がある。切替器はメモリ上のアドレスを指定するためのアドレス信号やデータ信号、データ書込およびデータ読出を指示する制御信号等の多くの信号の入出力先を現示データ制御部と主制御部との間で切替える必要がある。よって従来の制御処理部では切替器を実現するために必要な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,
切替器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
信号制御部11は、信号灯点滅および情報送受信などの必要な制御を行なう制御処理部11aと、この交通信号制御機10に対して設けられる交通信号灯器の現示データを格納する現示データ格納部15と、入出力部17とを含む。
The
制御処理部11aは現示データ格納部15から読み出した現示データに従って、交通信号灯器の点滅を制御するための灯器出力信号を出力する。制御処理部11aは入出力部17を介して接続された車両感知器や押しボタン箱からのセンサ入力、および、送受信部13経由で交通管制センタから受信した制御情報を元に、交通信号灯器の点滅状態の切替タイミングを制御し、交通の円滑な流れを実現する。
The
現示データ格納部15は現示データを格納する部分である。現示データ格納部15の構成の詳細は後述する。
The display
入出力部17は走行車両量を感知する車両感知器などの信号入力と、押ボタン式交通信号機に設けられた押ボタン箱が押圧されたか否かを示す押ボタン箱感知入力と、この押ボタン箱感知入力の状態に従って押ボタン箱に対し、押ボタン押圧確認などの信号を出力する押ボタン箱信号出力の入出力を行なう。なお、現示データ格納部15および入出力部17は制御処理部11aに結合される。
The input /
現示データ変更部19は新しい現示データを制御処理部11aに入力する機能および、現示データの変更を指示する機能を有する。具体的には、現示データ変更部19はパーソナルコンピュータや、信号制御機の操作用パネルなどで実現される。
The display
図2は、図1の信号制御部11の構成をより詳細に示す図である。図2を参照して、信号制御部11は、制御処理部11aおよび現示データ格納部15を含む。
FIG. 2 is a diagram showing the configuration of the
制御処理部11aは現示データ制御部11aaと主制御部11abとを含む。現示データ制御部11aaは現示データ格納部15に格納された現示データに基づいて現示階梯を進め、3色の色灯の点滅を順次切替える。通常状態時には現示データ格納部15に格納された現示データに従って現示階梯が進められ、灯器開閉部12は、この信号制御部11からの灯器出力信号に従って交通信号灯の開閉(点滅)を制御する。
The
主制御部11abは入出力部17を介して外部と情報の授受を行なうとともに、現示データ変更部19から書換用の新しい現示データを受けると現示データ格納部15に格納された現示データの書換を行なう。なお、現示データ制御部11aaはバス11cに接続され、主制御部11abは、バス11dに接続される。
The main control unit 11ab exchanges information with the outside via the input /
現示データ格納部15は、現示データマスタ格納部15aと現示データバックアップ格納部15bとを含む。現示データマスタ格納部15aは、たとえばフラッシュメモリのような、電気的にデータの書換や消去が可能であり、かつ、不揮発的にデータを記憶するメモリで構成されるメモリ15aaと、メモリ15aaをバス11cおよびバス11dのいずれかに接続する切替器15abとを含む。なお、切替器15abは主制御部11abの制御によって、その接続態様が設定される。
The display
現示バックアップデータ格納部は、メモリ15baとバックアップ制御器21とで構成される。
The current backup data storage unit includes a memory 15ba and a
メモリ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
バックアップ制御器21は現示データ制御部11aaから読出指示信号RSを受けた際に、メモリ15baに対してデータの書込を行なうかデータの読出を行なうかを切替指令信号SW1に応じて判定する。
When
信号制御部11は、さらにバックアップ保証部22を含む。バックアップ保証部22は本発明における「監視部」に相当する。バックアップ保証部22は現示データ制御部11aaの動作を監視することによりメモリ15aaに格納されている現示データがメモリ15baにバックアップされたことを主制御部11abに対して通知する(保証する)ためのブロックである。なお、バックアップ保証部22はハードウェアとして実現されてもよいし、主制御部11abにおけるソフトウェア処理によって実現されてもよい。
The
図2の信号制御部11と図10に示す従来の信号制御部111との相違点について以下説明する。
Differences between the
信号制御部11ではバス11cとメモリ15baが常に接続されている。これに対し、信号制御部111ではバス111cとメモリ115baとが切替器115bbを介して接続されている。信号制御部11は信号制御部111に比較して内部に備える切替器の個数が1つ少ないので、回路の小型化や集積化が可能になる。
In the
なお、信号制御部11においても現示データ格納部15には切替器が必要である。現示データ制御部11aaはメモリ15aaから現示データを読出す際にアドレス信号を出力する。現示データ制御部11aaでの処理を簡単にするため、アドレス信号はメモリ15aaとメモリ15baとで区別されずに共通に用いられる。
In the
現示データ制御部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
また、信号制御部11はメモリ15baにSRAM等の揮発性メモリが用いられている点で、不揮発性メモリのみを含む信号制御部111と異なる。メモリ15baがSRAM(またはDRAM)であることにより、データを高速にメモリ15baに書込むことが可能になる。さらに、フラッシュメモリの場合にはデータの書込後に書込が成功したかどうかのベリファイが行なわれるが、メモリ15baがSRAMやDRAMであればデータの読出やデータの書込をフラッシュメモリ等の不揮発性メモリよりも簡単に行なうことができる。
The
また、信号制御部11では、バックアップ制御器21が新たに設けられる点で信号制御部111と相違する。上述のように現示データ制御部11aaは読出指示信号RSのみを出力し、メモリ15baに対するバックアップデータの書込指示を出力しない。バックアップ制御器21は、読出指示信号RSがメモリ15aaから送られると、この読出指示信号RSがメモリ15baに対してバックアップデータを書込む指示か、メモリ15baから現示データを読出す指示であるかを切替指令信号SW1に応じて判定する。これにより、現示データ制御部11aaは読出指示信号RSのみを出力するだけでよくなるので、現示データ制御部11aaの処理を簡単にすることができる。
The
また、信号制御部11ではバックアップ保証部22が新たに設けられる点で信号制御部111と相違する。メモリ15aaに格納された現示データがメモリ15baにバックアップされたか否かを検出するにはメモリ15aa,15baの各々に記憶されているデータを照合する方法が最も確実な方法である。しかし、バックアップ保証部がこのような処理を行なった場合には時間を要する可能性がある。よって、たとえばメモリ15baにバックアップデータが頻繁に書込まれる場合、照合が困難になる。また、バックアップ保証部が照合を行なうために必要な回路を実現するには、回路が大型となり、コストがかかる。
The
バックアップ保証部22はメモリ15aa,15baを直接参照する代わりに、現示データ制御部11aaの動作を監視する。バックアップ保証部22は現示データ制御部11aaがメモリ15aaから信号灯の点滅制御を行なうために必要な全ての現示データの読出を完了したと判定すると、主制御部11abに対してバックアップが完了したことを示す完了情報を送る。よって、本発明の交通信号制御機ではメモリ15baに高速にバックアップデータの書込を行ないながら、メモリ15aaに格納された現示データとバックアップデータとが一致することを保証できる。また、メモリを直接参照する方式に比較して、バックアップ保証部に必要な回路の構成を簡単にすることができる。
The
このように、本発明の交通信号制御機では、信号制御部11に備わる切替器は切替器15abのみであり、従来の信号制御部よりも切替器の個数が減るので回路の小型化とコスト低減とを実現できる。また、主制御部11abは現示データの書換時に現示データマスタ格納部15aのメモリ15aaに対してのみ現示データの書換を行なうので、従来の信号制御部よりも主制御部が現示データの書換を行なう回数が減る。よって本発明の交通信号制御機では、現示データの変更に要する時間が短縮されるとともに書換に伴う主制御部の負荷が減少する。
Thus, in the traffic signal controller of the present invention, the
以下、図面を参照しながら本発明の交通信号制御機の動作についてより詳細に説明する。なお、本発明の交通信号制御機において「所定の動作モード」とは交通信号制御機がある定められた動作を行なうよう設定された状態を意味する。 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
この現示データ制御部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
バス11cは現示データ制御部11aaに接続される。また、バス11cは現示データバックアップ格納部15bのメモリ15baに直接接続されている。また、主制御部11abは、通常動作時にはバックアップ制御器21に対し書込動作を行なうことを示す切替指令信号SW1を出力する。
The
よって、現示データ制御部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
バックアップ保証部22は、メモリ15baに対し、読み出された現示データがすべてバックアップされていることを保証するため、現示データ制御部11aaの動作を監視する。バックアップ保証部22は、現示データ制御部11aaがすべての現示データを最低1回読み出したことを確認することによりメモリ15baに現示データの格納が完了したと判断する。
The
たとえば、現示データ制御部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
複数の点滅パタンが15aaに格納されている場合には、バックアップ保証部22は現示データ制御部11aaが複数の点滅パタンのすべてを読出して点滅制御を行なった時点で、主制御部11abにメモリ15aaに格納されるすべての現示データがメモリ15ba中に格納されたことを通知するため完了情報を送る。
When a plurality of blinking patterns are stored in 15aa, the
なお、現示データ変更中は特定の点滅パタンにのみ従って現示データ制御部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
次にステップS1では、現示データ制御部11aaからバックアップ保証部22に現示階梯情報が入力される。以後、バックアップ保証部22は現示データ制御部11aaから、どの現示階梯における点滅処理が実行されているかを示す情報を受ける。
Next, in step S1, the display hierarchy information is input from the display data control unit 11aa to the
ステップS2では、バックアップ保証部22は現示データ制御部11aaから受ける情報に基づいて現示階梯が1であるか否かを判定する。現示階梯が1である場合(ステップS2においてYES)、処理はステップS3に進む。
In step S2, the
ステップS3ではステップS2と同様に、バックアップ保証部22は現示階梯が2であるか否かを判定する。現示階梯の数が増えるということは色灯の点滅が順次切換わることを意味する。現示階梯が2である場合(ステップS3においてYES)、処理はステップS4に進む。
In step S3, as in step S2, the
ステップS4ではステップS2と同様に、バックアップ保証部22は現示階梯が1であるか否かを判定する。ステップS4において現示階梯が1であるということは、3色の色灯の点滅が巡回したことを意味する。つまり、点滅制御処理が1回終了したことを意味する。現示階梯が1である場合(ステップS4においてYES)、処理はステップS5に進む。
In step S4, as in step S2, the
ステップS5では、バックアップ保証部22は現示データバックアップ格納部15bへのバックアップデータの格納が完了したことを示す完了情報(バックアップデータ格納完了情報)を主制御部11abに送る。ステップS5での処理が終了するとステップS6において全体の処理が終了する。点滅制御処理は繰り返し実行されるが、少なくとも1回終了すると信号灯の点滅制御に必要な全ての現示データが読み出されるので、点滅制御処理の終了により現示データのバックアップが完了したことを保証できる。
In step S5, the
次に、メモリ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
主制御部11abは現示データマスタ格納部15aのメモリ15aaに新しい現示データを書込む。新しい現示データの書込が終了した後に、主制御部11abは現示データ制御部11aaで使用する現示データの読み出し元を再びメモリ15aaに設定する。つまり書換が完了すると接続形態は通常動作と同じ態様に戻る。
The main control unit 11ab writes new display data into the memory 15aa of the display data
図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,
ステップS11において、主制御部11abに現示データ変更部19から新しい現示データ(書換用のデータ)が入力される。
In step S11, new display data (rewrite data) is input from the display
ステップ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
なお、ステップ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
以上のように実施の形態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
図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,
図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
バックアップ保証部22Aは現示データ制御部11aaに読出の開始を指示する読出開始指示を送る。また、バックアップ保証部22Aは、アドレス指定されたデータの読出しを現示データ制御部11aaに行なわせるため、メモリ15aaのアドレスを順次指定する。現示データ制御部11aaはバックアップ保証部22Aから読出開始指示を受けるとメモリ15aaの指定されたアドレスからデータを読出す(アドレス指定されたデータを読出す)。現示データ制御部11aaはデータの読出しが完了するごとに、読出しが完了したことを示す通知をバックアップ保証部22Aに対して送る。
The
バックアップ保証部22Aは現示データ制御部11aaからの通知に応じ、現示データの情報に従って定められるアドレスの範囲内のすべてのアドレスに対して読出開始指示を出力したか否かを判定する。すべてのアドレスに対して読出開始指示を出力したと判定する場合、バックアップ保証部22Aはバックアップ格納完了通知を主制御部11abに送る。まだ指定していないアドレスが存在すると判定する場合、バックアップ保証部22Aはメモリ15aaに対してそのアドレスを指定するとともに、現示データ制御部11aaに対して読出開始指示を送る。
In response to the notification from the display data control unit 11aa, the
なお、メモリ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
次にステップ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
ステップS22において、バックアップ保証部22Aは主制御部11abからアドレス情報を受ける。なお、上述のように、アドレス情報はバックアップ保証部22A内に予め記憶されていてもよい。バックアップ保証部22Aはアドレス情報に基づいてメモリ15aaに対してアドレスを順次指定する。バックアップ保証部22Aはアドレスを指定するごとに読出開始指示を出力する。ステップS23において現示データ制御部11aaは指定されたメモリ15aaからのデータの読出しが完了するとバックアップ保証部22Aに対して通知を送る。
In step S22, the
ステップS23において、バックアップ保証部22Aは現示データ制御部11aaからの通知に基づいて、全てのアドレスに対して読出開始指示を出したか否かを判定する。指定したすべてのアドレスに対して現示データ制御部11aaから通知を受けている場合(ステップS23においてYES)、バックアップ保証部22Aはすべてのアドレスを指定したと判定し、ステップS24においてバックアップデータ格納完了情報を主制御部11abに対して出力する。ステップS24での処理が終了すると、ステップS26において全体の処理が終了する。
In step S23, the
一方、ステップ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
なお、バックアップ保証部22Aは現示データ制御部11aaがメモリ15aaに対して指定したアドレスに関する情報を取得するため、現示データ制御部11aaがバス11cに対して出力するアドレス信号を監視してもよい。この場合、バックアップ保証部22Aは主制御部11abが指定したすべてのアドレスに対応するアドレス信号が現示データ制御部11aaからバス11cに送られたことを確認し、バックアップデータ格納完了情報を主制御部11abに送る。
Since the
以上のように実施の形態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.
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.
前記第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回終了すると、前記制御部に対して前記完了情報を送る、請求項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のデータ格納部に対して順次指定して、前記アドレスを指定するごとに前記制御部に対して前記読出開始指示を送り、前記制御部から受ける前記通知に基づいて前記アドレスの範囲に含まれる前記アドレスをすべて指定したと判定する場合に、前記制御部に対して前記完了情報を送る、請求項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.
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)
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)
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 |
-
2005
- 2005-08-09 JP JP2005231073A patent/JP4670541B2/en not_active Expired - Fee Related
Patent Citations (2)
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)
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 |