JPS5938640B2 - Vehicle group speed measurement method - Google Patents
Vehicle group speed measurement methodInfo
- Publication number
- JPS5938640B2 JPS5938640B2 JP13739480A JP13739480A JPS5938640B2 JP S5938640 B2 JPS5938640 B2 JP S5938640B2 JP 13739480 A JP13739480 A JP 13739480A JP 13739480 A JP13739480 A JP 13739480A JP S5938640 B2 JPS5938640 B2 JP S5938640B2
- Authority
- JP
- Japan
- Prior art keywords
- speed
- vehicle group
- light receiving
- vehicle
- counter
- 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.)
- Expired
Links
Landscapes
- Traffic Control Systems (AREA)
Description
【発明の詳細な説明】
この発明は、車両群速度測定方法、とくに光学系を用い
て走行車両の映像信号を得、この映像信号から車両群の
走行速度を測定する方法に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for measuring the speed of a group of vehicles, and more particularly to a method for obtaining a video signal of a traveling vehicle using an optical system and measuring the traveling speed of a group of vehicles from this video signal.
道路の所要検出地点を俯瞼する位置に配置され、この検
出地点の車両を検出する受光素子を含む光学系を備えた
車両速度測定装置が知られている。この種の測定装置に
おいて、上記受光素子の視野を遠方に設定した場合には
複数台の車両が重なつてみえるので、受光素子の出力映
像信号からは個個の車両の信号波形を識別することは困
難である。そこで、遠方の検出地点に対しては複数台の
車両を車両群として把えて、この車両群の速度を測定す
るのが有効である。しかしながら、車両群の長さは車両
の流れに応じて変化するので、映像信号中の車両群を表
わす信号成分の終了時点もまちまちになる。車両群の長
さをあらかじめ予想するのが困難であるから、車両群の
速度測定は個々の車両の速度測定よりも複雑な処理が必
要となる。この発明は、上記実情に鑑み、車両群の速度
をきわめて簡単な処理で測定することのできる方法を提
供するものである。以下、図面を参照してこの発明の内
容について詳しく説明する。2. Description of the Related Art A vehicle speed measuring device is known that is provided with an optical system that is placed at a position overlooking a required detection point on a road and includes a light-receiving element that detects a vehicle at this detection point. In this type of measuring device, if the field of view of the light receiving element is set at a far distance, multiple vehicles will appear to overlap, so it is difficult to identify the signal waveform of each individual vehicle from the output video signal of the light receiving element. It is difficult. Therefore, for distant detection points, it is effective to consider a plurality of vehicles as a vehicle group and measure the speed of this vehicle group. However, since the length of the vehicle group changes depending on the flow of vehicles, the end points of the signal components representing the vehicle group in the video signal also vary. Because it is difficult to predict the length of a group of vehicles in advance, measuring the speed of a group of vehicles requires more complex processing than measuring the speed of individual vehicles. In view of the above-mentioned circumstances, the present invention provides a method that can measure the speed of a group of vehicles with extremely simple processing. Hereinafter, the content of the present invention will be explained in detail with reference to the drawings.
以下に示す例は、道路を俯瞼する位置に設置され多数の
受光素子をもつた交通流計測装置を用いた場合である。The example shown below is a case where a traffic flow measuring device installed in a position overlooking a road and having a large number of light receiving elements is used.
この装置は、道路上の多数の点の車両情報を1箇所で収
集しうる上に簡単に設備しうるという利点がある。第1
図は、上記交通流計測装置のカメラの設置の様子を示し
ている。This device has the advantage of being able to collect vehicle information from multiple points on the road at one location and being easy to install. 1st
The figure shows how the camera of the traffic flow measuring device is installed.
カメラ1は、支柱3などにより道路L上方の所要高さ位
置(たとえば6m)に、道路Lの長さ方向の所要範囲(
たとえば100m)を俯瞼するように設置されている。
カメラ1内には、第3図に示すように、レンズ5と多数
の受光素子とを含む光学系4が備えられている。この例
では、カメラ1の視野内には交通流を計測すべき車線に
そつて6つの検出地点P1〜P6がある。カメラ1内の
光学系4の結像面上であつてこれらの検出地点に対応す
る箇所に、各1対ずつの受光素子DSl,dRl〜DS
6,dR6が配置されている。これらの受光素子はたと
えばフオト・ダイオードからなる。1つのカメラで2車
線の交通流を計測する場合には、光学系4の結像面上に
は多数の受光素子が2列に配列される。The camera 1 is mounted at a required height position (for example, 6 m) above the road L using a support 3 or the like, and within a required range (for example, 6 m) in the length direction of the road L.
For example, it is installed so that it overlooks 100 meters).
As shown in FIG. 3, the camera 1 is equipped with an optical system 4 including a lens 5 and a large number of light receiving elements. In this example, within the field of view of the camera 1, there are six detection points P1 to P6 along the lane in which traffic flow is to be measured. A pair of light receiving elements DSl, dRl to DS are placed on the image forming plane of the optical system 4 in the camera 1 at locations corresponding to these detection points.
6, dR6 is placed. These light receiving elements are composed of photo diodes, for example. When measuring traffic flow in two lanes with one camera, a large number of light receiving elements are arranged in two rows on the imaging plane of the optical system 4.
各検出地点(Pで代表する)には第2図に示すように、
セツト域Sとりセツト域Rとが所要間隔lをおいて設定
されている。1対の受光素子(DS,dRで代表する)
は、これらの各域S,Rにそれぞれ対応している。At each detection point (represented by P), as shown in Figure 2,
A set area S and a set area R are set at a required interval l. A pair of light receiving elements (represented by DS and dR)
correspond to these regions S and R, respectively.
車両CAが検出地点Pをセツト域Sからりセツト域Rに
向けて通過すると、後述するように、受光素子DSおよ
びDRから時間tだけずれた車両検地映像信号が出力さ
れる。そして、この時間tと距離lとにもとづいて車両
の走行速度が算出される。車両の走行速度、車頭間隔、
渋滞度、車両の通過台数その他の交通流情報は、カメラ
1からの映像信号にもとづいて処理装置2で得られる。When the vehicle CA passes through the detection point P from the set area S toward the set area R, a vehicle location detection video signal shifted by a time t is output from the light receiving elements DS and DR, as will be described later. Then, the traveling speed of the vehicle is calculated based on this time t and distance l. vehicle speed, headway distance,
The degree of traffic congestion, the number of passing vehicles, and other traffic flow information are obtained by the processing device 2 based on video signals from the camera 1.
第3図を参照して、カメラ1内の各受光素子DS,dR
の出力信号は、自動利得制御機能を備えた増巾器6で増
巾されたのち、マルチプレクサ・チヤンネル装置7に送
られ、ここで12個の受光素子の各出力が順次切換えら
れてA−D変換器8に送られる。A−D変換器8は入力
する各受光素子の出力をAD変換し、その結果を中央処
理装置(CPUという)11に送る。それぞれの受光素
子の出力信号についてのAD変換は所定のサンプリング
周期(この例では4.8mS)で行なわれる。12個の
受光素子はこのサンプリング周期の時間内にマルチプレ
クサ・チヤンネル装置7によつて走査される。With reference to FIG. 3, each light receiving element DS, dR in the camera 1
The output signal is amplified by an amplifier 6 equipped with an automatic gain control function, and then sent to a multiplexer channel device 7, where the outputs of each of the 12 light receiving elements are sequentially switched and output from A to D. It is sent to converter 8. The AD converter 8 performs AD conversion on the input output of each light receiving element, and sends the result to a central processing unit (referred to as CPU) 11 . AD conversion of the output signal of each light receiving element is performed at a predetermined sampling period (4.8 mS in this example). The 12 light receiving elements are scanned by the multiplexer channel device 7 within this sampling period.
処理装置2には2台のCPUll,l2が備えられてい
る。The processing device 2 is equipped with two CPUs 11 and 12.
CPUllは、A−D変換器8から送られるデータにも
とづいて、後述するところから明らかなように、各受光
素子の出力信号波形の分析処理を実行するとともに、マ
ルチプレクサ・チヤンネル装置7やA−D変換器8を制
御する。CPUl2は、CPUllによつて得られたデ
ータにもとづいて車両の走行速度の算出、渋滞度の検出
その他の交通流演算処理を行ない、かつ必要な交通流情
報を作成して伝送部(図示略)を経て、センタに伝送す
る。各CPUll,l2は、実行プログラムを格納した
プログラム・メモリ(図示フ略)の他に、それぞれデー
タを記憶するローカル・メモリ13,14を備えており
、また処理装置2には両CPUll,l2がアクセスし
うる共有メモリ15がある。Based on the data sent from the A-D converter 8, CPUll executes analysis processing of the output signal waveform of each light receiving element, as will be explained later, and also analyzes the output signal waveform of the multiplexer channel device 7 and the A-D converter 8. Converter 8 is controlled. The CPU12 calculates the running speed of the vehicle, detects the degree of congestion, and performs other traffic flow calculation processes based on the data obtained by the CPU11, and also creates necessary traffic flow information and sends it to the transmission unit (not shown). The data is then transmitted to the center. Each CPUll, l2 includes a program memory (not shown) storing an execution program, and local memories 13, 14 for storing data, respectively, and the processing device 2 includes both CPUll, l2. There is a shared memory 15 that can be accessed.
第5図には遠方の検出地点、たとえば検出地点P6を走
行する車両を検出する受光素子DS6,dR6から出力
される車両の映像信号の例が示されている。FIG. 5 shows an example of a vehicle video signal output from light receiving elements DS6 and dR6 that detect a vehicle traveling at a distant detection point, for example, detection point P6.
セツト信号が受光素子DS6の出力であり、りセツト信
号が受光素子DR6の出力である。遠方の検出地点では
複数台の車両が重なつてみえるので、各信号には複数台
の車両からなる車両群の波形があられれ、個々の車両を
識別することはできない。そこで、個々の車両の速度を
測定する代わりに車両群の速度を測定する。車両群速度
を測定するにあたつて、受光素子の出力信号の変化を判
定する必要がある。The set signal is the output of the light receiving element DS6, and the reset signal is the output of the light receiving element DR6. Since multiple vehicles appear to overlap at a distant detection point, each signal contains the waveform of a vehicle group consisting of multiple vehicles, making it impossible to identify individual vehicles. Therefore, instead of measuring the speed of individual vehicles, the speed of a group of vehicles is measured. In measuring the vehicle group speed, it is necessary to determine changes in the output signal of the light receiving element.
受光素子の出力信号は、サンプリング周期ごとにA−D
変換器8でAD変換されるが、今回のAD変換された結
果を今回データDtとする。今回データDtがそれ以前
のデータよりも増加しているか、減少しているか、また
は増加も減少もしない平衡状態にあるかを判定するため
には、今回データDtとそれ以前のデータとの偏差Δω
を求める必要がある。この偏差Δωを求めるための対象
となる以前のデータを前処理データDOとする。この前
処理データDOはたとえば、前回のサンプリングされた
データであつて、サンプリング周期ごとに更新される。
また、上記判定のために、今回データDtと前処理デー
タDOとの偏差Δωと比較される基準の量を偏差基準量
ω0とする。そして、Dt−DO≧ω0であれば増加状
態、Dt−DO≦−ω0であれば減少状態、1Dt−D
O〈ω0であれば平衡状態とする。このようにして信号
の変化がサンプリング周期ごとに判定される様一子が第
4図に示されている。信号波形の立上りを検出するため
には、平坦な基準となるレベルが必要である。The output signal of the light receiving element is A-D at each sampling period.
The data is AD converted by the converter 8, and the result of the current AD conversion is defined as the current data Dt. In order to determine whether the current data Dt is increasing or decreasing compared to the previous data, or whether it is in an equilibrium state of neither increase nor decrease, the deviation Δω between the current data Dt and the previous data is
It is necessary to ask for Previous data to be used for determining this deviation Δω is defined as preprocessed data DO. This preprocessed data DO is, for example, previously sampled data and is updated every sampling period.
Furthermore, for the above determination, the reference amount to be compared with the deviation Δω between the current data Dt and the preprocessed data DO is defined as a deviation reference amount ω0. If Dt-DO≧ω0, the state increases; if Dt-DO≦-ω0, the state decreases; 1Dt-D
If O<ω0, it is assumed to be in an equilibrium state. FIG. 4 shows how the change in the signal is determined for each sampling period in this manner. In order to detect the rising edge of a signal waveform, a flat reference level is required.
このレベルを平衡レベルLCという。平衡レベルLCは
、信号の平衡状態が所要複数回(これを平衡判定値CO
という)連続して続いたときに更新される。平衡レベル
LCにはいくつかある。その1つは、受光素子が路面を
検出しているレベルLO(第5図にAで示す))であつ
て、車両が走行していないときにはこの路面レベルLO
が続く。他の1つは車両群を検出しているレベルであり
(第5図にBで示す)、この場合には路面レベルLOよ
りも高いレベルで平衡状態が連続する。車両群の映像信
号波形の長さは、車両群を構成する車両台数に応じて変
わるので、いつ終了するか(立下るか)はあらかじめ予
測することはできない。This level is called the equilibrium level LC. The equilibrium level LC is determined by the number of times the signal is in an equilibrium state (this is determined by the equilibrium judgment value CO).
) are updated when they occur consecutively. There are several equilibrium levels LC. One is the level LO at which the light receiving element detects the road surface (indicated by A in Figure 5); when the vehicle is not running, this road surface level LO
continues. The other level is the level at which a group of vehicles is detected (indicated by B in FIG. 5), and in this case, an equilibrium state continues at a level higher than the road surface level LO. Since the length of the video signal waveform of a vehicle group changes depending on the number of vehicles making up the vehicle group, it is impossible to predict in advance when it will end (fall).
そこで、禁止時間帯Tという概念を導人し、この禁止時
間帯Tが経過したときに1つの車両群が通過したものと
擬制する。この禁止時間帯Tは、信号の立上りから開始
される。車両群の速度はセツト信号波形の立上りの時点
からりセツト信号波形の立上りの時点までの時間(これ
を検知時間tという)にもとづいて算出される。すなわ
ち、後に詳述するように、検知時間tの計時処理はセツ
ト信号の立上り時点から始まりりセツト信号の立上り時
点で終る。しかしながら、これらの信号の立上りの時点
が前回の立上りから始まつた禁止時間帯T内の場合には
この時点から検知時間tの計時が開始されることはない
し、検知時間tの計時がこの時点で終ることもない。禁
止時間帯Tの計時処理も、信号の立上り時点が禁止時間
帯T内の場合にはこの時点から始まることはない。検知
時間tや禁止時間帯Tの計時処理は信号の立下りによつ
て影響されることはない〇このことにより、禁止時間帯
Tで擬制された1つの車両群について1回の速度測定が
可能となる。Therefore, we introduce the concept of a prohibited time period T, and assume that one vehicle group has passed when this prohibited time period T has elapsed. This prohibited time period T starts from the rising edge of the signal. The speed of the vehicle group is calculated based on the time from the rising edge of the set signal waveform to the rising edge of the reset signal waveform (this is referred to as detection time t). That is, as will be described in detail later, the process of measuring the detection time t starts at the rising edge of the set signal and ends at the rising edge of the set signal. However, if the rising point of these signals is within the prohibited time period T that started from the previous rising edge, the measurement of the detection time t will not start from this point, and the measurement of the detection time t will not start from this point. It never ends. If the time point at which the signal rises is within the prohibited time zone T, the timing process for the prohibited time zone T will not start from this point. The timing process for the detection time t and the prohibited time period T is not affected by the falling signal. This makes it possible to measure the speed of one simulated vehicle group during the prohibited time period T. becomes.
禁止時間帯Tはもちろん、予想される検知時間tよりも
長い時間に設定されている。検知時間tは、車両がセツ
ト域Sとりセツト域Rとの間(距離2)を走行するのに
要する時間であるから、この車両の走行速度Vは次式で
求められる。The prohibited time period T is of course set to a time longer than the expected detection time t. Since the detection time t is the time required for the vehicle to travel between the set area S and the set area R (distance 2), the traveling speed V of the vehicle is determined by the following equation.
ただしKは定数である。検知時間tの間に車両が実際に
移動する距離は、車両の形伏、車高などの影響を受け車
両ごとに若干異なり、実際には上記の距離jとは等しく
ない。However, K is a constant. The distance that the vehicle actually moves during the detection time t varies slightly depending on the vehicle due to the influence of the vehicle shape, vehicle height, etc., and is actually not equal to the above-mentioned distance j.
しかしながら、路面より所要高さだけ上方の位置に検知
面を仮想してこの検知面上で両域S,R間の距離を測り
、かつこの距離を統計的に修正することにより、車両の
走行速度を高精度に測定することが可能である。CPU
llが受光素子の出力信号波形の分析処理を実行するた
めに、メモリ13および15には各種のデータが記憶さ
れるエリヤが設けられている。However, by imagining a sensing surface at a position above the road surface by the required height, measuring the distance between both areas S and R on this sensing surface, and statistically correcting this distance, it is possible to increase the vehicle's running speed. It is possible to measure with high precision. CPU
The memories 13 and 15 are provided with areas for storing various data in order for the memory 11 to analyze the output signal waveform of the light receiving element.
メモリ13には、セツト信号とりセツト信号の、今回デ
ータDt、前処理データDO、偏差Δωおよび前回の信
号の変化が増加か、減少かまたは平衡かを示す前回パタ
ーンを記憶するエリヤが設けられているとともに、禁止
時間カウンタC1、平衡カウンタC2および車両群速度
カウンタC3として用いられるエリヤがある。禁止時間
カウンタC1は禁止時間帯Tの経過を計時するものであ
る。平衡カウンタC2は、平衡状態の連続回数を計数す
るものであり、車両群速度カウノタC3は検知時間tを
計時するものである。さらにメモリ13には、平衡レベ
ルLCを記憶するエリヤ、測定フラグF1として用いら
れるエリヤがある。測定グラフF1は、セツト信号の立
上りによつてオンとされ、りセツト信号の立上りによつ
てオフとされる。メモリ15には各種の定数、すなわち
偏差基準量ω0、禁止時間T、平衡判定値CO、異常送
度カウント数CMおよび立上り検出基準量L1があらか
じめ記憶されている。異常カウント数とは、予想されう
る最低車両速度よりも小さい速度に対応する値であつて
、セツト信号に含まれるノイズなどにより測定グラフF
1がオンとなつたまま長い間オフとされない状態が続く
のを防止するためのものである。立上り検出基準量L1
は信号が平衡レベルLCから立上つたかどうかを検出す
るための基準となる値である。また、メモリ15には、
各サンプリング周期ごとの信号波形の変化パターンを記
憶するエリヤ、車両群速l度カウンタC3の最終的な内
容を記憶するエリヤおよび収集フラグF2として用いら
れるエリヤがある。収集フラグF2は車両群速度の測定
が終了したときにオンとされ、CPUl2がこのフラグ
F2の状態をみて車両群速度データ・エリヤのデ−タを
取込む。第6図はCPUllによるセツト信号の波形分
析処理の手順を示している。The memory 13 is provided with an area for storing the current data Dt, the preprocessed data DO, the deviation Δω, and the previous pattern of the set signal indicating whether the change in the previous signal is increased, decreased, or balanced. In addition, there is an area used as a prohibition time counter C1, a balance counter C2, and a vehicle group speed counter C3. The prohibited time counter C1 measures the passage of the prohibited time period T. The equilibrium counter C2 counts the number of consecutive equilibrium states, and the vehicle group speed counter C3 measures the detection time t. Furthermore, the memory 13 includes an area for storing the equilibrium level LC and an area used as the measurement flag F1. The measurement graph F1 is turned on by the rise of the set signal and turned off by the rise of the reset signal. The memory 15 stores in advance various constants, namely, the deviation reference amount ω0, the inhibition time T, the equilibrium judgment value CO, the abnormal feed count number CM, and the rising detection reference amount L1. The abnormal count number is a value corresponding to a speed smaller than the lowest expected vehicle speed, and is a value that is caused by noise contained in the set signal etc.
This is to prevent the switch 1 from remaining on for a long time without being turned off. Rising detection reference amount L1
is a reference value for detecting whether the signal has risen from the equilibrium level LC. Moreover, in the memory 15,
There are an area for storing the change pattern of the signal waveform for each sampling period, an area for storing the final contents of the vehicle group speed counter C3, and an area used as the collection flag F2. The collection flag F2 is turned on when the measurement of the vehicle group speed is completed, and the CPU 12 reads the state of this flag F2 and reads the data in the vehicle group speed data area. FIG. 6 shows the procedure of waveform analysis processing of the set signal by CPUll.
この処理は4.8mSごとに実行される。まず、禁止時
間カウンタC1の内容がOかどうかをみる(ステツプ2
1)。禁O止時間カウンタC1には、信号の立上りが検
出されたときに禁止時間Tがセツトされ、処理ごとにそ
の内容が−1されていく。カウンタC1の内容がOのと
きは禁止時間帯T外である。カウンタC1の内容がOで
なければ、このカウンタC1の内容から−1し(ステツ
プ22)、今回データDtから前処理データDOを差引
いて偏差Δωを求める(ステツプ23)。そしてこの偏
差Δωが基準量ω0以上かどうかをみて(ステツプ24
)、Δω≧ω0であれば増加であるから平衡カウンタC
2をクリアし(ステツプ25)、メモリ15のパターン
記憶エリヤに増加パターンを記憶する(ステツプ26)
。そして、前回パターンが増カロであつたかどうかをみ
る(ステツプ27)。前回が平衡または減少の場合には
信号が立上つた可能性があるから、今回データDtから
平衡レベルLCを差引いたレベル差Δω1を算出し(ス
テツプ28)、このレベル差Δω1と立上り検出基準量
L1とを比較して(ステツプ29)、Δω1≧L1であ
れば立上りとみなす。そして、禁止時間カウンタC1の
内容をみて(ステツプ30)、禁止時間帯T以外であれ
ば車両群速度測定のためにステツプ31に進み、禁止時
間帯T内であれば速度測定を開始しない。速度測定にあ
たつてまずカウンタC1に禁止時間Tをセツトし(ステ
ツプ31)、測定フラグF1をオンとし(ステツプ32
)、車両群速度カウンタC3をクリアする(ステツプ3
3)。この車両群速度カウンタC3の内容は、後述する
りセツト信号の処理ごとに+1され、検知時間tが計時
されていく。そして、今回データDtを前処理データD
Oとして前処理データを更新し(ステツプ34)、メモ
リ13の前回パターン記憶エリヤに今回のパターン(こ
の場合には増力0)を記憶して(ステツプ35)、処理
を終える。ステツプ27でYESの場合、およびステツ
プ29,30でNOの場合にはただちにステツプ34に
移る。ステツプ24でNOの場合には、ステツプ36に
移つて偏差Δωの絶対値と基準量ω0とを比較して今回
のパターンが減少か平衡かを判定する。This process is executed every 4.8 mS. First, check whether the content of the prohibition time counter C1 is O (step 2).
1). A prohibition time T is set in the prohibition time counter C1 when a rising edge of the signal is detected, and its contents are decremented by 1 for each process. When the content of the counter C1 is O, it is outside the prohibited time period T. If the content of the counter C1 is not 0, the content of the counter C1 is decremented by 1 (step 22), and the preprocessed data DO is subtracted from the current data Dt to obtain the deviation Δω (step 23). Then, it is checked whether this deviation Δω is greater than or equal to the reference amount ω0 (step 24).
), if Δω≧ω0, it is an increase, so the equilibrium counter C
2 (step 25) and store the increased pattern in the pattern storage area of the memory 15 (step 26).
. Then, it is checked whether the previous pattern was an increase in calories (step 27). If the signal was balanced or decreased last time, there is a possibility that the signal rose, so the level difference Δω1 is calculated by subtracting the balanced level LC from the current data Dt (step 28), and this level difference Δω1 and the rising detection reference amount are calculated. It is compared with L1 (step 29), and if Δω1≧L1, it is regarded as a rising edge. Then, the content of the prohibited time counter C1 is checked (step 30), and if it is outside the prohibited time period T, the process proceeds to step 31 to measure the speed of the vehicle group, and if it is within the prohibited time period T, speed measurement is not started. When measuring the speed, first set the prohibition time T in the counter C1 (step 31), and turn on the measurement flag F1 (step 32).
), clear the vehicle group speed counter C3 (step 3
3). The contents of this vehicle group speed counter C3 are incremented by 1 each time a reset signal is processed, which will be described later, and the detection time t is counted. Then, this time data Dt is converted into preprocessed data D
The preprocessing data is updated as O (step 34), and the current pattern (power increase 0 in this case) is stored in the previous pattern storage area of the memory 13 (step 35), and the process ends. If YES in step 27 and NO in steps 29 and 30, the process immediately moves to step 34. If NO in step 24, the process moves to step 36 and compares the absolute value of the deviation Δω with the reference amount ω0 to determine whether the current pattern is decreasing or balanced.
減少の場合には平衡カウンタC2をクリアし(ステツプ
37)、メモリ15のパターン記憶エリヤに減少パター
ンを記憶して(ステツプ38)、ステツプ34に移る。
平衡の場合には、メモリ15に平衡パターンを記憶し(
ステツプ39)、平衡カウンタC2の内容に+1したの
ち(ステツプ40)、このカウンタC2の内容が平衡判
定値COに達しているかどうかをみる(ステツプ41)
。In the case of a decrease, the balance counter C2 is cleared (step 37), the decrease pattern is stored in the pattern storage area of the memory 15 (step 38), and the process moves to step 34.
In the case of equilibrium, the equilibrium pattern is stored in the memory 15 (
After incrementing the contents of the equilibrium counter C2 by 1 (step 40), it is checked whether the contents of this counter C2 have reached the equilibrium judgment value CO (step 41).
.
カウンタC2の内》容が判定値CO以上であれば、今回
データDtを平衡レベルLCとして平衡レベルを更新し
(ステツプ42)、ステツプ34に移る。If the content of the counter C2 is equal to or greater than the judgment value CO, the current data Dt is set as the equilibrium level LC and the equilibrium level is updated (step 42), and the process moves to step 34.
ステツプ41でNOの場合にはそのままステツプ34に
移る。第7図はCPUllによるりセツト信号の波形分
析処理の手順を示している。この処理も4.8mSごと
に実行される。まず、禁止時間カウンタC1の内容がO
かどうかをみて(ステツプ51)カウンタC1の内容が
Oでなければ、このカウンタC1の内容から−1し(ス
テツプ52)、測定フラグF1がオンかどうかをみる(
ステツプ53)。このフラグF1がオンであれば測定が
既に開始されているのであるから車両群速度カウンタC
3の内容に+1して(ステツプ54)、このカウンタC
3の内容と異常速度カウント数CMとを比較する(ステ
ツプ55)。C3≧CMであれば、予想されうる最大検
知時間以上にわたつてフラグF1がセツトされ続けてい
るのであるから異常と判断し、測定フラグF1をオフと
し(ステツプ56)、カウンタC3をクリアする(ステ
ツプ57)。ステツプ53でNOの場合にはステツプ5
4〜57の処理をすることなく、ステツプ55でNOで
正常と判断した場合にはステツプ56,57の処理をす
ることなくステツプ58に移る。ステツプ58では、今
回データDtから前処理データDOを差引いて偏差Δω
を求め、この偏差Δωが基準量ω0以上かどうかるみる
(ステツプ59)oΔω≧ω0であれば増加であるから
平衡カウンタC2をクリアし(ステツプ60)、メモリ
15のパターン記憶エリヤに増加パターンを記憶する(
ステツプ61)。If NO at step 41, the process directly advances to step 34. FIG. 7 shows the procedure of waveform analysis processing of the reset signal by the CPUll. This process is also executed every 4.8 mS. First, the content of the prohibition time counter C1 is O.
(Step 51) If the content of the counter C1 is not O, the content of the counter C1 is decremented by 1 (Step 52), and it is checked whether the measurement flag F1 is on (
Step 53). If this flag F1 is on, measurement has already started, so the vehicle group speed counter C
Add 1 to the contents of 3 (step 54) and set this counter C.
3 and the abnormal speed count number CM are compared (step 55). If C3≧CM, flag F1 has been set for longer than the expected maximum detection time, so it is determined that there is an abnormality, measurement flag F1 is turned off (step 56), and counter C3 is cleared (step 56). Step 57). If NO in step 53, proceed to step 5.
If the result in step 55 is NO and it is determined to be normal, the process proceeds to step 58 without performing the processes in steps 56 and 57. In step 58, the preprocessed data DO is subtracted from the current data Dt to obtain the deviation Δω.
and checks whether this deviation Δω is greater than or equal to the reference amount ω0 (step 59). If Δω≧ω0, it is an increase, so the balance counter C2 is cleared (step 60), and the increase pattern is stored in the pattern storage area of the memory 15. Remember(
Step 61).
そして、前回パターンが増加であつたかどうかをみる(
ステツプ62)。前回が平衡または減少の場合には、今
回データDtから平衡レベルLCを差引いたレベル差Δ
ω1を算出し(ステツプ63)、このレベル差Δω1と
立上り検出基準量L1とを比較して(ステツプ64)、
Δω1≧L1であれば立上りとみなす。そして、禁止時
間カウンタC1の内容をみて(ステツプ65)、禁止時
間帯T以外であれば車両群速度測定処理のためにステツ
プ66に進み、禁止時間帯T内であれば速度測定処理を
しない。速度測定にあたつてまず、測定フラグF1がオ
ンかどうかをみる(ステツプ67)。フラグF1がオン
であれば、既にセツト信号が立上つて速度測定が続いて
きたのであるからこれを終了させるためにフラグF1を
オフとし(ステツプ68)、車両速度カウンタC3の内
容を速度データとしてメモリ15の車両群速度データ・
エリヤに転送する(ステツプ69)。この転送処理のの
ち収集フラグF2をオンとする(ステツプ70)。収集
フラグF2がオンになつたのをみて、CPUl2はこの
速度データを取込んで車両群速度の算出、渋滞度の検出
その他の交通流情報作成処理を実行する。速度データが
取込まれると収集フラグF2はオフとなる。ステツプ6
2でYESlステツプ64,65,67でそれぞれNO
の場合にはただちにステツプ71に移る。以上の処理の
のち今回データDtを前処理データDOとして前処理デ
ータを更新し(ステツプ71)、メモリ13の前回パタ
ーン記憶エリヤに今回のパターンを記憶して(ステツプ
72)、処理を終える。ステツプ59でNOの場合には
ステツプ73に移つて偏差Δωの絶対値と基準量ω0と
を比較し●て今回のパターンが減少か平衡かを判定する
。Then check whether the previous pattern was an increase (
Step 62). If the previous data was balanced or decreased, the level difference Δ is calculated by subtracting the balanced level LC from the current data Dt.
ω1 is calculated (step 63), and this level difference Δω1 is compared with the rising edge detection reference amount L1 (step 64).
If Δω1≧L1, it is regarded as a rising edge. Then, the content of the prohibited time counter C1 is checked (step 65), and if it is outside the prohibited time period T, the process proceeds to step 66 for vehicle group speed measurement processing, and if it is within the prohibited time period T, the speed measurement process is not performed. When measuring the speed, first check whether the measurement flag F1 is on (step 67). If flag F1 is on, the set signal has already risen and speed measurement has continued, so to end this, flag F1 is turned off (step 68) and the contents of vehicle speed counter C3 are set as speed data. Vehicle group speed data in memory 15
Transfer to Elijah (step 69). After this transfer process, the collection flag F2 is turned on (step 70). Upon seeing that the collection flag F2 has been turned on, the CPU 12 takes in this speed data and executes processing for calculating vehicle group speed, detecting the degree of congestion, and creating other traffic flow information. When the speed data is captured, the collection flag F2 is turned off. Step 6
2: YES, steps 64, 65, 67: NO
In this case, the process immediately moves to step 71. After the above processing, the preprocessing data is updated by using the current data Dt as the preprocessing data DO (step 71), the current pattern is stored in the previous pattern storage area of the memory 13 (step 72), and the processing ends. If NO in step 59, the process moves to step 73, where the absolute value of the deviation Δω is compared with the reference amount ω0, and it is determined whether the current pattern is decreasing or balanced.
減少の場合には平衡カウンタC2をクリアし(ステツプ
74)、メモリ15のパターン記憶エリヤに減少パター
ンを記憶して(ステツプ75)、ステツプ71に移る。
平衡の場合には、メモリ15に平衡パターンを記憶し(
ステツプ76)、平衡カウンタC2の内容に+1したの
ち(ステツプJモV)、このカウンタC2の内容が平衡判
定値COに達しているかどうかをみる(ステツプ78)
。In the case of a decrease, the balance counter C2 is cleared (step 74), the decrease pattern is stored in the pattern storage area of the memory 15 (step 75), and the process moves to step 71.
In the case of equilibrium, the equilibrium pattern is stored in the memory 15 (
Step 76), after incrementing the contents of the equilibrium counter C2 by 1 (steps J and V), it is checked whether the contents of this counter C2 have reached the equilibrium judgment value CO (step 78).
.
カウンタC2の内容が判定量CO以上であれば、今回デ
ータDtを平衡レベルLCとして平衡レベルを更新し(
ステツプ79)、ステツプ71に移る。ステツプ78で
NOの場合にはそのままステツプ71に移る。以上詳細
に説明したようにこの発明によれば、光学系を用いて遠
方の車両群を把えその映像信号の立上りを検出して車両
群の速度を測定する場合に、映像信号の立上りから開始
される禁止時間帯を設定し、この禁止時間帯の間は車両
群の信号が続いているものとし、この禁止時間帯内で映
像信号の立上りがあつてもこれを無視しているから、終
端の予測し得ない車両群信号波形であつても、禁止時間
帯によつて擬制した車両群ごとに正確な速度測定が可能
となる。If the content of the counter C2 is equal to or greater than the judgment amount CO, the current data Dt is set as the equilibrium level LC and the equilibrium level is updated (
Step 79), then proceed to step 71. If NO in step 78, the process directly advances to step 71. As explained in detail above, according to the present invention, when measuring a group of vehicles in the distance by using an optical system and detecting the rising edge of the video signal, the speed of the group of vehicles is measured by starting from the rising edge of the image signal. It is assumed that the signal of the vehicle group continues during this prohibited time period, and even if the video signal rises during this prohibited time period, it is ignored, so the terminal Even if the vehicle group signal waveform is unpredictable, it is possible to accurately measure the speed of each simulated vehicle group by the prohibited time period.
第1図は交通流計測装置のカメラの設置状態を示す図、
第2図は検出地点の拡大図、第3図はカメラの内部およ
び処理装置を示す構成およびプロツク図、第4図は波形
パターンの検出の様子を示す説明図、第5図は車両群速
度測定の様子を示すタイム・チヤート、第6図および第
7図は車両群速度測定処理手段を示すフロー・チヤート
である〇4・・・・・・光学系、P1〜P6・・・・・
・検出地点、S・・・・・・セツト域、R・・・・・・
りセツト域、DSl〜DS6・・・・・・受光素子、T
・・・・・・禁止時間帯。Figure 1 is a diagram showing the installation status of the camera of the traffic flow measurement device.
Figure 2 is an enlarged view of the detection point, Figure 3 is a configuration and block diagram showing the inside of the camera and processing device, Figure 4 is an explanatory diagram showing how the waveform pattern is detected, and Figure 5 is vehicle group speed measurement. 6 and 7 are flow charts showing the vehicle group speed measurement processing means.〇4... Optical system, P1 to P6...
・Detection point, S...Set area, R...
Reset area, DS1 to DS6... Light receiving element, T
...Prohibited time period.
Claims (1)
リセット域とを設定し、道路を俯瞰する位置に配置され
上記検出地点のセット域およびリセット域の車両を検出
する1対の受光素子を含む光学系を備え、これらの受光
素子の出力映像信号の立上りの時間差にもとづいて車両
群の速度を測定する方法であつて、各受光素子の出力信
号の立上りから開始されかつ1つの車両群が各域を通過
するのに要する時間と擬制される禁止時間帯を設定し、
各受光素子の出力信号の立上りを検出したときが禁止時
間帯以外である場合に車両群速度を測定する、車両群速
度測定方法。1 A set area and a reset area are set at a required distance from a predetermined detection point on the road, and a pair of light-receiving elements are placed at a position overlooking the road and detect vehicles in the set area and reset area of the detection point. A method for measuring the speed of a group of vehicles based on the difference in time between the rises of the output video signals of these light receiving elements, the method starts from the rise of the output signal of each light receiving element, and measures the speed of one vehicle group. Set the time required to pass through each area and a simulated prohibited time period,
A vehicle group speed measuring method that measures the vehicle group speed when the rising edge of the output signal of each light receiving element is detected outside the prohibited time period.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13739480A JPS5938640B2 (en) | 1980-09-30 | 1980-09-30 | Vehicle group speed measurement method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13739480A JPS5938640B2 (en) | 1980-09-30 | 1980-09-30 | Vehicle group speed measurement method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5762499A JPS5762499A (en) | 1982-04-15 |
| JPS5938640B2 true JPS5938640B2 (en) | 1984-09-18 |
Family
ID=15197638
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP13739480A Expired JPS5938640B2 (en) | 1980-09-30 | 1980-09-30 | Vehicle group speed measurement method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5938640B2 (en) |
-
1980
- 1980-09-30 JP JP13739480A patent/JPS5938640B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5762499A (en) | 1982-04-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4433325A (en) | Optical vehicle detection system | |
| EP0117497B1 (en) | System and method for detecting driver drowsiness | |
| KR100243317B1 (en) | Car classification equipment | |
| JPH05225490A (en) | Vehicle type identification device | |
| US4674069A (en) | System for collecting and processing data relating to moving bodies | |
| JPH0450611A (en) | Apparatus for measuring distance | |
| JPH04262498A (en) | Guard rail detector | |
| KR100814028B1 (en) | Running vehicle automatic weighing system | |
| JPS5938640B2 (en) | Vehicle group speed measurement method | |
| JP3328437B2 (en) | Travel time determination method | |
| KR100414358B1 (en) | Method for collecting traffic information comprising a waiting parade length using a probe car | |
| JP3981468B2 (en) | Traffic condition measurement method by vehicle group speed | |
| JP3382518B2 (en) | Vehicle distance measuring device | |
| CN117068234A (en) | Train identification and signal detection system and method based on fiber grating array | |
| JPS639623B2 (en) | ||
| JPS6235158B2 (en) | ||
| JPS5843798B2 (en) | How to process vehicle signals that include shadows | |
| JP3602226B2 (en) | Method and apparatus for measuring the number of passing vehicles | |
| JPH04123199A (en) | Parking lot congestion state discriminator | |
| JPH0251800A (en) | Traffic jam state detecting system | |
| JPS5911959B2 (en) | Traffic congestion detection method | |
| JPS5911958B2 (en) | How to determine the end of vehicle signal waveform | |
| JPS6235157B2 (en) | ||
| JPS6077297A (en) | Stopped vehicle detection system | |
| JP2541531B2 (en) | Parking detection method |