JPS6235157B2 - - Google Patents

Info

Publication number
JPS6235157B2
JPS6235157B2 JP13739280A JP13739280A JPS6235157B2 JP S6235157 B2 JPS6235157 B2 JP S6235157B2 JP 13739280 A JP13739280 A JP 13739280A JP 13739280 A JP13739280 A JP 13739280A JP S6235157 B2 JPS6235157 B2 JP S6235157B2
Authority
JP
Japan
Prior art keywords
detection
road surface
vehicle
deviation
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP13739280A
Other languages
Japanese (ja)
Other versions
JPS5762497A (en
Inventor
Ryohei Tanaka
Akinobu Kitamura
Takateru Kotake
Yutaka Kato
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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP13739280A priority Critical patent/JPS5762497A/en
Publication of JPS5762497A publication Critical patent/JPS5762497A/en
Publication of JPS6235157B2 publication Critical patent/JPS6235157B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Traffic Control Systems (AREA)

Description

【発明の詳細な説明】 この発明は、光学系を用いた交通流計測装置に
おける路面検知装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a road surface detection device in a traffic flow measuring device using an optical system.

光学系を用いた交通流計測装置では、検出地点
に車両がなく光学系が路面を検出しているときの
出力信号のレベル(路面レベル)が、車両検出の
ための基準レベルになる。この路面レベルは天
候、たとえば、晴、曇、雨などによつて変化する
ので、常に路面レベルを検出して新しいデータに
よつて更新しておく必要がある。また、昼間と夜
間とでは路面レベルは大きく変化する。光学系の
車両検知信号の波形も昼間と夜間とでは著しく異
なるので波形処理の方法も異なる。そこで、路面
レベルによつて昼間か夜間かを判定できれば、こ
れに応じて波形処理方法を変更することができ
る。
In a traffic flow measuring device using an optical system, the level of the output signal (road surface level) when there is no vehicle at the detection point and the optical system is detecting the road surface becomes the reference level for vehicle detection. Since this road surface level changes depending on the weather, for example, sunny, cloudy, rainy, etc., it is necessary to constantly detect the road surface level and update it with new data. Furthermore, the road surface level changes greatly between daytime and nighttime. The waveform of the vehicle detection signal from the optical system also differs significantly between daytime and nighttime, so the waveform processing method also differs. Therefore, if it is possible to determine whether it is daytime or nighttime based on the road surface level, the waveform processing method can be changed accordingly.

この発明は、光学系を用いた交通流計測装置に
おいて、この光学系が路面を検知しているときを
判定することのできる装置を提供することを目的
とする。
An object of the present invention is to provide a traffic flow measuring device using an optical system that can determine when the optical system is detecting a road surface.

この発明による路面検知装置は、道路上の所要
の検出地点を俯瞰する位置に配置され検出地点を
通過する車両を検出する受光素子を含む光学系を
備えた交通流計測装置において、上記検知地点を
車両が通過する間に複数回のサンプリングが可能
な所定のサンプリング周期で上記受光素子の出力
映像信号をサンプリングする手段、サンプリング
ごとに、今回のサンプリング・データとそれ以前
の所定の基準データとの偏差を求める手段、この
偏差と所定の基準量とを比較し、上記偏差が基準
量以下である平衡状態を検出する第1の検出手
段、平衡状態の検出が、車両検知においてありう
る最大継続回数よりも多い所要複数回以上連続し
て続いたことを検出する第2の検出手段、および
第2の検出手段による検出があつたときに路面レ
ベル検知状態にあることを記憶する手段を備えて
いることを特徴とする。
The road surface detection device according to the present invention is a traffic flow measuring device equipped with an optical system including a light receiving element that is placed at a position overlooking a required detection point on a road and detects a vehicle passing through the detection point. Means for sampling the output video signal of the light receiving element at a predetermined sampling period that can be sampled multiple times while the vehicle passes, and for each sampling, a deviation between the current sampling data and previous predetermined reference data. a first detection means that compares this deviation with a predetermined reference amount and detects an equilibrium state in which the deviation is less than or equal to the reference amount; and a first detection means that detects an equilibrium state in which the deviation is less than or equal to the reference amount; a second detection means for detecting that the road surface level has been detected continuously for a plurality of times or more; and a means for storing that the road surface level is detected when the second detection means detects the detection result. It is characterized by

この発明によると、交通流計測装置の上記光学
系における受光素子が路面を検知しているときを
確実に検出することができる。受光素子が路面を
検知しているときの受光素子の出力信号のレベル
が路面レベルであるから、常に正確な路面レベル
の把握が可能であり、この路面レベルを基準とし
て車両検知処理を確実に行なうことができる。ま
た、路面レベルによつて昼夜の判定をすることも
できるので、昼夜に応じた処理の実行も可能とな
る。
According to this invention, it is possible to reliably detect when the light receiving element in the optical system of the traffic flow measuring device is detecting the road surface. Since the level of the output signal of the light receiving element when the light receiving element is detecting the road surface is the road surface level, it is possible to always accurately grasp the road surface level, and vehicle detection processing is reliably performed using this road surface level as a reference. be able to. Furthermore, since it is possible to determine whether it is day or night based on the road surface level, it is also possible to execute processes depending on the day or night.

以下、図面を参照してこの発明の実施例につい
て詳しく説明する。
Embodiments of the present invention will be described in detail below with reference to the drawings.

以下に示す例は、道路を俯瞰する位置に設置さ
れ多数の受光素子をもつた交通流計測装置に適用
した場合である。この装置は、道路上の多数の点
の車両情報を1箇所で収集しうる上に簡単に設備
しうるという利点がある。
The example shown below is a case where the present invention is applied to a traffic flow measuring device installed at a position overlooking a road and having a large number of light receiving elements. 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.

第1図は、交通流計測装置のカメラの設置の様
子を示している。カメラ1は、支柱3などにより
道路L上方の所要高さ位置(たとえば6m)に、
道路Lの長さ方向の所要範囲(たとえば100m)
を俯瞰するように設置されている。カメラ1内に
は、第4図に示すように、レンズ5と多数の受光
素子を含む光学系4が備えられている。この例で
は、カメラ1の視野内には6つの検出地点P1〜
P6がある。カメラ1内の光学系4の結像面上で
あつてこれらの検出地点に対応する箇所に、各1
対ずつの受光素子dS1,dR1〜dS6,dR6が配
置されている。これらの受光素子は、たとえばフ
オト・ダイオードからなる。各検出地点(Pで代
表する)には第2図に示すように、セツト域Sと
リセツト域Rとが所要間隔lをおいて設定されて
いる。1対の受光素子(dS,dRで代表する)は
これらの各域S,Rにそれぞれ対応している。
FIG. 1 shows how the camera of the traffic flow measuring device is installed. The camera 1 is placed at a required height position (for example, 6 m) above the road L using a support 3 or the like.
Required range in the length direction of road L (e.g. 100m)
It is set up to provide a bird's-eye view. As shown in FIG. 4, 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, there are six detection points P1 to P1 within the field of view of camera 1.
There is P6. 1 each on the image forming plane of the optical system 4 in the camera 1 and at locations corresponding to these detection points.
Pairs of light receiving elements dS1, dR1 to dS6, dR6 are arranged. These light receiving elements are composed of photo diodes, for example. As shown in FIG. 2, at each detection point (represented by P), a set area S and a reset 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に向けて通過すると、第3図に示すよう
に、受光素子dSおよびdRから時間tだけずれた
車両検知信号が出力される。ここでは、各受光素
子dS,dRの出力の立上りを検出して、両信号の
立上りの差を検知時間tとしている。この検知時
間tは車両がセツト域Sとリセツト域Rとの間
(距離l)を走行するのに要する時間であるか
ら、この車両の走行速度Vは次式で求められる。
ただしKは定数である。
When the vehicle CA passes through the detection point P from the set area S to the reset area R, a vehicle detection signal is output from the light receiving elements dS and dR by a time t, as shown in FIG. Here, the rising edge of the output of each light receiving element dS, dR is detected, and the difference between the rising edges of both signals is defined as the detection time t. Since this detection time t is the time required for the vehicle to travel between the set area S and the reset area R (distance l), the traveling speed V of this vehicle is determined by the following equation.
However, K is a constant.

V=K・l/t 検知時間tの間に車両が実際に移動する距離
は、車両の形状、車高などの影響を受け車両ごと
に若干異なり、実際には上記の距離lとは等しく
はない。しかしながら、路面より所要高さだけ上
方の位置に検知面を仮想してこの検知面上で両域
S,R間の距離を測り、かつこの距離を統計的に
修正することにより、車両の走行速度を高精度に
測定することが可能である。また必要ならば、6
つの検出地点P1〜P6で測定した同一車両の走
行速度の平均値を求めてもよい。
V=K・l/t The distance that a vehicle actually moves during the detection time t is affected by the vehicle shape, vehicle height, etc. and varies slightly from vehicle to vehicle, and is actually not equal to the above distance l. do not have. 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. If necessary, 6
The average value of the traveling speeds of the same vehicle measured at the three detection points P1 to P6 may be calculated.

車頭間隔および渋滞度などもこの走行速度にも
とづいて算出することができる。たとえば車頭間
隔は、検出地点P1で、ある車両を検出したとき
に、検出地点P1で検出された1つ前の先行車両
の速度と経過時間との積から求めることができ
る。渋滞度はたとえば、6つの地点P1〜P6の
うち測定走行速度が所定速度(たとえば20Km/
h)以下の地点の数によつて定めることができ
る。
The distance between vehicles and the degree of congestion can also be calculated based on this traveling speed. For example, when a certain vehicle is detected at the detection point P1, the headway distance can be determined from the product of the speed of the preceding vehicle detected at the detection point P1 and the elapsed time. For example, the degree of traffic congestion is determined when the measured travel speed is a predetermined speed (for example, 20 km/h) among six points P1 to P6.
h) It can be determined by the number of the following points:

