JPS5939799B2 - Nighttime signal processing method for traffic flow measurement equipment - Google Patents
Nighttime signal processing method for traffic flow measurement equipmentInfo
- Publication number
- JPS5939799B2 JPS5939799B2 JP14010880A JP14010880A JPS5939799B2 JP S5939799 B2 JPS5939799 B2 JP S5939799B2 JP 14010880 A JP14010880 A JP 14010880A JP 14010880 A JP14010880 A JP 14010880A JP S5939799 B2 JPS5939799 B2 JP S5939799B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- flag
- level
- road surface
- vehicle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired
Links
Landscapes
- Traffic Control Systems (AREA)
Description
【発明の詳細な説明】
この発明は、交通流計測装置における夜間の信号処理方
法、と(に光学系を用いて走行車両の映像信号を得、こ
の映像信号の波形パターンから各種の交通流情報を得る
装置における夜間の信号処理方法に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention provides a nighttime signal processing method in a traffic flow measurement device, and a video signal of a traveling vehicle is obtained using an optical system, and various traffic flow information is obtained from the waveform pattern of this video signal. The present invention relates to a method for processing signals at night in a device that obtains signals.
光学系から出力される車両の映像信号の波形は、昼間と
夜間とでは著しく異なる。The waveform of the vehicle video signal output from the optical system is significantly different between daytime and nighttime.
昼間の映像信号は車両の車体からの反射光にもとづくも
のであるが、夜間では車体からの反射光は検出されず、
ヘッド・ライトの光のみを検出する。During the day, the video signal is based on the light reflected from the vehicle body, but at night, the reflected light from the vehicle body is not detected.
Detects only headlight light.
ヘッド・ライトの光は輝度が高いから、映像信号中には
この光による急峻な波形があられれる。Since the light from the headlights has high brightness, the video signal has a steep waveform due to this light.
この発明は、昼間と夜間とにおいて映像信号の波形が著
しく異なるにもかかわらず、定数を若干変更するだけで
同一手法によって交通流情報と(に車両速度を測定する
ことのできる夜間における信号処理方法を提供するもの
である。This invention provides a signal processing method at night that can measure traffic flow information and (vehicle speed) using the same method by just slightly changing the constants, even though the waveforms of video signals are significantly different between daytime and nighttime. It provides:
以下、図面を参照してこの発明の方法について詳しく説
明する。Hereinafter, the method of the present invention will be explained in detail with reference to the drawings.
以下に示す例は、道路を俯轍する位置に設置され多数の
受光素子をもった交通流計測装置を用いた場合である。The example shown below is a case where a traffic flow measuring device installed at a position overlooking a road and having a large number of light receiving elements is used.
この装置は、道路上の多数の点の車両情報を1箇所で収
集しうる上に簡単に設備しうるという利点がある。This device has the advantage of being able to collect vehicle information from multiple points on the road at one location and being easy to install.
第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内には、第3図に示すように、レンズ5と多数
の受光素子とを含む光学系4が備えられている。As shown in FIG. 3, the camera 1 is equipped with an optical system 4 including a lens 5 and a large number of light receiving elements.
この例では、カメラ1の視野内には交通流を計測すべき
車線にそって6つの検出地点P1〜P6がある。In this example, within the field of view of the camera 1, there are six detection points P1 to P6 along the lane in which traffic flow is to be measured.
カメラ1内の光学系4の結像面上であってこれらの検出
地点に対応する箇所に、各1対ずつの受光素子ds1.
dR1〜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.
dR1-ds6. dR6 is located.
これらの受光素子はたとえばフォト・ダイオードからな
る。These light receiving elements are composed of photodiodes, for example.
1つのカメラで2車線の交通流を計測する場合には、光
学系4の結像面上には多数の受光素子が2列に配列され
る。When measuring traffic flow in two lanes with one camera, a large number of light receiving elements are arranged in two rows on the imaging plane of the optical system 4.
各検出地点(Pで代表する)には第2図に示すように、
セット域Sとリセット域Rとが所要間隔lをおいて設定
されている。At each detection point (represented by P), as shown in Figure 2,
A set area S and a reset area R are set apart from each other by a required interval l.
1対の受光素子(dSdRで代表する)は、これらの各
域S、Rにそれぞれ対応している。A pair of light receiving elements (represented by dSdR) correspond to these regions S and R, respectively.
車両CAが検出地点Pをセット域Sからリセット域Rに
向けて通過すると、後述するように、受光素子dSおよ
びdRから時間tだけずれた車両検知映像信号が出力さ
れる。When the vehicle CA passes through the detection point P from the set area S to the reset area R, a vehicle detection video signal shifted by the time t is output from the light receiving elements dS and dR, as will be described later.
そして、この時間tと距離lとにもとづいて車両の走行
速度が算出される。Then, the traveling speed of the vehicle is calculated based on this time t and distance l.
車両の走行速度、車頭間隔、渋滞度、車両の通過台数そ
の他の交通流情報は、カメラ1からの映像信号にもとづ
いて処理装置2で得られる。The processing device 2 obtains traffic flow information such as vehicle running speed, headway distance, degree of congestion, number of passing vehicles, and others based on video signals from the camera 1 .
第3図を参照して、カメラ1内の各受光素子dS、dR
の出力信号は、自動利得制御機能を備えた増巾器6で増
巾されたのち、マルチプレクサ・チャンネル装置7に送
られ、ここで12個の受光素子の各出力が順次切換えら
れてA−D変換器8に送られる。With reference to FIG. 3, each light receiving element dS, dR in the camera 1
The output signal of is amplified by an amplifier 6 equipped with an automatic gain control function, and then sent to a multiplexer channel device 7, where the outputs of each of the 12 light receiving elements are sequentially switched and output from A to D. It is sent to converter 8.
A−D変換器8は、所定の周期(この例では4.5m5
)で、入力する受光素子の出力を和変換し、その結果を
中央処理装置(CPUという)11に送る。The A-D converter 8 operates at a predetermined period (4.5 m5 in this example).
) performs sum conversion on the input outputs of the light receiving elements, and sends the result to a central processing unit (referred to as CPU) 11.
処理装置2には2台のCPU 11.12が備えられて
いる。The processing device 2 is equipped with two CPUs 11 and 12.
CPU11は、A−D変換器8から送られるデータにも
とづいて、後述するところから明らかになるように、各
受光素子の出力信号波形の分析処理を実行するとともに
、マルチプレクサ・チャンネル装置7やA−D変換器8
を制御する。Based on the data sent from the A-D converter 8, the CPU 11 executes analysis processing of the output signal waveform of each light-receiving element, and also analyzes the output signal waveform of each light receiving element, based on the data sent from the A-D converter 8. D converter 8
control.
CPU12は、CPU11によって得られたデータにも
とづいて、車両の走行速度の算出、渋滞度の検出その他
の交通流演算処理を行ない、かつ必要な交通流情報を作
成して伝送部(図示略)を経て、センタに伝送する。Based on the data obtained by the CPU 11, the CPU 12 calculates the traveling speed of the vehicle, detects the degree of congestion, and performs other traffic flow calculation processes, creates necessary traffic flow information, and sends the transmitter (not shown). Then, it is transmitted to the center.
各CPU 11 、12は、実行プログラムを格納した
プログラム・メモリ(図示略)の他に、それぞれデータ
を記憶するローカル・メモリ13,14を備えており、
また処理装置2には両CPU11.12がアクセスしう
る共有メモリ15がある。Each of the CPUs 11 and 12 includes a program memory (not shown) that stores an execution program, and local memories 13 and 14 that store data, respectively.
The processing unit 2 also has a shared memory 15 that can be accessed by both CPUs 11,12.
第4a図から第4h図には、受光素子dS 。4a to 4h, a light receiving element dS is shown.
dRから出力される車両の映像信号の例が示されている
。An example of a vehicle video signal output from dR is shown.
セット信号が受光素子dSの出力であり、リセット信号
が受光素子dRの出力である。The set signal is the output of the light receiving element dS, and the reset signal is the output of the light receiving element dR.
第4a図は最も一般的な映像信号を示している。Figure 4a shows the most common video signal.
車両は路面よりも多(光を反射するので、車両が検出地
点Pに至ると受光素子の出力は、路面を検知しているレ
ベル(路面レベルLO)よりも太き(なる。Since the vehicle reflects more light than the road surface, when the vehicle reaches the detection point P, the output of the light receiving element becomes thicker than the level at which the road surface is detected (road surface level LO).
そして、車両が通過すると受光素子の出力は再び路面レ
ベルLOに戻る。Then, when the vehicle passes, the output of the light receiving element returns to the road surface level LO again.
そこで、セット信号波形の立上りの時点からリセット信
号波形の立上り時点までの時間を検知時間tとする。Therefore, the time from the rising edge of the set signal waveform to the rising edge of the reset signal waveform 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は定数である。However, K is a constant.
検知時間(t)の間に車両が実際に移動する距離は、車
両の形状、車高などの影響を受は車両ごとに若干異なり
、実際には上記の距離lとは等しくない。The distance that a vehicle actually moves during the detection time (t) is influenced by the shape of the vehicle, vehicle height, etc., and varies 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 It is possible to measure speed with high precision.
第4b図に示す信号波形は、ピークが非常に高いレベル
に達している。The signal waveform shown in FIG. 4b has a peak reaching a very high level.
そこで、適当なレベルに切断レベルL1を設け、セット
信号およびリセット信号がそれぞれこの切断レベルL1
を超える時点の差を検知時間tとしている。Therefore, a cutoff level L1 is set at an appropriate level, and the set signal and reset signal are respectively set at this cutoff level L1.
The difference in time when the time exceeds 1 is defined as the detection time t.
そして、この検知時間tを用いて上述の式により走行速
度Vを算出する。Then, using this detection time t, the traveling speed V is calculated using the above-mentioned formula.
第4c図に示す信号波形は、前部に路面レベルLOより
も低い信号成分人を含んでいる。The signal waveform shown in FIG. 4c includes a signal component lower than the road surface level LO at the front.
この信号成分Aは車両の前または後に生ずる影によるも
のである。This signal component A is due to a shadow appearing in front or behind the vehicle.
影があるとその部分からの光量は少なくなるから、信号
は路面レベルLOよりも低くなる。When there is a shadow, the amount of light from that area decreases, so the signal becomes lower than the road level LO.
このような信号波形の場合には、セット信号およびリセ
ット信号がそれぞれ路面レベルLOを超える時点を検出
して、これらの時点の時間差を検知時間tとする。In the case of such a signal waveform, the time points at which the set signal and the reset signal each exceed the road surface level LO are detected, and the time difference between these times is defined as the detection time t.
また、第4c図の波形に対しては、影による成分Aに続
いて車輛による信号成分があることを確認するために、
車両確認レベルL2を設け、信号レベルが路面レベルL
Oを横切って増大し、このレベルL2を超えたかどうか
を検査する。In addition, for the waveform in Fig. 4c, in order to confirm that there is a signal component due to the vehicle following component A due to the shadow,
A vehicle confirmation level L2 is provided, and the signal level is road surface level L.
It increases across O and checks whether this level L2 is exceeded.
受光素子は、隣接する他車線を走行している車両の影を
検出する場合がある。The light receiving element may detect the shadow of a vehicle traveling in an adjacent lane.
この影による信号は、成分へのように路面レベルLOよ
りも低いレベルを示すが、後部で路面レベルLOよりも
若干高いレベルになることがある。The signal due to this shadow exhibits a level lower than the road surface level LO as shown in the component, but may reach a level slightly higher than the road surface level LO at the rear.
しかし、この後部の若干高いレベルの信号成分は、確認
レベルL2よりも高くなることがないので、確認レベル
L2によって、車両による信号と、他車線を走行する車
両の影による信号とを区別することができる。However, this slightly higher level signal component at the rear never becomes higher than the confirmation level L2, so the confirmation level L2 makes it possible to distinguish between a signal caused by a vehicle and a signal caused by the shadow of a vehicle traveling in another lane. I can do it.
第4d図に示す信号波形もまた影による信号成分A、B
を含んでいる。The signal waveform shown in FIG. 4d also has signal components A and B due to shadows.
Contains.
しかしながら、リセット信号の立下りの方がセット信号
の立下りよりも早(起っている。However, the fall of the reset signal occurs earlier than the fall of the set signal.
リセット信号の影による成分Bは、自己車両の影と隣接
する他車線を走行する車両の影とが重なることによって
現われる。The shadow component B of the reset signal appears when the shadow of the own vehicle overlaps with the shadow of an adjacent vehicle traveling in another lane.
このような信号波形の場合にも、各信号がそれぞれ路面
レベルLO(正確にはレベルL2)を超える時点を検出
して、これらの時点の時間差を検知時間tとする。Even in the case of such a signal waveform, the time point at which each signal exceeds the road surface level LO (more precisely, the level L2) is detected, and the time difference between these time points is defined as the detection time t.
第4e図に示す信号波形では、リセット信号の方力セッ
ト信号よりも早(立上っている。In the signal waveform shown in FIG. 4e, the reset signal rises earlier than the set signal.
このような現象はあり得ないのでエラーとして処理し、
走行速度算出の基礎となる検知時間は測定されない0
第4f図に示す信号波形は、検出地点Pをバスが通過す
るときに現われる波形で、路面レベルLOから立上って
増大し、ピークに達したときにこのピーク・レベルが増
加も減少もせずに平坦のまましばらく続き、その後路面
レベルLOまで減少する。Since such a phenomenon is impossible, treat it as an error.
The detection time, which is the basis for calculating the traveling speed, is not measured. The signal waveform shown in Figure 4f is a waveform that appears when the bus passes the detection point P, rising from the road surface level LO, increasing, and reaching the peak. When this occurs, this peak level remains flat for a while without increasing or decreasing, and then decreases to the road surface level LO.
このような信号波形については第4a図の波形と同じよ
うに、セット信号とリセット信号のそれぞれの立上りの
時点の時間差を検知時間tとする。Regarding such a signal waveform, the time difference between the rising points of the set signal and the reset signal is defined as the detection time t, as in the waveform of FIG. 4a.
信号レベルが増大も減少もしない状態を平衡状態という
。A state in which the signal level neither increases nor decreases is called an equilibrium state.
車両を検知しないときには受光素子の出力は路面レベル
LOにあり、平衡状態を保っている。When no vehicle is detected, the output of the light receiving element is at the road surface level LO, maintaining an equilibrium state.
また、第4f図に示す信号のピーク・レベルもまた平衡
状態にある。Also, the peak level of the signal shown in Figure 4f is also in equilibrium.
このように平衡状態には2つのレベルがあるので、これ
らを区別するために、両レベルの中間の位置に路面識別
レベルL3を設定する。In this way, there are two levels in the equilibrium state, and in order to distinguish between them, the road surface identification level L3 is set at a position midway between the two levels.
第4g図に示す信号波形は夜間においてみられるもので
、各信号は前部に小さなピークCがあり、その後に高レ
ベルのピークが現われる。The signal waveforms shown in FIG. 4g are those seen at night, with each signal having a small peak C at the front, followed by a high level peak.
小さなピークCはヘッド・ライトの路面からの反射光に
よるもので、高レベルのピークはヘッド・ライトからの
直接の光によるものである。The small peak C is due to light reflected from the headlights from the road surface, and the high level peak is due to light directly from the headlights.
このような信号波形の場合には、前部の小さなピークC
を無視し、後部の高レベルのピークをもつ信号成分が切
断レベルL1を超える時点の時間差を検知時間tとする
。In the case of such a signal waveform, the front small peak C
, and the time difference at which the signal component with the rear high-level peak exceeds the cutting level L1 is defined as the detection time t.
夜間の場合にはもちろん路面レベルLOも変化する。Of course, at night, the road surface level LO also changes.
第4h図に示す信号波形は、第4c図に示すものと似て
おり、車両の前または後に生じる影による成分Aを含ん
でいる。The signal waveform shown in Figure 4h is similar to that shown in Figure 4c and includes a component A due to shadows appearing in front or behind the vehicle.
しかし、第4c図に示す信号においては、リセット信号
の立下りがセット信号が路面レベルLOを横切る時点よ
りも早く起っているのに対し、第4h図では、リセット
信号の立下りはセット信号が路面レベルLOを横切る時
点よりも遅く起っている。However, in the signal shown in FIG. 4c, the falling edge of the reset signal occurs earlier than the point at which the set signal crosses the road level LO, whereas in FIG. occurs later than the time when the road crosses the road surface level LO.
このような信号波形についても、セット信号およびリセ
ット信号が路面レベルLOを横切る時点の時間差を検知
時間tとする。For such signal waveforms as well, the time difference between the times when the set signal and the reset signal cross the road surface level LO is defined as the detection time t.
受光素子の出力信号波形の立上りや立下りを検出するた
めに、その信号の変化を判定する必要がある。In order to detect the rise or fall of the output signal waveform of the light receiving element, it is necessary to determine the change in the signal.
受光素子の出力信号は、サンプリング周期ごとにA−D
変換器8でAD変換されるから、今回のAD変換された
結果を今回データDtとする。The output signal of the light receiving element is A-D at each sampling period.
Since it is AD-converted by the converter 8, the current AD-converted result is set as the current data Dt.
今回データDtがそれ以前のデータよりも増加している
か、減少しているか、または平衡状態にあるかを判定す
るためには、今回データDtとそれ以前のデータとの偏
差Δωを求める必要がある。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 Δω between the current data Dt and the previous data. .
この偏差Δωを求めるための対象となる以前のデータを
前処理データDoとする。The previous data to be used for determining this deviation Δω is assumed to be preprocessed data Do.
この前処理データDOはたとえば、前回のサンプリング
されたデータであって、サンプリング周期ごとに更新さ
れる。This pre-processed data DO is, for example, previously sampled data, and is updated every sampling period.
また、上記判定のために、今回データDtと前処理デー
タDoとの偏差Δωと比較される基準の量を偏差基準量
ω0とする。Furthermore, for the above determination, the reference amount to be compared with the deviation Δω between the current data Dt and the preprocessed data Do is defined as the deviation reference amount ω0.
そして、Dt−DO≧ωOであれば増加状態、Dt−D
O≦−ωOであれば減少状態、lDt −DOI<ωO
であれば平衡状態とする。Then, if Dt-DO≧ωO, it is in an increasing state, Dt-D
If O≦−ωO, the state is decreasing, lDt −DOI<ωO
If so, it is assumed to be in an equilibrium state.
このようにして信号の変化がサンプリング周期ごとに判
定される様子が第5図に示されている。FIG. 5 shows how the change in the signal is determined for each sampling period in this manner.
上記においては便宜的に、信号の状態に関係なく前処理
データ(1)をサンプリング周期ごとに更新しているが
、規定周期という概念を導入してこれをサンプリング周
期の複数倍(たとえば4倍)の時間とし、サンプリング
周期ごとに偏差Δωと基準量ωOとを比較して、偏差Δ
ωが基準量00以上である場合、または規定周期Tが経
過したときに今回データDtを前処理データDOとして
前処理データを更新することが好ましい。In the above, for convenience, the preprocessed data (1) is updated every sampling period regardless of the signal state, but by introducing the concept of a prescribed period, this is updated to multiple times (for example, four times) the sampling period. The deviation Δω is compared with the reference amount ωO every sampling period, and the deviation Δ
It is preferable to update the preprocessing data by using the current data Dt as the preprocessing data DO when ω is greater than or equal to the reference amount 00, or when the prescribed period T has elapsed.
信号の立上りまたは立下りが緩慢な場合には、増加量ま
たは減少量がサンプリング周期の時間では基準量ωOに
達しないことがある。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.
規定周期は、このような信号の緩慢な変化を検出するた
めに導入され、規定周期の範囲内で変化量が基準量ωO
に達しているかどうかをみる。The specified period is introduced to detect such slow changes in the signal, and the amount of change within the specified period is equal to the reference amount ωO.
Check whether it has been reached.
このような波形の変化を検出する方式をまとめると次の
ようになる。The method for detecting such a change in waveform can be summarized as follows.
規定周期内にDt−DO≧ωOであれば増加状態とみな
し、規定周期内にDt−Do≦−ω0であれば減少状態
とみなす。If Dt-DO≧ωO within a prescribed period, it is regarded as an increasing state, and if Dt-Do≦−ω0 within a prescribed period, 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.
また、規定周期が経過してもlDt −DOI<ω0で
あれば平衡状態とみなして、前処理データDOとして今
回データDtを採用する。Further, even if the specified period has elapsed, if lDt - DOI<ω0, it is considered as an equilibrium state, and the current data Dt is adopted as the preprocessing data DO.
受光素子の出力映像信号の波形分析処理をCPU11が
実行するために、メモリ13,15に各種のデータが記
憶される。Various data are stored in the memories 13 and 15 in order for the CPU 11 to execute a waveform analysis process of the output video signal of the light receiving element.
メモリ13には、セット信号およびリセット信号の、今
回データDt、前処理データDo、偏差Δωおよび路面
レベルLOを記憶するエリヤと、セット信号の開始時パ
ターンを記憶するエリヤとがある。The memory 13 has an area for storing current data Dt, preprocessed data Do, deviation Δω, and road surface level LO of the set signal and reset signal, and an area for storing the starting pattern of the set signal.
開始時パターンとは、セット信号が平衡状態で路面レベ
ルLOを維持したまま一定時間(これを終了確認時間T
1という)以上経過したのちに状態が変化(増加または
減少)したときのこの変化を示すパターンである。The starting pattern means that the set signal is in an equilibrium state and the road surface level LO is maintained for a certain period of time (this is the end confirmation time T).
This is a pattern that shows a change in the state (increase or decrease) after more than 1) have elapsed.
これは、車両検知信号がまず立上ったのか、それとも立
下ったのかを調べるために用いられる。This is used to check whether the vehicle detection signal first rose or fell.
終了確認時間T1は、個々の車両を明確に区別するため
に、1台の車両が検出地点を通過したことを確認するた
めに設けられた時間である。The end confirmation time T1 is a time provided to confirm that one vehicle has passed the detection point in order to clearly distinguish individual vehicles.
メモリ13にはまた、各種のフラグとして用いられるエ
リヤがある。The memory 13 also has areas used as various flags.
セット信号フラグF1およびリセット信号フラグF11
は、1台の車両がセット域Sおよびリセット域Rを通過
していて車両検知信号がそれぞれ出力されていることを
表わすもので、セット域Sおよびリセット域Rの各受光
素子の出力が路面レベルLOから立上ってまたは立下っ
て所要の変化をし、その後路面レベルLOで平衡状態と
なり、路面レベルLOを保持したまま終了確認時間T1
が経過するまでオンとされる。Set signal flag F1 and reset signal flag F11
indicates that one vehicle is passing through the set area S and the reset area R and vehicle detection signals are output, and the output of each light receiving element in the set area S and reset area R is at the road surface level. It rises or falls from LO and makes the necessary changes, then reaches an equilibrium state at road surface level LO, and ends with confirmation time T1 while maintaining road surface level LO.
It remains on until the time period elapses.
セット信号一時終了フラグF2およびリセット信号一時
終了フラグF12は、セットおよびリセットの各信号の
終了確認時間T1が計時中であることを示すもので、信
号が路面レベルLOで平衡状態に戻ったときにオンとさ
れ、終了確認時間T1が経過したときにオフとされる。The set signal temporary end flag F2 and the reset signal temporary end flag F12 indicate that the end confirmation time T1 of each set and reset signal is being measured, and when the signal returns to the equilibrium state at the road surface level LO. It is turned on, and turned off when the end confirmation time T1 has elapsed.
セット信号開始フラグF3は、検知時間t(車両速度)
の計時中であることを表わすもので、セット信号が路面
レベルLOから立上ったとき、立下ったときおよび路面
レベルLOを増加状態で横切ったときにオンとされ、リ
セット信号が路面レベルLOから立上ったとき、立下っ
たときおよび路面レベルLOを増加状態で横切ったとき
にオフとされる。The set signal start flag F3 is the detection time t (vehicle speed)
It is turned on when the set signal rises or falls from the road surface level LO, or when it crosses the road surface level LO in an increasing state, and the reset signal is turned on when the road surface level LO is measured. It is turned off when the vehicle rises from the road surface level, falls from the road surface level LO, and crosses the road surface level LO in an increasing state.
セット信号再開始フラグF4は、車両の影による信号成
分A、Bの測定中であることを表わすもので、セット信
号が路面レベルLOから立下ったときにオンとされ、リ
セット信号が路面レベルLOから立下ったときおよび路
面レベルを増加状態で横切ったときにオフとされる。The set signal restart flag F4 indicates that the signal components A and B due to the shadow of the vehicle are being measured, and is turned on when the set signal falls from the road surface level LO. It is turned off when the road surface level is increased.
再々開始フラグF5は、切断レベルL1を基準とした検
知時間tの計時中であることを示すもので、セット信号
が増加状態で切断レベルL1を横切ったときにオンとさ
れ、リセット信号が増加状態で切断レベルL1を横切っ
たときにオフとされる。The repeat start flag F5 indicates that the detection time t is being measured based on the cutting level L1, and is turned on when the set signal crosses the cutting level L1 in an increasing state, and the reset signal is in an increasing state. It is turned off when it crosses the cutting level L1.
再収集フラグF6は、切断レベルL1を基準とした検知
時間tの測定が行なわれたことを表わし、再々開始フラ
グF5がオンでかつリセット信号が増加状態で切断レベ
ルL1を横切ったときにオンとされ、リセット・信号が
路面レベルLOに戻って終了確認時間T1が経過したと
きにオフとされる。The recollection flag F6 indicates that the detection time t has been measured based on the cutoff level L1, and is turned on when the repeat start flag F5 is on and the reset signal crosses the cutoff level L1 in an increasing state. The reset signal is turned off when the reset signal returns to the road surface level LO and the end confirmation time T1 has elapsed.
路面越えフラグF7は、セット信号が最初立下って路面
レベルLOよりも低いレベルになり、その後路面レベル
LOを越えたときにセットされ、セット信号が路面レベ
ルLOを越えたことを記憶するものである。The road surface crossing flag F7 is set when the set signal first falls to a level lower than the road surface level LO and then exceeds the road surface level LO, and is used to remember that the set signal has exceeded the road surface level LO. be.
このフラグF7は、リセット信号が同じように路面レベ
ルLOを越えたときにオフとされる。This flag F7 is turned off when the reset signal similarly exceeds the road surface level LO.
データ異常フラグF13は、セット信号とリセット信号
の立上りや立下りの順序が逆になった場合にオンとされ
る。The data abnormality flag F13 is turned on when the rising and falling orders of the set signal and the reset signal are reversed.
リセット信号開始フラグF14は、リセット信号がはじ
めて立上りまたは立下りを開始したときにオンとされ、
ただちにオフとされる。The reset signal start flag F14 is turned on when the reset signal starts rising or falling for the first time,
It will be turned off immediately.
さらにメモリ130所定のエリヤは、車両速度カウンタ
C1、再車両速度カウンタC2および終了後時間カウン
タC3として用いられている。Further, a predetermined area of the memory 130 is used as a vehicle speed counter C1, a re-vehicle speed counter C2, and an after-end time counter C3.
車両速度カウンタC1は、路面レベルLOを基準とした
検知時間tを計数するものであって、その内容は、セッ
ト信号が路面レベルLOかも立上り、立下りまたは増加
状態で路面レベルLOを横切るときにクリヤされ、これ
らの時点から計時を開始する。The vehicle speed counter C1 counts the detection time t based on the road surface level LO, and its contents are as follows: When the set signal crosses the road surface level LO in a rising, falling or increasing state, Cleared and timekeeping starts from these points.
再車両速度カウンタC2は、切断レベルL1を基準とし
た検知時間tを計時するものであって、セット信号が増
加状態で切断レベルL1を横切るときにクリヤされる。The re-vehicle speed counter C2 measures a detection time t based on the cutting level L1, and is cleared when the set signal crosses the cutting level L1 in an increasing state.
これらの両カウンタC1、C2は説明の便宜上2個設け
られているかのように表現されているが、1つのエリヤ
を両カウンタC1、C2で兼用してもよい。Although these two counters C1 and C2 are expressed as if two are provided for convenience of explanation, one area may be shared by both counters C1 and C2.
終了後時間カウンタC3ば、終了確認時間T1を計時す
るものである。The post-completion time counter C3 measures the completion confirmation time T1.
このカウンタC3は、セット信号およびリセット信号に
対して各1台ずつ設けられるが、説明の簡略化のために
03で代表する。This counter C3 is provided one each for a set signal and a reset signal, but is represented by 03 to simplify the explanation.
カウンタC3ば、セット信号フラグF1(リセット信号
フラグF11)がオンであってかつセット信号一時終了
フラグF 2 (リセット信号一時終了フラグF12)
がオフの場合に、セット信号(リセット信号)が平衡状
態で路面レベルLOに達したときにクリヤされ、この時
点から計時動作を開始する。If the counter C3 is set signal flag F1 (reset signal flag F11) is on and set signal temporary end flag F2 (reset signal temporary end flag F12)
is off, the set signal (reset signal) is cleared when it reaches the road surface level LO in an equilibrium state, and the timing operation starts from this point.
共有メモリ15は、偏差基準量ωO1切断レベルL1、
車両確認レベルL2、路面識別レベルL3、終了確認時
間T1および異常速度カウント数CMを記憶するエリヤ
を備えている。The shared memory 15 stores a deviation reference amount ωO1 cutting level L1,
It includes areas for storing vehicle confirmation level L2, road surface discrimination level L3, end confirmation time T1, and abnormal speed count number CM.
たとえば隣接する車線を走行する車両の影を検知した場
合には、受光素子の出力信号は路面レベルLOから立下
って所定の変化をしたのち再び路面レベルLOに戻るが
、回路の特性上(とくに増巾器6)、一時的に路面レベ
ルLOよりも若干高いレベルになることがある。For example, when the shadow of a vehicle traveling in an adjacent lane is detected, the output signal of the light receiving element falls from the road surface level LO, undergoes a predetermined change, and then returns to the road surface level LO. However, due to the characteristics of the circuit (especially The amplifier 6) may temporarily reach a level slightly higher than the road surface level LO.
車両確認レベルL2はこの影による信号のレベルよりも
若干高いレベルであってかつ路面レベルLOにできるだ
け近いレベルに設定されている。The vehicle confirmation level L2 is set to a level that is slightly higher than the level of the signal caused by this shadow and is as close as possible to the road surface level LO.
受光素子の出力信号が増加状態でこのレベルL2を越え
たときに、この信号は車両によるものであってかつ路面
レベルLOを越えたと判定される。When the output signal of the light receiving element exceeds this level L2 in an increasing state, it is determined that this signal is caused by the vehicle and has exceeded the road surface level LO.
車両カウンタC1、C2が計数を継続していていつまで
もクリヤされない場合には異常である。If the vehicle counters C1 and C2 continue counting and are not cleared forever, it is abnormal.
これは、リセット信号がセット信号よりも早(出力され
た場合や、セットがわのみにノイズが入り、このノイズ
によって車両カウンタC1、C2が計数を開始した場合
などに起こる。This occurs when the reset signal is output earlier than the set signal, or when noise enters only on the set side and the vehicle counters C1 and C2 start counting due to this noise.
異常速度カウント数CMを予想される速度の最も遅い車
両を計数したときの車両カウンタC1゜C2のカウント
数よりも若干大きい値としておき、カウンタC1,C2
の計数値がこのカウント数CMを越した場合に異常事態
として後述するように測定処理を中止する。The abnormal speed count number CM is set to a value slightly larger than the count number of the vehicle counter C1°C2 when counting the vehicle with the slowest expected speed, and the counters C1 and C2
If the count value exceeds this count number CM, it is considered an abnormal situation and the measurement process is stopped as described later.
メモリ15にはまた、収集フラグF15および終了確認
時間転送フラグF16として用いられるエリヤがある。The memory 15 also has an area used as a collection flag F15 and an end confirmation time transfer flag F16.
収集フラグF15は車両速度の測定が終了したことを表
わすものであって、データ異常フラグF13がオフであ
ってかつリセット信号の終了確認時間T1が経過したと
きにオンとされる。The collection flag F15 indicates that the measurement of the vehicle speed has been completed, and is turned on when the data abnormality flag F13 is off and the end confirmation time T1 of the reset signal has elapsed.
このフラグF15がオンとなったときに、CPU 12
はメモリ15の速度データ・エリヤ内に記憶されている
速度データを取込む。When this flag F15 is turned on, the CPU 12
takes in the speed data stored in the speed data area of memory 15.
CPU12による速度データの取込基が終了するとこの
フラグF15はオフとされる。When the CPU 12 finishes taking in the speed data, this flag F15 is turned off.
終了確認時間転送フラグF16は、リセット信号の終了
確認時間T1が経過したときにオフとされる。The end confirmation time transfer flag F16 is turned off when the end confirmation time T1 of the reset signal has elapsed.
CPU12は、取込んだ速度データに応じて終了確認時
間T1を決定する機能をもっており、各車両速度測定ご
とに終了確認時間T1を変更する。The CPU 12 has a function of determining the end confirmation time T1 according to the loaded speed data, and changes the end confirmation time T1 for each vehicle speed measurement.
CPU 12が選定した終了確認時間T1を共有メモリ
15に転送すると、このフラグF16がオンとされる。When the end confirmation time T1 selected by the CPU 12 is transferred to the shared memory 15, this flag F16 is turned on.
終了確認時間T1としては、測定車両速度が速い場合に
は短い時間が、遅い場合には長い時間が選定される。As the completion confirmation time T1, a short time is selected when the measured vehicle speed is fast, and a long time is selected when the measured vehicle speed is slow.
サラにメモリ15には、車両カウンタC1゜C2の内容
を転送して速度データを記憶する速度データ・エリヤ、
およびリセット信号の波形の変化の状態を記憶するパタ
ーン記憶エリヤが設けられている。The memory 15 includes a speed data area for storing speed data by transferring the contents of the vehicle counters C1 and C2;
A pattern storage area is also provided for storing the state of change in the waveform of the reset signal.
このパターン記憶エリヤのデータは、各種の波形パター
ン処理で用いられる。The data in this pattern storage area is used in various waveform pattern processing.
第6図はCPU 11によるセット信号の波形分析処理
の手順を示している。FIG. 6 shows the procedure of waveform analysis processing of the set signal by the CPU 11.
この処理は、4.8mBごとに実行される。This process is executed every 4.8 mB.
まず、AD変換された今回データDtを読込んで、今回
データDtから前処理データDoを減算して偏差Δωを
求める(ステップ21)。First, the AD-converted current data Dt is read, and the preprocessed data Do is subtracted from the current data Dt to obtain the deviation Δω (step 21).
そして、この偏差Δωの絶対値と基準量ωOとを比較し
て、セット信号の変化が増加もしくは減少か、または平
衡かを判定しくステップ22)、増加または減少であれ
ばセット信号一時終了フラグF2をオフとする(ステッ
プ23)。Then, the absolute value of this deviation Δω is compared with the reference amount ωO to determine whether the change in the set signal is increased, decreased, or balanced (step 22). If the change is increased or decreased, the set signal temporary end flag F2 is turned off (step 23).
このフラグF2は、セット信号が増加または減少状態に
あるときには常にオフであり、信号が平衡から増加また
は減少に移ったときには、もしオンであったならばオフ
とされる。This flag F2 is always off when the set signal is in an increasing or decreasing state, and is turned off if it was on when the signal moves from equilibrium to increasing or decreasing.
次に偏差Δωの正負をみることにより増加状態か、減少
状態かを判断しくステップ24)、増加であれば今回デ
ータDtが切断レベル51以上であるかどうかをみる(
ステップ25)。Next, by looking at the sign of the deviation Δω, it is determined whether it is in an increasing state or a decreasing state (step 24), and if it is an increasing state, it is checked whether the current data Dt is equal to or higher than the cutting level 51 (step 24).
Step 25).
今回データDtが切断レベル51以上であれば、再収集
フラグF6がオンになっているかどうかをみる(ステッ
プ26)。If the current data Dt is at the cutting level 51 or higher, it is checked whether the recollection flag F6 is on (step 26).
再収集フラグF6がオフの場合にはさらに再々開始フラ
グF5がオンかどうかをみる(ステップ27)。If the re-collection flag F6 is off, it is further checked whether the re-start flag F5 is on (step 27).
今回データDtが切断レベル51以上であって(ステッ
プ25でYES )、両フラグF (i 、F 5がと
もにオフのときには、セット信号が立上って増加してい
ってはじめて切断レベルL1を越えたのであるから(第
4b図参肋、再々開始フラグF5をオンとしくステップ
28)再車両速度カウンタC2をクリヤする(ステップ
29)。If this time the data Dt is at the cutting level 51 or above (YES in step 25) and both flags F (i and F5 are off), the set signal rises and increases until it exceeds the cutting level L1. Therefore, the vehicle speed counter C2 is cleared again (step 28) by turning on the re-start flag F5 (see FIG. 4b) (step 29).
これにより後述するように、再車両速度カウンタC2に
よる検知時間tの計時が開始する。As a result, as will be described later, the re-vehicle speed counter C2 starts counting the detection time t.
ステップ24.25でNOの場合、ステップ26゜27
でYESの場合およびステップ29の処理後、ステップ
30に進む。If NO in step 24.25, step 26゜27
If YES in step 29 and after the processing in step 29, the process proceeds to step 30.
ステップ30では、セット信号フラグF1がオフかどう
かをみる。In step 30, it is checked whether the set signal flag F1 is off.
セット信号の変化状態は増加または減少なのであるから
(ステップ22でYES ) 、セット信号フラグF1
がオフであればセット信号が立上りまたは立下りを開始
したことを意味する。Since the change state of the set signal is increase or decrease (YES in step 22), the set signal flag F1
If is off, it means that the set signal has started rising or falling.
そこで、立上りか立下りかをみるために再び増加か減少
かを判断する(ステップ31)。Therefore, in order to see whether it is rising or falling, it is again determined whether it is increasing or decreasing (step 31).
減少であれば立下りであるから、セット信号再開始フラ
グF4をオンとする(ステップ32)(第4c図および
第4d図参照)。If it is a decrease, it means a fall, and the set signal restart flag F4 is turned on (step 32) (see FIGS. 4c and 4d).
増加の場合にはこの処理をすることなくステップ33に
移る。In the case of an increase, the process moves to step 33 without performing this process.
この例では、路面レベルLOは車両検知ごとに更新され
ている。In this example, the road surface level LO is updated every time a vehicle is detected.
路面レベルLOの更新タイミングは車両を検知していな
いときであればいつでもよいが、ここでは車両の検知を
開始したとき、すなわち路面レベルLOで平衡状態にあ
りはじめてセット信号が立上りまたは立下ったときに(
ステップ30でYES)更新するようにしている。The road surface level LO can be updated at any time as long as no vehicle is detected, but in this case, when vehicle detection starts, that is, when the set signal rises or falls after the road surface level LO is in an equilibrium state. To (
(YES in step 30).
ステップ33ではそのときの前処理データDoを路面レ
ベルLOとして更新する。In step 33, the preprocessed data Do at that time is updated as the road surface level LO.
そして、セット信号フラグF1をオンとしくステップ3
4)、セット信号開始フラグF3をオンとして(ステッ
プ35)、検知時間tを計測するために車両速度カウン
タC1をクリヤする(ステップ36)。Then, turn on the set signal flag F1 and step 3
4) Turn on the set signal start flag F3 (step 35), and clear the vehicle speed counter C1 to measure the detection time t (step 36).
このことにより、後述するようにカウンタC1の計時動
作が開始する。This starts the time counting operation of the counter C1 as described later.
さらに、セット信号の開始時の変化パターン(増加また
は減少)を記憶しくステップ37)、今回データDtを
前処理データDoとして前処理データを更新しくステッ
プ38)、処理を終える。Furthermore, the change pattern (increase or decrease) at the start of the set signal is stored (step 37), the preprocessed data is updated using the current data Dt as the preprocessed data Do (step 38), and the process ends.
セット信号フラグF1が既にオンになっている場合には
(ステップ30でNO) 、増加か減少かをみて(ステ
ップ40)、増加であれば第4c図、第4d図および第
4h図の波形のように路面レベルLOを横切る場合があ
るので、そのことを検査するために開始時の変化パター
ンが減少かどうかをみる(ステップ41)。If the set signal flag F1 is already on (NO in step 30), check whether it increases or decreases (step 40), and if it increases, the waveforms in Figures 4c, 4d, and 4h. Since the road surface level LO may be crossed as shown in FIG.
開始時パターンが減少の場合には、開始時においては影
による信号成分A、Bのように路面レベルLOから立下
っており、その後増加した(ステップ40でYES )
と考えられるので、信号レベルが車両確認レベルL2を
超えているかどうかを調べるために今回データDtから
路面し液ルLOを差引いて路面レベルLOとの偏差Δω
1を求める(ステップ42)。If the pattern at the start is a decrease, at the start the signal components A and B due to shadows fall from the road surface level LO, and then increase (YES at step 40).
Therefore, in order to check whether the signal level exceeds the vehicle confirmation level L2, the road surface liquid level LO is subtracted from the current data Dt to calculate the deviation Δω from the road surface level LO.
1 (step 42).
そして、この偏差Δω1と確認レベルL2とを比較して
(ステップ43)、偏差Δω1がレベルト2以上であれ
ば、セット信号が路面レベルLOを越えかつ車両による
信号であるとみなして、セット信号開始フラグF3をオ
ンとしくステップ44)かつ路面越えフラグF7をオン
として(ステップ45)、車両速度カウンタC1をクリ
ヤして検知時間tの計時を開始させる(ステップ46)
。Then, this deviation Δω1 is compared with the confirmation level L2 (step 43), and if the deviation Δω1 is equal to or higher than level 2, it is assumed that the set signal exceeds the road surface level LO and is a signal from the vehicle, and the set signal is started. The flag F3 is turned on (step 44), the road crossing flag F7 is turned on (step 45), and the vehicle speed counter C1 is cleared to start counting the detection time t (step 46).
.
この後およびステップ40,41,43でそれぞれNO
の場合にはステップ38に移る。After this and in steps 40, 41, and 43 respectively, NO
In this case, the process moves to step 38.
カウンタC1は、セット信号が路面レベルLOから立上
りまたは立下りを開始したとき(ステップ36)、およ
びセット信号が路面レベルLOを横切ったとき(ステッ
プ46)にクリヤされる。The counter C1 is cleared when the set signal starts rising or falling from the road surface level LO (step 36) and when the set signal crosses the road surface level LO (step 46).
ステップ22で平衡の場合にはステップ47に移る。If equilibrium is found in step 22, the process moves to step 47.
上述のように、サンプリング周期ごとに平衡パターンか
どうかを判定してもよいし、規定周期の時間帯で平衡パ
ターンかどうかを判定してもよい。As described above, it may be determined whether the pattern is a balanced pattern for each sampling period, or it may be determined whether the pattern is a balanced pattern in a time period of a prescribed period.
規定周期を基準とした場合には、この周期ごとに、もし
平衡であれば、ステップ47に移る。When the prescribed period is used as a reference, if there is equilibrium for each period, the process moves to step 47.
ステップ47では、セット信号一時終了フラグF2がオ
ンかどうかをみる。In step 47, it is checked whether the set signal temporary end flag F2 is on.
このフラグF2がオフの場合には、セット信号検出中で
あって第4f図に示すようピーク、レベルの平衡状態か
、または車両を検知していない路面レベルLOの平衡状
態である。When this flag F2 is off, the set signal is being detected and the peak and level are in an equilibrium state as shown in FIG. 4F, or the road surface level LO is in an equilibrium state where no vehicle is detected.
そこで、セット信号フラグF1がオンかどうかをみる(
ステップ48)。Therefore, check whether the set signal flag F1 is on (
Step 48).
このフラグF1がオフであれば路面レベルLOの平衡状
態であるから、ステップ38に進んで今回データDtを
前処理データDOとして処理を終える(ステップ38)
。If this flag F1 is off, the road surface level LO is in an equilibrium state, so the process proceeds to step 38 and the current data Dt is set as the pre-processed data DO and the process is completed (step 38).
.
セット信号フラグF1がオンの場合には、ピーク・レベ
ルの平衡状態か、または立下っていって丁度路面レベル
LOに達して平衡状態に移行した瞬間かのどちらかであ
る。When the set signal flag F1 is on, either the peak level is in an equilibrium state, or the moment it falls and just reaches the road surface level LO and shifts to an equilibrium state.
そこで今回データDtを路面識別レベルL3と比較する
(ステップ49)。Therefore, the current data Dt is compared with the road surface discrimination level L3 (step 49).
今回データDtがレベル53以上であればステップ38
に移る。If the data Dt is level 53 or higher this time, step 38
Move to.
今回データDtがレベル53未満の場合には丁度路面レ
ベルLOに達したのであるから、セット信号一時終了フ
ラグF2をオンとしくステップ50)、終了後時間カウ
ンタC3をクリヤして、このカウンタC3による終了後
経過時間の計時開始に備える(ステップ51)。If the data Dt is less than level 53 this time, it has just reached the road surface level LO, so the set signal temporary end flag F2 is turned on (step 50), and after the end, the time counter C3 is cleared, and the time counter C3 is Preparation is made to start measuring the elapsed time after the end (step 51).
そして、ステップ38に進む。Then, the process proceeds to step 38.
セット信号一時終了フラグF2がオンの場合には(ステ
ップ47でYES ) 、時間を計時するために終了後
時間カウンタC3の内容に+1しくステップ52)、こ
のカウンタC3の内容と終了確認時間T1とを比較する
(ステップ53)。If the set signal temporary end flag F2 is on (YES in step 47), the contents of the after-end time counter C3 are incremented by 1 to measure the time (step 52), and the contents of this counter C3 and the end confirmation time T1 are are compared (step 53).
カウンタC3の内容が時間T1未満であればステップ3
8に移り、カウンタC3の内容が時間T1に達した場合
には、カウンタC3をクリヤして(ステップ54)、セ
ット信号フラグF1をオフにしくステップ55)、セッ
ト信号一時終了フラグF2をオフにして(ステップ56
)、ステップ38に進む。If the content of counter C3 is less than time T1, step 3
8, if the contents of the counter C3 have reached the time T1, the counter C3 is cleared (step 54), the set signal flag F1 is turned off (step 55), and the set signal temporary end flag F2 is turned off. (Step 56
), proceed to step 38.
第7図はCPU11によるリセット信号の波形分析処理
手順を示している。FIG. 7 shows the waveform analysis processing procedure of the reset signal by the CPU 11.
この処理も4.8mSごとに実行される。This process is also executed every 4.8 mS.
まずセット信号開始フラグF3がオンかどうかをみて(
ステップ60)、このフラグF3がオンであれば車両速
度カウンタC1の内容に+1して車両速度(検知時間t
)を計数する(ステップ61)。First, check whether the set signal start flag F3 is on (
Step 60), if this flag F3 is on, the content of the vehicle speed counter C1 is incremented by 1 and the vehicle speed (detection time t
) is counted (step 61).
そして、車両速度カウンタC1の内容と異常速度カウン
ト数CMとを比較スる(ステップ62)。Then, the contents of the vehicle speed counter C1 and the abnormal speed count number CM are compared (step 62).
カウンタC1の内容がCM以上であれば異常データと判
断する(第4e図参照)。If the content of the counter C1 is equal to or greater than CM, it is determined that the data is abnormal (see FIG. 4e).
セット信号開始フラグF3はセット信号の立上りまたは
立下り、およびセット信号が路面レベルLOを横切ると
きにオンとされる。The set signal start flag F3 is turned on when the set signal rises or falls and when the set signal crosses the road surface level LO.
またセット信号再開始フラグF4はセット信号が路面レ
ベルLOから立下ったときにオンとされる。Further, the set signal restart flag F4 is turned on when the set signal falls from the road surface level LO.
そして、これらのフラグF3.F4がオンとなったとき
にカウンタC1がクリヤされ速度の測定を開始する。And these flags F3. When F4 is turned on, counter C1 is cleared and speed measurement begins.
異常データの場合には速度測定を中止するために、セッ
ト信号開始フラグF3、セット信号再開始フラグF4を
それぞれオフとしくステップ63,64)、車両カウン
タC1をクリヤする(ステップ65)。In the case of abnormal data, in order to stop the speed measurement, the set signal start flag F3 and the set signal restart flag F4 are respectively turned off (steps 63, 64), and the vehicle counter C1 is cleared (step 65).
リセット信号についてもその巾を検出して異常かどうか
を判定することが好ましい。It is also preferable to detect the width of the reset signal to determine whether it is abnormal.
次に、再々開始フラグF5がオンかどうかをみて(ステ
ップ66)、このフラグF5がオンであれば再車両速度
カウンタC2の内容に+1して車両速度(検知時間t)
を計数する(ステップ67)。Next, check whether the re-start flag F5 is on (step 66), and if this flag F5 is on, add 1 to the content of the re-vehicle speed counter C2 to determine the vehicle speed (detection time t).
is counted (step 67).
そして、ステップ62と同じように、再車両速度カウン
タC2の内容が異常速度カウント数CM以上であれば(
ステップ68でYES)、再々開始フラグF5をオフと
して(ステップ69)、再車両速度カウンタC2をクリ
ヤする(ステップ70)。Then, as in step 62, if the content of the re-vehicle speed counter C2 is greater than or equal to the abnormal speed count number CM (
(YES in step 68), the re-start flag F5 is turned off (step 69), and the re-vehicle speed counter C2 is cleared (step 70).
以上の車両速度計数処理ののち、今回データDtから前
処理データDOを差引いて偏差Δωを求め(ステップ7
1)、この偏差Δωの絶対値と基準量ωOを比較する(
ステップ72)。After the above vehicle speed counting process, the preprocessed data DO is subtracted from the current data Dt to find the deviation Δω (step 7
1), compare the absolute value of this deviation Δω with the reference amount ωO (
Step 72).
偏差Δωの絶対値が基準量00以上であれば増加または
減少であるからリセット信号一時終了フラグF12をオ
フとして(ステップ73)、増加か減少かを判定する(
ステップ74)。If the absolute value of the deviation Δω is equal to or greater than the reference amount 00, it means an increase or a decrease, so the reset signal temporary end flag F12 is turned off (step 73), and it is determined whether it is an increase or a decrease (
Step 74).
増加であればさらに今回データDtが切断レベルL1に
達しているかどうかをみて(ステップ75)、達してい
れば再々開始フラグF5がオンかどうかをみる(ステッ
プ76)。If it has increased, it is further checked whether the current data Dt has reached the cutting level L1 (step 75), and if it has reached it, it is checked whether the repeat start flag F5 is on (step 76).
今回データDtが切断レベルL1以上でかつ再々開始フ
ラグF5がオンの場合には、このときにリセット信号が
切断レベルL1に達したのであるから、車両速度の計数
を終了させるために再々開始フラグF5をオフとしくス
テツブ77)、再収集フラグF6をオンとする(ステッ
プ78)(第4b図参照)。If the current data Dt is equal to or higher than the cutoff level L1 and the repeat start flag F5 is on, the reset signal has reached the cutoff level L1 at this time, so the repeat start flag F5 is set in order to finish counting the vehicle speed. is turned off (step 77), and the recollection flag F6 is turned on (step 78) (see FIG. 4b).
そして、このときの再車両速度カウンタC2の内容をメ
モリ15の速度データ・エリヤに転送する(ステップ7
9)。Then, the contents of the re-vehicle speed counter C2 at this time are transferred to the speed data area of the memory 15 (step 7
9).
ステップ74〜76のいずれかでNOの場合にはただち
にステップ80に移る。If NO in any of steps 74 to 76, the process immediately moves to step 80.
ステップ80では、リセット信号フラグF11がオフか
どうかをみる。In step 80, it is checked whether the reset signal flag F11 is off.
リセット信号は増加または減少状態なのであるから、リ
セット信号フラグFilがオフであれば、路面レベルL
Oからはじめて立上りまたは立下った時点である。Since the reset signal is in an increasing or decreasing state, if the reset signal flag Fil is off, the road surface level L
This is the time when the signal rises or falls from O for the first time.
したがって、リセット信号フラグF11およびリセット
信号開始フラグF14をそれぞれオンとしくステップ8
1.82)、そのときの前処理データDOを路面レベル
LOとして記憶する(ステップ83)。Therefore, in step 8, the reset signal flag F11 and the reset signal start flag F14 are respectively turned on.
1.82), the preprocessed data DO at that time is stored as the road surface level LO (step 83).
次に立上りか立下りかをみるために増加かどうかを判断
する(ステップ84)。Next, it is determined whether there is an increase or not to see whether it is rising or falling (step 84).
増加であれば立上りである。If it increases, it is a rising trend.
増加の場合には、セット信号開始フラグF3が既にオン
であれば車両速度の測定が可能であり(第4a図など)
、セット信号開始フラグF3がオフであれば異常である
(第4e図)。In the case of an increase, the vehicle speed can be measured if the set signal start flag F3 is already on (as shown in Figure 4a).
, it is abnormal if the set signal start flag F3 is off (FIG. 4e).
このことを確認するためにセット信号開始フラグF3の
状態をみて(ステップ85)、このフラグF3がオンで
あれば正常とする。To confirm this, the state of the set signal start flag F3 is checked (step 85), and if this flag F3 is on, it is determined to be normal.
検知時間tが終了したのであるから、セット信号開始フ
ラグF3をオフとしくステップ86)、念のためにセッ
ト信号再開始フラグF4および路面越えフラグF7をそ
れぞれオフとして(ステップ87.88)、車両速度カ
ウンタC1の内容をメモリ15の速度データ・エリヤに
転送する(ステップ89)。Since the detection time t has ended, the set signal start flag F3 is turned off (step 86), and just in case, the set signal restart flag F4 and the road crossing flag F7 are turned off (steps 87 and 88), and the vehicle The contents of speed counter C1 are transferred to the speed data area of memory 15 (step 89).
そして、リセット信号開始フラグF14をオフとして(
ステップ90)、波形処理のための基礎データとして波
形の変化をメモリ15のパターン記憶エリヤに記憶しく
ステップ91)、今回データDtによって前処理データ
Doを更新して(ステップ92)、処理を終える。Then, the reset signal start flag F14 is turned off (
In step 90), the change in waveform is stored in the pattern storage area of the memory 15 as basic data for waveform processing (step 91), and the preprocessing data Do is updated with the current data Dt (step 92), and the processing is completed.
ステップ85でセット信号開始フラグF3がオフの場合
には異常であるからデータ異常フラグF13をオンとし
て(ステップ93)(第4e図参照)、ステップ90に
移る。If the set signal start flag F3 is off in step 85, it means that there is an abnormality, so the data abnormality flag F13 is turned on (step 93) (see FIG. 4e) and the process moves to step 90.
ステップ84で減少の場合には、第4c図、第4d図お
よび第4h図に示すように影による信号成分がある。In the case of a decrease in step 84, there is a signal component due to shadows, as shown in FIGS. 4c, 4d and 4h.
このような信号に対しては、まずセット信号再開始フラ
グF4がオンかどうかをみて(ステップ94)、オフで
あればさらにセット信号開始フラグF3がオンかどうか
を調べて(ステップ85)このフラグF3もオフであれ
ばデータ異常フラグF13をオンとする(ステップ93
)(第4d図参照)。For such a signal, first check whether the set signal restart flag F4 is on (step 94), and if it is off, check whether the set signal start flag F3 is on (step 85). If F3 is also off, the data abnormality flag F13 is turned on (step 93
) (see Figure 4d).
セット信号再開始フラグF4がオンの場合には、路面越
えフラグF7がオンかどうかをみる(ステップ95)。If the set signal restart flag F4 is on, it is checked whether the road crossing flag F7 is on (step 95).
このフラグF7によって第4c図と第4h図の信号が区
別される。This flag F7 distinguishes the signals shown in FIG. 4c and FIG. 4h.
路面越えフラグF7がオフの場合には(第4c図)さら
にリセット信号開始フラグF14の状態をみて(ステッ
プ96)、このフラグF14がオンであればステップ8
5に移って、セット信号開始フラグF3の状態をみる。If the road crossing flag F7 is off (FIG. 4c), the state of the reset signal start flag F14 is further checked (step 96), and if this flag F14 is on, step 8
5, the state of the set signal start flag F3 is checked.
そして、このフラグF3がオンであれば、フラグF3.
F4.F7をそれぞれオフとして(ステップ86〜88
)、カウンタC1の内容をメモリ15の速度データ・エ
リヤにとりあえず転送しておく。If this flag F3 is on, flag F3.
F4. Turn off F7 (steps 86 to 88).
), the contents of the counter C1 are temporarily transferred to the speed data area of the memory 15.
この場合の転送されるカウンタC1の内容は、セット信
号の立下りからリセット信号の立下りまでの時間である
が、この内容は後に、セット信号が路面レベルLOを越
えた時点からリセット信号が路面レベルLOを越えた時
点までの時間(検知時間t)によって書きかえられる。The contents of the counter C1 transferred in this case are the time from the fall of the set signal to the fall of the reset signal, but this content will later be changed from the time when the set signal exceeds the road surface level LO to the time when the reset signal reaches the road surface level. It is rewritten by the time (detection time t) up to the time when level LO is exceeded.
路面越えフラグF7がオンの場合には(ステップ95で
YES )(第4h図)、セット信号は既に路面レベル
LOを横切っており、検知時間tの計時中なのであるか
らステップ86〜89の処理をすることなくステップ9
0に進む。If the road surface crossing flag F7 is on (YES in step 95) (Fig. 4h), the set signal has already crossed the road surface level LO and the detection time t is being measured, so steps 86 to 89 are performed. Step 9 without
Go to 0.
ステップ80でリセット信号フラグF11が既にオンの
場合には、リセット信号は既に立上りまたは立下って継
続している。If the reset signal flag F11 is already on in step 80, the reset signal has already risen or fallen and continues.
そこで、偏差Δωの正負により増加状態にあるのか、減
少状態にあるのかを調べ(ステップ97)、増加であれ
ば路面レベルLOを横切ったかどうかを調べるために今
回データDtと路面レベルLOとの差Δω1を求め(ス
テップ98)、この差Δω1が車両確認レベル52以上
かどうかをみる(ステップ99)。Therefore, it is checked whether it is in an increasing state or a decreasing state depending on the sign of the deviation Δω (step 97), and if it is an increase, the difference between the current data Dt and the road surface level LO is determined to check whether it has crossed the road surface level LO. Δω1 is determined (step 98), and it is determined whether this difference Δω1 is equal to or higher than the vehicle confirmation level 52 (step 99).
差Δω1がレベル52以上であれば、さらにセット信号
開始フラグF3がオンかどうかをみて(ステップ100
)、このフラグF3がオンであればデータ異常フラグF
13をオフとして(ステップ101)(第4d図参照)
、ステップ86に進む。If the difference Δω1 is level 52 or higher, it is further checked whether the set signal start flag F3 is on (step 100).
), if this flag F3 is on, the data abnormality flag F
13 off (step 101) (see Figure 4d)
, proceed to step 86.
ステップ86〜89までの処理により、各フラグF3.
F4.F7がオフとされ、かつセット信号が路面レベル
LOを超えた時点から計時されていた検知時間t(カウ
ンタC1の内容)がメモリ15の速度データ・エリヤに
転送される(第4c図、第4d図および第4h図参照)
。Through the processing from steps 86 to 89, each flag F3.
F4. The detection time t (content of counter C1) that has been measured since F7 was turned off and the set signal exceeded the road surface level LO is transferred to the speed data area of the memory 15 (Figures 4c and 4d). (see figure and figure 4h)
.
ステップ97.99および100でそれぞれNOの場合
にはステップ91に移る。If NO in steps 97, 99 and 100, the process moves to step 91.
平衡状態の場合には(ステップ72でNO)、まずリセ
ット信号一時終了フラグF12がオンかどうかをみて(
ステップ102)、このフラグF12がオフの場合には
、リセット信号フラグF11がオンかどうかをみる(ス
テップ103)。In the case of an equilibrium state (NO in step 72), first check whether the reset signal temporary end flag F12 is on (
Step 102), if this flag F12 is off, it is checked whether the reset signal flag F11 is on (step 103).
このフラグF11がオフであれば路面を検知しているの
であるからただちにステップ91に移る。If this flag F11 is off, it means that the road surface is being detected, and the process immediately moves to step 91.
リセット信号フラグF11がオンの場合には丁度路面レ
ベルLOに達して平衡になった可能性があるから、今回
データDtを路面識別レベルL3と比較して(ステップ
104)、今回データDtがレベル53未満であれば路
面レベルLOに戻ったとみなして、リセット信号一時終
了フラグF12をオンとしくステップ105)、終了後
時間を計時するためにカウンタC3をクリヤして(ステ
ップ106)、ステップ91に移る。If the reset signal flag F11 is on, there is a possibility that the road surface level LO has just been reached and equilibrium has been achieved. Therefore, the current data Dt is compared with the road surface identification level L3 (step 104), and the current data Dt is level 53. If it is less than that, it is assumed that the road surface level has returned to LO, the reset signal temporary end flag F12 is turned on (step 105), and after the end, the counter C3 is cleared to measure the time (step 106), and the process moves to step 91. .
ステップ104でYESの場合にはピーク・レベルにお
ける平衡状態として(第4f図参照)、そのままステッ
プ91に移る。If YES in step 104, the process is assumed to be in an equilibrium state at the peak level (see FIG. 4f), and the process directly proceeds to step 91.
リセット信号一時終了フラグF12がオンの場合には(
ステップ102でYES ) 、終了後時間カウンタC
3の内容に+1して時間を計時しくステップ107)、
カウンタC3の内容が終了確認時間T1に達したかどう
かをみる(ステップ108)。If the reset signal temporary end flag F12 is on, (
YES in step 102), time counter C after completion
Add 1 to the contents of step 3 to measure the time (step 107),
It is checked whether the contents of the counter C3 have reached the end confirmation time T1 (step 108).
終了確認時間T1に達していなげればステップ91に移
る。If the end confirmation time T1 has not been reached, the process moves to step 91.
この時間T1に達した場合にはカウンタC3をクリヤし
くステップ109)、フラグF11.F12をそれぞれ
オフして(ステップ110,111)、終了確認時間転
送フラグF16をオフとする(ステップ112)。When this time T1 is reached, the counter C3 is cleared (step 109), and the flag F11. F12 is turned off (steps 110, 111), and the end confirmation time transfer flag F16 is turned off (step 112).
そして、データ異常フラグF13がオンかどうかをみて
(ステップ113)このフラグF13がオンであれば、
ステップ117に移ってデータ異常フラグF13をオフ
としてステップ91に移る。Then, check whether the data abnormality flag F13 is on (step 113), and if this flag F13 is on,
The process moves to step 117, where the data abnormality flag F13 is turned off, and the process moves to step 91.
データ異常フラグF13がオフであれば正常であるから
次に、再収集フラグF6がオンかどうかをみる(ステッ
プ114)。If the data abnormality flag F13 is off, it means that the data is normal. Next, it is checked whether the recollection flag F6 is on (step 114).
このフラグF6がオンの場合には切断レベルL1を基準
にした速度測定である。When this flag F6 is on, the speed is measured based on the cutting level L1.
再収集フラグF6がオンの場合には、もし必要であれば
、切断レベルL1にもとづくデータに対する所要の処理
をして、その後フラグF6をオフとする(ステップ11
5)。If the recollection flag F6 is on, if necessary, perform the necessary processing on the data based on the cutting level L1, and then turn off the flag F6 (step 11).
5).
そして、収集フラグF15をオンとして(ステップ11
6)、ステップ91に移る。Then, the collection flag F15 is turned on (step 11).
6), proceed to step 91.
ステップ114でNOの場合にも収集フラグF15をオ
ンとして(ステップ116)、ステップ91に移る。Even in the case of NO in step 114, the collection flag F15 is turned on (step 116), and the process moves to step 91.
CPU12は、19.2mSごとに収集フラグF15の
状態をみて、このフラグF15がオンであれば、メモリ
16の速度データ・エリヤから測定された検知時間デー
タを取込んで所要の処理、たとえば車両速度の算出、渋
滞度の算出などを行なう。The CPU 12 checks the state of the collection flag F15 every 19.2 mS, and if the flag F15 is on, the CPU 12 takes in the measured detection time data from the speed data area of the memory 16 and performs necessary processing, such as vehicle speed. calculation, and the degree of traffic congestion.
CPU 12は、メモリ15から検知時間データを取込
むと収集フラグF15をオフとする。When the CPU 12 takes in the detection time data from the memory 15, it turns off the collection flag F15.
また、終了確認時間転送フラグF16がオフとなると、
CPU12は1台前の先行車両の走行速度にもとづいて
既に算出しである終了確認時間をメモリ15に転送して
、この時間を変更する。Also, when the end confirmation time transfer flag F16 turns off,
The CPU 12 transfers the completion confirmation time, which has already been calculated based on the traveling speed of the preceding vehicle, to the memory 15, and changes this time.
そして、この後フラグ16をオンとする。After this, the flag 16 is turned on.
路面レベルLOは、路面からの反射光量を表わしている
から、晴、曇、雨などの天候によって変動するが、昼間
と夜間とでは著しく異なる。Since the road surface level LO represents the amount of light reflected from the road surface, it varies depending on the weather such as clear, cloudy, rainy, etc., and it differs significantly between daytime and nighttime.
そこで、昼間の平均的な路面レベルと夜間の平均的な路
面レベルとの中間付近に昼夜判別基準レベル(これをレ
ベルL4とする)を設定しておき、そのときの路面レベ
ルLOと判別基準レベルL4とを比較することにより昼
間と夜間とを区別することができる。Therefore, a day/night discrimination reference level (this is level L4) is set near the middle between the average road surface level during the day and the average road surface level at night, and the road surface level LO and the discrimination reference level at that time are set. By comparing L4, daytime and nighttime can be distinguished.
また、上述の偏差基準量ω0として、昼間用の偏差基準
量ω01と夜間用の偏差基準量ω02とを用意してお(
。In addition, as the above-mentioned deviation reference amount ω0, a deviation reference amount ω01 for daytime use and a deviation reference amount ω02 for nighttime use are prepared (
.
そして、昼間用の偏差基準量ω01を比較的小さな値と
し、夜間用の偏差基準量ω02を、第4g図に示す夜間
の波形の小さなピークCのレベルと路面レベルLOとの
差よりも大きな値とする。Then, the deviation reference amount ω01 for daytime is set to a relatively small value, and the deviation reference amount ω02 for nighttime is set to a value larger than the difference between the level of the small peak C of the nighttime waveform shown in Fig. 4g and the road surface level LO. shall be.
そうすれば、夜間には偏差基準量としてω02を採用す
ることにより、小さなピークCは平衡状態と判定され、
このピークCは無視され、切断レベルL1を基準とした
検知時間の測定が可能となる。Then, by adopting ω02 as the deviation reference amount at night, the small peak C will be determined to be in an equilibrium state,
This peak C is ignored, and the detection time can be measured based on the cutting level L1.
このような昼間と夜間との識別処理の手順が第8図に示
されている。The procedure for such daytime and nighttime discrimination processing is shown in FIG.
昼夜判別基準レベルL4および昼夜の偏差基準量ω01
.ω02はメモリ15にあらかじめ記憶されている(図
示路)。Day/night discrimination reference level L4 and day/night deviation reference amount ω01
.. ω02 is stored in advance in the memory 15 (as shown).
まず、路面レベルLOと基準レベルL4とを比較して(
ステップ201)、路面レベルLOが基準しベル54以
上であれば偏差基準量として昼間用の偏差基準量ω01
をメモリ15の偏差基準量エリヤにセットする(ステッ
プ202)。First, compare the road surface level LO and the reference level L4 (
Step 201), if the road surface level LO is the reference bell 54 or higher, the deviation reference amount is set as the deviation reference amount ω01 for daytime use.
is set in the deviation reference amount area of the memory 15 (step 202).
路面レベルLOが基準レベルL4に達していなければ夜
間用の偏差基準量ω02をセットする(ステップ203
)。If the road surface level LO has not reached the reference level L4, a night deviation reference amount ω02 is set (step 203).
).
この処理は適当な時間間隔で行なえばよい。This process may be performed at appropriate time intervals.
以上詳細に説明したようにこの発明によれば、車両検出
地点に所要距離をおいてセット域とリセット域とを設け
、これらの各域を通過する車両の映像信号を得、この信
号を所定のサンプリング周期でサンプリングしてそのデ
ータを今回データとし、サンプリングごとに、今回デー
タとそれ以前の所定の基準データとの偏差を求めて、こ
の偏差と所定の基準量とを比較することにより信号が増
加、減少または平衡のいずれの状態にあるかを検出して
映像信号の波形パターンを判別し、この判別結果にもと
づいて所要の交通流情報を得るという昼間の信号処理方
法に対して、夜間には、上記基準量を昼間に比べて大き
な値に設定することにより、平衡状態であると検出され
る偏差の範囲を大きくしている。As explained in detail above, according to the present invention, a set area and a reset area are provided at a required distance from a vehicle detection point, a video signal of a vehicle passing through each of these areas is obtained, and this signal is converted into a predetermined signal. The signal is increased by sampling at the sampling period and using that data as the current data, finding the deviation between the current data and the previous predetermined reference data for each sampling, and comparing this deviation with the predetermined reference amount. In contrast to the daytime signal processing method, which detects whether the signal is in a decreasing or balanced state, determines the waveform pattern of the video signal, and obtains the required traffic flow information based on this determination result, it is By setting the reference amount to a larger value than during the daytime, the range of deviation detected as being in an equilibrium state is widened.
したがって、夜間における車両のヘッド・ライトの路面
からの反射光によって変化する信号成分を上記基準量の
範囲内に収めることができ、この信号成分の変化は平衡
状態と判定される。Therefore, the signal component that changes due to the reflected light from the road surface of the headlight of the vehicle at night can be kept within the range of the reference amount, and the change in the signal component is determined to be in an equilibrium state.
この結果、夜間における車両の映像信号はヘッド・ライ
トの直接の光による急峻な波形のみとみなされ、昼間の
車両の映像信号の処理と同じ手順により処理することが
でき、交通流情報測定処理が簡便となる。As a result, the video signal of a vehicle at night is considered to be only a steep waveform caused by direct light from the headlights, and can be processed using the same procedure as the video signal of a vehicle during the day, making it possible to process traffic flow information. It's convenient.
第1図は交通流計測装置のカメラの設置状態を示す図、
第2図は検出地点の拡大図、第3図は上記カメラの内部
および処理装置を示す構成およびブロック図、第4図は
映像信号波形および各フラグの状態を示すタイム・チャ
ート、第5図は波形パターンの検出を示す説明図、第6
図はセット信号処理の手順を示すフロー・チャート、第
7図はリセット信号処理の手順を示すフロー・チャート
、第8図は昼間と夜間との識別処理の手順を示すフロー
・チャートである。
P、PI〜P6・・・・・・検出地点、S・・・・・・
セット域、R・・・・・・リセット域、dS1〜dR6
°°°°°°受光素子、Dt・・・・・・今回データ、
DO・・・・・・前処理データ、ω0・・・・・・偏差
基準量、ω01・・・・・・昼間用偏差基準量、ω02
・・・・・・夜間用偏差基準量、L4・・・・・・昼夜
判定基準レベル。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 configuration and block diagram showing the inside of the camera and processing device, Fig. 4 is a time chart showing the video signal waveform and the status of each flag, and Fig. 5 is a time chart showing the state of each flag. Explanatory diagram showing waveform pattern detection, No. 6
FIG. 7 is a flow chart showing the procedure of set signal processing, FIG. 7 is a flow chart showing the procedure of reset signal processing, and FIG. 8 is a flow chart showing the procedure of discrimination processing between daytime and nighttime. P, PI~P6...Detection point, S...
Set range, R...Reset range, dS1 to dR6
°°°°°°Photodetector, Dt...This data,
DO... Preprocessing data, ω0... Deviation reference amount, ω01... Daytime deviation reference amount, ω02
...Difference reference amount for nighttime, L4... Day and night judgment reference level.
Claims (1)
ト域とを設け、これらの各域を通過する車両の映像信号
を得、この信号を所定のサンプリング周期でサンプリン
グしてそのデータを今回データとし、サンプリングごと
に、今回データとそれ以前の所定の基準データとの偏差
を求めて、この偏差と所定の基準量とを比較することに
より信号が増加、減少または平衡のいずれの状態にある
かを検出して映像信号の波形パターンを判別し、この判
別結果にもとづいて所要の交通流情報を得るという昼間
の信号処理方法に対して、夜間には、平衡状態と検出さ
れる偏差の範囲を太き(とるために、上記基準量を昼間
に比べて大ぎな値に設定し、上記昼間の信号処理方法と
同じ信号処理を行なうことを特徴とする、交通流計測装
置における夜間の信号処理方法。1 Set a set area and a reset area at a required distance from the vehicle detection point, obtain a video signal of a vehicle passing through each of these areas, sample this signal at a predetermined sampling period, and use the data as the current data. For each sampling, the deviation between the current data and the previous predetermined reference data is determined, and by comparing this deviation with the predetermined reference amount, it is possible to determine whether the signal is in an increasing, decreasing, or balanced state. In contrast to the daytime signal processing method, in which the waveform pattern of the video signal is detected and the required traffic flow information is obtained based on the result of this discrimination, in the nighttime, the range of deviation detected from the equilibrium state is widened. A nighttime signal processing method in a traffic flow measuring device, characterized in that the reference amount is set to a larger value than during the daytime in order to obtain a traffic flow measurement device, and the same signal processing as the daytime signal processing method is performed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14010880A JPS5939799B2 (en) | 1980-10-06 | 1980-10-06 | Nighttime signal processing method for traffic flow measurement equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14010880A JPS5939799B2 (en) | 1980-10-06 | 1980-10-06 | Nighttime signal processing method for traffic flow measurement equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5764900A JPS5764900A (en) | 1982-04-20 |
| JPS5939799B2 true JPS5939799B2 (en) | 1984-09-26 |
Family
ID=15261110
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP14010880A Expired JPS5939799B2 (en) | 1980-10-06 | 1980-10-06 | Nighttime signal processing method for traffic flow measurement equipment |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5939799B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04263400A (en) * | 1991-02-18 | 1992-09-18 | Matsushita Electric Ind Co Ltd | Vehicle dynamic measurement device |
-
1980
- 1980-10-06 JP JP14010880A patent/JPS5939799B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5764900A (en) | 1982-04-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4433325A (en) | Optical vehicle detection system | |
| US5304980A (en) | Distance detecting apparatus for a vehicle | |
| EP0117497B1 (en) | System and method for detecting driver drowsiness | |
| US8065084B2 (en) | Method for determining the plausibility of objects in driver assistance systems | |
| JP6572930B2 (en) | Information processing apparatus and information processing system | |
| EP1020707A1 (en) | Magnetic apparatus for detecting position of vehicle | |
| US4674069A (en) | System for collecting and processing data relating to moving bodies | |
| US5218414A (en) | Distance measuring apparatus utilizing two-dimensional image | |
| KR940000019B1 (en) | Distance measuring device | |
| JP2019164840A (en) | Information processor and information processing system | |
| JPS5939799B2 (en) | Nighttime signal processing method for traffic flow measurement equipment | |
| JPS5911960B2 (en) | Vehicle speed measurement method | |
| JPS6235158B2 (en) | ||
| JPS5843798B2 (en) | How to process vehicle signals that include shadows | |
| JP3290318B2 (en) | In-vehicle image processing device, in-vehicle road monitoring device and vehicle control device | |
| JPS6235157B2 (en) | ||
| KR100331167B1 (en) | Method of Measuring Traffic Queue Length Based on Wavelet Transforms at Urban Intersection | |
| JPH04123199A (en) | Parking lot congestion state discriminator | |
| JPS5911958B2 (en) | How to determine the end of vehicle signal waveform | |
| JPS6235159B2 (en) | ||
| JPS5938640B2 (en) | Vehicle group speed measurement method | |
| JP2633862B2 (en) | Automatically responsive traffic signal controller | |
| CN119625983B (en) | A method for detecting continuous lane changes by vehicles | |
| US20260059183A1 (en) | Image recording system, vehicle, program, and image recording method of image recording system | |
| JPH03286398A (en) | Image processing type traffic flow measuring instrument |