JPS6235159B2 - - Google Patents
Info
- Publication number
- JPS6235159B2 JPS6235159B2 JP15337180A JP15337180A JPS6235159B2 JP S6235159 B2 JPS6235159 B2 JP S6235159B2 JP 15337180 A JP15337180 A JP 15337180A JP 15337180 A JP15337180 A JP 15337180A JP S6235159 B2 JPS6235159 B2 JP S6235159B2
- Authority
- JP
- Japan
- Prior art keywords
- level
- vehicle
- detected
- light receiving
- dirt
- 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
- 238000001514 detection method Methods 0.000 claims description 54
- 230000003287 optical effect Effects 0.000 claims description 17
- 238000005259 measurement Methods 0.000 claims description 6
- 238000003384 imaging method Methods 0.000 claims description 4
- 238000000034 method Methods 0.000 description 11
- 238000005070 sampling Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 5
- 230000010354 integration Effects 0.000 description 4
- 230000000630 rising effect Effects 0.000 description 4
- 230000032683 aging Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 238000002834 transmittance Methods 0.000 description 2
- 240000004050 Pentaglottis sempervirens Species 0.000 description 1
- 235000004522 Pentaglottis sempervirens Nutrition 0.000 description 1
- 230000002238 attenuated effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 239000002689 soil Substances 0.000 description 1
Landscapes
- Traffic Control Systems (AREA)
Description
【発明の詳細な説明】
この発明は、道路上の所要検出地点を視野内に
収めるレンズおよびこのレンズの結像面上に配置
された受光素子を含む光学系を備えた光学式交通
流計測装置において、光学系特にレンズのよごれ
を検出する装置に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention provides an optical traffic flow measurement device that includes an optical system that includes a lens that includes a required detection point on a road within its field of view and a light-receiving element that is placed on the imaging plane of this lens. The present invention relates to a device for detecting dirt on an optical system, particularly a lens.
投光器と、この投光器から投射される光を受光
する受光器とを有する光学的検出装置であれば、
投光量と受光量との関係から投光器および受光器
のレンズのよごれの程度を検出することができ
る。しかしながら、上記の光学式交通流計測装置
は投光器を備えていないので、投光量と受光量の
関係からレンズのよごれを検出することはできな
い。投光器が存在しなくても、基準となる投光源
があればこの投光源からの投射光を基準としてレ
ンズのよごれを検出することができるが、交通流
計測装置が設置される道路上には、通常は基準投
光源はない。 An optical detection device having a light projector and a light receiver that receives light projected from the light projector,
The degree of dirt on the lenses of the light projector and light receiver can be detected from the relationship between the amount of light emitted and the amount of light received. However, since the optical traffic flow measurement device described above does not include a light projector, it is not possible to detect the dirt on the lens from the relationship between the amount of light emitted and the amount of light received. Even if there is no floodlight, if there is a reference light source, it is possible to detect dirt on the lens using the light projected from this light source as a reference, but on the road where the traffic flow measurement device is installed, There is usually no reference illumination source.
この発明は上記実情に鑑みてなされたものであ
つて、投光器または基準投光源を必要とすること
なく、レンズのよごれを検出することのできる検
出装置を提供するものである。 The present invention has been made in view of the above circumstances, and provides a detection device capable of detecting dirt on a lens without requiring a projector or a reference light projecting source.
この発明は、道路上の所要検出地点を視野内に
収めるレンズおよびレンズの結像面上に配置され
た受光素子を含む光学系を備えた光学式交通流計
測装置において、受光素子の出力信号の変化に基
づいて車両検出中であることを判定する手段、車
両検出中でないと判定されたときに、受光素子の
出力信号レベルを所定のレベルと比較し、所定レ
ベル以下のときによごれ検出時間帯であると判定
しこれを記憶する手段、よごれ検出時間帯である
という記憶がある場合に、車両検出中であると判
定されたときに受光素子の出力信号のピーク・レ
ベルを検出する手段、車両検出ごとに、検出車両
台数が所要台数になるまで、検出ピーク・レベル
を積算する手段、および検出車両台数が所要台数
になつたときのピーク・レベル積算値を所定のよ
ごれ判定値と比較し、この積算値がよごれ判定値
以下の場合によごれ検知信号を出力する手段を備
えていることを特徴とする。 The present invention relates to an optical traffic flow measuring device equipped with an optical system including a lens that includes a required detection point on a road within its field of view and a light receiving element disposed on the imaging plane of the lens. Means for determining that a vehicle is being detected based on the change; When it is determined that a vehicle is not being detected, the output signal level of the light receiving element is compared with a predetermined level, and when the level is below the predetermined level, a dirt detection time period is determined. Means for determining and storing this, means for detecting the peak level of the output signal of the light receiving element when it is determined that the vehicle is being detected when there is memory that it is the dirt detection time period, and the vehicle means for integrating the detected peak level for each detection until the number of detected vehicles reaches the required number; and comparing the peak level integrated value when the number of detected vehicles reaches the required number with a predetermined dirt determination value; The present invention is characterized in that it includes means for outputting a soiling detection signal when this integrated value is less than or equal to a soiling determination value.
この発明では夜間に道路を走行する車両のヘツ
ド・ライトの光の受光レベルの変化によつて交通
流計測装置の光学系のよごれを検出している。す
なわち、車両検出中でないときの受光素子の出力
信号のレベルは道路の明るさ、暗さを表わしてお
り、この出力信号レベルが所定レベル以下のとき
に夜間であると判定している。これがよごれ検出
時間帯である。夜間における走行車両のヘツド・
ライトの光がレンズ等のよごれ判定のための上述
の基準投光源になる。したがつて、特別に投光器
または基準投光源を必要とせず、きわめて簡便に
よごれ検出が達成される。車両のヘツド・ライト
の光は、車両の種類等によつて光量が異なるが、
この発明ではヘツド・ライトの光の受光レベルの
積算値すなわち平均値を求め、この平均値をもと
にしているから、個々の車両による影響が平均化
され、誤差は非常に小さいと考えることができ
る。この発明はレンズのよごれのみならず受光素
子の劣化などを検出することもできる。 In this invention, dirt in the optical system of a traffic flow measuring device is detected based on changes in the level of light received from the headlights of vehicles traveling on the road at night. That is, the level of the output signal of the light receiving element when a vehicle is not being detected represents the brightness or darkness of the road, and it is determined that it is nighttime when this output signal level is below a predetermined level. This is the dirt detection time period. Head of vehicle running at night
The light from the light serves as the above-mentioned reference light source for determining dirt on lenses and the like. Therefore, dirt detection can be accomplished very simply without the need for a special projector or reference light source. The amount of light from a vehicle's headlights varies depending on the type of vehicle, etc.
In this invention, the integrated value, that is, the average value, of the light reception level of the headlights is calculated, and since this average value is used as the basis, the influence of each vehicle is averaged out, and the error can be considered to be very small. can. The present invention can detect not only dirt on the lens but also deterioration of the light receiving element.
以下、この発明を道路の所要長さの範囲にわた
つて道路にそつて所要間隔をおいて複数の検知地
点を設定し、上記の範囲を俯瞰する位置に配置さ
れかつ上記各検知地点の車両を検知する複数の受
光素子を含む光学系を備え、これらの受光素子の
出力影像信号にもとづいて所要の交通流情報を収
集する光学式交通流計測装置に適用した場合につ
いて詳細に説明する。この交通流計測装置は、1
箇所で多数地点の交通流情報を収集し得、かつ設
置が容易であるという点ですぐれている。 Hereinafter, the present invention will be described in which a plurality of detection points are set along the road at required intervals over a range of the required length of the road, and the vehicle at each of the detection points is placed in a position overlooking the above range. A case in which the present invention is applied to an optical traffic flow measuring device that includes an optical system including a plurality of light receiving elements for detection and that collects required traffic flow information based on output image signals of these light receiving elements will be described in detail. This traffic flow measurement device has 1
It is excellent in that it can collect traffic flow information from multiple points at a single location and is 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. Inside the camera 1, as shown in FIG. 4, an optical system 4 including a large number of light receiving elements and a lens 5 is provided. In this example, there are six detection points P1 within the field of view of camera 1.
~ There is P6. Pairs of light receiving elements dS1, dR1 to dS6, dR6 are arranged on the imaging plane of the optical system 4 in the camera 1 at locations corresponding to these detection points. These light receiving elements are composed of photo diodes, for example. As shown in Figure 2, each detection point (represented by P) has a set area S.
and a reset region R are set at a required interval l. A pair of light receiving elements (represented by dS, 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 (image 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間の距離を測り、かつこの距離を統計的に
修正することにより、車両の走行速度を高精度に
測定することが可能である。セツト域Sおよびリ
セツト域Rを検知する受光素子dS,dRの出力信
号の立上りの時間差ではなく、これらの立上りが
所要レベルに達したときの時間差にもとづいて車
両の走行速度を算出するようにしてもよい。 V=K・l/t The distance that a vehicle actually moves during the detection time t is affected by vehicle color, 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. The running speed of the vehicle is calculated not based on the time difference between the rises of the output signals of the light receiving elements dS and dR that detect the set region S and reset region R, but on the time difference when these rises reach a required level. Good too.
走行する車両の走行速度測定、渋滞度検出など
の各種の交通流情報収集処理、および後述するレ
ンズ5のよごれ検出処理は、処理装置2で行なわ
れる。第4図を参照して、カメラ1内の各受光素
子dS,dRの出力信号は自動利得制御機能を備え
た増巾器6で増巾されたのち、マルチプレクサ・
チヤンネル装置7に送られ、ここで12個の受光素
子の各出力が順次切換えられてA−D変換器8に
送られる。A−D変換器8は、所定のサンプリン
グ周期で、入力する受光素子の出力をAD変換
し、その結果を中央処理装置(CPUという)1
1に送る。CPU11は、A−D変換器8から送
られるデータにもとづいて上述の方法により走行
速度を測定したりこの走行速度にもとづいて他の
交通流情報を算出するとともに、マルチプレク
サ・チヤンネル装置7やA−D変換器8を制御す
る。またCPU11はレンズ5のよごれ検出処理
を実行する。CPU11は、各種の処理のための
データを記憶するデータ・メモリ12と、その実
行プログラムを格納したプログラム・メモリ(図
示略)とを備えている。処理装置2にはカメラ1
から入力する信号の低周波成分を除去するフイル
タ回路や増巾器が設けられるが、簡略化のために
図示が省略されている。 The processing device 2 performs various traffic flow information collection processes such as measuring the traveling speed of a running vehicle and detecting the degree of traffic congestion, as well as a process for detecting dirt on the lens 5, which will be described later. Referring to FIG. 4, the output signals 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 amplified by a multiplexer 6.
The signal is sent to a channel device 7, where the outputs of each of the 12 light receiving elements are sequentially switched and sent to an A-D converter 8. The A-D converter 8 performs AD conversion on the output of the input light receiving element at a predetermined sampling period, and sends the result to the central processing unit (referred to as CPU) 1.
Send to 1. The CPU 11 measures the traveling speed using the method described above based on the data sent from the A-D converter 8, calculates other traffic flow information based on this traveling speed, and also calculates other traffic flow information such as the multiplexer channel device 7 and the A-D converter 8. Controls the D converter 8. The CPU 11 also executes a process for detecting dirt on the lens 5. The CPU 11 includes a data memory 12 that stores data for various processes, and a program memory (not shown) that stores execution programs thereof. The processing device 2 has a camera 1
A filter circuit and an amplifier are provided to remove low frequency components of signals input from the input signal, but illustration thereof is omitted for the sake of brevity.
第5図は、昼間と夜間の車両検知信号の代表的
な波形を示している。昼間では、路面の検知レベ
ル(路面レベルという)が比較的高く、車両検知
波形はこの路面レベルよりも高いレベルであつて
車両の形状や光反射率に応じた波形を示す(第5
a図)。夜間では、路面レベルは低く、急峻な立
上りでかつピーク・レベルの高い波形が現われて
いる(第5b図)。この急峻な立上りの波形は車
両のヘツド・ライトによるものである。 FIG. 5 shows typical waveforms of vehicle detection signals during daytime and nighttime. In the daytime, the detection level of the road surface (referred to as road surface level) is relatively high, and the vehicle detection waveform is at a level higher than this road surface level and shows a waveform that corresponds to the shape and light reflectance of the vehicle.
Figure a). At night, the road surface level is low, and a waveform with a steep rise and high peak level appears (Figure 5b). This steeply rising waveform is due to the headlights of the vehicle.
そこで、この発明では、夜間における車両検知
信号の急峻な立上りの波形のピーク・レベルの平
均値の経年変化にもとづいて、レンズ5のよごれ
を検出している。車両のヘツド・ライトの光は、
車両の種類などによつて光量が異なるが、一定時
間内に走行する車両または所要台数の車両の平均
値をとれば、この平均値はほぼ一定していると考
えることができる。そして、レンズ5がよごれ、
光の透過量が減少すれば、ヘツド・ライトの光に
よる信号のピーク・レベルの平均値も減少する。
レンズ5がよごれていないとき(たとえばカメラ
1の設置直後)に、あらかじめヘツド・ライトの
光による検知信号のピーク・レベルの平均値(こ
れを初期の平均ピーク・レベルQ0とする)を求
めておく。そして、よごれの検査時に、同様にヘ
ツド・ライトの光による検知信号のピーク・レベ
ルの平均値(これを経年後の平均ピーク・レベル
Qとする)を求める。これらのピーク・レベルQ
0,Qを用いてレンズ5の透過率Aを次のように
定義する。 Therefore, in the present invention, dirt on the lens 5 is detected based on the aging change in the average value of the peak level of the steeply rising waveform of the vehicle detection signal at night. The light from the vehicle headlights is
Although the amount of light varies depending on the type of vehicle, if the average value of vehicles running within a certain period of time or the required number of vehicles is taken, this average value can be considered to be approximately constant. Then, the lens 5 becomes dirty.
As the amount of light transmitted decreases, the average peak level of the signal due to the headlight light also decreases.
When the lens 5 is not dirty (for example, immediately after installing the camera 1), calculate in advance the average value of the peak level of the detection signal caused by the light from the headlight (this is set as the initial average peak level Q0). . Then, when inspecting for dirt, the average value of the peak level of the detection signal due to the light from the headlight (this is taken as the average peak level Q after aging) is similarly determined. These peak levels Q
Using 0 and Q, the transmittance A of the lens 5 is defined as follows.
A=Q/Q0×100(%)
この透過率Aがある基準値AS以下になつたと
きに準よごれ状態としてたとえば警報を出力する
ようにし、準よごれ状態が所要期間(たとえば数
日間)継続したとき、または6検知地点に対応す
る6対の受光素子のうちいくつかのものが準よご
れ状態になつたときにレンズ5がよごれたと判定
する。ヘツド・ライトによる信号波形かどうか
は、その平均値なピーク・レベルと路面レベルの
中間付近に車両判定レベルL1(第5b図)をあ
らかじめ設定しておき、このレベルLを超えた場
合に車両検知信号とする。また、上述のように、
路面レベルによつて昼間と夜間とを識別すること
ができる。この昼夜判定の基準レベルを夜間判定
レベルL2とする。この判定レベルL2は、昼間
の路面レベルの平均値と夜間の路面レベルの平均
値との中間付近に設定されている(第5図)。 A = Q / Q0 × 100 (%) When this transmittance A falls below a certain standard value AS, a warning is output as a semi-fouling state, and the semi-fouling state continues for a required period of time (for example, several days). It is determined that the lens 5 is soiled when the lens 5 is dirty, or when some of the six pairs of light receiving elements corresponding to the six detection points become semi-soiled. To determine whether the signal waveform is caused by headlights, a vehicle detection level L1 (Figure 5b) is set in advance near the midpoint between the average peak level and the road surface level, and when this level L is exceeded, a vehicle is detected. Signal. Also, as mentioned above,
Daytime and nighttime can be distinguished by the road surface level. This reference level for day/night determination is defined as nighttime determination level L2. This determination level L2 is set near the midpoint between the average value of the daytime road surface level and the average value of the nighttime road surface level (FIG. 5).
レンズのよごれ判定処理をCPU11で実行す
るために、メモリ12には、夜間フラグFとして
用いられるエリヤ、夜時間タイマTとして用いら
れるエリヤ、設定時間T0が記憶されているエリ
ヤ、車両判定レベルL1、夜間判定レベルL2が
記憶されているエリヤ、ピーク・レベルの積算値
を記憶するエリヤ、サンプリング台数Nを計数す
るエリヤ、ピーク・レベルの平均値を求めるため
にサンプリングの必要台数N0を記憶するエリ
ヤ、およびよごれ判定値LSを記憶するエリヤが
設けられている。よごれ判定値LSは上記の基準
値ASに対応する値である。 In order for the CPU 11 to execute the lens dirt determination process, the memory 12 stores an area used as a night flag F, an area used as a night time timer T, an area where the set time T0 is stored, a vehicle determination level L1, An area where the nighttime determination level L2 is stored, an area where the integrated value of the peak level is stored, an area where the number of sampling devices N is counted, an area where the number N0 of sampling devices required to obtain the average value of the peak level is stored. An area for storing the soil determination value LS is also provided. The soiling determination value LS is a value corresponding to the above-mentioned reference value AS.
第6図は、CPU11によるレンズのよごれ検
出処理の手順を示すものである。この処理は、一
定時間ごとに割込がかかることにより実行する。
まず、夜間フラグFがオンかどうかをみて(ステ
ツプ21)、このフラグFがオンであれば夜時間
を計時し(ステツプ22)、フラグFがオフであ
ればタイマTをクリヤする(ステツプ23)。 FIG. 6 shows the procedure of lens dirt detection processing performed by the CPU 11. This process is executed by interrupting at regular intervals.
First, check whether the night flag F is on (step 21), and if the flag F is on, measure the night time (step 22), and if the flag F is off, clear the timer T (step 23). .
次に、車両検知信号の検知時間かそれとも路面
レベルを検知しているのかをみる(ステツプ2
4)。車両検知信号は、一般に路面レベルから立
上つて路面レベルよりも高いレベルを示すから、
信号が路面レベルから立上つたことをフラグを立
てることにより記憶し、路面レベルに戻つたとき
にこの記憶を消去することにより、車両の検知中
かまたは路面レベルの検知中かを判断することが
できる。路面レベルの検知中の場合には、路面レ
ベルと夜間判定レベルL2とを比較して(ステツ
プ27)、路面レベルがこの判定レベルL2以下
であれば夜間であると判定して夜間フラグFをオ
ンとして(ステツプ28)処理を終える。路面レ
ベルが判定レベルL2を超えている場合にはフラ
グFをオフとして(ステツプ29)処理を終え
る。 Next, check whether the detection time of the vehicle detection signal or the road surface level is being detected (Step 2).
4). The vehicle detection signal generally rises from the road surface level and indicates a level higher than the road surface level.
By setting a flag to remember that the signal rose above the road level, and erasing this memory when the signal returns to the road level, it is possible to determine whether a vehicle is being detected or the road level is being detected. can. If the road surface level is being detected, the road surface level is compared with the nighttime determination level L2 (step 27), and if the road surface level is below this determination level L2, it is determined that it is nighttime and the nighttime flag F is turned on. (step 28), the process ends. If the road surface level exceeds the determination level L2, the flag F is turned off (step 29) and the process ends.
ステツプ24で車両検知中である場合には、夜
時間タイマTの内容が設定時間T0以上になつた
かどうかをみる(ステツプ25)。夜時間タイマ
Tは、夜間フラグFがオンになつたときから計時
を開始する。夜間フラグFは、レベルL2の値に
もよるが、一般に薄暗くなつたときにオンとなる
ので、夜間フラグFがオンとなつてもしばらくの
間は真夜中のようには暗くはならない。設定時間
T0は、フラグF2がオンとなつたのちの薄暗い
時間帯を排除するために設定されている。したが
つて、タイマTの内容が設定時間T0に達してい
ない場合には、そのまま処理を終える。 If the vehicle is being detected in step 24, it is checked whether the content of the night time timer T has exceeded the set time T0 (step 25). The nighttime timer T starts counting time when the nighttime flag F turns on. Although it depends on the value of level L2, the nighttime flag F is generally turned on when it becomes dim, so even if the nighttime flag F is turned on, it will not be as dark as midnight for a while. The set time T0 is set to eliminate the dimly lit time period after the flag F2 is turned on. Therefore, if the contents of the timer T have not reached the set time T0, the process ends.
タイマTの内容が設定時間T0以上になつた場
合には、判定レベルL1に達しているかどうかを
みて(ステツプ26)、このレベルL1以上であ
ればその信号のピーク・レベルを検出して、各割
込ごとにピーク・レベルを加算してこれを積算す
る(ステツプ30)。そして、サンプリング台数
Nに+1して(ステツプ31)、サンプリング台
数Nが必要台数N0に達したかどうかをみる(ス
テツプ32)。必要台数N0に達した場合には、
ステツプ30で求めた積算値を必要台数N0で除
して平均ピーク・レベルを算出する(ステツプ3
3)。そして、この平均ピーク・レベルとよごれ
判定値LSとを比較して(ステツプ34)、平均ピ
ーク・レベルが判定値LS以下であれば警報を発
し(ステツプ35)、平均ピーク・レベルが判定
値LSを超えていれば警報を解除する(ステツプ
36)。ステツプ26で信号レベルがレベルL1
未満の場合、およびステツプ32でサンプリング
台数Nが必要台数N0に達していない場合には、
そのまま処理を終える。 When the content of timer T exceeds the set time T0, it is checked whether it has reached the judgment level L1 (step 26), and if it is above this level L1, the peak level of the signal is detected and each The peak level is added for each interrupt and integrated (step 30). Then, the sampling number N is incremented by 1 (step 31), and it is checked whether the sampling number N has reached the required number N0 (step 32). When the required number N0 is reached,
Calculate the average peak level by dividing the integrated value obtained in step 30 by the required number of units N0 (step 3
3). Then, this average peak level is compared with the dirt judgment value LS (step 34), and if the average peak level is less than the judgment value LS, an alarm is issued (step 35), and the average peak level is equal to the judgment value LS. If it exceeds the threshold, the alarm is canceled (step 36). At step 26, the signal level becomes level L1.
If the sampling number N does not reach the required number N0 in step 32,
Finish processing.
第7図は、よごれ検出をCPUではなくハード
の構成で実現する回路の一例を示している。そし
て、これらの各回路の出力波形a〜gが第8図に
示されている。車両判定回路41は上述のステツ
プ24にほぼ相当する処理を行なうもので、増巾
器6の出力信号aが路面検知信号のときはその路
面信号を昼夜間判定回路42に送り、車両検知の
場合には車両検知信号をピーク・ホールド回路4
5、レベル判定回路46およびゲート回路51に
出力する。また、車両検知信号が立下つて路面レ
ベルに達したのち路面レベルを保持した状態で一
定時間T1が経過したときにリセツト信号を出力
する。この一定時間T1は、車両を1台ずつ区別
して測定するために設定されている。 FIG. 7 shows an example of a circuit that realizes dirt detection using a hardware configuration rather than a CPU. Output waveforms a to g of each of these circuits are shown in FIG. The vehicle determination circuit 41 performs processing substantially equivalent to step 24 described above, and when the output signal a of the amplifier 6 is a road surface detection signal, it sends the road surface signal to the day/night determination circuit 42, and in the case of vehicle detection. The vehicle detection signal is peak hold circuit 4.
5. Output to level determination circuit 46 and gate circuit 51. Further, after the vehicle detection signal falls and reaches the road surface level, a reset signal is output when a predetermined time T1 has elapsed while the road surface level is maintained. This certain period of time T1 is set in order to distinguish and measure vehicles one by one.
昼夜間判定回路42にはあらかじめ夜間判定レ
ベルL2が設定されており、入力する路面信号が
このレベルL2以上の場合(昼間判定時)にリセ
ツト信号をタイマ43に出力する。タイマ43は
上述の夜時間タイマTに相当するものであつて、
入力するクロツク信号を計数することにより時間
を計時する。そして、判定回路42の出力リセツ
ト信号によつてリセツトされないまま設定時間T
0が経過したときにタイム・アツプ信号bを出力
して、論理判定回路44に送る。 A nighttime determination level L2 is set in advance in the daytime/nighttime determination circuit 42, and a reset signal is output to the timer 43 when the input road surface signal is equal to or higher than this level L2 (during daytime determination). The timer 43 corresponds to the night time timer T described above, and
Time is measured by counting the input clock signals. Then, the set time T is reached without being reset by the output reset signal of the determination circuit 42.
When 0 has elapsed, a time-up signal b is output and sent to the logic determination circuit 44.
ピーク・ホールド回路45は、車両検知信号の
ピーク・レベルを判定回路41からリセツト信号
が入力するまで保持するものである。このピー
ク・ホールド回路45の出力信号cは減衰器47
に送られ、1/nに減衰させられて積算、ホール
ド回路48に送られる。このホールド回路48
は、後述するサンプリング・パルスが入力するた
びに減衰器47の出力を積算し、かつこの積算結
果を保持するものである。このホールド回路48
の出力fはレベル判定回路49に送られる。 The peak hold circuit 45 holds the peak level of the vehicle detection signal until a reset signal is input from the determination circuit 41. The output signal c of this peak hold circuit 45 is transmitted to an attenuator 47
The signal is attenuated by 1/n and sent to the integration and hold circuit 48. This hold circuit 48
is for integrating the output of the attenuator 47 every time a sampling pulse, which will be described later, is input, and holding this integration result. This hold circuit 48
The output f is sent to the level determination circuit 49.
レベル判定回路49にはあらかじめよごれ判定
値LSが設定されており、ホールド回路48の積
算値出力fがこの判定値LS以下の場合に出力を
発生する。この出力はゲート回路50に送られ
る。 A dirt judgment value LS is set in advance in the level judgment circuit 49, and an output is generated when the integrated value output f of the hold circuit 48 is less than this judgment value LS. This output is sent to gate circuit 50.
レベル判定回路46にはあらかじめ車両判定レ
ベルL1が設定されており、車両検知信号がこの
レベルL1を超えた場合に車両判定信号dを出力
する。この判定信号dは論理判定回路44に送ら
れる。論理判定回路44は、よごれ検出時間帯を
識別してこの時間帯に車両検知と判定した場合に
車両台数を計数させるものであつて、タイマ43
からタイム・アツプ信号bが入力しているときに
車両判定信号dが入力すると、制御信号eをゲー
ト回路51に送る。この信号eによつてゲート5
1が開れ、車両検知信号がサンプリング・パルス
発生回路52に送られるので、この回路52から
1個のパルスが発生する。このサンプリング・パ
ルスは上記の積算ホールド回路48に送られると
ともに、サンプリング台数カウンタ53に送られ
る。このカウンタ53にはあらかじめ必要台数N
0が設定されており、計数値がN0に達したとき
に出力を発生し、ゲート50を開く。 The level determination circuit 46 has a vehicle determination level L1 set in advance, and outputs a vehicle determination signal d when the vehicle detection signal exceeds this level L1. This judgment signal d is sent to the logic judgment circuit 44. The logic determination circuit 44 identifies the time period for detecting dirt and counts the number of vehicles when it is determined that a vehicle is detected during this time period.
When the vehicle determination signal d is input while the time-up signal b is being input from the gate circuit 51, the control signal e is sent to the gate circuit 51. This signal e causes the gate 5 to
1 is opened and the vehicle detection signal is sent to the sampling pulse generation circuit 52, so that one pulse is generated from this circuit 52. This sampling pulse is sent to the above-mentioned integration hold circuit 48 and also to the sampling unit counter 53. This counter 53 has the required number N in advance.
0 is set, and when the count value reaches N0, an output is generated and the gate 50 is opened.
したがつて、必要台数N0の車両を計数したと
きに、積算値(信号f)がよごれ判定値LSに達
していなければ、レベル判定回路49の出力がゲ
ート回路50を通つて警報信号gとして出力され
る。 Therefore, when counting the required number N0 of vehicles, if the integrated value (signal f) has not reached the soiling judgment value LS, the output of the level judgment circuit 49 is outputted as the alarm signal g through the gate circuit 50. be done.
第1図は交通流計測装置のカメラの設置状態を
示す図、第2図は検知地点の拡大図、第3図は車
両地知信号を示す波形図、第4図は上記カメラの
内部および処理装置を示す構成およびブロツク
図、第5図は昼間と夜間の車両検知信号をそれぞ
れ示す波形図、第6図はよごれ検出処理をCPU
で実行する場合の処理手順を示すフロー・チヤー
ト、第7図はよごれ検出処理回路を示すブロツク
図、第8図は第7図の各ブロツクの出力信号波形
を示すタイム・チヤートである。
1……交通流計測装置のカメラ、2……処理装
置、4……光学系、5……レンズ、41……車両
判定回路、42……昼夜間判定回路、43……タ
イマ、44……論理判定回路、45……ピーク・
ホールド回路、46……レベル判定回路、48…
…積算、ホールド回路、49……レベル判定回
路、50,51……ゲート回路、53……サンプ
リング台数カウンタ、dS1,dR1〜dS6,dR6
……受光素子、P1〜P6……検知地点、L1…
…車両判定レベル、N0……必要台数。
Figure 1 is a diagram showing the installation status of the camera of the traffic flow measuring device, Figure 2 is an enlarged view of the detection point, Figure 3 is a waveform diagram showing the vehicle location signal, and Figure 4 is the inside of the camera and processing. The configuration and block diagram of the device; Figure 5 is a waveform diagram showing daytime and nighttime vehicle detection signals; Figure 6 is a CPU that performs dirt detection processing.
7 is a block diagram showing a dirt detection processing circuit, and FIG. 8 is a time chart showing output signal waveforms of each block in FIG. 7. DESCRIPTION OF SYMBOLS 1...Camera of traffic flow measurement device, 2...Processing device, 4...Optical system, 5...Lens, 41...Vehicle judgment circuit, 42...Day/night judgment circuit, 43...Timer, 44... Logic judgment circuit, 45...Peak
Hold circuit, 46...Level judgment circuit, 48...
... Integration, hold circuit, 49 ... Level judgment circuit, 50, 51 ... Gate circuit, 53 ... Sampling unit counter, dS1, dR1 to dS6, dR6
... Light receiving element, P1 to P6 ... Detection point, L1 ...
...Vehicle judgment level, N0...Required number.
Claims (1)
レンズ5およびレンズ5の結像面上に配置された
受光素子dS,dRを含む光学系4を備えた光学式
交通流計測装置において、 受光素子の出力信号の変化に基づいて車両検出
中であることを判定する手段41、 車両検出中でないと判定されたときに、受光素
子の出力信号レベルを所定のレベルL2と比較
し、所定レベル以下のときによごれ検出時間帯で
あると判定しこれを記憶する手段42,43、 よごれ検出時間帯であるという記憶がある場合
に、車両検出中であると判定されたときに受光素
子の出力信号のピーク・レベルを検出する手段4
5、 車両検出ごとに、検出車両台数が所要台数N0
になるまで、検出ピーク・レベルを積算する手段
48、および 検出車両台数が所要台数になつたときのピー
ク・レベル積算値を所定のよごれ判定値LSと比
較し、上記積算値がよごれ判定値以下の場合によ
ごれ検知信号を出力する手段49、 を備えた光学式交通流計測装置におけるよごれ
検出装置。 2 上記よごれ検出時間帯判定手段が、受光素子
の出力信号レベルが所定のレベル以下になつたか
どうかを判定し、所定レベル以下になつたときか
ら所定時間が経過した時点でよごれ検出時間帯で
あると判定しこれを記憶するものである、特許請
求の範囲第1項に記載の光学式交通流計測装置に
おけるよごれ検出装置。[Claims] 1. Optical traffic system comprising an optical system 4 including a lens 5 that includes a required detection point P on a road L within its field of view and light receiving elements dS and dR arranged on the imaging plane of the lens 5. In the current measuring device, means 41 determines that a vehicle is being detected based on a change in the output signal of the light receiving element, and when it is determined that the vehicle is not being detected, the output signal level of the light receiving element is set to a predetermined level L2. Means 42, 43 for comparing and determining that it is the dirt detection time zone when the level is below a predetermined level and storing this; when it is determined that the vehicle is being detected when there is a memory that it is the dirt detection time zone; means 4 for detecting the peak level of the output signal of the light receiving element;
5. For each vehicle detected, the number of detected vehicles is the required number N0
means 48 for integrating the detected peak level until the number of detected vehicles reaches the required number, and comparing the integrated value of the peak level with a predetermined dirt judgment value LS, and when the integrated value is less than or equal to the dirt judgment value. A dirt detection device in an optical traffic flow measuring device, comprising means 49 for outputting a dirt detection signal in the case of. 2. The dirt detection time period determination means determines whether the output signal level of the light receiving element has fallen below a predetermined level, and when a predetermined period of time has elapsed since the output signal level of the light receiving element has fallen below the predetermined level, the dirt detection time period has begun. A dirt detection device in an optical traffic flow measurement device according to claim 1, which determines and stores the determination.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15337180A JPS5776697A (en) | 1980-10-30 | 1980-10-30 | Method of detecting dirt of optical traffic stream measuring device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15337180A JPS5776697A (en) | 1980-10-30 | 1980-10-30 | Method of detecting dirt of optical traffic stream measuring device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5776697A JPS5776697A (en) | 1982-05-13 |
| JPS6235159B2 true JPS6235159B2 (en) | 1987-07-30 |
Family
ID=15560986
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP15337180A Granted JPS5776697A (en) | 1980-10-30 | 1980-10-30 | Method of detecting dirt of optical traffic stream measuring device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5776697A (en) |
-
1980
- 1980-10-30 JP JP15337180A patent/JPS5776697A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5776697A (en) | 1982-05-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4433325A (en) | Optical vehicle detection system | |
| KR100874461B1 (en) | External lighting control device of vehicle and automatic control device of vehicle | |
| US11061121B2 (en) | 3D-camera device including a dirt detection unit | |
| US20020175813A1 (en) | Optical highway line detector | |
| JP2019033181A5 (en) | Photodetection device, driving support system, and automatic driving system | |
| KR20010012674A (en) | Device for detecting disc wetness | |
| JPS6235159B2 (en) | ||
| JP7454751B2 (en) | How to determine changes in lidar sensor ranging range | |
| JP6739074B2 (en) | Distance measuring device | |
| US5655160A (en) | Distance measuring apparatus | |
| JPH1184024A (en) | Snowfall sensor | |
| JPS585900A (en) | Road surface state discriminator | |
| JP3710663B2 (en) | Car number recognition device | |
| JP3360882B2 (en) | Lens meter | |
| JPH0961159A (en) | Distance-measuring device | |
| JPS6235157B2 (en) | ||
| JPS5939799B2 (en) | Nighttime signal processing method for traffic flow measurement equipment | |
| JPS639623B2 (en) | ||
| JPH04123199A (en) | Parking lot congestion state discriminator | |
| GB2303712A (en) | Apparatus for and a method of detecting a cyclic variation of a signal | |
| JPS5911960B2 (en) | Vehicle speed measurement method | |
| JP6287182B2 (en) | Vehicle detection device | |
| JPH1096791A (en) | Raindrop detector | |
| JPS6235158B2 (en) | ||
| KR20090020914A (en) | Defogging system and control method using light emitting device |