JPS6016580B2 - Movement direction discrimination circuit - Google Patents

Movement direction discrimination circuit

Info

Publication number
JPS6016580B2
JPS6016580B2 JP2667078A JP2667078A JPS6016580B2 JP S6016580 B2 JPS6016580 B2 JP S6016580B2 JP 2667078 A JP2667078 A JP 2667078A JP 2667078 A JP2667078 A JP 2667078A JP S6016580 B2 JPS6016580 B2 JP S6016580B2
Authority
JP
Japan
Prior art keywords
circuit
gate
signal
output
pulse
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
Application number
JP2667078A
Other languages
Japanese (ja)
Other versions
JPS54119969A (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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP2667078A priority Critical patent/JPS6016580B2/en
Publication of JPS54119969A publication Critical patent/JPS54119969A/en
Publication of JPS6016580B2 publication Critical patent/JPS6016580B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Indicating Or Recording The Presence, Absence, Or Direction Of Movement (AREA)

Description

【発明の詳細な説明】 本発明は、物体の移動方向を判別する回路に関し、特に
物体の有無を検出可能な少くとも2組の検出器の間を物
体が移動通過したときに物体の移動方向を判別しその移
動方向に応じた判別出力を取り出し、移動物体の方向の
識別や物体個数の計数などに供する移動方向判別回路に
関し、物体の形状の大小にかかわらず、また物体が単純
に通過するか通過途中で逆戻りするか等の通過パターン
の如何にかかわらず、物体の移動方向を正しく判別でき
るようにしたものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a circuit that determines the moving direction of an object, and in particular, the present invention relates to a circuit that determines the moving direction of an object when the object moves between at least two sets of detectors capable of detecting the presence or absence of an object. Regarding the moving direction discrimination circuit, which extracts the discrimination output according to the moving direction and uses it for identifying the direction of the moving object, counting the number of objects, etc. This allows the direction of movement of an object to be correctly determined regardless of the passing pattern, such as whether the object travels backwards during the passage.

物体の有無を検出可能な例えば2組のホト検出器を物体
通路両側に配設して、その通路を物体が通過したときに
、上記ホト検出器からの検出信号の順序関係を論理回路
で判定し、以て移動方向に応じた方向判別出力を取り出
し、上述したような各種の制御に供する回路装置は種々
提案されている。
For example, two sets of photodetectors capable of detecting the presence or absence of an object are arranged on both sides of an object path, and when an object passes through the path, a logical circuit determines the order of the detection signals from the photodetectors. However, various circuit devices have been proposed that extract a direction discrimination output according to the direction of movement and provide it for the various types of control as described above.

例えば第1図はこの種装置の一例の概用を示し、ここで
Aは移動物体を示し、この物体Aの移動通路(図中に実
線および点線矢印で示す)の両側に、第1検出器を構成
する投光器S,と受光器R,および第2検出器の投光器
S2と受光器R2を、図示のように、それぞれ対向させ
て配設する。
For example, FIG. 1 schematically shows an example of a device of this type, where A indicates a moving object, and on each side of the path of movement of this object A (indicated by solid and dotted arrows in the figure), first detectors are arranged. The light projector S and the light receiver R constituting the detector, and the light projector S2 and the light receiver R2 of the second detector are arranged to face each other as shown in the figure.

受光器R,およびR2からの検出信号をそれぞれシュミ
ット回路等で構成できる第1および第2波形整形回路B
およびB2に供給し、これら回路B,および&からの各
波形整形出力a,およびa2を移動方向判別回路Cに加
え、ここで物体Aの移動方向の判別を行なう。物体Aが
実線矢印方向(正方向と仮定する)に移動するときは判
別回路Cから正方向パルスpが得られ、物体Aが点線矢
印方向(負方向と仮定する)に移動するときは判別回路
Cから負方向パルスnが得られる。上記移動方向判別回
路は例えば第2図に示すように構成され、波形整形回路
耳から取り出された信号a,を直接に微分回路1に、お
よび反転素子2を介して微分回路3にそれぞれ供給し、
微分回路1からの微分出力、すなわち信号a,の立上り
時の微分パルスbと波形整形回路馬からの信号a2とを
アンドゲート4に供給し、このアンドゲート4より負方
向パルス(ここで負方向とは移動方向が負方向であるこ
とを意味する)nを取り出す。
First and second waveform shaping circuits B each of which can configure the detection signals from the photodetectors R and R2 using Schmitt circuits, etc.
and B2, and the waveform shaped outputs a and a2 from these circuits B and & are applied to a moving direction determining circuit C, where the moving direction of the object A is determined. When the object A moves in the direction of the solid line arrow (assumed to be the positive direction), a positive direction pulse p is obtained from the discrimination circuit C, and when the object A moves in the direction of the dotted line arrow (assumed to be the negative direction), the discrimination circuit A negative direction pulse n is obtained from C. The moving direction determining circuit is configured as shown in FIG. 2, for example, and supplies the signal a taken out from the waveform shaping circuit ear directly to the differentiating circuit 1 and via the inverting element 2 to the differentiating circuit 3. ,
The differential output from the differentiating circuit 1, that is, the differential pulse b at the rising edge of the signal a, and the signal a2 from the waveform shaping circuit are supplied to the AND gate 4. means that the direction of movement is the negative direction).