さて、上述のような各種の処理は、処理装置2
で行なわれる。第4図を参照して、カメラ1内の
各受光素子dS,dRの出力映像信号は自動利得制
御機能を備えた増巾器6で増巾されたのち、マル
チプレクサ・チヤンネル装置7に送られ、ここで
12個の受光素子の各出力が順次切換えられてA−
D変換器8に送られる。A−D変換器8は、所定
のサンプリング周期(この例では4.8mS)で、入
力する受光素子の出力をAD変換し、その結果を
中央処理装置(CPUという)9に送る。CPU9
は、マルチプレクサ・チヤンネル装置7やA−D
変換器8を制御するとともに、後述する信号波形
パターン検出処理や上述の各種の交通情報演算処
理を行なう。CPU9はその実行プログラムを格
納したプログラム・メモリ(図示略)の他にデー
タ・メモリ10を備えている。処理装置2にはカ
メラ1から入力する信号の低周波成分を除去する
フイルタ回路や増巾器が設けられるが、簡略化の
ために図示が省略されている。
Now, the various processes described above are carried out by the processing device 2.
It will be held in Referring to FIG. 4, the output video signals of each of the light receiving elements dS and dR in the camera 1 are amplified by an amplifier 6 equipped with an automatic gain control function, and then sent to a multiplexer channel device 7. here
The outputs of each of the 12 light receiving elements are sequentially switched to A-
The signal is sent to the D converter 8. The A/D converter 8 performs AD conversion on the input output of the light receiving element at a predetermined sampling period (4.8 mS in this example), and sends the result to a central processing unit (referred to as CPU) 9. CPU9
is multiplexer channel device 7 and A-D
It controls the converter 8, and also performs signal waveform pattern detection processing, which will be described later, and various traffic information calculation processing, which will be described above. The CPU 9 includes a data memory 10 in addition to a program memory (not shown) that stores the execution program. The processing device 2 is provided with a filter circuit and an amplifier for removing low frequency components of the signal input from the camera 1, but illustration thereof is omitted for the sake of simplification.

