JP2805523B2 - Instability detection device for distance sensor - Google Patents

Instability detection device for distance sensor

Info

Publication number
JP2805523B2
JP2805523B2 JP2111835A JP11183590A JP2805523B2 JP 2805523 B2 JP2805523 B2 JP 2805523B2 JP 2111835 A JP2111835 A JP 2111835A JP 11183590 A JP11183590 A JP 11183590A JP 2805523 B2 JP2805523 B2 JP 2805523B2
Authority
JP
Japan
Prior art keywords
output
distance sensor
comparison circuit
circuit
unstable operation
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 - Lifetime
Application number
JP2111835A
Other languages
Japanese (ja)
Other versions
JPH0412288A (en
Inventor
洋一郎 植村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Koyo Electronics Industries Co Ltd
Original Assignee
Koyo Electronics Industries Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Koyo Electronics Industries Co Ltd filed Critical Koyo Electronics Industries Co Ltd
Priority to JP2111835A priority Critical patent/JP2805523B2/en
Publication of JPH0412288A publication Critical patent/JPH0412288A/en
Application granted granted Critical
Publication of JP2805523B2 publication Critical patent/JP2805523B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Optical Radar Systems And Details Thereof (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は例えば光電スイッチ等の距離センサの不安
定動作検出装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a device for detecting unstable operation of a distance sensor such as a photoelectric switch.

[従来の技術及び発明が解決しようとする課題] 従来の近接スイッチは被検出物が所定の位置に到達し
ているどうかを検出するのみであり、被検出物の移動又
は近接スイッチの動作が正常に機能しているかどうかを
検出することはできず、測定不能状態になって初めて正
常に動作していないことが分かるというものであった。
[Problems to be Solved by the Related Art and the Invention] The conventional proximity switch only detects whether the detected object has reached a predetermined position, and the movement of the detected object or the operation of the proximity switch is normal. It was not possible to detect whether or not it was functioning properly, and it was not possible to determine that it was not operating properly until the measurement became impossible.

しかしながら、実際の設備等においては測定不能状態
になる前にその傾向を把握したいという要請があった
が、そのような要請に応える技術はなかった。
However, there has been a request to grasp the tendency before the measurement becomes impossible in an actual facility or the like, but there is no technology that can meet such a request.

この発明は、このような要請に応えるためになされた
ものであり、距離センサの不安定動作状態を検出するこ
とを可能にした距離センサの不安定動作検出装置を提供
することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in order to meet such a demand, and has as its object to provide an unstable operation detection device for a distance sensor that can detect an unstable operation state of the distance sensor.

[課題を解決するための手段] この発明に係る距離センサの不安定動作検出装置は、
距離センサが近接スイッチとして動作する所定の基準位
置に相当する基準値と距離センサの出力とを比較する比
較回路と、所定の基準位置より距離センサから遠ざかる
側に位置する第1の基準位置に相当する第1の基準値と
距離センサの出力とを比較する第1の比較回路と、所定
の基準位置より距離センサ側に位置する第2の基準位置
に相当する第2の基準値と距離センサの出力とを比較す
る第2の比較回路とを有する。更に、第1の比較回路の
出力をラッチし、第2の比較回路の出力によりラッチを
解除する第1のラッチ回路と、この第1のラッチ回路の
出力と比較回路の出力に基づいて不安定動作を検出する
第1の不安定動作検出回路とを有する。
[Means for Solving the Problems] An unstable operation detecting device for a distance sensor according to the present invention comprises:
A comparison circuit that compares a reference value corresponding to a predetermined reference position where the distance sensor operates as a proximity switch with an output of the distance sensor, and a first reference position that is located on a side farther from the distance sensor than the predetermined reference position A first comparison circuit for comparing the first reference value to be output with the output of the distance sensor; a second reference value corresponding to a second reference position located closer to the distance sensor than a predetermined reference position; A second comparison circuit for comparing the output with the output. Furthermore, a first latch circuit that latches the output of the first comparison circuit and releases the latch by the output of the second comparison circuit, and is unstable based on the output of the first latch circuit and the output of the comparison circuit. A first unstable operation detection circuit for detecting an operation.

また、この発明に係る距離センサの不安定動作検出装
置は、上記の第1のラッチ回路及び第1の不安定動作検
出回路に代えて或いはそれらと共に、第2の比較回路の
出力をラッチし、第1の比較回路の出力によりそのラッ
チを解除する第2のラッチ回路と、この第2のラッチ回
路の出力と比較回路の出力に基づいて不安定動作を検出
する第2の不安定動作検出回路とを有する。
Further, the unstable operation detecting device for a distance sensor according to the present invention latches the output of the second comparing circuit instead of or together with the first latch circuit and the first unstable operation detecting circuit, A second latch circuit for releasing the latch by the output of the first comparison circuit, and a second unstable operation detection circuit for detecting an unstable operation based on the output of the second latch circuit and the output of the comparison circuit And

[作 用] この発明においては、第1の基準位置を通過せずに所
定の基準位置を通過すると第1の不安定動作検出回路は
その不安定動作を検出する。また、第2の基準位置を通
過せずに所定の基準位置を通過すると第2の不安定動作
検出回路はその不安定動作を検出する。
[Operation] In the present invention, when the vehicle passes a predetermined reference position without passing through the first reference position, the first unstable operation detection circuit detects the unstable operation. When the vehicle passes a predetermined reference position without passing through the second reference position, the second unstable operation detection circuit detects the unstable operation.

[実施例] 第1図はこの発明の一実施例に係る距離センサの不安
定動作検出装置の構成を示すブロック図である。図にお
いて、(10)は被検出物であり、図示のように往復動す
るものとする。(20)は光距離センサ群であり、被検出
物(10)との距離に反比例したレベルの信号を出力す
る。(21)は比較回路であり、比較回路(22)〜(24)
から構成されている。比較回路(22)は被検出物(10)
が位置(12)にあるときの光距離センサ(20)の出力に
相当する基準値TH1と光距離センサ(20)の出力とを比
較して出力する。比較回路(23)は被検出物(10)が位
置(11)(光距離センサが近接スイッチとして動作すべ
き位置)にあるときの光距離センサ(20)の出力に相当
する基準値THと光距離センサ(20)の出力とを比較して
出力する。この光距離センサ(20)と比較回路(23)の
組み合わせは通常の光電スイッチを構成する。
FIG. 1 is a block diagram showing a configuration of an apparatus for detecting unstable operation of a distance sensor according to an embodiment of the present invention. In the figure, reference numeral (10) denotes an object to be detected, which reciprocates as shown. An optical distance sensor group (20) outputs a signal having a level inversely proportional to the distance to the object (10). (21) is a comparison circuit, and the comparison circuits (22) to (24)
It is composed of The comparison circuit (22) is the object to be detected (10)
Is compared with the output of the optical distance sensor (20) and the reference value TH1 corresponding to the output of the optical distance sensor (20) at the position (12). The comparison circuit (23) outputs a reference value TH and an optical signal corresponding to the output of the optical distance sensor (20) when the object (10) is at the position (11) (the position at which the optical distance sensor should operate as a proximity switch). The output is compared with the output of the distance sensor (20). The combination of the optical distance sensor (20) and the comparison circuit (23) constitutes a normal photoelectric switch.

比較回路(24)は被検出物(10)が位置(13)にある
ときの光距離センサ(20)の出力に相当する基準値TH2
と光距離センサ(20)の出力とを比較して出力する。こ
こで、位置(11)と(12)との間の領域(14)及び位置
(11)と(13)との間の領域(15)はそれぞれ不安定領
域に相当するものとする。
The comparison circuit (24) has a reference value TH2 corresponding to the output of the optical distance sensor (20) when the object (10) is at the position (13).
And the output of the optical distance sensor (20). Here, it is assumed that the area (14) between the positions (11) and (12) and the area (15) between the positions (11) and (13) correspond to unstable areas, respectively.

(30)は不安定動作検出回路であり、D型フリップフ
ロップ回路(以下FFという)(31)〜(34)及びインバ
ータ(35)から構成されている。
Reference numeral (30) denotes an unstable operation detection circuit, which comprises a D-type flip-flop circuit (hereinafter referred to as FF) (31) to (34) and an inverter (35).

第2図は第1図の装置の動作を示すタイミングチャー
トであり、この図に基づいて動作説明をする。
FIG. 2 is a timing chart showing the operation of the apparatus shown in FIG. 1. The operation will be described with reference to FIG.

最初に、被検出物(10)が不安定領域(14),(15)
を越えて移動し、正常に動作している場合について説明
する。例えば被検出物(10)が光距離センサ(20)の方
向に向かって移動して位置(12)を通過すると、比較回
路(22)の出力P1はHになり、これがFF(31)のクロッ
ク端子に入力してその出力(1Q)もHになる。被検出物
(10)が更に移動して位置(11)を通過すると、比較回
路(23)の出力PもHになり、これはFF(32)のクロッ
ク端子に入力してその出力(2Q)もHになる。その後、
被検出物が更に移動して位置(13)を通過すると、比較
回路(24)の出力P2はLになりFF(31)をクリアするの
でその出力(1Q)はLになる。
First, the object (10) is in the unstable region (14), (15)
A case in which the user moves beyond the above and is operating normally will be described. For example, when the object (10) moves toward the optical distance sensor (20) and passes through the position (12), the output P1 of the comparison circuit (22) becomes H, which is the clock of the FF (31). Input to the terminal and its output (1Q) also goes high. When the object (10) further moves and passes through the position (11), the output P of the comparison circuit (23) also becomes H, which is input to the clock terminal of the FF (32) and its output (2Q) Also becomes H. afterwards,
When the object moves further and passes the position (13), the output P2 of the comparison circuit (24) becomes L and clears FF (31), so that the output (1Q) becomes L.

被検出物(10)が今度は逆方向に移動して位置(13)
を再び通過すると、比較回路(24)の出力P2はHにな
り、これはFF(33)のクロック端子に入力してその出力
(3Q)はHになる。被検出物(10)が更に移動して位置
(11)を通過すると比較回路(23)の出力PがLにな
り、これはインバータ(35)を介してFF(34)のクロッ
ク端子に入力する。このときのFF(34)の入力である
(3Q)はHであり、FF(34)の出力(4Q)はHを保持す
る。被検出物(10)が更に移動して位置(12)を通過す
ると比較回路(22)の出力P1はLになりFF(34)をクリ
アしてその出力(3Q)をLにする。
The object to be detected (10) moves in the opposite direction this time to position (13)
Again, the output P2 of the comparison circuit (24) goes high, which is input to the clock terminal of the FF (33) and its output (3Q) goes high. When the object (10) further moves and passes through the position (11), the output P of the comparison circuit (23) becomes L, which is input to the clock terminal of the FF (34) via the inverter (35). . At this time, the input (3Q) of the FF (34) is H, and the output (4Q) of the FF (34) holds H. When the object (10) further moves and passes through the position (12), the output P1 of the comparison circuit (22) becomes L, clears the FF (34) and makes its output (3Q) L.

以上のようにして被検出物が(10)が光距離センサ
(20)に向かった場合には位置(12)を通過したことを
FF(31)によりラッチし、そのラッチ状態下でFF(32)
が位置(11)に相当する信号を入力したときに正常であ
ると判断している。また、逆に被検出物(10)が光距離
センサ(20)から離れていく場合には位置(13)を通過
したことをFF(33)によりラッチし、そのラッチ状態下
でFF(34)が位置(11)に相当する信号を入力したとき
に正常であると判断している。
As described above, when the object to be detected has passed through the position (12) when the object (10) is directed to the optical distance sensor (20).
Latched by FF (31), FF (32)
Is determined to be normal when a signal corresponding to the position (11) is input. Conversely, when the object (10) moves away from the optical distance sensor (20), the fact that the object (10) has passed the position (13) is latched by the FF (33). Is determined to be normal when a signal corresponding to the position (11) is input.

次に、被検出物(10)が不安定領域(14),(15)内
で移動した場合についての動作を説明する。
Next, the operation when the object to be detected (10) moves within the unstable regions (14) and (15) will be described.

第2図に光距離センサ(20)の出力の符号Aを付した
部分について着目すると、位置(11)を横切った後に位
置(12)に到達せずに再び位置(11)を横切ると、FF
(31)の出力(1Q)はLのままであり、この状態で比較
回路(23)の出力PがFF(32)のクロック端子に入力す
るとその出力(2Q)はLになり、被検出物(10)が不安
定領域(14)内で動作していることが検出される。
Focusing on the portion of the output of the optical distance sensor (20) denoted by the symbol A in FIG. 2, if the vehicle crosses the position (11) again without arriving at the position (12) after crossing the position (11), FF
The output (1Q) of (31) remains L. If the output P of the comparison circuit (23) is input to the clock terminal of FF (32) in this state, the output (2Q) becomes L, It is detected that (10) is operating in the unstable region (14).

また、第2図に光距離センサ(20)の出力の符号Bを
付した部分について着目すると、位置(11)を横切った
後に位置(13)に到達せずに再び位置(11)を横切る
と、FF(33)の出力(3Q)はLのままであり、この状態
で比較回路(23)の出力Pがインバータ(35)を介して
FF(34)のクロック端子に入力するとその出力(4Q)は
Lになり、被検出物(10)が不安定領域(15)内で動作
していることが検出される。
Focusing on the portion of the output of the optical distance sensor (20) denoted by the reference symbol B in FIG. 2, if the vehicle crosses the position (11) without reaching the position (13) after crossing the position (11), , FF (33) remain at L level, and in this state, the output P of the comparison circuit (23) is output via the inverter (35).
When input to the clock terminal of the FF (34), its output (4Q) becomes L, and it is detected that the object (10) is operating in the unstable region (15).

また、FF(32)の出力(2Q)及びFF(34)の出力(4
Q)にそれぞれカウンタ(図示せず)を接続して不安定
領域(14),(15)における動作回数を計数することに
よりその頻度を把握するようにしてもよい。
The output of FF (32) (2Q) and the output of FF (34) (4
A counter (not shown) may be connected to each of Q) and the number of operations in the unstable regions (14) and (15) may be counted to determine the frequency.

なお、上述の実施例においては被検出物の移動範囲に
着目して説明したが、例えば光距離センサ(20)の光学
系に故障に至らない異常があった場合、例えばレンズ等
が汚れている或いは光量が少なくなった場合においても
同様に動作し、被検出物又は距離センサのいずれかに異
常があればその異常を検出することができる。
In the above-described embodiment, the description has been made by focusing on the movement range of the detection target. However, for example, when there is an abnormality in the optical system of the optical distance sensor (20) that does not cause a failure, for example, the lens is dirty. Alternatively, the same operation is performed even when the amount of light is small, and if there is an abnormality in either the object to be detected or the distance sensor, the abnormality can be detected.

[発明の効果] 以上のようにこの発明によれば、第1の基準位置又は
第2の基準位置を通過せずに所定の基準位置を通過する
と第1の不安定動作検出回路又は第2の不安定動作検出
回路によりその不安定動作を検出するようにしたので、
単に位置を検出するだけでなく、不安定動作を検出する
ことができ、このため被検出物又は距離センサのいずれ
かに異常又はその傾向があればそれを検出することがで
き、しかもその異常は光量等の検出量が多い為か、少な
い為かの把握も可能である。
[Effects of the Invention] As described above, according to the present invention, when the vehicle passes a predetermined reference position without passing through the first reference position or the second reference position, the first unstable operation detection circuit or the second Since the unstable operation is detected by the unstable operation detection circuit,
In addition to simply detecting the position, it is possible to detect an unstable operation, so that if any of the object to be detected or the distance sensor is abnormal or has a tendency, it can be detected. It is also possible to grasp whether the detection amount such as the light amount is large or small.

【図面の簡単な説明】[Brief description of the drawings]

第1図はこの発明の一実施例に係る距離センサの不安定
動作検出装置の構成を示すブロック図、第2図はその動
作を示すタイミングチャートである。 図において、(10)は被検出物、(20)は光距離セン
サ、(22)〜(24)は比較回路、(31)〜(34)はFFで
ある。
FIG. 1 is a block diagram showing a configuration of an apparatus for detecting an unstable operation of a distance sensor according to one embodiment of the present invention, and FIG. 2 is a timing chart showing the operation thereof. In the figure, (10) is an object to be detected, (20) is an optical distance sensor, (22) to (24) are comparison circuits, and (31) to (34) are FFs.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G01S 7/00 - 17/95 H03K 17/78 G01R 19/22 - 19/257──────────────────────────────────────────────────続 き Continued on the front page (58) Fields surveyed (Int. Cl. 6 , DB name) G01S 7/00-17/95 H03K 17/78 G01R 19/22-19/257

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】距離センサが近接スイッチとして動作する
所定の基準位置に相当する基準値と距離センサの出力と
を比較する比較回路と、 前記所定の基準位置より距離センサから遠ざかる側に位
置する第1の基準位置に相当する第1の基準値と距離セ
ンサの出力とを比較する第1の比較回路と、 前記所定の基準位置より距離センサ側に位置する第2の
基準位置に相当する第2の基準値と距離センサの出力と
を比較する第2の比較回路と、 前記第1の比較回路の出力をラッチし、前記第2の比較
回路の出力によりそのラッチを解除する第1のラッチ回
路と、 この第1のラッチ回路の出力と前記比較回路の出力に基
づいて不安定動作を検出する第1の不安定動作検出回路
と を有することを特徴とする距離センサの不安定動作検出
装置。
A comparison circuit for comparing a reference value corresponding to a predetermined reference position at which the distance sensor operates as a proximity switch with an output of the distance sensor; and a comparison circuit located farther from the distance sensor than the predetermined reference position. A first comparison circuit for comparing a first reference value corresponding to one reference position with an output of the distance sensor; a second comparison circuit corresponding to a second reference position located closer to the distance sensor than the predetermined reference position; A second comparison circuit for comparing the reference value of the distance with the output of the distance sensor; a first latch circuit for latching the output of the first comparison circuit and releasing the latch by the output of the second comparison circuit And a first unstable operation detection circuit for detecting an unstable operation based on an output of the first latch circuit and an output of the comparison circuit.
【請求項2】前記第1のラッチ回路及び前記第1の不安
定動作検出回路に代えて、 前記第2の比較回路の出力をラッチし、前記第1の比較
回路の出力によりそのラッチを解除する第2のラッチ回
路と、 この第2のラッチ回路の出力と前記比較回路の出力に基
づいて不安定動作を検出する第2の不安定動作検出回路
と を有することを特徴とする請求項1記載の距離センサの
不安定動作検出装置。
2. The method according to claim 1, wherein the output of the second comparison circuit is latched in place of the first latch circuit and the first unstable operation detection circuit, and the latch is released by the output of the first comparison circuit. A second latch circuit for detecting an unstable operation based on an output of the second latch circuit and an output of the comparison circuit. An unstable operation detecting device for the distance sensor according to the above.
【請求項3】前記第2の比較回路の出力をラッチし、前
記第1の比較回路の出力によりそのラッチを解除する第
2のラッチ回路と、 この第2のラッチ回路の出力と前記比較回路の出力に基
づいて不安定動作を検出する第2の不安定動作検出回路
と を有することを特徴とする請求項1記載の距離センサの
不安定動作検出装置。
3. A second latch circuit for latching an output of the second comparison circuit and releasing the latch by an output of the first comparison circuit; and an output of the second latch circuit and the comparison circuit. And a second unstable operation detecting circuit for detecting an unstable operation based on the output of (1).
JP2111835A 1990-05-01 1990-05-01 Instability detection device for distance sensor Expired - Lifetime JP2805523B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2111835A JP2805523B2 (en) 1990-05-01 1990-05-01 Instability detection device for distance sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2111835A JP2805523B2 (en) 1990-05-01 1990-05-01 Instability detection device for distance sensor

Publications (2)

Publication Number Publication Date
JPH0412288A JPH0412288A (en) 1992-01-16
JP2805523B2 true JP2805523B2 (en) 1998-09-30

Family

ID=14571366

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2111835A Expired - Lifetime JP2805523B2 (en) 1990-05-01 1990-05-01 Instability detection device for distance sensor

Country Status (1)

Country Link
JP (1) JP2805523B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1194946A (en) * 1997-07-23 1999-04-09 Denso Corp Obstacle recognition device for vehicle
WO2017013720A1 (en) * 2015-07-17 2017-01-26 楽天株式会社 Reference line setting device, reference line setting method, and reference line setting program

Also Published As

Publication number Publication date
JPH0412288A (en) 1992-01-16

Similar Documents

Publication Publication Date Title
JPS63273066A (en) Infrared detector
EP0233221B1 (en) Apparatus and method for detecting time-related faults
US4399412A (en) Duty cycle monitor circuit
JP2805523B2 (en) Instability detection device for distance sensor
US4533241A (en) Distance measuring device and automatic focusing system using same
EP0527557A1 (en) Signal arbitration circuits and methods using superconductive elements
JP3103185B2 (en) Criticality warning device
JPS638133Y2 (en)
SU1200250A1 (en) Checking device
JP3311772B2 (en) Photoelectric switch and photoelectric switch control device
KR870003014Y1 (en) Position counter circuit
SU1582135A1 (en) Apparatus for determining direction of movement of objects
JPH05209716A (en) Object-existing position detector
JPH04363729A (en) Computer system
JPS6232404B2 (en)
SU1651362A2 (en) Device for checking the order of pulse signals alternation
JPH04361330A (en) Diagnostic device for counter
JPS5828622B2 (en) Logistics counting method
JPH01156694A (en) Photoelectric switch
KR940007251B1 (en) Clock duty detector
JPH0498540A (en) Processor load monitoring system
JP2876677B2 (en) How to check the wheel speed pulse
SU1378050A1 (en) Self-check countung device
KR900000858Y1 (en) Circuit for distinguishing goods using fixing scanner
JPH01314991A (en) Photoelectric switch