更に微分回路3からの微分出力、すなわち検出信号a,
の立下り時の微分パルスcと検出信号a2とをアンドゲ
ート5に供給し、このアンドゲート5から正万向パルス
p(ここで正方向とは移動方向が正方向であることを意
味する)を取り出す。本例では、アンドゲート4および
5は検出信号a2により制御されており、従って微分パ
ルスbまたはcが信号a2の生起中に生起しない場合、
すなわち検出信号a,とa2とがオーバーラップしない
場合には方向判別出力pまたはnが得られないことにな
る。換言すると、本例では、物体Aの寸法および第1お
よび第2検出器の間隔を適切に定めて検出信号a,とa
2とがオーバーラップするようにした場合には、物体A
の移動方向を正しく判別することができるが、両検出器
の間隔よりも物体の寸法が小さい場合のように検出信号
a,とa2とがオーバーラップした波形にならないとき
は物体の移動方向を判別できず、判別信号pまたはnの
いずれも発生しない欠点がある。上記欠点を除去すべ〈
、第3図に示すように、エッジトリガ式フリップフロッ
フ。
Furthermore, the differential output from the differentiating circuit 3, that is, the detection signal a,
The differential pulse c at the time of falling and the detection signal a2 are supplied to the AND gate 5, and the AND gate 5 generates a positive direction pulse p (here, the positive direction means that the moving direction is the positive direction). Take out. In this example, AND gates 4 and 5 are controlled by detection signal a2, so that if differential pulse b or c does not occur during the occurrence of signal a2,
That is, if the detection signals a and a2 do not overlap, the direction determination output p or n cannot be obtained. In other words, in this example, the dimensions of the object A and the spacing between the first and second detectors are determined appropriately to obtain the detection signals a and a.
2 overlaps, object A
However, when the detection signals a and a2 do not have overlapping waveforms, such as when the size of the object is smaller than the distance between both detectors, the direction of movement of the object can be determined correctly. However, there is a drawback that neither discrimination signal p nor n is generated. The above drawbacks should be removed〈
, an edge-triggered flip-flop, as shown in FIG.

(以下D−FFと略称する)とナンド素子などから移動
方向判別回路Cを構成することも知られている。すなわ
ち、第3図において、検出信号a,およびa2をそれぞ
れ微分回路等で構成できるエッジ検出回路6および7に
供給して信号a,およびa2の各立上りに対応するエッ
ジ検出信号を取り出す。エッジ検出回路6からの信号を
D−FF8およびナンド素子9に加え、エッジ検出回路
7からの信号をD−FFIOおよびナンド素子11に加
える。ナンド素子9の他方の入力端子にはD−FFIO
の出力を加え、ナンド素子11の他方の入力端子にはD
−FF8の出力を加える。ナンド素子9より負方向パル
スnを取り出し、ナンド素子11より正方向パルスpを
取り出す。正負両方同パルスpおよびnをナンド素子1
2を介してワンショットパルス発生器13に供給し、正
方向パルスpまたは負方向パルスnのいずれかが発生し
たときにかかるパルス発生器13を動作させて1個のパ
ルスを発生させ、このパルスをリセットパルスとしてD
−FF8および1川こ加えてこれらD−FFの状態を元
に戻す。この第3図示の回路配置では、移動物体が正方
向通過途中に逆戻りする場合に第1検出器を2回通過し
、負万向通過途中に逆戻りする場合に第2検出器を2回
通過し、従っていずれの場合にも正負方向パルスpおよ
びnの双方を発生し、移動方向を判別できない欠点を有
する。本発明の目的は、上述した欠点を除去して、物体
の形状の大小にかかわらず、2つの検出信号の発生パタ
ーンに制御されることなく、しかもまた物体の種々の移
動形態にも適応して正しく移動方向を判別することので
きる移動方向判別回路を提供することにある。本発明は
、物体の有無を検知可能な少くとも2組の検出器を備え
、該検出器の形成する感応領域を物体が移動通過したと
きに物体の移動方向に応じた移動方向判別信号を発生す
る移動方向判別回路において、前記物体が前記感応領域
に進入してくる方向を判別しその進入方向判別結果を保
持する進入方向判別回路と、前記物体が前記感応領域か
ら進出していく方向を判別しその進出方向判別結果を保
持する進出方向判別回路と、前記物体が前記感応領域か
ら進出した直後にパルスを発生するパルス発生回路と、
前記進入方向判別結果、前記進出方向判別結果および前
記パルスを供給され、前記進入方向判別結果と前記進出
方向判別結果とが一致したときのみ前記パルスを移動方
向判別信号として取り出すゲート回路と、前記パルスの
発生した後に前記進入方向判別回路および進出方向判別
回路をリセットするりセット回路とを具備したことを特
徴としたものである。
It is also known that the movement direction determining circuit C is constructed from a NAND element (hereinafter abbreviated as D-FF) and a NAND element. That is, in FIG. 3, detection signals a and a2 are supplied to edge detection circuits 6 and 7, which can each be constructed from a differentiating circuit or the like, to extract edge detection signals corresponding to each rise of the signals a and a2. The signal from edge detection circuit 6 is applied to D-FF 8 and NAND element 9, and the signal from edge detection circuit 7 is applied to D-FFIO and NAND element 11. The other input terminal of the NAND element 9 has a D-FFIO
The output of D is added to the other input terminal of the NAND element 11.
-Add the output of FF8. A negative direction pulse n is taken out from the NAND element 9, and a positive direction pulse p is taken out from the NAND element 11. Both positive and negative pulses p and n are connected to NAND element 1
2 to a one-shot pulse generator 13, and when either the positive direction pulse p or the negative direction pulse n is generated, the pulse generator 13 is operated to generate one pulse, and this pulse as a reset pulse D
- In addition to FF8 and FF1, the states of these D-FFs are restored to their original state. In the circuit arrangement shown in the third diagram, when a moving object returns in the middle of passing in the positive direction, it passes through the first detector twice, and when it returns in the middle of passing in the negative direction, it passes through the second detector twice. Therefore, in either case, both positive and negative direction pulses p and n are generated, and the moving direction cannot be determined. It is an object of the present invention to eliminate the above-mentioned drawbacks and to be able to adapt to various forms of movement of an object without being controlled by two detection signal generation patterns, regardless of the size of the shape of the object. It is an object of the present invention to provide a moving direction determining circuit that can correctly determine the moving direction. The present invention includes at least two sets of detectors capable of detecting the presence or absence of an object, and generates a moving direction discrimination signal according to the moving direction of the object when the object moves and passes through a sensitive area formed by the detectors. an approach direction determining circuit that determines the direction in which the object approaches the sensitive area and holds the result of the determination of the approaching direction; and an approach direction determining circuit that determines the direction in which the object advances from the sensitive area. an advancing direction determining circuit that retains a result of determining the advancing direction of the object; a pulse generating circuit that generates a pulse immediately after the object advances from the sensitive area;
a gate circuit that is supplied with the approach direction determination result, the advance direction determination result, and the pulse, and extracts the pulse as a moving direction determination signal only when the approach direction determination result and the advance direction determination result match; The present invention is characterized by comprising a set circuit that resets the approaching direction determining circuit and the advancing direction determining circuit after occurrence of the above.