第5図はカメラ1の受光素子から出力される映
像信号の波形の例を示している。この信号は、サ
ンプリング周期ごとにA−D変換器8でAD変換
される。今回のAD変換された結果を今回データ
Dtとする。今回データDtがそれより以前のデー
タよりも増加しているか、減少しているかまたは
平衡状態にあるかを判定するためには、今回デー
タDtと以前のデータとの偏差Δωを求める必要
がある。この偏差Δωを求めるための対象となる
以前のデータを前処理データDoとする。また上
記判定のために、今回データDtと前処理データ
Doとの偏差Δωと比較される基準の量を基準量
ωoとする。さらに、規定周期Tという概念を導
入し、この規定周期Tをサンプリング周期の複数
倍(この例では4倍)の時間とする。そして、サ
ンプリング周期ごとに偏差Δωと基準量ωoとを
比較して、偏差Δωが基準量ωo以上である場
合、または規定周期Tが経過したときに今回デー
タDtを前処理データDoとしてこの前処理データ
Doを更新する。信号の立上りまたは立下りが緩
慢な場合には、増加量または減少量がサンプリン
グ周期の時間では基準量ωoに達しないことがあ
る。このような信号の緩慢な変化を検出するため
に規定周期Tが導入されており、規定周期Tの範
囲内で変化量が基準量ωoに達しているかどうか
をみるのである。
FIG. 5 shows an example of the waveform of the video signal output from the light receiving element of the camera 1. This signal is AD-converted by an A-D converter 8 every sampling period. This time's AD conversion result is the current data
Let it be Dt. In order to determine whether the current data Dt is increasing, decreasing, or in an equilibrium state compared to the previous data, it is necessary to find the deviation Δω between the current data Dt and the previous data. Previous data to be used for determining this deviation Δω is assumed to be preprocessed data Do. In addition, for the above judgment, this time data Dt and preprocessed data
The reference amount to which the deviation Δω from Do is compared is defined as a reference amount ωo. Furthermore, the concept of a prescribed period T is introduced, and this prescribed period T is set to be a time multiple times (in this example, four times) the sampling period. Then, the deviation Δω and the reference amount ωo are compared for each sampling period, and if the deviation Δω is greater than or equal to the reference amount ωo, or when the specified period T has elapsed, the current data Dt is used as the preprocessing data Do for this preprocessing. data
Update Do. If the rise or fall of the signal is slow, the amount of increase or decrease may not reach the reference amount ωo during the sampling period. A prescribed period T is introduced to detect such slow changes in the signal, and it is checked whether the amount of change reaches the reference amount ωo within the range of the prescribed period T.

信号の変化状態には、増加と、減少と、増加も
減少もしない平衡状態とがある。規定周期T内に
Dt−Do≧ωoであれば増加状態とみなす。規定
周期T内にDt−Do≦−ωoであれば減少状態と
みなす。そして、これらの判定をしたときに今回
データDtを前処理データDoとして採用する。ま
た、規定周期Tが経過しても|Dt−Do|<ωo
であれば平衡状態とみなして、前処理データDo
として今回データDtを採用する。
The states of signal change include increase, decrease, and equilibrium state where neither increase nor decrease occurs. within the specified period T
If Dt−Do≧ωo, it is regarded as an increasing state. If Dt-Do≦-ωo within the specified period T, it is regarded as a decreasing state. Then, when these determinations are made, the current data Dt is adopted as the preprocessing data Do. Also, even if the specified period T has elapsed, |Dt−Do|<ωo
If so, it is considered to be an equilibrium state, and the preprocessing data Do
As such, we will adopt data Dt this time.

