JPS5843797B2 - Vehicle shadow identification method - Google Patents
Vehicle shadow identification methodInfo
- Publication number
- JPS5843797B2 JPS5843797B2 JP13739180A JP13739180A JPS5843797B2 JP S5843797 B2 JPS5843797 B2 JP S5843797B2 JP 13739180 A JP13739180 A JP 13739180A JP 13739180 A JP13739180 A JP 13739180A JP S5843797 B2 JPS5843797 B2 JP S5843797B2
- Authority
- JP
- Japan
- Prior art keywords
- vehicle
- signal
- shadow
- data
- pattern
- 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
【発明の詳細な説明】
この発明は、交通流計測においで外乱要因の1つである
車両の影による信号を車両による信号から区別する方法
に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for distinguishing signals caused by vehicle shadows, which are one of disturbance factors in traffic flow measurement, from signals caused by vehicles.
道路上を走行している車両の速度、通過台数、車頭間隔
、渋滞度その他の交通流情報を収集する交通流計測装置
の1つに光学系を用いたものがある。BACKGROUND ART One type of traffic flow measuring device that uses an optical system is used to collect traffic flow information such as the speed of vehicles traveling on a road, the number of vehicles passing by, the distance between vehicles, the degree of congestion, and so on.
これは通常、道路の所要地点または所要範囲を視野内に
収めた光学系の結像面上に配置された受光素子の出力映
像信号にもとづいて各種の交通情報を収集するものであ
る。This usually collects various types of traffic information based on the output video signal of a light-receiving element placed on the imaging plane of an optical system that covers a desired point or range of a road within its field of view.
この交通流測定装置では車両映像に加えて車両の影を検
出してしまうという問題がある。This traffic flow measuring device has a problem in that it detects the shadow of the vehicle in addition to the vehicle image.
車両の影には、検出すべき車両の影と、他車線を走行し
光学系の視野内には存在しない車両の影とがある。The shadow of a vehicle includes a shadow of a vehicle to be detected and a shadow of a vehicle traveling in another lane and not within the field of view of the optical system.
この発明は、車両による信号と影による信号とを区別す
るとともに、上記の2種類の影を区別することのできる
車両の影識別方法を提供するものである。The present invention provides a vehicle shadow identification method that can distinguish between a signal caused by a vehicle and a signal caused by a shadow, as well as distinguish between the two types of shadows described above.
以下、図面を参照しで、道路の所要範囲を倍数する位置
に設置され多数の受光素子をもった交通流計測装置を用
いた場合について詳しく説明する。Hereinafter, with reference to the drawings, a case will be described in detail about a case where a traffic flow measuring device installed at a position that is a multiple of the required range of the road and having a large number of light receiving elements is used.
この計測装置は、道路上の多数の点の車両情報を1箇所
で収集し得る上に簡単に設備しうるという利点をもって
いる。This measuring device has the advantage of being able to collect vehicle information from many points on the road at one location and being easy to install.
第1図は、交通流計測装置のカメラの設置の様子を示し
ている。FIG. 1 shows how the camera of the traffic flow measuring device is installed.
カメラ1は、支柱3などにより道路り上方の所要高さ位
置(たとえば6m)に、道路りの長さ方向の所要範囲(
たとえばLoom)を俯敵するように設置されている。The camera 1 is mounted at a required height position (for example, 6 m) above the road using a support 3 or the like, and within a required range (for example, 6 m) in the length direction of the road.
For example, it is set up to be an enemy of Loom).
カメラ1内には、第4図に示すように、光学系4と多数
の受光素子とが含まれでいる。As shown in FIG. 4, the camera 1 includes an optical system 4 and a large number of light receiving elements.
この例では、カメラ1の視野内には6つの検出地点P1
〜P6がある。In this example, there are six detection points P1 within the field of view of camera 1.
~ There is P6.
カメラ1内の光学系4の結像面上であってこれらの検出
地点に対応する箇所に、各1対ずつの受光素子ds1.
aR1〜ds6.dR6が配置されでいる。On the imaging plane of the optical system 4 in the camera 1 and corresponding to these detection points, one pair of light receiving elements ds1.
aR1-ds6. dR6 has been placed.
これらの受光素子は、道路りのある1車線を走行する車
両を検出する。These light-receiving elements detect a vehicle traveling on one lane of the road.
心安ならば、光学系4の結像面上に受光素子ds1〜d
R6の配列方向に並行にもう一列の受光素子群を配置し
で、2車線の交通流を測定するようにしてもよい。If you feel safe, place the light receiving elements ds1 to ds on the image forming surface of the optical system 4.
Another row of light receiving element groups may be arranged in parallel to the arrangement direction of R6 to measure traffic flow in two lanes.
受光素子は、たとえばフォト・ダイオードからなる。The light receiving element consists of a photo diode, for example.
各検出地点(Pで代表する)には第2図に示すように、
セット域Sとリセット域Rとが所要間隔lをおいて設定
されでいる。At each detection point (represented by P), as shown in Figure 2,
A set area S and a reset area R are set at a required interval l.
1対の受光素子(dsdFtで代表する)はこれらの各
域S、Rにそれぞれ対応しでいる。A pair of light receiving elements (represented by dsdFt) correspond to each of these regions S and R, respectively.
車両OAが検出地点Pをセット域SからIJ tット域
Rに向けて通過すると、第3図に示すように受光素子d
SおよびdRから時間tたけずれた車両検知信号(映像
信号)が出力される。When the vehicle OA passes the detection point P from the set area S to the IJt area R, the light receiving element d
A vehicle detection signal (video signal) shifted by a time t from S and dR is output.
ここでは各受光素子dS、dRの出力の立上りを検出し
て両信号の立上りの差を検知時間tとしでいる。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.
この検知時間tは車両がセット域Sとリセット域Rとの
間(距離l)を走行するのに要する時間であるから、こ
の車両の走行速度Vは次式で求められる。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.
ただしKは定数である。検知時間tの間に車両が実際に
移動する距離は、車両の色、車高などの影響を受は車両
ごとに若干異なり、実際には上記の距離lとは等しくは
ない。However, K is a constant. The distance that the vehicle actually moves during the detection time t is influenced by the color of the vehicle, the height of the vehicle, etc., and differs slightly from vehicle to vehicle, and is actually not equal to the above-mentioned distance l.
しかしながら、路面より所要高さだけ上方の位置に検知
面を仮想してこの検知面上で両域S、R間の距離を測り
、かつこの距離を統計的に修正することにより、車両の
走行速度を高精度に測定することが可能である。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.
また必要ならば、6つの検出地点P1〜P6で測定した
同一車両の走行速度の平均値を求めでもよい。Furthermore, if necessary, the average value of the traveling speeds of the same vehicle measured at the six detection points P1 to P6 may be determined.
セット域Sおよびリセット域Rを検知する受光素子ds
、dRの出力信号の立上りの時間差ではなく、これら
の立上りが所要レベルに達したときの時間羊にもとづい
て車両の走行速度を算出するようにしてもよい。Light receiving element ds that detects the set area S and reset area R
, dR may be used to calculate the traveling speed of the vehicle, not on the difference in time between the rises of the output signals of dR, but on the basis of the time when these rises reach a required level.
車頭間隔および渋滞度などもこの走行速度にもとづいて
算出することができる。The distance between vehicles and the degree of congestion can also be calculated based on this traveling speed.
たとえば車頭間隔は、検出地点P1である車両を検出し
たときに、検出地点P1で検出された1つ前の先行車両
の速度と経過時間との積から求めることができる。For example, when a vehicle at the detection point P1 is detected, 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.
渋滞度はたとえば、6つの地点P1〜P6のうち測定走
行速度が所定速度(たとえば20Km/h)以下の地点
の数によって定めることができる。The degree of congestion can be determined, for example, by the number of points among the six points P1 to P6 where the measured travel speed is less than or equal to a predetermined speed (for example, 20 Km/h).
さて、上述のような各種の処理、ならひに後述する映像
信号の波形パターン検出処理および車両の影識別処理は
、処理装置2で行なわれる。Now, the processing device 2 performs the various processes described above, as well as the waveform pattern detection process of the video signal and the vehicle shadow identification process, which will be described later.
第4図を参照しで、カメラ1内の各受光素子ds、dR
の出力信号は自動利得制御機能を備えた増巾器5で増巾
されたのち、マルチプレクサ・チャンネル装置6に送ら
れ、ここで12個の受光素子の各出力が順次切換えられ
てA−D変換器Iに送られる。With reference to FIG. 4, each light receiving element ds, dR in the camera 1
After the output signal is amplified by an amplifier 5 equipped with an automatic gain control function, it is sent to a multiplexer channel device 6, where the outputs of each of the 12 light receiving elements are sequentially switched and A-D converted. Sent to vessel I.
A−D変換器7は、所定のサンプリング周期(この例で
は4.8m5)で、入力する受光素子の出力をAD変換
し、その結果を中央処理装置(CPUという)11に送
る。The AD converter 7 performs AD conversion on the input output of the light receiving element at a predetermined sampling period (4.8 m5 in this example), and sends the result to a central processing unit (referred to as CPU) 11.
処理装置2には2台の0PU11.12が備えられてい
る。The processing device 2 is equipped with two 0PU11.12.
0PU11は、A−D変換器8から送られるデータにも
とづいて、各受光素子の出力信号波形のパターン検出処
理や、上述した各検知地点P1・〜P6における走行速
度演算処理などを実行するとともに、マルチプレクサ・
チャンネル装置6やA−D変換器1を制御する。Based on the data sent from the A-D converter 8, the 0PU 11 executes pattern detection processing of the output signal waveform of each light receiving element, running speed calculation processing at each of the above-mentioned detection points P1 to P6, etc. Multiplexer
Controls the channel device 6 and the A-D converter 1.
0PU12は、0PU11によって得られた情報にもと
づいて車両の影識別処理などを実行する。The 0PU12 executes vehicle shadow identification processing based on the information obtained by the 0PU11.
各0PU11.12は実行プログラムを格納したプログ
ラム・メモリ(図示略)の他に、それぞれデータを記憶
するローカル・メモIJ 13 、14を備えており、
また処理装置2には両CPU11,12がアクセスしう
る共有メモリ15がある。Each 0PU 11.12 is equipped with a program memory (not shown) that stores an execution program, and local memo IJ 13 and 14 that store data, respectively.
The processing device 2 also includes a shared memory 15 that can be accessed by both CPUs 11 and 12.
処理装置2にはカメラ1から入力する信号の低周波成分
を除去するフィルタ回路や増巾器が設けられるが、簡略
化のために図示が省略されでいる。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.
まず、映像信号の波形パターン検出処理について説明す
る。First, the waveform pattern detection process of a video signal will be explained.
第5図はカメラ1の受光素子から出力される映像信号の
波形の例を示している。FIG. 5 shows an example of the waveform of the video signal output from the light receiving element of the camera 1.
この人力信号は、サンプリング周期ごとにA−D変換器
γでAD変換される。This human input signal is AD converted by an AD converter γ every sampling period.
今回のAD変換された結果を今回データDtとする。The current AD conversion result is defined as current data Dt.
今回データDtがそれより以前のデータよりも増加しで
いるか、減少しでいるかまたは平衝状態にあるかを判定
するためには、今回データDiと以前のデータとの偏差
Jωを求める必要がある。In order to determine whether the current data Dt is increasing, decreasing, or in equilibrium compared to the previous data, it is necessary to find the deviation Jω between the current data Di and the previous data. .
この偏差Jωを求めるための対象となる以前のデータを
前処理データDOとする。The previous data that is the object of determining this deviation Jω is assumed to be preprocessed data DO.
また上記判定のために、今回データDtと前処理データ
DOとの偏差Jωと比較される基準の量を基準量ω0と
する。Further, for the above determination, the reference amount to be compared with the deviation Jω between the current data Dt and the pre-processed data DO is defined as a reference amount ω0.
さらに、規定周期Tという概念を導入し、この規定周期
Tをサンプリング周期の複数倍(この例では4倍)の時
間とする。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.
そして、サンプリング周期ごとに偏差Jωと基準量ω0
とを比較して、偏差Jωが基準量00以上である場合、
または規定周期Tが経過したときに今回データDiを前
処理データDOとしてこの前処理データDOを更新する
。Then, for each sampling period, the deviation Jω and the reference amount ω0
When the deviation Jω is greater than or equal to the reference amount 00,
Alternatively, when the prescribed period T has elapsed, the current data Di is set as the preprocessed data DO and the preprocessed data DO is updated.
信号の立上りまたは立下りが緩慢な場合には、増加量ま
たは減少量がサンプリング周期の時間では基準量ω0に
達しないことがある。If the rise or fall of the signal is slow, the amount of increase or decrease may not reach the reference amount ω0 during the sampling period.
このような信号の緩慢な変化を検出するために規定周期
Tが導入されており、規定周期Tの範囲内で変化量が基
準量ω0に達しでいるかどうかをみるのである。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 ω0 within the range of the specified period T.
信号の変化状態には、増加と、減少と、増加も減少もな
い平衡状態とがある。The states of signal change include increase, decrease, and equilibrium state with neither increase nor decrease.
規定周期T内にDt−Do≧ωOであれば増加状態とみ
なす。If Dt-Do≧ωO within the specified period T, it is regarded as an increasing state.
規定周期T内にD t−DO≦−ωOであれば減少状態
とみなす。If D t-DO≦-ωO within the specified period T, it is regarded as a decreasing state.
そして、これらの判定をしたときに今回データDtを前
処理データDOとして採用する。Then, when these determinations are made, the current data Dt is adopted as the preprocessed data DO.
また、規定周期Tが経過しても1Dt−D。〈ω0であ
れば平衡状態とみなして、前処理データDOとして今回
データDiを採用する。Also, even if the specified period T has passed, 1Dt-D. <If ω0, it is regarded as an equilibrium state, and the current data Di is adopted as the preprocessing data DO.
第5a図は、車両の映像信号の代表的な例を示している
。FIG. 5a shows a typical example of a vehicle video signal.
この図を参照して、車両を検知していない定常状態では
前処理データは0である(定常状態レベル)(時刻t1
)。Referring to this figure, in a steady state where no vehicle is detected, the preprocessing data is 0 (steady state level) (time t1
).
このときの前処理データをDOlとする。Let the preprocessed data at this time be DOl.
これ以降の各サンプリング周期の時間内でも信号はほと
んど立上がらず、規定周期Tが経過したときにも(時刻
t2)偏差、(Jω=Dt−DOI)は基準量ω0に達
していないから、時刻t1〜t2の間は平衡状態である
。The signal hardly rises during each subsequent sampling period, and even when the specified period T has passed (time t2), the deviation (Jω = Dt - DOI) has not reached the reference amount ω0, so the time Between t1 and t2 is an equilibrium state.
したがってこのときの今回データを前処理データDO2
として更新する。Therefore, the current data at this time is preprocessed data DO2
Update as.
次のサンプリング周期でも偏差Jωは基準量ω0に達し
ていない。Even in the next sampling period, the deviation Jω does not reach the reference amount ω0.
そこでさらにサンプリノブの1周期が経過したとき(時
刻t3)に偏差Aωを求めて基準量ω0と比較する。Therefore, when one cycle of the sampling knob has elapsed (time t3), the deviation Aω is determined and compared with the reference amount ω0.
時刻t2からサンプリング周期で2周期が経過したとき
には(時刻t3)Jω≧ωOとなっているので、時刻t
2〜t3は増加状態である。When two sampling periods have passed since time t2 (time t3), Jω≧ωO, so at time t
2 to t3 is an increasing state.
このため時刻t3で、そのときの今回データを前処理デ
ータDO3として更新する。Therefore, at time t3, the current data at that time is updated as preprocessed data DO3.
時刻t3からサンプリング1周期が経過したときにも(
時刻t4)、Jω≧ωOとなって増加状態と判定され、
前処理データがDO4として更新される。Even when one sampling period has passed since time t3 (
At time t4), Jω≧ωO and it is determined that there is an increasing state,
Preprocessing data is updated as DO4.
時刻t4以降のサンプリング4周期の期間(規定周期T
)はほとんど信号の変化がなく平衡状態であって、時刻
t5で前処理データがDO5に変更される。Period of 4 sampling cycles after time t4 (regular cycle T
) is in an equilibrium state with almost no signal change, and the preprocessed data is changed to DO5 at time t5.
時刻t5〜t7の間では、信号は急激に立下り、各サン
プリング周期ごとに減少と判定され、かつ前処理データ
が更新される(DO6゜DO7で示す)。Between times t5 and t7, the signal falls sharply, and is determined to be decreasing at each sampling period, and the preprocessed data is updated (indicated by DO6 and DO7).
そして、時刻t1以降は再び平衡状態になり、規定周期
Tごとに前処理データが更新されてい<(DO8など)
。Then, after time t1, the equilibrium state is reached again, and the preprocessing data is updated every prescribed period T (such as DO8).
.
第5a図において、時刻t2〜t4の間では信号の増加
状態が2回連続している。In FIG. 5a, the signal increases twice in a row between times t2 and t4.
また、時刻t5〜t7の間でも減少状態が連続している
。Further, the decreasing state continues between times t5 and t7.
このように同一の信号変化状態が続くときには同一波形
パターンとし、他の信号状態に変化したときに信号波形
のパターンが変化するものとすると、第5a図に示す信
号は、平衡、増加、平衡、減少そして平衡というパター
ンで構成されている。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 signal shown in FIG. It consists of a pattern of decrease and equilibrium.
このようなl信号についての一連の信号波形のパターン
を波形パターン群とする。A series of signal waveform patterns for such l signals are referred to as a waveform pattern group.
第5b図は、交通流測定車線に隣接する他車線を走行す
る車両の影をカメラ1の受光素子で検知した場合の出力
映像信号波形の一例を示している。FIG. 5b shows an example of an output video signal waveform when the light receiving element of the camera 1 detects the shadow of a vehicle traveling in another lane adjacent to the traffic flow measurement lane.
影の部分は暗くなるから、信号は立下って定常状態レベ
ルよりも低い。Since the shaded area is dark, the signal falls below the steady state level.
この信号の波形パターン群は、平衡、減少、平衡、増加
、減少および平衡というパターンで構成されている。This signal waveform pattern group is composed of patterns of balance, decrease, balance, increase, decrease, and balance.
信号の後端部の定常状態レベルよりも高い信号成分Aは
、第4図に示す回路の特性、とくに自動利得制御機能を
備えた増巾器5の影響によるものである。The signal component A above the steady state level at the rear end of the signal is due to the characteristics of the circuit shown in FIG. 4, in particular the effect of the amplifier 5 with automatic gain control.
この信号成分Aのレベルはそれほど大きくない。The level of this signal component A is not so high.
第5c図は、交通流測定車線を走行する車両であって、
その車両によってその前方に影ができた場合の映像信号
の例を示している。FIG. 5c shows a vehicle traveling on a traffic flow measurement lane,
An example of a video signal is shown when the vehicle casts a shadow in front of it.
この信号の前端部の定常状態レベルよりも低い信号成分
Bが自車両の影によるものである。The signal component B lower than the steady state level at the front end of this signal is due to the shadow of the host vehicle.
この影に続いて車両が検知されるから、信号成分Bの後
で大きく立上っている。Since a vehicle is detected following this shadow, there is a large rise after signal component B.
この信号の波形パターン群は、平衡、減少、増加、平衡
、減少そして平衡という波形パターン群で構成されてい
る。The waveform pattern group of this signal is composed of a waveform pattern group of balance, decrease, increase, balance, decrease, and balance.
このような信号波形のパターン検出処理を0PUIIで
実行するためにメモリ13には、各種のデータを記憶す
るエリヤM1〜M9が設けられている。In order to execute such signal waveform pattern detection processing at 0PUII, the memory 13 is provided with areas M1 to M9 for storing various data.
エリヤM1には今回データI) tが、エリヤM2には
前処理データDOが、エリヤM3には偏差Jωが、エリ
ヤM4には前回の信号状態が、エリヤM5には基準量ω
0がそれぞれ記憶される。Area M1 has the current data I) t, Area M2 has the preprocessed data DO, Area M3 has the deviation Jω, Area M4 has the previous signal state, and Area M5 has the reference amount ω.
0 is stored respectively.
エリヤM6には規定周期Tが、エリヤM7には平衡継続
判定量OOがそれぞれ記憶され、エリヤM8.M9はそ
れぞれ周期カウンタC1、平衡カウンタ02として用い
られる。The prescribed period T is stored in the area M6, the equilibrium continuation determination amount OO is stored in the area M7, and the area M8. M9 is used as a period counter C1 and a balance counter 02, respectively.
周期カウンタ01は規定周期Tに達したかどうかを計数
するものであって、サンプリング周期ごとにその内容に
+1され、規定周期Tに達するとリセットされる。The period counter 01 counts whether or not the specified period T has been reached, and its contents are incremented by 1 every sampling period, and when the specified period T is reached, it is reset.
平衡力・クンタC2は、平衡状態の継続回動を計数する
ものであって、車両を検出していない定常状態か、時刻
t4〜t5のような車両検知における平衡状態かを区別
するために用いられる。The balance force/Kunta C2 counts the continuous rotation in the balanced state, and is used to distinguish between a steady state where no vehicle is detected and a balanced state during vehicle detection such as from time t4 to t5. It will be done.
この区別の基準となる平衡状態継続回数を表わすのが平
衡継続判定量COであって、車両検知においてありうる
最大継続回数よりも大きな値が採用されている。The equilibrium continuation determination amount CO represents the number of times the equilibrium state continues, which is the basis for this distinction, and a value larger than the maximum possible number of times the equilibrium state can be continued in vehicle detection is adopted.
そして、平衡カウンタ02の内容がこの判定量00以上
の場合に定常状態であると判断される。Then, when the content of the equilibrium counter 02 is equal to or greater than this determination amount 00, it is determined that the steady state is present.
0PUI 1によって検出された波形パターンは共有メ
モリ15に記憶される。The waveform pattern detected by 0PUI 1 is stored in the shared memory 15.
共有メモリ15には、波形パターンと、波形パターンが
変化したときの定常状態レベル(この例ではO)を準備
とした信号レベル(今回データ)とを記憶するエリヤM
10が設けられており、このエリヤM10の各記憶場所
には波形パターンが変化するたひに、その波形パターン
とそのときの信号レベルとが順次記憶される。The shared memory 15 has an area M that stores waveform patterns and signal levels (current data) prepared with a steady state level (O in this example) when the waveform pattern changes.
10 is provided, and each time the waveform pattern changes, the waveform pattern and the signal level at that time are sequentially stored in each storage location of this area M10.
第6図は、0PU11による信号波形パターン検出処理
の手順を示している。FIG. 6 shows the procedure of signal waveform pattern detection processing by the 0PU11.
まず、サンプリング周期が経過したかどうかをみて(ス
テップ20)サンプリング周期であれば入力信号をA−
D変換器7によりAD変換して、このAD変換結果を今
回データDtとしてエリヤM1に記憶する(ステップ2
1)。First, check whether the sampling period has elapsed (step 20), and if it is the sampling period, the input signal is
AD conversion is performed by the D converter 7, and this AD conversion result is stored in the area M1 as current data Dt (step 2).
1).
そして、今回データDtから前処理データDOを差引い
て偏差Jωを算出しくステップ22)、この偏差jωの
絶対値と基準量ω0とを比較してこれらの大小関係を調
べる(ステップ23)。Then, the deviation Jω is calculated by subtracting the preprocessed data DO from the current data Dt (step 22), and the absolute value of this deviation jω is compared with the reference amount ω0 to check the magnitude relationship between them (step 23).
偏差Aωの絶対値が基準量ω0よりも小さけれは周期カ
ウンタC1の内容に+1して(ステップ24)、このカ
ウンタ01の内容が規定周期Tに達しでいるかどうかを
みる(ステップ25)。If the absolute value of the deviation Aω is smaller than the reference amount ω0, the contents of the period counter C1 are incremented by 1 (step 24), and it is checked whether the contents of this counter 01 have reached the specified period T (step 25).
規定周期Tに達していなけれは処理を終える。If the specified period T has not been reached, the process ends.
規定周期Tが経過した場合には周期カウンタC1をリセ
ットしてその内容をクリヤしくステップ26)、平衡状
態と判定する(ステップ21)。When the prescribed period T has elapsed, the period counter C1 is reset to clear its contents (step 26), and an equilibrium state is determined (step 21).
そして、エリヤM4の内容から前回が平衡状態であった
かどうかをみて(ステップ28)、前回が平衡ではなく
増加または減少であった場合には、波形パターンが変っ
たのであるから、メモリ15のエリヤM10内の次の記
憶場所(こ、平衡パターンおよび今回データDi(第5
b、第5c図にはLll、L21などで示す)を記憶す
る(ステップ29.30)。Then, it is checked from the contents of area M4 whether the previous time was in an equilibrium state (step 28), and if the previous time was not in equilibrium but an increase or decrease, the waveform pattern has changed, so the area M10 of the memory 15 The next memory location (this, the equilibrium pattern and the current data Di (5th
b, designated as Lll, L21, etc. in FIG. 5c) (step 29.30).
この後、今回の状態をエリヤM4に記憶し、ステップ3
1に進む。After this, store the current state in area M4 and step 3
Go to 1.
前回が平衡状態であった場合にはそのままステップ31
に進む。If the previous time was in an equilibrium state, proceed directly to step 31.
Proceed to.
ステップ31では、平衡カウンタC2の内容に+1t、
で、平衡カウンタC2の内容と平衡継続判定量COとの
大小関係を調べる(ステップ32)。In step 31, +1t is added to the contents of the equilibrium counter C2.
Then, the magnitude relationship between the contents of the equilibrium counter C2 and the equilibrium continuation determination amount CO is checked (step 32).
平衡カウンタC2の内容が判定量00以上である場合に
は定常状態であるから、定常状態に戻った旨の所定の処
理をする(ステップ33)。If the content of the equilibrium counter C2 is equal to or greater than the determination amount 00, the steady state is reached, and a predetermined process is performed to indicate that the steady state has been returned (step 33).
この後、ステップ46に移って、今回データDiを前処
理データDOとしでエリヤM2に記憶して、処理を終え
る。Thereafter, the process moves to step 46, where the current data Di is stored in the area M2 as preprocessed data DO, and the process ends.
ステップ32でNoの場合にもステップ46に移る。If the answer in step 32 is No, the process also moves to step 46.
偏差dωの絶対値が基準量00以上の場合(ステップ2
3でNO)には増加または減少であるから、周期カウン
タC1および平衡カウンタC2をそれぞれリセットしく
ステップ35.36)、偏差jωの正、負を判定する(
ステップ37)。If the absolute value of the deviation dω is greater than or equal to the reference amount 00 (step 2
3), it is an increase or a decrease, so the period counter C1 and the balance counter C2 should be reset, respectively.Steps 35 and 36) determine whether the deviation jω is positive or negative (
Step 37).
偏差jωが正であれば増加状態と判定して(ステップ3
8)、前回の状態が増加であったかどうかをみる(ステ
ップ39)。If the deviation jω is positive, it is determined that the state is increasing (step 3
8) Check whether the previous state was an increase (step 39).
前回が増加状態でなければエリヤM10に増加パターン
および今回データDtを記憶する(ステップ40.41
)。If the previous data is not in an increasing state, the increasing pattern and current data Dt are stored in the area M10 (step 40.41).
).
そして、エリヤM4に増加状態を記憶して、ステップ4
6に進み、今回データDtを前処理データDOとしてエ
リヤM2に記憶する。Then, store the increased state in area M4 and step 4
Proceeding to step 6, the current data Dt is stored in the area M2 as preprocessed data DO.
前回が増加の場合にはそのままステップ46に進む。If the previous time was an increase, the process directly advances to step 46.
偏差Jωが負の場合には減少状態と判定しくステップ4
2)、増加の場合と同じように、前回が減少状態であっ
たかどうかをみて(ステップ43)、前回の状態が減少
でなければエリヤMIOに減少パターンおよび今回デー
タDtを記憶しくステップ44.45)、減少状態をエ
リヤM4に記憶してステップ46に進み、今回データD
tを前処理データDOとしてエリヤM2に記憶する。If the deviation Jω is negative, it is determined that it is in a decreasing state.Step 4
2) As in the case of increase, check whether the previous state was in a decreasing state (step 43), and if the previous state is not in a decreasing state, store the decreasing pattern and current data Dt in the area MIO (steps 44 and 45). , the decreasing state is stored in area M4, and the process proceeds to step 46, where the current data D
t is stored in area M2 as preprocessed data DO.
前回も減少の場合にはそのままステップ46の処理をし
て、すべての処理を終える。If there was a decrease last time as well, the process continues at step 46, and all processes are completed.
ところで、他車線を走行する車両の影による信号は、そ
の車両の形状、速度等に影響され種々のタイプがあるが
、観察の結果、第1図に示す6種類に限られることが分
かった。By the way, although there are various types of signals caused by the shadow of a vehicle traveling in another lane depending on the shape, speed, etc. of the vehicle, it has been found from observation that the signals are limited to the six types shown in FIG. 1.
信号波形の前後の平衡パターンを除き、かつ増加パター
ンを増、減少パターンを減、平衡パターンを平でそれぞ
れ表わせば、第1a図に示す信号波形の波形パターン群
は減・増であってパターン数は2である。If we exclude the equilibrium patterns before and after the signal waveform and represent the increasing pattern by increasing, the decreasing pattern by decreasing, and the balanced pattern by flat, the waveform pattern group of the signal waveform shown in Figure 1a is decreasing and increasing, and the number of patterns is is 2.
同じように、第7b図の信号波形は減・平・増でパター
ン数3、第7c図の波形は減・増・減でパターン数3、
第7d図の波形は減・増・平・減でパターン数4、第r
e図の波形は減・平・増・減でパターン数4、第7f図
の波形は減・平・増・平・減でパターン数5である。Similarly, the signal waveform in Figure 7b has 3 patterns with decrease, flat, and increase, and the waveform in Figure 7c has 3 patterns with decrease, increase, and decrease.
The waveform in Figure 7d has a decreasing, increasing, flat, decreasing pattern number of 4, rth
The waveform in figure e has 4 patterns of decreasing, flat, increasing, and decreasing, and the waveform in figure 7f has 5 patterns of decreasing, flat, increasing, flat, and decreasing.
第1d図に示す影のパターン群は、第5c図に示す車両
のパターン群と一致する。The shadow patterns shown in Figure 1d match the vehicle patterns shown in Figure 5c.
しかしながら。両波形は、定常状態レベルよりも高い信
号成分のレベルの大きさが著しく相違している。however. Both waveforms differ significantly in the magnitude of the signal component levels above the steady state level.
この点に着目して、影による信号の成分Aよりも高く、
かつ車両による信号よりも低い所定のレベルLO(影判
定基準レベル)を設定し、両信号のレベルをこの基準レ
ベルLOと比較することにより、両波形を区別すること
ができる。Focusing on this point, it is higher than component A of the signal due to the shadow,
By setting a predetermined level LO (shadow determination reference level) lower than the signal from the vehicle and comparing the levels of both signals with this reference level LO, it is possible to distinguish between the two waveforms.
0PU12は、メモリ15に記憶されたデータを用い、
第7図に示す影による信号波形の特徴にもとづいて、検
知した映像信号が他車線を走行する影によるものか、そ
れとも第5a図および第5C図に示すような車両による
ものかを識別している。0PU12 uses the data stored in the memory 15,
Based on the characteristics of the signal waveform caused by the shadow shown in Fig. 7, it is determined whether the detected video signal is caused by a shadow traveling in the other lane or by a vehicle as shown in Figs. 5a and 5C. There is.
この処理のために用いる影判定基準レベルLOはメモリ
14のエリヤMllにあらかじめ設定されている。The shadow determination reference level LO used for this process is set in advance in area Mll of the memory 14.
第8図は0PU12による影識別処理の手順を示してい
る。FIG. 8 shows the procedure of shadow identification processing by the 0PU12.
まず、メモリ15のエリヤMIOに記憶されているパタ
ーンのうち、定常状態の平衡パターンに続く最初の波形
パターンを読出して、これが減少パターンであるかどう
かをみる(ステップ51)。First, among the patterns stored in area MIO of the memory 15, the first waveform pattern following the steady state equilibrium pattern is read out to see if it is a decreasing pattern (step 51).
第7図から分かるように影のパターン群の最初のパター
ンは必ず減少パターンであるから、読出した最初のパタ
ーンが減少でなければ、車両による信号波形と判定しで
、車両信号についての各種の処理を実行する(ステップ
59)。As can be seen from Fig. 7, the first pattern of the shadow pattern group is always a decreasing pattern, so if the first pattern read out is not decreasing, it is determined to be a signal waveform caused by a vehicle, and various processing is performed on the vehicle signal. (Step 59).
最初のパターンが減少の場合には影である可能性がある
から、次にパターン数が5以下かどうかをみる(ステッ
プ52)。If the first pattern is a decrease, there is a possibility that it is a shadow, so next it is checked whether the number of patterns is 5 or less (step 52).
影による信号波形のパターン数の最大は5である。The maximum number of signal waveform patterns due to shadows is five.
車両による信号にはパターン数が6以上のものがある(
第5a図、第5C図には示されていないが)。Some vehicle signals have six or more patterns (
(not shown in Figures 5a and 5C).
したがって、パターン数が5以下でない場合には車両信
号と判定する(ステップ59)。Therefore, if the number of patterns is not 5 or less, it is determined that it is a vehicle signal (step 59).
パターン数が5以下の場合にはさらに、パターン数が2
であるか、または3であるかを順次調べる(ステップ5
3.54)。If the number of patterns is 5 or less, the number of patterns is 2.
or 3 (step 5)
3.54).
車両による信号の場合には、最初が減少パターンで(ス
テップ51でYES)かつパターン数が2であることは
あり得ないから、パターン数が2の場合には影による信
号であると判定する(ステップ58)。In the case of a signal caused by a vehicle, it is impossible for the first pattern to be a decreasing pattern (YES in step 51) and the number of patterns to be two. Therefore, if the number of patterns is two, it is determined that the signal is caused by a shadow ( Step 58).
パターン数が2である信号は第7a図に示すものである
。A signal with two patterns is shown in FIG. 7a.
パターン数が2でなければ次にパターン数が3かどうか
をみて、パターン数が3であれば、2番目のパターンが
平衡かどうかを検査する(ステップ55)。If the number of patterns is not 2, then it is checked whether the number of patterns is 3, and if the number of patterns is 3, it is checked whether the second pattern is balanced (step 55).
最初が減少パターンでかつ2番目が平衡パターンであっ
て、パターン数が3である信号は第7b図に示すもの以
外にあり得ないから、2番目のパターンが平衡の場合に
は影データと判定する(ステップ58)。A signal where the first is a decreasing pattern and the second is an equilibrium pattern, and the number of patterns is 3 cannot exist other than the one shown in Figure 7b, so if the second pattern is an equilibrium, it is determined to be shadow data. (step 58).
パターン数が3でない場合(ステップ54でNO)には
パターン数は4または5である。If the number of patterns is not 3 (NO in step 54), the number of patterns is 4 or 5.
この場合、およびパターン数が3であって2番目のパタ
ーンが平衡でない場合(ステップ55でNo)にはステ
ップ56に進んで最後のパターンが減少パターンかどう
かを調べる。In this case, and if the number of patterns is 3 and the second pattern is not balanced (No in step 55), the process proceeds to step 56 to check whether the last pattern is a decreasing pattern.
第7図に示す6種類の影のパターン群のうち第7a図お
よび第7b図に示すものは既にステップ53.55で除
かへ第7c図から第7f図に示すものがまだ判定されて
いない。Among the six types of shadow pattern groups shown in FIG. 7, those shown in FIGS. 7a and 7b have already been removed in step 53.55, and those shown in FIGS. 7c to 7f have not yet been determined. .
これらの4種類の影のパターン群の最後のパターンはい
ずれも減少パターンであるから、最後のパターンが減少
の場合には影パターン群の可能性ありとしてステップ5
7に進み、それ以外を車両と判定する(ステップ59)
。The last patterns of these four types of shadow pattern groups are all decreasing patterns, so if the last pattern is decreasing, it is assumed that there is a possibility of a shadow pattern group and step 5 is performed.
Proceed to step 7 and determine that the others are vehicles (step 59).
.
ステップ57では、最後の減少パターンのレベルL14
.L24などをメモリ15から読出しで、影判定基準レ
ベルLOと比較する。In step 57, the level L14 of the last decreasing pattern is
.. L24 and the like are read out from the memory 15 and compared with the shadow determination reference level LO.
上述のように、影の場合には信号成分Aのレベルハ基準
L/ ヘ/L/LOに達していないから、最後のレベル
が基準レベルLO以内の場合には影データと判定し、最
後のレベルがLOを越えでいる場合には車両による信号
とする。As mentioned above, in the case of a shadow, the level of signal component A has not reached the standard L/H/L/LO, so if the last level is within the standard level LO, it is determined to be shadow data, and the last level If it exceeds the LO, the vehicle will signal it.
以上詳細に説明したようlここの発明lこよれば、車両
による信号と影による信号とくに他車線を走行している
車両による影とを明確に区別することができるので、車
両によるデータのみを正確に収集することができる。As explained in detail above, according to the present invention, it is possible to clearly distinguish between signals caused by vehicles and signals caused by shadows, especially shadows caused by vehicles traveling in other lanes. can be collected.
第1図は交通流計測装置のカメラの設置状態を示す図、
第2図は検出地点の拡大図、第3図は車両検知信号を示
す波形図、第4図は上記カメラの内部および処理装置を
示す構成およびブロック図、第5図は波形パターンの検
出を示す説明図、第6図はCPUによって波形パターン
検出処理を実行する場合の処理手順を示すフロー・チャ
ート、第1図は影による種々の信号を示す波形図、第8
図は影による信号の識別処理手順を示すフロー・チャー
トである。
ds1〜dR6・・・・・・受光素子、Dt・・・・・
・今回データ、DO・・・・・・前処理データ、jω・
・・・・・偏差、ω0・・・・・・基準量、LO・・・
・・・影判定基準レベル。Figure 1 is a diagram showing the installation status of the camera of the traffic flow measurement device.
Fig. 2 is an enlarged view of the detection point, Fig. 3 is a waveform diagram showing the vehicle detection signal, Fig. 4 is a configuration and block diagram showing the inside of the camera and processing device, and Fig. 5 shows detection of the waveform pattern. Explanatory diagram, FIG. 6 is a flow chart showing the processing procedure when waveform pattern detection processing is executed by the CPU, FIG. 1 is a waveform diagram showing various signals with shadows, and FIG.
The figure is a flow chart showing a procedure for identifying signals based on shadows. ds1 to dR6... Light receiving element, Dt...
・This time data, DO...Preprocessed data, jω・
...Deviation, ω0 ...Reference amount, LO...
...Shadow judgment standard level.
Claims (1)
出力映像信号を所定のサンプリング周期でサンプリング
してそのデータを今回データとし、サンプリングごとに
今回データとそれ以前の所定の基準データとの偏差を求
め、この偏差と所定の基準量とを比較することにより信
号が増加、減少または平衡のいずれのパターンであるか
を検出してその信号の一連の波形パターン群を得、この
波形パターン郡をあらかじめ設定されている車両の影に
よる映像信号の波形パターン群と比較して一致した場合
に、上記受光素子の出力映像信号を車両の影による信号
であると判別する、車両の影識別方法。 2 車両の影による映像信号が定常状態レベルよりも高
いレベルの信号成分を含む場合には、その信号成分のレ
ベルがあらかじめ定めた影判定基準レベルよりも低いと
きに上記受光素子の出力映像信号を車両の影による信号
であると判別する、特許請求の範囲第1項記載の車両の
影識別方法。[Claims] 1. The output video signal of a light-receiving element that captures the image of a vehicle running on a road is sampled at a predetermined sampling period, and the data is used as current data, and for each sampling, the current data and the previous data are By determining the deviation from predetermined reference data and comparing this deviation with a predetermined reference amount, it is possible to detect whether the signal is an increasing, decreasing, or balanced pattern, and to generate a series of waveform patterns for that signal. This group of waveform patterns is compared with a preset group of waveform patterns of video signals due to the shadow of a vehicle, and if they match, the output video signal of the light receiving element is determined to be a signal due to the shadow of a vehicle. ,Vehicle shadow identification method. 2. If the video signal due to the shadow of the vehicle includes a signal component with a level higher than the steady state level, the output video signal of the light receiving element is A vehicle shadow identification method according to claim 1, wherein the signal is determined to be a signal due to a vehicle shadow.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13739180A JPS5843797B2 (en) | 1980-09-30 | 1980-09-30 | Vehicle shadow identification method |
| US06/306,775 US4433325A (en) | 1980-09-30 | 1981-09-29 | Optical vehicle detection system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13739180A JPS5843797B2 (en) | 1980-09-30 | 1980-09-30 | Vehicle shadow identification method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5762496A JPS5762496A (en) | 1982-04-15 |
| JPS5843797B2 true JPS5843797B2 (en) | 1983-09-29 |
Family
ID=15197576
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP13739180A Expired JPS5843797B2 (en) | 1980-09-30 | 1980-09-30 | Vehicle shadow identification method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5843797B2 (en) |
-
1980
- 1980-09-30 JP JP13739180A patent/JPS5843797B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5762496A (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 | |
| US5579230A (en) | Vehicle speed estimation for antilock braking using a chassis accelerometer | |
| CN107909678A (en) | One kind driving risk evaluating method and system | |
| JP3059035B2 (en) | Distance measuring device | |
| US4674069A (en) | System for collecting and processing data relating to moving bodies | |
| US4799178A (en) | Method and apparatus for detecting rotational speed | |
| CN112781556A (en) | Well lid transaction monitoring method and device based on multi-data fusion filtering | |
| US5432331A (en) | Method and apparatus for detecting focus of moving images with tilted plane detector and time delay means | |
| PT1061491E (en) | TRANSIT DATA FILTER PROCESS FOR DETERMINING THE SPEED OF CIRCULATION ON THE ROADS | |
| US4616931A (en) | Process and device for the contact free determination of the movement of an object | |
| JPS5843797B2 (en) | Vehicle shadow identification method | |
| JPS639623B2 (en) | ||
| JPS6235157B2 (en) | ||
| JP3382518B2 (en) | Vehicle distance measuring device | |
| CN116678381A (en) | Measurement method, system, readable storage medium and computer equipment | |
| JPH04123199A (en) | Parking lot congestion state discriminator | |
| JPH0318129B2 (en) | ||
| JPS5911959B2 (en) | Traffic congestion detection method | |
| CN114485720A (en) | Step counting method based on local peak value fitting and pedometer | |
| JPS5939799B2 (en) | Nighttime signal processing method for traffic flow measurement equipment | |
| JP3602226B2 (en) | Method and apparatus for measuring the number of passing vehicles | |
| JPS5938640B2 (en) | Vehicle group speed measurement method | |
| JPS6235158B2 (en) | ||
| US6625571B1 (en) | Method for evaluating signals with the aid of a timer and an overrun counter |