本発明では、前記ゲート回路の出力をカウンタに供給し
て前記物体の個数を計数することもできる。
In the present invention, the number of objects can also be counted by supplying the output of the gate circuit to a counter.

以下に図面を参照して本発明を詳細に説明する。The present invention will be explained in detail below with reference to the drawings.

本発明回路の1実施例を第4図に示す。An embodiment of the circuit of the present invention is shown in FIG.

ここで、検出信号a,およびa2を、移動物体Aが検出
器感応領域へ進入した時点での移動方向を判別するため
の進入方向判別回路21に供給する。この判別回路21
は、例えば図示のように構成でき、信号a,およびa2
をそれぞれアンドゲート22および23に供給し、アン
ドゲート22および23からの出力をJKフリツプフロ
ツプ24および25にそれぞれ加え、これらフリツプフ
ロツプ24および25のQ出力を上記アンドゲート22
および23に並列に供給する。JKフリップフロップ2
4からそのQ出力信号qを正方向進入判別信号として取
り出し、JKフリツプフロップ25からそのQ出力信号
Qを負方向進入判別信号として取り出す。移動物体Aが
検出器感応領域に正方向から進入してきた場合には、出
力信号b,は“1”となり、出力信号Qは“0”となり
、これらの信号状態はJKフリップフロップ24および
25がリセットされるまで保持される。逆に、移動物体
Aが負方向から進入してきた場合には、出力信号b,は
“0”、出力信号Qは“1”となる。検出信号a2をオ
アゲート26を介して進出方向判別回路27に供給する
Here, the detection signals a and a2 are supplied to an entry direction determination circuit 21 for determining the moving direction at the time when the moving object A enters the detector sensitive area. This discrimination circuit 21
can be configured, for example, as shown in the figure, and the signals a and a2
are applied to the AND gates 22 and 23, respectively, the outputs from the AND gates 22 and 23 are applied to the JK flip-flops 24 and 25, respectively, and the Q outputs of these flip-flops 24 and 25 are applied to the AND gate 22 and 23, respectively.
and 23 in parallel. JK flip flop 2
The Q output signal q is taken out from the JK flip-flop 25 as a positive direction approach determination signal, and the Q output signal Q is taken out from the JK flip-flop 25 as a negative direction approach determination signal. When the moving object A enters the detector sensitive area from the positive direction, the output signal b becomes "1" and the output signal Q becomes "0", and these signal states are determined by the JK flip-flops 24 and 25. Retained until reset. Conversely, when the moving object A approaches from the negative direction, the output signal b becomes "0" and the output signal Q becomes "1". The detection signal a2 is supplied to the advancing direction determination circuit 27 via the OR gate 26.