検出地点Pに車両が存在せず、受光素子が路面
を検知しているときには、受光素子の出力信号の
レベルはほとんど変化しないから、平衡状態が連
続して続いている。平衡状態が連続して所要複数
回(これを平衡継続判定量Coという)続いたと
きに、その平衡状態のレベルを路面レベルLoと
する。路面レベルLoは車両が通過して平衡状態
が判定量Co以上連続して続くごとに更新され
る。この例では、路面レベルLoを更新するタイ
ミングを、車両が検出地点Pに至つて受光素子の
出力信号が立上りまたは立下つた時点にとつてい
る。すなわち、信号の平換状態が連続して判定量
Co以上続いたことにより車両検知信号の終了を
確認し、この後、次の車両が検出地点Pに至つて
信号が平衡から増加または減少状態に変化したと
きに、そのときに用いる前処理データDoを路面
レベルLoとして路面レベルを更新する。車両を
検知している状態を記憶するために車両信号フラ
グFが用いられる。
When there is no vehicle at the detection point P and the light-receiving element is detecting the road surface, the level of the output signal of the light-receiving element hardly changes, so the equilibrium state continues continuously. When the equilibrium state continues a required number of times (this is referred to as the equilibrium continuation determination amount Co), the level of the equilibrium state is defined as the road surface level Lo. The road surface level Lo is updated every time a vehicle passes and the equilibrium state continues for a determination amount Co or more. In this example, the road surface level Lo is updated at the time when the vehicle reaches the detection point P and the output signal of the light receiving element rises or falls. In other words, the converted state of the signal is continuously
The end of the vehicle detection signal is confirmed by continuing for more than Co, and after this, when the next vehicle reaches the detection point P and the signal changes from equilibrium to an increasing or decreasing state, the preprocessing data Do used at that time Update the road surface level by setting it as road surface level Lo. A vehicle signal flag F is used to store the state in which a vehicle is detected.

第5図を参照して、車両を検知していない時刻
t1における前処理データをDo1とする。これ
以降の各サンプリング周期の時間内でも信号はほ
とんど立上がらない。時刻t1から、規定周期T
が経過したときにも(時刻t2)偏差(Δω=
Dt−Do1)は基準量ωoに達していないから、
時刻t1〜t2の間は平衡状態である。したがつ
てこのときの今回データを前処理データDo2と
して更新する。
Referring to FIG. 5, let Do1 be preprocessed data at time t1 when no vehicle is detected. The signal hardly rises during each subsequent sampling period. From time t1, the specified period T
Even after (time t2) the deviation (Δω=
Since Dt-Do1) has not reached the reference amount ωo,
There is an equilibrium state between times t1 and t2. Therefore, the current data at this time is updated as preprocessed data Do2.

次のサンプリング1周期では信号は急激に立上
り、Δω≧ωoとなつているので、時刻t2〜t
3は増加状態である。したがつて、このときの前
処理データDo2を路面データLoとして路面デー
タLoを更新しかつ車両信号フラグFをオンとす
る。また、時刻t3における今回データを前処理
データDo3として更新する。時刻t3の次のサ
ンプリング1周期では偏差Δωは基準量ωoに達
していない。さらにサンプリング1周期が経過し
た時刻t4で偏差Δωを求めて基準量ωoと比較
するとΔω≧ωoとなつて増加状態と判定され、
前処理データがDo4として更新される。
In the next sampling cycle, the signal rises rapidly and Δω≧ωo, so from time t2 to t
3 is an increasing state. Therefore, the road surface data Lo is updated using the preprocessed data Do2 at this time as the road surface data Lo, and the vehicle signal flag F is turned on. Furthermore, the current data at time t3 is updated as preprocessed data Do3. In the next sampling period after time t3, the deviation Δω does not reach the reference amount ωo. Furthermore, when the deviation Δω is obtained at time t4 after one sampling period has passed and compared with the reference amount ωo, Δω≧ωo is determined, and it is determined that the increasing state is occurring.
Preprocessing data is updated as Do4.

