JPS5911960B2 - Vehicle speed measurement method - Google Patents
Vehicle speed measurement methodInfo
- Publication number
- JPS5911960B2 JPS5911960B2 JP14010680A JP14010680A JPS5911960B2 JP S5911960 B2 JPS5911960 B2 JP S5911960B2 JP 14010680 A JP14010680 A JP 14010680A JP 14010680 A JP14010680 A JP 14010680A JP S5911960 B2 JPS5911960 B2 JP S5911960B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- time
- flag
- level
- road surface
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired
Links
Landscapes
- Traffic Control Systems (AREA)
Description
【発明の詳細な説明】
この発明は、車両速度測定方法、とくに光学系を用いて
走行車両の映像信号を得、この映像信号から車両の走行
速度を測定する方法に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for measuring vehicle speed, and more particularly to a method for obtaining a video signal of a traveling vehicle using an optical system and measuring the traveling speed of the vehicle from this video signal.
光学系から出力される映像信号のうち路面の検出信号は
平坦なレベルに維持されるが、車両を検出すると信号は
立上ってまたは立下って車両に応じた変化を示し、車両
が通過すると映像信号は再び元のレベルに戻りほとんど
変化しない平坦な信号となる。Among the video signals output from the optical system, the road surface detection signal is maintained at a flat level, but when a vehicle is detected, the signal rises or falls, showing changes depending on the vehicle, and when a vehicle passes by. The video signal returns to its original level and becomes a flat signal with almost no change.
この発明は、映像信号が路面検出レベルに戻ったことに
より車両が通過したことを確認したのちに、この通過し
た車両の走行速度データを読取って正確に車両走行速度
を測定することのできる、車両速度測定方法を提供する
ものである。The present invention provides a vehicle that can accurately measure the vehicle traveling speed by reading the traveling speed data of the passing vehicle after confirming that the vehicle has passed by the video signal returning to the road surface detection level. A speed measurement method is provided.
以下、図面を参照してこの発明の実施例について詳しく
説明する。Embodiments of the present invention will be described in detail below 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)に、道路りの長さ方向の所要範囲(
たとえば100m)を俯敵するように設置されている。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 so that it overlooks the enemy (100m).
カメラ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〜ds5.dR5が配置されている。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-ds5. dR5 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対の受光素子(ds、dRで代表する)は、これらの
各板S、Hにそれぞれ対応している。A pair of light receiving elements (represented by ds and dR) correspond to each of these plates S and H, respectively.
車両CAが検出地点Pをセット域Sからリセット域Rに
向けて通過すると、後述するように受光素子dsおよび
dRから時間tだけずれた車両検知映像信号が出力され
る。When the vehicle CA passes through the detection point P from the set area S toward the reset area R, a vehicle detection video signal shifted by a 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.8m5
)で入力する受光素子の出力をAD変換し、その結果を
中央処理装置(CPUという)11に送る。The A-D converter 8 has a predetermined period (4.8 m5 in this example).
) performs AD conversion on the input output of the light receiving element, and sends the result to a central processing unit (referred to as CPU) 11.
処理装置2には2台のCPUII、12が備えられてい
る。The processing device 2 is equipped with two CPU IIs 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.
各CPU11−,12は、実行プログラムを格納したプ
ログラム・メモリ(図示略)の他に、それぞれデータを
記憶するローカル・メモIJ 13 、14を備えてお
り、また処理装置2には両CPU11,12がアクセス
しうる共有メモリ15がある。Each of the CPUs 11-, 12 is provided with a program memory (not shown) that stores an execution program, as well as a local memo IJ 13, 14 that stores data, respectively. There is a shared memory 15 that can be accessed by.
第4a図から第41図には、受光素子ds、dRから出
力される車両の映像信号の例が示されている。4a to 41 show examples of vehicle video signals output from the light receiving elements ds and dR.
セット信号が受光素子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 higher 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)を走行するのに要する時間であるから、
この車両の走行速度■は次式で求められる。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 ■ of this vehicle is determined by the following formula.
ただしKは定数である。However, K is a constant.
検知時間tの間に車両が実際に移動する距離は、車両の
形状、車高などの影響を受は車両ごとに若干異なり、実
際には上記の距離lとは等しくない。The distance that the vehicle actually moves during the detection time t is influenced by the shape of the vehicle, the height of the vehicle, etc., and differs slightly from vehicle to vehicle, and is actually not equal to the above-mentioned distance l.
しかしながら、路面より所要高さだけ上方の位置に検知
面を仮想してこの検知面上で画成S、R間の距離を測り
、かつこの距離を統計的に修正することにより、車両の
走行速度を高精度に測定することが可能である。However, by imagining a sensing surface at a position above the road surface by the required height, measuring the distance between the boundaries 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.
第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を用いて上述の式により走行速
度■を算出する。Then, using this detection time t, the traveling speed (■) is calculated using the above-mentioned formula.
第4c図に示す信号波形は、前部に路面レベルLOより
も低い信号成分Aを含んでいる。The signal waveform shown in FIG. 4c includes a signal component A 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.
この影による信号は、成分Aのように路面レベルLOよ
りも低いレベルを示すが、後部で路面レベルLOよりも
若干高いレベルになることがある。The signal due to this shadow shows a level lower than the road surface level LO like component A, but it 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.
このような現象はあり得ないのでエラーとして処理し、
走行速度算出の基礎となる検知時間は測定されない。Since such a phenomenon is impossible, treat it as an error.
Detection time, which is the basis for calculating running speed, is not measured.
第4f図に示す信号波形は、検出地点Pをバスが通過す
るときに現われる波形で、路面レベルLOから立上って
増大し、ピークに達したときにこのピーク・レベルが増
加も減少もせずに平坦のまましばらく続き、その後路面
レベルLOまで減少する。The signal waveform shown in Fig. 4f is a waveform that appears when the bus passes the detection point P. It rises from the road surface level LO and increases, and when it reaches its peak, this peak level neither increases nor decreases. It remains flat for a while and then decreases to 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を設定する。Since there are two levels in the equilibrium state as described above, in order to distinguish between these levels, the road surface discrimination 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.
受光素子の出力信号波形の立上りや立下りを検出するた
めlこ、その信号の変化を判定する必要がある。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との偏差Δωと比較される基準の量を偏差基準量
ωOとする。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 ωO.
そして、D t −DO≧ωOであれば増加状態、Dt
−DO≦−ωOであれば減少状態、1Dt−DOI<ω
0であれば平衡状態とする。Then, if D t −DO≧ωO, the state is increased, Dt
If -DO≦-ωO, it is in a decreasing state, 1Dt-DOI<ω
If it is 0, it is considered as an equilibrium state.
このようにして信号の変化がサンプリング周期ごとに判
定される様子が第5図に示されている。FIG. 5 shows how the change in the signal is determined for each sampling period in this manner.
上記においては便宜的に、信号の状態に関係なく前処理
データDOをサンプリング周期ごとに更新しているが、
規定周期という概念を導入してこれをサンプリング周期
の複数倍(たとえば4倍)の時間とし、サンプリング周
期ごとに偏差Δωと基準量ωOとを比較して、偏差Δω
が基準量00以上である場合、または規定周期Tが経過
したときに今回データDtを前処理データDOとして前
処理データを更新することが好ましい。In the above, for convenience, the preprocessed data DO is updated every sampling period regardless of the signal state.
Introducing the concept of a prescribed period, making this a time multiple times (for example, 4 times) the sampling period, and comparing the deviation Δω and the reference amount ωO for each sampling period, and calculating the deviation Δω.
It is preferable to update the preprocessing data by using the current data Dt as the preprocessing data DO when is equal to or greater than 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.
規定周期内にl) t −Do≧ωOであれば増加状態
とみなし、規定周期内にDi−DO≦−ωOであれば減
少状態とみなす。If l) t -Do≧ωO within the prescribed period, it is regarded as an increasing state, and if Di-DO≦−ωO within the 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.
また、規定周期が経過しても1Dt−DOI〈ωOであ
れば平衡状態とみなして、前処理データDOとして今回
データDtを採用する。Further, even if the prescribed period has elapsed, if 1Dt-DOI<ωO, it is regarded as an equilibrium state, and the current data Dt is adopted as the preprocessing data DO.
受光素子の出力映像信号の波形分析処理をCPU11が
実行するために、メモIJ 13 、15に各種のデー
タが記憶される。Various data are stored in the memos IJ 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前処理データDO1偏差Δωおよび路面レ
ベルLOを記憶するエリヤと、セット信号の開始時パタ
ーンを記憶するエリヤとがある。The memory 13 has an area for storing current data Dt preprocessed data DO1 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およびリセット域Hの各受光
素子の出力が路面レベルLOから立上ってまたは立下っ
て所要の変化をし、その後路面のレベルLOで平衡状態
となり、路面レベルLOを保持したまま終了確認時間T
1が経過するまでオンとされる。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 respectively, and the output of each light receiving element in the set area S and reset area H is at the road surface level. The required change is made by rising or falling from LO, and then an equilibrium state is reached at the road surface level LO, and the completion confirmation time T is reached while maintaining the road surface level LO.
It remains on until 1 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 it rises from LO, when it falls, and when it 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 increasing.
再々開始フラグF5は、切断レベn;′L1を基準とし
た検知時間tの計時中であるこ走を示すもので、セット
信号が増加状態で切断−ベルL1を横切ったときにオン
とされ、リセツ・′ト信号が増加状態で切断レベルL1
を横切ったときにオフとされる。The restart flag F5 indicates that the detection time t is being measured based on the disconnection level n;'L1, and is turned on when the set signal crosses the disconnection bell L1 in an increasing state, and the reset signal is turned on.・'When the signal is increasing, the cutting level is L1.
It is considered off when it crosses the
再収集フラグ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. Then, when the reset signal returns to the road surface level LO and the end confirmation time T1 has elapsed, it is turned off.
路面越えフラグF1は、セット信号が最初立下って路面
レベルLOよりも低いレベルになり、その後路面レベル
LOを越えたときにセットされ、セット信号が路面レベ
ルLOを越えたことを記憶するものである。The road surface crossing flag F1 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.
このフラグF1は、リセット信号が同じように路面レベ
ルLOを越えたときにオフとされる。This flag F1 is similarly turned off when the reset signal 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.
さらにメモリ13の所定のエリヤは、車両速度カウンタ
C1、再車両速度カウンタC2および杉了後時間カウン
タC3として用いられている。Further, predetermined areas of the memory 13 are used as a vehicle speed counter C1, a vehicle speed counter C2, and a time after completion 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 rises from the road surface level LO and crosses the road surface level LO in a 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.
これらの両カウンタ(1,C2は説明の便宜上2個設け
られているかのように表現されているが、1つのエリヤ
を両カウンタC1,C2で兼用してもよい。Although both of these counters (1 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台ずつ設けられるが説明の簡略化のためにC
3で代表する。This counter C3 is provided one each for a set signal and a reset signal, but for simplicity of explanation, C3 is provided for each set signal and reset signal.
Represented by 3.
カウンタC3は、セット信号フラグFl(リセット信号
フラグF11)がオンであってかつセット信号一時終了
フラグF 2 (IJセット信号一時終了フラグF12
)がオフの場合に、セット信号(リセット信号)が平衡
状態で路面レベルLOに達したときにクリヤされ、この
時点から計時動作を開始する。Counter C3 indicates that the set signal flag Fl (reset signal flag F11) is on and the set signal temporary end flag F2 (IJ set signal temporary end flag F12) is on.
) 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 Amplifier 6) The level may temporarily become 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 vehicle counters C1 and C2 when counting the vehicle with the slowest expected speed.
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 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がオンとなったときに、CPUI2は
メモリ15の速度データ・エリヤ内に記憶されている速
度データを取込む。When this flag F15 is turned on, the CPU 2 reads the speed data stored in the speed data area of the 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.
CPU12が選定した終了確認時間T1を共有メモリ1
5に転送すると、このフラグF16がオンとされる。The end confirmation time T1 selected by the CPU 12 is stored in the shared memory 1.
5, 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の内容
を転送して速度データを記憶する速度データ・エリヤ、
およびリセット信号の波形の変化の状態を記憶するパタ
ーン記憶エリヤが設けられている。Furthermore, the memory 15 includes a speed data area for storing speed data by transferring the contents of 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図はCPU11によるセット信号の波形分析処理の
手順を示している。FIG. 6 shows the procedure of waveform analysis processing of the set signal by the CPU 11.
この処理は、4.8msごとに実行される。This process is executed every 4.8ms.
まず、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が切断レベルト1以上であるかどうかをみる(
ステップ25)。Next, check whether the deviation Δω is increasing or decreasing by checking whether it is increasing or decreasing (step 24), and if it is increasing, check whether the current data Dt is greater than or equal to the cutting level 1 (step 24).
Step 25).
今回データDtが切断レベルト1以上であれば、再収集
フラグF6がオンになっているかどうかをみる(ステッ
プ26)。If the current data Dt is the cutting level 1 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が切断レベルト1以上であって(ステッ
プ25でYES)、両フラグF6 、F5がともにオフ
のときには、セット信号が立上って増加していってはじ
めて切断レベルL1を越えたのであるから(第4b図参
照)、再々開始フラグF5をオンとしくステップ28)
再車両速度カウンタC2をクリヤする(ステップ29)
。This time, when the data Dt is above the disconnection level 1 (YES in step 25) and both flags F6 and F5 are off, the set signal rises and increases until it exceeds the disconnection level L1. (see Figure 4b), turn on the re-start flag F5 (step 28)
Clear vehicle speed counter C2 again (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)。This is because the change state of the set signal is increase or decrease (YES in step 22).
セット信号フラグF1がオフであればセット信号が立上
りまたは立下りを開始したことを意味する。If the set signal flag F1 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 preprocessing data is updated using the current data Dt as the preprocessing data DO (step 38), and the process ends.
セット信号フラグF1が既にオンになっている場合には
(ステップ30でNO)、増加か減少かをみて(ステッ
プ40)、増加であれば第4C図、第4d図および第4
h図の波形のように路面レベル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
There are cases where the waveform crosses the road surface level LO as shown in the waveform in figure h, so to check this, it is checked whether the change pattern at the start is decreasing (step 41).
開始時パターンが減少の場合には、開始時においては影
による信号成分A、Bのように路面レベルLOから立下
っており、その後増加した(ステップ40でYES)と
考えられるので、信号レベルが車両確認レベルL2を超
えているかどうかを調べるために今回データDtから路
面レベルLOを差引いて路面レベルLOとの偏差Δω1
を求める(ステップ42)。If the pattern at the start is decreasing, it is considered that the signal components A and B due to shadows have fallen from the road surface level LO at the start, and have increased since then (YES at step 40), so the signal level is In order to check whether the vehicle confirmation level L2 is exceeded, the road surface level LO is subtracted from the current data Dt and the deviation from the road surface level LO is calculated by Δω1.
(Step 42).
そして、この偏差Δω1と確認レベルL2とを比較して
(ステップ43)、偏差Δω1がレベルL2以上であれ
ば、セット信号が路面レベル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 the level L2, 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 reached 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に移る3ステツプ47では
、セット信号一時終了フラグF2がオンかどうかをみる
。When the prescribed period is used as a reference, if the balance is found at each period, the process proceeds to step 47.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 vehicle is in a peak level equilibrium state as shown in FIG. 4f, or the vehicle is not being detected and the road surface level LO is in an equilibrium state.
そこで、セット信号フラグ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.
そこで今回データ1)tを路面識別レベルL3と比較す
る(ステップ49)、今回データDtがレベル孔3以上
であればステップ38に移る。Therefore, the current data 1) t is compared with the road surface identification level L3 (step 49), and if the current data Dt is equal to or higher than level hole 3, the process moves to step 38.
今回データDtがレベルL3未満の場合には丁度路面レ
ベルLOに達したのであるから、セット信号一時終了フ
ラグF2をオンとしくステップ50)、終了後時間カウ
ンタC3をクリヤして、このカウンタC3による終了後
経過時間の計時開始に備える(ステップ51)。If the data Dt is less than the level L3 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 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 termination flag F2 is on (YES in step 47), the contents of the after-completion time counter C3 are incremented by 1 to measure the time (step 52), and the contents of this counter C3 and the termination 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図はCPUIIによるリセット信号の波形分析処理
手順を示している。FIG. 7 shows the waveform analysis processing procedure of the reset signal by the CPU II.
この処理も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をクリ
ヤする(ステップ10)。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 10).
以上の車両速度計数処理ののち、今回データ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)、増加か減少かを判定する(
ステップ14)。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 14).
増加であればさらに今回データ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が切断レベル孔1以上でかつ再々開始フ
ラグF5がオンの場合には、このときにリセット信号が
切断レベルL1に達したのであるから、車両速度の計数
を終了させるために再々開始フラグF5をオフとしくス
テツブ11)、再収集フラグF6をオンとする(ステッ
プ78)(第4b図参照)。If the current data Dt is equal to or higher than cutting level hole 1 and the re-start flag F5 is on, the reset signal has reached the cut-off level L1 at this time, so the re-start flag is flagged in order to finish counting the vehicle speed. F5 is turned off (step 11), 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.
リセット信号は増加または減少状態なのであるから、リ
セット信号フラグF11がオフであれば、路面レベルL
Oからはじめて立上りまたは立下った時点である。Since the reset signal is in an increasing or decreasing state, if the reset signal flag F11 is off, the road surface level L
This is the time when the signal rises or falls from O for the first time.
したがって、リセット信号フラグFilおよびリセット
信号開始フラグF14をそれぞれオンとしくステップ8
L82)、そのときの前処理データDOを路面レベルL
Oとして記憶する(ステップ83)。Therefore, in step 8, the reset signal flag Fil and the reset signal start flag F14 are respectively turned on.
L82), the preprocessing data DO at that time is set to the road surface level L.
It is stored as O (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および路面越えフラグFTをそ
れぞれオフとして(ステップ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 FT 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, turn off the reset signal start flag F14 (
In step 90), changes in the waveform are 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 process ends.
ステップ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 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の速度データ
・エリヤにとりあえず転送しておく。Then, if this flag F3 is on, flag F3
, F4, and F7 are turned off (steps 86 to 8).
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図)、セット信号は既に路面レベルL
Oを横切っており、検知時間tの計時中なのであるから
ステップ86〜89の処理をすることなくステップ90
に進む。If the road surface crossing flag F7 is on (YES in step 95) (Figure 4h), the set signal is already at the road surface level L.
0, and the detection time t is being counted, so the processing in steps 86 to 89 is not performed and step 90 is performed.
Proceed to.
ステップ80でリセット信号フラグF11が既にオンの
場合には、リセット信号は既に立上りまたは立下って継
続している。If the reset signal flag F11 is already on in step 80, the reset signal has already risen or fallen and continues.
そこで、偏差Δωの正負により増加状態にあるのか、減
少状態にあるのかを調べ(ステップ91)、増加であれ
ば路面レベルLOを横切ったかどうかを調べるために今
回データDtと路面レベルLOとの差Δω1を求め(ス
テップ98)、この差Δω1が車両確認レベルL2以上
かどうかをみる(ステップ99)。Therefore, it is checked whether it is in an increasing state or a decreasing state depending on the sign of the deviation Δω (step 91), 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 L2 (step 99).
差Δω1がレベルL2以上であれば、さらにセット信号
開始フラグF3がオンかどうかをみて(ステップ100
)、このフラグF3がオンであればデータ異常フラグF
13をオフとして(ステップ101)(第4d図参照)
、ステップ86に進む。If the difference Δω1 is equal to or higher than the level L2, 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, and F7 are turned off, and the detection time t(
The contents of counter C1) are transferred to the speed data area of memory 15 (see Figures 4c, 4d and 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)cこのフラグFilがオフであれば路面
を検知しているのであるからただちにステップ91に移
る。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, check whether the reset signal flag F11 is on (step 103)c If this flag Fil is off, it means that the road surface is being detected, so immediately proceed to step 91. Move.
リセット信号フラグF11がオンの場合には丁度路面レ
ベルLOに達して平衡になった可能性があるから、今回
データDtを路面識別レベルL3と比較して(ステップ
104)、今回データDtがレベル孔3未満であれば路
面レベル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 reached. Therefore, the current data Dt is compared with the road surface identification level L3 (step 104), and the current data Dt is determined to be the level hole. If it is less than 3, it is assumed that the road surface level has returned to LO, the reset signal temporary end flag F12 is turned on (step 105), the counter C3 is cleared to measure the time after the end (step 106), and the process returns to step 91. Move.
ステップ104でYESの場合にはピーク・レベルにお
ける平衡状態として(第4f図参照)、そのまオステッ
プ91に移る。If YES in step 104, the process directly proceeds to step 91 as an equilibrium state at the peak level (see FIG. 4f).
リセット信号一時終了フラグF12がオンの場合には(
ステップ102でYES)、終了後時間カウンタC3の
内容に+1して時間を計時しくステップ107)、カウ
ンタC3の内容が終了確認時間T1に達したかどうかを
みる(ステップ108)。If the reset signal temporary end flag F12 is on, (
YES in step 102), the contents of the after-end time counter C3 are incremented by 1 to time the time (step 107), and 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 and 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がオンであれば、メモリ
15の速度データ・エリ・ヤから測定された検知時間デ
ータを取込んで所要の処理、たとえば車両速度の算出、
渋滞度の算出などを行なう。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 15 and performs necessary processing, e.g. Calculation of vehicle speed,
Performs calculations of congestion levels, etc.
CPU12は、メモリ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.
また、上述の偏差基準量ωOとして、昼間用の偏差基準
量ω01と夜間用の偏差基準量ω02とを用意しておく
。Further, as the above-mentioned deviation reference amount ωO, a daytime deviation reference amount ω01 and a nighttime deviation reference amount ω02 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 can be determined in the 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
.に)2はメモ1月5にあらかじめ記憶されている(図
示路)。Day/night discrimination reference level L4 and day/night deviation reference amount ω01
.. 2) is pre-stored in Memo January 5 (Illustrated path).
まず、路面レベルLOと基準レベルL4とを比較して(
ステップ201)、路面レベルLOが基準レベルL4以
上であれば偏差基準量として昼間用の偏差基準量ω01
をメモリ15の偏差基準量エリヤにセットする(ステッ
プ202)。First, compare the road surface level LO and the reference level L4 (
Step 201), if the road surface level LO is equal to or higher than the reference level L4, 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に達していなければ夜
間用の偏差基準量o)02をセットする(ステップ20
3)。If the road surface level LO has not reached the reference level L4, a night deviation reference amount o)02 is set (step 20).
3).
この処理は適描な時間間隔で行なえばよい。This process may be performed at appropriate time intervals.
第41図は、幌がかけられたトラックを検知した場合の
信号波形を示している。FIG. 41 shows a signal waveform when a covered truck is detected.
幌は光を吸収してあまり反射しないから、検知信号は路
面レベルLOから立下って路面レベルLOよりも低くな
る。Since the hood absorbs light and does not reflect much light, the detection signal falls from the road surface level LO and becomes lower than the road surface level LO.
このような信号についても上述した処理により、セット
信号の立下りの時点からリセット信号の立下りの時点ま
でが検知時間tとして測定される。With respect to such a signal as well, by the above-described processing, the period from the falling edge of the set signal to the falling edge of the reset signal is measured as the detection time t.
幌をかけたトラックの場合、第41図に示す波形ではな
く、検知信号のはじめの部分で路面レベルLOから立上
って路面レベルLOよりも高いレベルを示す成分があら
れれることがある。In the case of a covered truck, there may be a component that rises from the road surface level LO and exhibits a higher level than the road surface level LO at the beginning of the detection signal, instead of the waveform shown in FIG.
この場合には、信号ははじめに立上るから通常の車両と
同じように、セット信号の立上りからリセット信号の立
上りまでが検知時間tとして測定されるのはいうまでも
ない。In this case, since the signal rises first, it goes without saying that the period from the rise of the set signal to the rise of the reset signal is measured as the detection time t, as in a normal vehicle.
なお、隣接する車線を走行する車両の影が測定車線を通
過していった場合にも第41図のように、路面レベルL
Oよりも低いレベルの信号が検知されるが、幌トラック
の場合には第41図に示すように最も低いレベルで増減
を繰返えすのに対して、影の場合には平衡状態に保たれ
るので、信号波形のパターンを判別することにより、影
と幌トラックとを区別することができる。Note that even when the shadow of a vehicle traveling in an adjacent lane passes through the measurement lane, the road surface level L
A signal at a level lower than O is detected, but in the case of a covered truck, the signal increases and decreases repeatedly at the lowest level, as shown in Figure 41, whereas in the case of a shadow, it is kept in an equilibrium state. Therefore, by determining the pattern of the signal waveform, it is possible to distinguish between the shadow and the hood truck.
以上詳細に説明したようにこの発明によれば、車両速度
検出地点に所要距離をおいてセット域とリセット域とを
設け、これらの各板を通過する車両の映像信号を所定周
期ごとにサンプリングしてそれぞれ今回データとし、今
回データとそれ以前の所定の基準データとの偏差をそれ
ぞれ求め、この偏差と所定の基準量とを比較して偏差が
基準量以上かどうかをそれぞれ判定している。As explained in detail above, according to the present invention, a set area and a reset area are provided at a required distance from the vehicle speed detection point, and the video signal of the vehicle passing through each of these plates is sampled at predetermined intervals. Each of the current data is taken as current data, the deviation between the current data and previous predetermined reference data is determined, and this deviation is compared with a predetermined reference amount to determine whether the deviation is greater than or equal to the reference amount.
偏差が基準量以上ということは映像信号が増加または減
少していることを意味し、偏差がはじめて基準量以上に
なったときを映像信号の立上りまたは立下りとしている
。The fact that the deviation is greater than or equal to the reference amount means that the video signal is increasing or decreasing, and the first time the deviation exceeds the reference amount is defined as the rising or falling edge of the video signal.
すなわち、この発明では偏差と基準量との比較処理によ
って立上りおよび立下りの両方を検出している。That is, in the present invention, both the rising edge and the falling edge are detected by comparing the deviation with the reference amount.
このことにより、信号レベルが路面レベルよりも高くな
る通常の車両がセット、リセット域に進入したことのみ
ならず、信号レベルが路面レベルよりも低くなる幌がか
けられたトラックが各板に進入したことも検出でき、こ
れら両方の車両の走行速度を測定することができる。This not only caused normal vehicles, whose signal level was higher than road level, to enter the set and reset areas, but also covered trucks, whose signal level was lower than road level, entered each board. It is also possible to detect this and measure the traveling speed of both vehicles.
さらにこの発明では、偏差が基準量未満となりかつその
ときの今回データが所定の路面識別レベル以下の値であ
る時点から計時を開始し、サンプリングごとの偏差が基
準量未満であり続ける時間が所定の終了確認時間を超え
たことにより車両が通過したことを確認している。Furthermore, in this invention, time measurement is started from the point in time when the deviation becomes less than the reference amount and the current data at that time is a value below a predetermined road surface identification level, and the time during which the deviation for each sampling continues to be less than the reference amount is determined by the predetermined amount. It is confirmed that the vehicle has passed by exceeding the end confirmation time.
そして車両通過を確認したのちに、検知時間を用いて車
両の走行速度を算出しているから、相前後する車両に影
響されない正確な測定が可能となっている。After confirming that a vehicle has passed, the vehicle's running speed is calculated using the detection time, making it possible to make accurate measurements that are not affected by vehicles that precede or precede one another.
第1図は交通流計測装置のカメラの設置状態を示す図、
第2図は検出地点の拡大図、第3図は上記カメラの内部
および処理装置を示す構成およびブロック図、第4図は
映像信号波形および各フラグの状態を示すタイム・チャ
ート、第5図は波形パターンの検出を示す説明図、第6
図はセット信号処理の手順を示すフロー・チャート、第
7図はリセット信号処理の手順を示すフロー・チャート
、第8図は昼間と夜間との識別処理の手順を示すフロー
・チャートである。
p、pi〜P6・・・・・・検出地点、S・・・・・・
セット域、R・・・・・・リセット域、ds1〜dR6
・・・・・・受光素子、t・・・・・・検知時間、LO
・・・・・・路面レベル、T1・・・・・・終了確認時
間。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 area, R...Reset area, ds1 to dR6
......Photodetector, t...Detection time, LO
... Road surface level, T1 ... Completion confirmation time.
Claims (1)
セット域とを設け、これらの各板を通過する車両の映像
信号を所定周期ごとにサンプリングしてそれぞれ今回デ
ータとする、 今回データとそれ以前の所定の基準データとの偏差をそ
れぞれ求める、 この偏差と所定の基準量とを比較して偏差が基準量以上
かどうかをそれぞれ判定する、 セット域において偏差が基準量以上になった時点からリ
セット域において偏差が基準量以上になった時点までの
時間を検知時間として計時する、セット域またはリセッ
ト域のいずれか一方において偏差が基準量未満となりか
つそのときの今回データが所定の路面識別レベル以下の
値である時点から計時を開始し、サンプリングごとの偏
差が基準量未満であり続ける時間が所定の終了確認時間
を超えたことを確認する、そして この確認後、上記の検知時間を用いて車両の走行速度を
算出する、 車両速度測定方法。[Claims] 1. A set area and a reset area are provided at a required distance from the vehicle speed detection point, and video signals of the vehicle passing through each of these plates are sampled at predetermined intervals and used as current data. , Find the deviation between the current data and the previous predetermined reference data, Compare this deviation with a predetermined reference amount and determine whether the deviation is greater than or equal to the reference amount, If the deviation is greater than or equal to the reference amount in the set range The time from when the deviation becomes equal to or greater than the reference amount in the reset area is measured as the detection time.The current data at that time is the time when the deviation becomes less than the reference amount in either the set area or the reset area. Start timing from a point in time when the value is below a predetermined road surface discrimination level, and confirm that the time during which the deviation for each sampling continues to be less than the reference amount has exceeded the predetermined end confirmation time, and after this confirmation, the above A vehicle speed measurement method that calculates the vehicle speed using detection time.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14010680A JPS5911960B2 (en) | 1980-10-06 | 1980-10-06 | Vehicle speed measurement method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14010680A JPS5911960B2 (en) | 1980-10-06 | 1980-10-06 | Vehicle speed measurement method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5764898A JPS5764898A (en) | 1982-04-20 |
| JPS5911960B2 true JPS5911960B2 (en) | 1984-03-19 |
Family
ID=15261069
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP14010680A Expired JPS5911960B2 (en) | 1980-10-06 | 1980-10-06 | Vehicle speed measurement method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5911960B2 (en) |
-
1980
- 1980-10-06 JP JP14010680A patent/JPS5911960B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5764898A (en) | 1982-04-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4433325A (en) | Optical vehicle detection system | |
| EP0117497B1 (en) | System and method for detecting driver drowsiness | |
| JP6572930B2 (en) | Information processing apparatus and information processing system | |
| US6023653A (en) | Vehicle position detecting apparatus | |
| CN111127874A (en) | Overhead identification method and identification system | |
| JP2019164840A (en) | Information processor and information processing system | |
| JPS5911960B2 (en) | Vehicle speed measurement method | |
| JPS5939799B2 (en) | Nighttime signal processing method for traffic flow measurement equipment | |
| CA2550862A1 (en) | Vehicle speed determination system and method | |
| JPS6235158B2 (en) | ||
| JPS5843798B2 (en) | How to process vehicle signals that include shadows | |
| JP2021033791A (en) | Arithmetic unit | |
| JP6905562B2 (en) | Toll collection system, processing method and program by toll collection system | |
| JPH04123199A (en) | Parking lot congestion state discriminator | |
| JPS6235159B2 (en) | ||
| JPS5911958B2 (en) | How to determine the end of vehicle signal waveform | |
| JPS5938640B2 (en) | Vehicle group speed measurement method | |
| CN119625983B (en) | A method for detecting continuous lane changes by vehicles | |
| CN116737742B (en) | Point cloud map updating method and device and electronic equipment | |
| JP3049974B2 (en) | Traffic volume measuring device and traffic volume measuring method | |
| CN121708760A (en) | Obstacle detection methods, devices, equipment, and media based on fiber optic sensor networks | |
| JP2571814B2 (en) | Image processing type traffic flow measurement system | |
| JPS6077297A (en) | Stopped vehicle detection system | |
| JPS607364A (en) | Method of confirming vehicle to be measured in measurement of vehicle running speed | |
| JP2024094579A (en) | Snowfall Estimation System |