この判別回路27は、例えば図示のように構成でき、オ
アゲート26のオア出力をインバータ28を介してナン
ドゲート29および301こ供給し、検出信号a.をナ
ンドゲート29の他方の入力端子に供給し、ナンドゲー
ト29および30の出力をナンドゲート31に供給し、
更にナンドゲート31の出力をナンドゲート30の他方
の入力端子に供給する。ナンドゲート30の出力信号c
,を正方向進出判別信号として取り出し、ナンドゲート
31の出力信号に2を負方向進出判別信号として取り出
す。物体Aが検出器感応領域から正方向で進出する場合
には出力信号c,が“1”、出力信号c2が“0”とな
り、これらの信号状態が保持される。これらの信号状態
はオアゲート26にリセット信号が加えられるときにリ
セットされる。他方、物体Aが負方向で進出する場合に
は、出力信号c,は“0”、出力信号に2は‘‘1”と
なる。更に検出信号a,およびa2をオアゲート32に
供給し、そのオア出力dをワンショットパルス発生器3
3に加え、信号dの立下り時、すなわち検出器からの検
出信号a,またはa2が消滅した時点で1つのパルスe
を発生させる。
This discrimination circuit 27 can be configured, for example, as shown in the figure, and supplies the OR output of the OR gate 26 to the NAND gates 29 and 301 via the inverter 28, and supplies the detection signal a. is supplied to the other input terminal of the NAND gate 29, the outputs of the NAND gates 29 and 30 are supplied to the NAND gate 31,
Further, the output of the NAND gate 31 is supplied to the other input terminal of the NAND gate 30. Output signal c of NAND gate 30
, is taken out as a positive direction advancement determination signal, and 2 is taken out as the output signal of the NAND gate 31 as a negative direction advancement determination signal. When the object A advances from the detector sensitive area in the positive direction, the output signal c becomes "1" and the output signal c2 becomes "0", and these signal states are maintained. These signal states are reset when a reset signal is applied to OR gate 26. On the other hand, when the object A advances in the negative direction, the output signal c becomes "0" and the output signal 2 becomes "1".Furthermore, the detection signals a and a2 are supplied to the OR gate 32, and the output signal c becomes "1". OR output d to one-shot pulse generator 3
3, one pulse e is generated at the falling edge of the signal d, that is, when the detection signal a or a2 from the detector disappears.
to occur.

換言すると物体が感応領域から進出した時点で必ず1個
のパルスが生じることになる。検出信号a.およびa2
をリセット回路34にも供給する。
In other words, one pulse is always generated when the object moves out of the sensitive area. Detection signal a. and a2
is also supplied to the reset circuit 34.

リセット回路34は図示例のように構成でき、検出信号
a,およびa2をDフリツプフロツプ35および36に
それぞれ供給し、これらフリップフロップ35および3
6の各Q出力をアンドゲート37に加える。他方、上記
ワンショットパルス発生器33からのパルスeをワンシ
ョットパルス発生器38に加え、そのパルスeの立下り
でパルスを発生させ、このパルスをアンドゲート37の
第3入力端子に加える。アンドゲート37からは、上記
ワンショツトパルス発生器38の出力パルスと検出信号
a,およびa2を個別にDフリップフロップ35および
36に記憶して得た“1”信号とのアンド出力を取り出
し、このアンド出力および外部からのりセット信号gを
オアゲート39に加え、このオアゲート39からリセッ
トパルスfを取り出す。このリセットパルスfをフリツ
プフロツプ24,25,35および36とオアゲート2
6の他方の入力端子に加えて、これらフリップフロツプ
およびナソドゲート29なし、し31によるフリップフ
ロツプを初期状態に戻すようにする。更に、信号ち,c
,およびeを、最終段ゲート回路40を構成するアンド
ゲート41に供給し、信号Q,c2およびeを、最終段
ゲート回路40を構成するアンドゲート42に供給する
The reset circuit 34 can be configured as shown in the figure, and supplies the detection signals a and a2 to the D flip-flops 35 and 36, respectively.
6 Q outputs are applied to an AND gate 37. On the other hand, the pulse e from the one-shot pulse generator 33 is applied to the one-shot pulse generator 38, a pulse is generated at the falling edge of the pulse e, and this pulse is applied to the third input terminal of the AND gate 37. The AND gate 37 takes out the AND output of the output pulse of the one-shot pulse generator 38 and the "1" signal obtained by storing the detection signals a and a2 individually in the D flip-flops 35 and 36. An AND output and a set signal g from the outside are applied to an OR gate 39, and a reset pulse f is taken out from this OR gate 39. This reset pulse f is applied to the flip-flops 24, 25, 35 and 36 and the OR gate 2.
In addition to the other input terminal of 6, these flip-flops and the flip-flop with the naso gate 29 and 31 are returned to their initial states. Furthermore, the signal chi,c
, and e are supplied to an AND gate 41 constituting the final stage gate circuit 40, and signals Q, c2, and e are supplied to an AND gate 42 constituting the final stage gate circuit 40.