時刻t4以降のサンプリング4周期の期間(規
定周期T)はほとんど信号の変化がなく平衡状態
であつて、時刻t5で前処理データがDo5に変
更される。時刻t5〜t7の間では、信号は急激
に立下り、各サンプリング周期ごとに減少と判定
され、かつ前処理データが更新される(Do6,
Do7で示す)。時刻t7以降は再び平衡状態にな
り、規定周期Tごとに前処理データが更新されて
いく(Do8など)。そして、平換状態が平換継続
判定量Coだけ連続したときに車両検知信号が終
了したとしてフラグFをオフとする。この平衡継
続判定量Coとしては、車両検知においてありう
る最大継続回数よりも大きな値が採用されてお
り、これにより路面レベルLoにおける平衡状態
継続と車両検知における平衡状態(時刻t4〜t
5)とが区別される。
During the period of four sampling cycles after time t4 (regular cycle T), there is almost no change in the signal and there is an equilibrium state, and at time t5, the preprocessed data is changed to Do5. Between times t5 and t7, the signal falls sharply and is determined to decrease at each sampling period, and the preprocessed data is updated (Do6,
(shown as Do7). After time t7, an equilibrium state is reached again, and the preprocessing data is updated every prescribed period T (Do8, etc.). Then, when the conversion state continues by the conversion continuation determination amount Co, it is determined that the vehicle detection signal has ended and the flag F is turned off. As this equilibrium continuation determination amount Co, a value larger than the maximum possible number of continuations in vehicle detection is adopted, and this allows the continuation of the equilibrium state at road surface level Lo and the equilibrium state in vehicle detection (times t4 to t
5).

第5図において、時刻t2〜t4の間では信号
の増加状態が2回連続している。このように同一
の信号変化状態が続くときには同一波形パターン
とし、他の信号状態に変化したときに信号波形の
パターンが変化するものとすると、第5図に示す
信号は、平衡、増加、平衡、減少そして平衡とい
うパターンで構成される。
In FIG. 5, the signal increases twice in a row between times t2 and t4. Assuming that when the same signal change state continues in this way, the waveform pattern is the same, and when the signal changes to another state, the signal waveform pattern changes, then the signals shown in FIG. It consists of a pattern of decrease and equilibrium.

このような信号波形のパターン検出処理を
CPU9で実行するためにデータ・メモリ10に
は、各種のデータを記憶するエリヤM1〜M13
が設けられている。エリヤM1には今回データ
Dtが、エリヤM2には前処理データDoが、エリ
ヤM3には偏差Δωが、エリヤM4には前回の信
号状態が、エリヤM5には基準量ωoが、エリヤ
M6には路面レベルLoがそれぞれ記憶される。
エリヤM7は波形パターンを記憶するエリヤであ
つて、多数の記憶場所を有し、各記憶場所には連
続信号のアドレスno〜nnが付けられている。そ
して、次の検出パターンを記憶すべき記憶場所の
アドレスがエリヤM8の内容によつて指定され
る。
This kind of signal waveform pattern detection processing is
The data memory 10 has areas M1 to M13 for storing various data to be executed by the CPU 9.
is provided. Elijah M1 has this data
Dt is stored, preprocessing data Do is stored in area M2, deviation Δω is stored in area M3, previous signal state is stored in area M4, reference amount ωo is stored in area M5, and road surface level Lo is stored in area M6. be done.
Area M7 is an area for storing waveform patterns and has a large number of storage locations, each of which is assigned an address no to nn of a continuous signal. The address of the storage location where the next detection pattern is to be stored is specified by the contents of area M8.

エリヤM9には規定周期Tが、エリヤM10に
は平衡継続判定量Coがそれぞれ記憶され、エリ
ヤM11,M12はそれぞれ周期カウンタC1、
平衡カウンタC2として用い、エリヤM13は車
両フラグFとして用いられる。周期カウンタC1
は規定周期Tに達したかどうかを計数するもので
あつて、サンプリング周期ごとにその内容に+1
され、規定周期Tに達するとリセツトされる。平
衡カウンタC2は、平衡状態の継続回数を計数す
るものである。
The area M9 stores the prescribed period T, the area M10 stores the equilibrium continuation determination amount Co, and the areas M11 and M12 store the period counter C1, respectively.
Area M13 is used as a vehicle flag F. Period counter C1
is to count whether or not the specified period T has been reached, and the content is added +1 for each sampling period.
and is reset when the specified period T is reached. The equilibrium counter C2 counts the number of times the equilibrium state continues.

第6図は、CPU9による信号波形パターン検
出処理および路面レベル判定処理の手順を示して
いる。まず、サンプリング周期が経過したかどう
かをみて(ステツプ20)、サンプリング周期で
あれば入力信号をA−D変換器8によりAD変換
して、このAD変換結果を今回データDtとしてエ
リヤM1に記憶する(ステツプ21)。そして、
今回データDtから前処理データDoを差引いて偏
差Δωを算出し(ステツプ22)、この偏差Δω
の絶対値と基準量ωoとを比較してこれらの大小
関係を調べる(ステツプ23)。偏差Δωの絶対
値が基準量ωoよりも小さければ周期カウンタC
1の内容に+1して(ステツプ24)、このカウ
ンタC1の内容が規定周期Tに達しているかどう
かをみる(ステツプ25)。規定周期Tに達して
いなければ処理を終える。
FIG. 6 shows the procedure of signal waveform pattern detection processing and road surface level determination processing by the CPU 9. First, it is checked whether the sampling period has elapsed (step 20), and if it is the sampling period, the input signal is AD converted by the A-D converter 8, and this AD conversion result is stored in the area M1 as the current data Dt. (Step 21). and,
The deviation Δω is calculated by subtracting the preprocessed data Do from the current data Dt (step 22), and this deviation Δω
The absolute value of is compared with the reference amount ωo to check the magnitude relationship between them (step 23). If the absolute value of the deviation Δω is smaller than the reference amount ωo, the period counter C
The contents of counter C1 are incremented by 1 (step 24), and it is checked whether the contents of counter C1 have reached the specified period T (step 25). If the prescribed cycle T has not been reached, the process ends.

規定周期Tが経過した場合には周期カウンタC
1をリセツトしてその内容をクリヤし(ステツプ
26)、平衡状態と判定する(ステツプ27)、そ
して、エリヤM4の内容から前回が平衡状態であ
つたかどうかをみて(ステツプ28)、前回が平
衡ではなく増加または減少であつた場合には、波
形パターンが変つたのであるから、エリヤM7の
エリヤM8の内容で指定されるアドレスに平衡パ
ターンを記憶する(ステツプ29)とともに、次
の波形パターン記憶のためにエリヤM8の内容に
+1しておく(ステツプ30)。この後、今回の
状態をエリヤM4に記憶し、ステツプ31に進
む。前回が平衡状態であつた場合にはそのままス
テツプ31に進む。
When the specified period T has elapsed, the period counter C
1 and clear its contents (step 26), determine that it is in an equilibrium state (step 27), and then check from the contents of area M4 whether or not it was in an equilibrium state last time (step 28). If it is not an increase or a decrease, then the waveform pattern has changed, so the balanced pattern is stored in the address specified by the contents of area M8 in area M7 (step 29), and the next waveform pattern is stored. Therefore, add 1 to the contents of area M8 (step 30). After this, the current state is stored in area M4, and the process advances to step 31. If the previous state was in an equilibrium state, the process directly advances to step 31.

ステツプ31では、平衡カウンタC2の内容に
+1して、平衡カウンタC2の内容と平衡継続判
定量Coとの大小関係を調べる(ステツプ32)。
平衡カウンタC2の内容が判定量Co以上である
場合には車両検知信号が終了して確実に路面検知
状態になつたのであるから、エリヤM8の内容に
エリヤM7の先頭番地であるnoをセツトし(ス
テツプ33)かつ車両信号フラグFをオフとし
て、次の車両検知に備える。この後、ステツプ4
9に移つて、今回データDtを前処理データDoと
してエリヤM2に記憶して、処理を終える。ステ
ツプ32でNOの場合にもステツプ49に移る。
In step 31, the content of the equilibrium counter C2 is incremented by 1, and the magnitude relationship between the content of the equilibrium counter C2 and the equilibrium continuation judgment amount Co is checked (step 32).
If the content of the balance counter C2 is greater than or equal to the judgment amount Co, the vehicle detection signal has ended and the road surface detection state has definitely been reached. Therefore, no, which is the first address of area M7, is set in the content of area M8. (Step 33) The vehicle signal flag F is then turned off to prepare for the next vehicle detection. After this, step 4
9, the current data Dt is stored in the area M2 as the preprocessed data Do, and the processing ends. If the answer in step 32 is NO, the process also moves to step 49.

偏差Δωの絶対値が基準量ωo以上の場合(ス
テツプ23でNO)には増加または減少状態であ
るから、周期カウンタC1および平衡カウンタC
2をそれぞれリセツトし(ステツプ35,3
6)、偏差Δωの正、負を判定する(ステツプ3
7)。偏差Δωが正であれば増加状態と判定して
(ステツプ38)、前回の状態が増加であつたかど
うかをみる(ステツプ39)。前回が増加状態で
なければエリヤM7に増加パターンを記憶して
(ステツプ40)、エリヤM8の内容に+1し(ス
テツプ41)、エリヤM4に増加状態を記憶す
る。
If the absolute value of the deviation Δω is greater than or equal to the reference amount ωo (NO in step 23), it is in an increasing or decreasing state, so the period counter C1 and the equilibrium counter C
2 respectively (steps 35 and 3).
6) Determine whether the deviation Δω is positive or negative (Step 3
7). If the deviation Δω is positive, it is determined that it is in an increasing state (step 38), and it is checked whether the previous state was an increasing state (step 39). If it was not an increasing state last time, the increasing pattern is stored in area M7 (step 40), the contents of area M8 are incremented by 1 (step 41), and the increasing state is stored in area M4.