アンドゲ−ト41では、ワンショットパルスeが正方向
進入判別信号Qおよび正方向進出判別信号c,によりゲ
ート制御され、両信号0およびc,が同時に存在すると
きにのみアンドゲート41からパルスeが正方向判別パ
ルスpとして取り出され、アンドゲート42では、ワン
ショットパルスeが負万向進入判別信号らおよび負万向
進出判別信号c2によりゲート制御され、両信号Qおよ
びc2が同時に存在するときにのみアンドゲート42か
らパルスeが負方向判別パルスnとして取り出される。
なお、上述した外部リセット信号gは、例えば移動物体
Aにより信号a,のみが検出された後にこの物体Aが逆
戻りするような場合に判別回路全体に初期状態に戻すよ
うなときに用いることができる。以上のような構成の本
発明移動方向判別回路によれば、移動物体が正方向に移
動する場合で検出信号a,とa2がオーバーラップしな
い場合であっても第5図A〜Kに示すように移動方向が
正方向であることを示す正方向パルスpが得られ、また
移動物体が正方向から進入してきて途中で戻る場合にお
いては第6図A〜Kに示すように移動方向を示すパルス
pおよびnのいずれも得られず、従って移動方向は正し
く判別される。
In the AND gate 41, the one-shot pulse e is gate-controlled by the forward direction entry determination signal Q and the forward direction advance determination signal c, and the pulse e is output from the AND gate 41 only when both signals 0 and c exist simultaneously. The one-shot pulse e is taken out as a positive direction discrimination pulse p, and in the AND gate 42, the one-shot pulse e is gate-controlled by the negative direction entry discrimination signal and the negative direction advance discrimination signal c2, and when both signals Q and c2 are present at the same time, Only the pulse e is taken out from the AND gate 42 as the negative direction discrimination pulse n.
Note that the above-mentioned external reset signal g can be used, for example, to return the entire discrimination circuit to its initial state when the moving object A returns after only the signal a is detected. . According to the movement direction discrimination circuit of the present invention having the above configuration, even when the moving object moves in the forward direction and the detection signals a and a2 do not overlap, the detection signals a and a2 can be detected as shown in FIGS. 5A to 5K. When a moving object enters from the forward direction and returns halfway, a pulse p indicating the moving direction is obtained as shown in FIGS. 6A to 6K. Neither p nor n is obtained, so the direction of movement is correctly determined.

なお、ここで、第5図Aおよび第6図Aは検出信号a,
、第5図Bおよび第6図Bは検出信号a2、第5図Cお
よび第6図Cは正万向進入判別信号広、第5図Dおよび
第6図Dは負万向進入判別信号広、第5図Eおよび第6
図Eは正万向進出判別信号c,、第5図Fおよび第6図
Fは負方向進出判別信号c2、第5図Gおよび第6図G
はオア出力信号d、第6図日および第6図日はワンショ
ットパルスe、第5図1および第6図1はリセットパル
スf、第5図Jおよび第6図Jは正方向パルスp、第5
図Kおよび第6図Kは負方向パルスnをそれぞれ示す。
以上のように、本発明によれば、移動物体が検出器の感
応領域に進入してくる方向をまず最初に判別してからそ
の判別結果を記憶し、次に当該物体が感応領域から進出
していく方向を判別しその判別結果を記憶し、物体が感
応領域から進出した直後に上記両判別結果が一致したと
きにのみ移動方向を表わす判別出力パルスを送出するの
で、検出信号の発生パターンや物体の感応領域通過のパ
ターンおよび物体の形状の大小の如何にかかわらず、移
動方向ならびにその通過個数を正確に計測することがで
きる。
Note that FIG. 5A and FIG. 6A are the detection signals a,
, Figures 5B and 6B are the detection signal a2, Figures 5C and 6C are the positive wide direction approach discrimination signal, and Figures 5D and 6D are the negative manbound approach discrimination signal wide. , Figures 5E and 6
Figure E is positive direction advancement determination signal c, Figures 5F and 6F are negative direction advancement determination signal c2, Figures 5G and 6G.
is the OR output signal d, the one-shot pulse e in FIGS. 6 and 6, the reset pulse f in FIGS. 5 1 and 6 1, the positive direction pulse p in FIGS. Fifth
Figures K and 6K respectively show a negative direction pulse n.
As described above, according to the present invention, the direction in which the moving object enters the sensitive area of the detector is first determined, the determination result is stored, and then the direction in which the object moves out of the sensitive area is determined. It determines the direction in which the object is moving, stores the determination result, and sends out a determination output pulse representing the direction of movement only when the above two determination results match immediately after the object advances from the sensitive area. Regardless of the pattern of objects passing through the sensitive region and the size of the shape of the objects, the moving direction and the number of objects passing through can be accurately measured.

従って、本発明移動方向判別回路は、物体の存在を検出
可能な2組以上のセンサを配置してそのセンサ間の感応
領域を物体が移動通過したときもこ移動方向を示す信号
を得て制御を行なう必要のある場合、例えばベルトコン
ベア上の物体を計測する場合、回転体の回転方向や回転
角を計測する場合、通過車両の軸数を計測する場合など
に用いて極めて有効であり、上述した正方向パルスおよ
び負万向パルスをカウンタにより計数することで物体の
個数も容易に計数できる。
Therefore, the moving direction discrimination circuit of the present invention arranges two or more sets of sensors capable of detecting the presence of an object, and when an object moves and passes through a sensitive area between the sensors, it also obtains a signal indicating the moving direction and performs control. It is extremely effective when it is necessary to measure an object on a belt conveyor, the rotation direction or rotation angle of a rotating body, or the number of axes of a passing vehicle. The number of objects can be easily counted by counting the positive direction pulses and the negative direction pulses with a counter.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は移動方向判別装置の一般的構成の概要を示すブ
ロック線図、第2図および第3図はその移動方向判別回
路の従来の2例を示すブロック線図、第4図は本発明移
動方向判別回路の構成の1例を示すブロック線図、第5
図A〜Kおよび第6図A〜Kは第4図の回路の動作を説
明するための各部信号波形図である。 S,,S2…・・・投光器、R,,R2・・・・・・受
光器、A・・・…移動物体、B,B・・・・・・波形整
形回路、C・・・・・・移動方向判別回路、a,,a2
・・・・・・検出信号、p・・・・・・正万向パルス、
n・・・・・・負方向パルス、21・・・・・・進入方
向判別回路、22,23,37,41,42……アンド
ゲート、24,25……JKフリツプフロツプ、26,
32,39……オアゲート、27・・・・・・進出方向
判別回路、28…・・・ィンバータ、29,30,31
……ナンドゲート、33,38..・..・ワンショツ
トパルス発生器、34・..・..リセット回路、35
,36・・・・・・Dフリップフロップ、40・・・・
・・最終段ゲート回路、q・…・・正万向進入判別信号
、Q・…・・負方向進入判別信号、c.・・・・・・正
方向進出判別信号、cな・・・・・貸方向進出判別信号
、d・・・…オア出力、e・・・…ワンショツトパルス
、f.・・.・−リセットパルス、g・・・・・・外部
リセット信号。 数1図第2図 努3図 繁5図 繁4図 繁G図
FIG. 1 is a block diagram showing an outline of the general configuration of a moving direction determining device, FIGS. 2 and 3 are block diagrams showing two conventional examples of the moving direction determining circuit, and FIG. 4 is a block diagram showing the present invention. Block diagram illustrating an example of the configuration of the moving direction determination circuit, No. 5
FIGS. A to K and FIGS. 6A to 6K are signal waveform diagrams of various parts for explaining the operation of the circuit of FIG. 4. S,, S2... Emitter, R,, R2... Light receiver, A... Moving object, B, B... Waveform shaping circuit, C...・Movement direction discrimination circuit, a,, a2
...Detection signal, p...Shimamanko pulse,
n... Negative direction pulse, 21... Approach direction discrimination circuit, 22, 23, 37, 41, 42... AND gate, 24, 25... JK flip-flop, 26,
32, 39...OR gate, 27...Advancing direction determination circuit, 28...Inverter, 29,30,31
...Nand Gate, 33, 38. ..・.. ..・One-shot pulse generator, 34. ..・.. .. Reset circuit, 35
, 36...D flip-flop, 40...
・・Final stage gate circuit, q・・・・Shoman direction approach discrimination signal, Q・・・・Negative direction approach discrimination signal, c. ...Forward direction advancement determination signal, c...Credit direction advancement determination signal, d...OR output, e...One shot pulse, f.・・・. -Reset pulse, g...External reset signal. Number 1 Figure 2 Tsutomu 3 Traditional 5 Figure Traditional 4 Traditional G

Claims (1)