偏差Δωが負の場合には減少状態と判定し(ス
テツプ42)、増加の場合と同じように、前回が
減少状態であつたかどうかをみて(ステツプ4
3)、前回の状態が減少でなければエリヤM7の
エリヤM8の内容で指定されるアドレスに減少パ
ターンを記憶し(ステツプ44)、エリヤM8の
内容に+1して(ステツプ45)、減少状態をエ
リヤM4に記憶する。
If the deviation Δω is negative, it is determined that it is in a decreasing state (step 42), and similarly to the case of an increase, it is checked whether it was in a decreasing state last time (step 4).
3) If the previous state is not a decrease, store the decrease pattern in the address specified by the contents of area M8 of area M7 (step 44), add 1 to the contents of area M8 (step 45), and change the decrease state. Store in Elijah M4.

ステツプ41および45の処理ののちフラグF
の状態をみる(ステツプ46)。フラグFがオフ
であれば、今までは路面レベルLoの平衡状態が
続いており、今回はじめて信号が増加または減少
したのであるから、前処理データDoを路面デー
タLoとしてエリヤM6に記憶して路面データを
更新し(ステツプ47)、フラグFをオンとする
(ステツプ48)。フラグFがオンであれば車両検
知状態における信号の増減であるからステツプ4
7,48の処理をしない。
After processing steps 41 and 45, flag F
Check the status (step 46). If flag F is off, the equilibrium state of road surface level Lo has continued until now, and the signal has increased or decreased for the first time. Therefore, the preprocessed data Do is stored in area M6 as road surface data Lo, and the road surface level The data is updated (step 47) and flag F is turned on (step 48). If flag F is on, this means that the signal is increasing or decreasing in the vehicle detection state, so step 4
Do not process steps 7 and 48.

増加または減少のいずれの場合にもこの後、ス
テツプ49に進んで、今回データDtを前処理デ
ータDoとしてエリヤM2に記憶する。ステツプ
39,43でYESの場合にはそのままステツプ
49に移る。
In either case of increase or decrease, the process then proceeds to step 49, where the current data Dt is stored in the area M2 as preprocessed data Do. If YES in steps 39 and 43, the process directly advances to step 49.

第6図に示す例では、信号がはじめて増加した
ときまたは減少したタイミングで路面データLo
を更新しているが、平衡状態の連続回数が平衡継
続判定量Coに達したとき(ステツプ32で
YES)に路面データLoを更新するようにしても
よい。
In the example shown in Figure 6, the road surface data Lo is detected when the signal increases or decreases for the first time.
However, when the number of consecutive equilibrium states reaches the equilibrium continuation judgment amount Co (in step 32),
YES), the road surface data Lo may be updated.

受光素子が車両を検知した場合には、一般的に
は受光素子の出力信号は路面レベルLoから立上
つて高いレベルを示す。これに対して車両の影を
検知した場合には受光素子の出力信号は路面レベ
ルLoから立下つて路面レベルLoよりも低いレベ
ルを示す。第6図に示す処理手順では、信号がは
じめて増加した場合にも、減少した場合にも前処
理データDoを路面レベルLoとしているから(ス
テツプ47)、車両およびその影のいずれを検知
した場合にも、路面レベルLoが更新される。
When the light receiving element detects a vehicle, the output signal of the light receiving element generally rises from the road surface level Lo and shows a high level. On the other hand, when the shadow of the vehicle is detected, the output signal of the light receiving element falls from the road surface level Lo and shows a level lower than the road surface level Lo. In the processing procedure shown in FIG. 6, the preprocessing data Do is set to the road surface level Lo both when the signal increases for the first time and when it decreases (step 47). Therefore, when either the vehicle or its shadow is detected, The road surface level Lo is also updated.

昼間と夜間では路面レベルLoは著しく異な
る。そこで、昼間の平均的な路面レベルと夜間の
平均的な路面レベルの中間のレベルに昼夜判定レ
ベルを設定して、路面レベルLoとこの判定レベ
ルとを比較することにより、昼間と夜間とを識別
することができる。車両信号の処理方法が昼間と
夜間とで異なる異合には、路面レベルLoから昼
夜を判定してこの判定結果からそれに応じた処理
手順を選択するとよい。
Road surface level Lo differs significantly between daytime and nighttime. Therefore, by setting the day/night determination level to a level between the average road surface level during the day and the average road surface level at night, and comparing the road surface level Lo with this determination level, daytime and nighttime can be distinguished. can do. If the vehicle signal processing method differs between daytime and nighttime, it is preferable to determine whether it is daytime or nighttime from the road surface level Lo and select a corresponding processing procedure from this determination result.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は交通流計測装置のカメラの設置状態を
示す図、第2図は検出地点の拡大図、第3図は車
両検知信号を示す波形図、第4図は上記カメラの
内部および処理装置を示す構成およびブロツク
図、第5図は波形パターンの検出および路面レベ
ルの判定を示す説明図、第6図はCPUによつて
波形パターン検出処理および路面レベル判定処理
を実行する場合の処理手順を示すフロー・チヤー
トである。 4……光学系、dS1〜dR6……受光素子、Lo
……路面レベル、Dt……今回データ、Do……前
処理データ、Δω……偏差、ωo……基準量、
Co……平衡継続判定量。
Figure 1 is a diagram showing the installation state of the camera of the traffic flow measurement device, Figure 2 is an enlarged view of the detection point, Figure 3 is a waveform diagram showing the vehicle detection signal, and Figure 4 is the inside of the camera and the processing device. Fig. 5 is an explanatory diagram showing waveform pattern detection and road surface level determination, and Fig. 6 shows the processing procedure when waveform pattern detection processing and road surface level judgment processing are executed by the CPU. This is a flow chart. 4...Optical system, dS1 to dR6...Photodetector, Lo
... Road surface level, Dt ... Current data, Do ... Preprocessing data, Δω ... Deviation, ωo ... Reference amount,
Co...Equilibrium continuation judgment quantity.