【特許請求の範囲】 1 物体の有無を検知可能な少くとも2組の検出器を備
え、該検出器の形成する感応領域を物体が移動通過した
ときに物体の移動方向に応じた移動方向判別信号を発生
する移動方向判別回路において、前記物体が前記感応領
域に進入してくる方向を判別しその進入方向判別結果を
保持する進入方向判別回路と、前記物体が前記感応領域
から進出していく方向を判別しその進出方向判別結果を
保持する進出方向判別回路と、前記物体が前記感応領域
から進出した直後にパルスを発生するパルス発生回路と
、前記進入方向判別結果、前記進出方向判別結果および
前記パルスを供給され、前記進入方向判別結果と前記進
出方向判別結果とが一致したときのみ前記パルスを移動
方向判別信号として取り出すゲート回路と、前記パルス
の発生した後に前記進入方向判別回路および進出方向判
別回路をリセツトするリセツト回路とを具備したことを
特徴とする移動方向判別回路。 2 特許請求の範囲第1項記載の回路において前記ゲー
ト回路の出力をカウンタに供給して前記物体の個数を計
数するようにしたことを特徴とする移動方向判別回路。 3 特許請求の範囲第1項または第2項に記載の回路に
おいて、前記検出器の組数を2としたことを特徴とする
移動方向判別回路。4 特許請求の範囲第1項ないし第
3項のいずれかに記載の回路において、1組の検出器を
投光器と受光器とで構成したことを特徴とする移動方向
判別回路。 5 特許請求の範囲第3項に記載の回路において、前記
進入方向判別回路は第1および第2アンドゲートと第1
および第2JKフリツプフロツプを有し、前記第1アン
ドゲートには第1検出器からの第1検出信号と前記第1
および第2JKフリツプフロツプからの■出力とを加え
、前記第2アンドゲートには第2検出器からの第2検出
信号と前記第1および第2JKフリツプフロツプからの
■出力とを加え、前記第1アンドゲートの出力を前記第
1JKフリツプフロツプに供給し、前記第2アンドゲー
トの出力を前記第2JKフリツプフロツプに供給し、前
記第1JKフリツプフロツプのQ出力を第1方向進入判
別信号として取り出し、前記第2JKフリツプフロツプ
のQ出力を第2方向進入判別信号として取り出すように
したことを特徴とする移動方向判別回路。 6 特許請求の範囲第5項に記載の回路において、前記
進出方向判別回路はインバータと第1、第2および第3
ナンドゲートを有し、前記第1検出信号を前記第1ナン
ドゲートに供給し、前記第2検出信号を前記インバータ
を介して前記第1ナンドゲートに供給し、前記インバー
タの出力および前記第3ナンドゲートの出力を前記第2
ナンドゲートに加え、前記第1ナンドゲートの出力およ
び前記第2ナンドゲートの出力を前記第3ナンドゲート
に加え、前記第2ナンドゲートから第1方向進出判別信
号を取り出し、前記第3ナンドゲートから第2方向進出
判別信号を取り出すようにしたことを特徴とする移動方
向判別回路。 7 特許請求の範囲第6項記載の回路において、前記パ
ルス発生回路を前記第1および第2検出信号を供給され
るオアゲートと、該オアゲートの出力の立下り時に1個
のパルスを発生するワンシヨツトパルス発生回路とで構
成したことを特徴とする移動方向判別回路。 8 特許請求の範囲第7項に記載の回路において、前記
ゲート回路は、前記第1方向進入判別信号、前記第1方
向進入判別信号および前記パルスを供給される第3アン
ドゲートと、前記第2方向進入判別信号、前記第2方向
進出判別信号および前記パルスを供給される第4アンド
ゲートとを有し、前第3アンドゲートから第1方向判別
信号を取り出し、前記第4アンドゲートから第2方向判
別信号を取り出すようにしたことを特徴とする移動方向
判別回路。 9 特許請求の範囲第8項に記載の回路において、前記
リセツト回路は、前記第1および第2検出信号をそれぞ
れ供給される第1および第2Dフリツプフロツプと、前
記パルスを供給され、該パルスの立下り時に1個の第2
パルスを発生するワンシヨツトパルス発生回路と、前記
第1および第2Dフリツプフロツプの各Q出力と前記第
2パルスを供給される第5アンドゲートと、該第5アン
ドゲートの出力および外部からのリセツト信号を供給さ
れる第2オアゲートとを有し、該第2オアゲートよりリ
セツト信号を取り出し、該リセツト信号を、前記第1お
よび第2JKフリツプフロツプの各リセツト入力端子、
前記第1および第2Dフリツプフロツプの各リセツト入
力端子に供給し、前記第2検出信号および前記リセツト
信号を第3オアゲートに供給し、該第3オアゲートの出
力を前記インバータに加えるようにしたことを特徴とす
る移動方向判別回路。
[Claims] 1. At least two sets of detectors capable of detecting the presence or absence of an object are provided, and when the object moves and passes through a sensitive area formed by the detectors, the moving direction is determined according to the moving direction of the object. A moving direction determining circuit that generates a signal includes an entering direction determining circuit that determines the direction in which the object is entering the sensitive area and retains the result of determining the approaching direction; an advancing direction determination circuit that determines the direction and holds the advancing direction determination result; a pulse generating circuit that generates a pulse immediately after the object advances from the sensitive area; the advancing direction determination result, the advancing direction determination result, and a gate circuit that is supplied with the pulse and extracts the pulse as a moving direction discrimination signal only when the result of the approach direction discrimination and the result of the advance direction discrimination match; and the approach direction discrimination circuit and the advance direction after the pulse is generated; A moving direction discriminating circuit comprising: a reset circuit for resetting the discriminating circuit. 2. A moving direction determining circuit according to claim 1, characterized in that the output of the gate circuit is supplied to a counter to count the number of objects. 3. A movement direction determining circuit according to claim 1 or 2, characterized in that the number of sets of the detectors is two. 4. A movement direction determining circuit according to any one of claims 1 to 3, characterized in that one set of detectors includes a light projector and a light receiver. 5. In the circuit according to claim 3, the approach direction determining circuit includes first and second AND gates and a first
and a second JK flip-flop, and the first AND gate receives a first detection signal from the first detector and a second JK flip-flop.
and (2) output from the second JK flip-flop, and add the second detection signal from the second detector and (2) output from the first and second JK flip-flops to the second AND gate. The output of the second AND gate is supplied to the first JK flip-flop, the output of the second AND gate is supplied to the second JK flip-flop, the Q output of the first JK flip-flop is taken out as a first direction entry determination signal, and the Q output of the second JK flip-flop is taken out as a first direction entry determination signal. A moving direction discrimination circuit characterized in that an output is taken out as a second direction approach discrimination signal. 6. In the circuit according to claim 5, the advancing direction determining circuit includes an inverter and first, second, and third
a NAND gate, the first detection signal is supplied to the first NAND gate, the second detection signal is supplied to the first NAND gate via the inverter, and the output of the inverter and the output of the third NAND gate are Said second
In addition to the NAND gate, the output of the first NAND gate and the output of the second NAND gate are added to the third NAND gate, a first direction advance determination signal is extracted from the second NAND gate, and a second direction advance determination signal is extracted from the third NAND gate. A moving direction determining circuit characterized in that the circuit extracts the moving direction. 7. The circuit according to claim 6, wherein the pulse generating circuit comprises an OR gate supplied with the first and second detection signals, and a one-shot circuit that generates one pulse when the output of the OR gate falls. A moving direction determining circuit comprising a pulse generating circuit. 8. In the circuit according to claim 7, the gate circuit includes the first direction approach determination signal, a third AND gate supplied with the first direction approach determination signal and the pulse, and the second a fourth AND gate supplied with a direction entry determination signal, the second direction advance determination signal, and the pulse; the first direction determination signal is taken out from the previous third AND gate; A moving direction discrimination circuit characterized in that a direction discrimination signal is extracted. 9. In the circuit according to claim 8, the reset circuit includes first and second D flip-flops supplied with the first and second detection signals, respectively, and a 1 second when descending
a one-shot pulse generation circuit that generates a pulse; a fifth AND gate that is supplied with each Q output of the first and second D flip-flops and the second pulse; and an output of the fifth AND gate and a reset signal from the outside. A second OR gate is provided with
The second detection signal and the reset signal are supplied to each reset input terminal of the first and second D flip-flops, the second detection signal and the reset signal are supplied to a third OR gate, and the output of the third OR gate is applied to the inverter. A moving direction discrimination circuit.
JP2667078A 1978-03-10 1978-03-10 Movement direction discrimination circuit Expired JPS6016580B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2667078A JPS6016580B2 (en) 1978-03-10 1978-03-10 Movement direction discrimination circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2667078A JPS6016580B2 (en) 1978-03-10 1978-03-10 Movement direction discrimination circuit