Claims (1)

【特許請求の範囲】 1 道路上の所要の検出地点Pを俯瞰する位置に
配置され検出地点Pを通過する車両CAを検出す
る受光素子dS,dRを含む光学系4を備えた交通
流計測装置において、 上記検知地点を車両が通過する間に複数回のサ
ンプリングが可能な所定のサンプリング周期で上
記受光素子の出力映像信号をサンプリングする手
段8、 サンプリングごとに、今回のサンプリング・デ
ータとそれ以前の所定の基準データとの偏差Δω
を求める手段、 この偏差Δωと所定の基準量ωoとを比較し、
上記偏差が基準量以下である平衡状態を検出する
第1の検出手段、 平衡状態の検出が、車両検知においてありうる
最大継続回数Coよりも多い所要複数回以上連続
して続いたことを検出する第2の検出手段、およ
び 第2の検出手段による検出があつたときに路面
レベル検知状態にあることを記憶する手段、 を備えている交通流計測装置における路面検知装
置。 2 路面レベル検知状態にあることの記憶がある
場合に、上記の偏差が上記基準量以上であること
を検出したときに、路面レベル検知状態にあるこ
との記憶を解除する手段を備えている特許請求の
範囲第1項記載の交通流計測装置における路面検
知装置。
[Scope of Claims] 1. A traffic flow measuring device equipped with an optical system 4 including light-receiving elements dS and dR, which are arranged at a position overlooking a required detection point P on the road and detect a vehicle CA passing through the detection point P. means 8 for sampling the output video signal of the light-receiving element at a predetermined sampling period capable of performing multiple samplings while the vehicle passes the detection point; Deviation Δω from predetermined reference data
means for determining, comparing this deviation Δω with a predetermined reference amount ωo,
A first detection means for detecting an equilibrium state in which the above-mentioned deviation is less than or equal to a reference amount; detecting that the detection of the equilibrium state has continued consecutively for a required number of times or more, which is greater than the maximum number of times Co that can be continued in vehicle detection; A road surface detection device in a traffic flow measuring device, comprising: a second detection means; and a means for storing that the road surface level is detected when the second detection means detects the road surface level. 2. A patent that provides means for canceling the memory of being in a road level detection state when it is detected that the above deviation is greater than or equal to the reference amount when there is a memory of being in a road level detection state. A road surface detection device in a traffic flow measuring device according to claim 1.
JP13739280A 1980-09-30 1980-09-30 Road surface level identifying method Granted JPS5762497A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13739280A JPS5762497A (en) 1980-09-30 1980-09-30 Road surface level identifying method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13739280A JPS5762497A (en) 1980-09-30 1980-09-30 Road surface level identifying method

Publications (2)

Publication Number Publication Date
JPS5762497A JPS5762497A (en) 1982-04-15
JPS6235157B2 true JPS6235157B2 (en) 1987-07-30

Family

ID=15197597

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13739280A Granted JPS5762497A (en) 1980-09-30 1980-09-30 Road surface level identifying method

Country Status (1)

Country Link
JP (1) JPS5762497A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6441996A (en) * 1987-08-07 1989-02-14 Furuno Electric Co Vehicle discriminating device
JPH02141898A (en) * 1988-11-22 1990-05-31 Nec Corp Traffic flow measuring instrument

Also Published As

Publication number Publication date
JPS5762497A (en) 1982-04-15

Similar Documents

Publication Publication Date Title
US4433325A (en) Optical vehicle detection system
US4674069A (en) System for collecting and processing data relating to moving bodies
CA1325904C (en) Method of correcting zero point of gyro and apparatus therefor
US5590217A (en) Vehicle activity measuring apparatus
US4258351A (en) System for collection and transmission of road traffic information
US5579230A (en) Vehicle speed estimation for antilock braking using a chassis accelerometer
US4837727A (en) Road surface detecting device for vehicle
CN113124974B (en) Vehicle overload detection method, system, storage medium and equipment
EP0680026B1 (en) Vehicular traffic monitoring system
JPS6235157B2 (en)
JPS639623B2 (en)
CN109696232B (en) Automatic calibration method of road axle load spectrum detection system
US4055750A (en) Heading sensor for vehicle dead reckoning system
JPH0318129B2 (en)
JPS5843797B2 (en) Vehicle shadow identification method
JP3382518B2 (en) Vehicle distance measuring device
JPS5939799B2 (en) Nighttime signal processing method for traffic flow measurement equipment
CN112781556A (en) Well lid transaction monitoring method and device based on multi-data fusion filtering
JPS5911958B2 (en) How to determine the end of vehicle signal waveform
JPS5911959B2 (en) Traffic congestion detection method
US6625571B1 (en) Method for evaluating signals with the aid of a timer and an overrun counter
JP3602226B2 (en) Method and apparatus for measuring the number of passing vehicles
JPS6235158B2 (en)
CA1219884A (en) Method and apparatus for weighing material
JPS6235159B2 (en)