Publications (2)

Publication Number Publication Date
JPS54119969A JPS54119969A (en) 1979-09-18
JPS6016580B2 true JPS6016580B2 (en) 1985-04-26

Family

ID=12199828

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2667078A Expired JPS6016580B2 (en) 1978-03-10 1978-03-10 Movement direction discrimination circuit

Country Status (1)

Country Link
JP (1) JPS6016580B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61188379U (en) * 1985-05-15 1986-11-25

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57203964A (en) * 1981-06-10 1982-12-14 Matsushita Electric Works Ltd Photoelectric relay for detecting direction

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61188379U (en) * 1985-05-15 1986-11-25

Also Published As

Publication number Publication date
JPS54119969A (en) 1979-09-18

Similar Documents

Publication Publication Date Title
US3980960A (en) Signal width and width ratio determining apparatus
US3670324A (en) Analog-digital shaft position encoder
JPS6016580B2 (en) Movement direction discrimination circuit
GB2152208A (en) Optoelectronic coin entry sensing system for coin operated machines
US4678910A (en) Reference position-detecting device for photoelectric encoder
US4565275A (en) Optoelectronic coin entry sensing system for coin operated machines
JPH0311683Y2 (en)
JPS61198018A (en) Position detecting device
US3541339A (en) Radiation sensitive notch pattern detection system
US4148388A (en) Testing apparatus for non-circular coins
JPH0131978Y2 (en)
JPS64612Y2 (en)
GB1432250A (en) Printers having a detecting device
GB2121580A (en) Conditional coin acceptance arrangement
JPH04277891A (en) Counter for mobile transparent object
JPS584789B2 (en) Jintai Kenchi Sochi
SU888163A1 (en) Device for measuring shaft angular position
JPS5819486Y2 (en) Idohou Koukenshiyutsusouchi
JP2667501B2 (en) Laser distance measuring device
JPS6015181Y2 (en) Rotating body rotation direction discrimination circuit
SU957108A1 (en) Digital converter of speed
JP2629859B2 (en) PET device coincidence circuit
JP2530304Y2 (en) Vehicle detection device
KR840001241Y1 (en) Coin counting apparatus for coin handing machine
JPS6225814Y2 (en)