JPH01212914A - Signal processing circuit - Google Patents

Signal processing circuit

Info

Publication number
JPH01212914A
JPH01212914A JP63038400A JP3840088A JPH01212914A JP H01212914 A JPH01212914 A JP H01212914A JP 63038400 A JP63038400 A JP 63038400A JP 3840088 A JP3840088 A JP 3840088A JP H01212914 A JPH01212914 A JP H01212914A
Authority
JP
Japan
Prior art keywords
output
signal
time
circuit
period
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.)
Pending
Application number
JP63038400A
Other languages
Japanese (ja)
Inventor
Mikio Kyomasu
幹雄 京増
Hiromitsu Shimizu
清水 弘光
Kozo Yamada
山田 晃三
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.)
Hamamatsu Photonics KK
Original Assignee
Hamamatsu Photonics KK
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 Hamamatsu Photonics KK filed Critical Hamamatsu Photonics KK
Priority to JP63038400A priority Critical patent/JPH01212914A/en
Publication of JPH01212914A publication Critical patent/JPH01212914A/en
Pending legal-status Critical Current

Links

Landscapes

  • Photo Coupler, Interrupter, Optical-To-Optical Conversion Devices (AREA)
  • Manipulation Of Pulses (AREA)
  • Electronic Switches (AREA)

Abstract

PURPOSE:To detect an object even when the time of an open signal is very short by outputting a signal representing the object detecting state when an interruption signal obtained from a photodetection section of an optical modulation type photo interrupter is inputted consecutively for n-time and returning an output signal into the non-detection state when the open signal is inputted from the photodetection section. CONSTITUTION:When two objects are accessed to a degree of in contact with each other as shown in periods b, c, Q outputs of D flip-flop circuits 1-3 all go to a high level at a point of time when a low level of 3-pulse is inputted from a time t3 as to the object shown in the period (b). Thus, an output of a NAND circuit 5 goes to a low level and an output of a latch circuit 8 goes to a high level to obtain a detection output (f) corresponding to the period (b). Furthermore, the period of the clock pulse is set to a time equal to the minimum time or a gas when two objects pass continuously or shorter than that thereby causing a clock pulse without fail in a period (e). Thus, even when the time of the open signal generated between the objects is very short, mis- detection of the object is not caused.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、発光部と受光部を備え、両者間を通過する物
体の検出を行うホトインタラプタの信号処理回路に関す
るものであり、特に発光部をパルス駆動させる光変調型
ホトインタラプタの信号処理回路に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a signal processing circuit for a photointerrupter that includes a light emitting section and a light receiving section and detects an object passing between the two. The present invention relates to a signal processing circuit for an optical modulation type photointerrupter that pulse-drives a light modulation type photointerrupter.

〔従来の技術〕[Conventional technology]

第3図は従来の光変調型ホトインタラプタの信号処理回
路を示すものであり、第4図はその動作波形図である。
FIG. 3 shows a signal processing circuit of a conventional optical modulation type photointerrupter, and FIG. 4 shows its operating waveform diagram.

光変調型ホトインタラプタでは、螢光灯ノイズ等による
誤動作を防止するため、受光部からのパルス化された検
出信号が複数回連続して発生したときに物体の有無を判
断することとしている。第3図に示す信号処理回路では
、図示省略した受光部から3回連続して同種の検出信号
(遮断信号または開放信号)を受信したときに、物体の
有無を判断している。
In order to prevent malfunctions caused by fluorescent lamp noise and the like, the light modulation type photointerrupter determines the presence or absence of an object when a pulsed detection signal from the light receiving section is generated multiple times in succession. The signal processing circuit shown in FIG. 3 determines the presence or absence of an object when the same type of detection signal (blocking signal or opening signal) is received three times in a row from a light receiving section (not shown).

第3図において、1〜3はD型フリップフロップ回路、
4〜7はナンド回路である。また、ナンド回路6および
7によって、ラッチ回路(R8−フリップフロップ回路
)8が構成されている。9は発光部の駆動パルスに同期
したクロック信号の入力端子、10は受光部からの検出
信号の入力端子、11はプリセット信号の入力端子、1
2はこの信号処理回路の出力端子である。
In FIG. 3, 1 to 3 are D-type flip-flop circuits;
4 to 7 are NAND circuits. Further, the NAND circuits 6 and 7 constitute a latch circuit (R8-flip-flop circuit) 8. 9 is an input terminal for a clock signal synchronized with the driving pulse of the light emitting section, 10 is an input terminal for a detection signal from the light receiving section, 11 is an input terminal for a preset signal, 1
2 is an output terminal of this signal processing circuit.

第4図(A)は、発光部を直流で駆動したと仮定した場
合の受光部の出力であり、ローレベル部分(区間a、b
、c)は発光部から受光部に対して照射された光が遮断
されたこと、すなわち物体の存在を示している。逆に、
ハイレベル部分は物体通過後の開放状態を示している。
Figure 4 (A) shows the output of the light receiving section assuming that the light emitting section is driven by direct current.
, c) indicates that the light emitted from the light emitting section to the light receiving section is blocked, that is, the presence of an object. vice versa,
The high level part shows the open state after the object has passed.

同図(B)は発光部の駆動パルスタイミング、同図(C
)〜(E)はそれぞれD型フリップフロップ回路1〜3
のQ出力、同図(F)、(G)はそれぞれナンド回路4
.5の出力、同図(H)は出力端子12に現れるラッチ
回路8の出力を示している。
The same figure (B) shows the driving pulse timing of the light emitting part, and the same figure (C
) to (E) are D-type flip-flop circuits 1 to 3, respectively.
The Q outputs of (F) and (G) in the same figure are respectively NAND circuit 4.
.. (H) in the figure shows the output of the latch circuit 8 appearing at the output terminal 12.

区間aの部分を例に動作を簡単に説明する。入力端子1
0に時刻t1から3パルス続いてローレベルが入力され
ているため、その時点でナンド回路5の出力がローレベ
ルとなって、ラッチ回路8の出力がローレベルとなる。
The operation will be briefly explained using section a as an example. Input terminal 1
Since the low level has been input for three consecutive pulses from time t1 to 0, the output of the NAND circuit 5 becomes low level at that time, and the output of the latch circuit 8 becomes low level.

また、時刻t2から3パルス連続でハイレベルが入力さ
れており、これによって、ラッチ回路8の出力がハイレ
ベルとなる。したがって、ラッチ回路8の立ち下がりか
ら立ち上がりまでの区間dが1つの物体の通過を示して
いる。
Further, three consecutive pulses of high level are input from time t2, and thereby the output of the latch circuit 8 becomes high level. Therefore, the section d from the falling edge to the rising edge of the latch circuit 8 indicates the passage of one object.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところが、この従来の回路によると、検出すべき物体が
互いに接する程度に非常に近接して通過すると、これを
識別することができない。
However, with this conventional circuit, it is not possible to identify objects to be detected when they pass very close to each other to the extent that they touch each other.

たとえば、区間す、cは、いずれも検出すべき物体の通
過を示しているが、両者が非常に近接しているため、第
4図(A)の区間eに示すようにその間に発生する開放
信号の時間幅が非常に短い。
For example, sections S and C both indicate the passage of an object to be detected, but since they are very close to each other, an open air occurs between them, as shown in Section e of Fig. 4(A). The time width of the signal is very short.

このような場合、上記従来の回路では区間eを単なるノ
イズとしてとらえてしまい、これを検出することができ
ない。すなわち、第4図(H)の区間fに示すように、
1つの物体としてとらえてしまう。
In such a case, the conventional circuit described above treats the section e as mere noise and cannot detect it. That is, as shown in section f of FIG. 4(H),
It is perceived as a single object.

本発明の課題は、このような問題点を解消することにあ
る。
An object of the present invention is to solve these problems.

〔課題を解決するための手段〕[Means to solve the problem]

上記課題を解決するために、本発明の信号処理回路は光
変調型ホトインタラプタの受光部から得られる遮断信号
を1回連続して入力したときに物体検出状態を示す信号
を出力し、物体検出状態を条件として前記受光部から開
放信号を入力したときに前記出力信号を非検出状態に復
帰させるものである。
In order to solve the above problems, the signal processing circuit of the present invention outputs a signal indicating an object detection state when a cutoff signal obtained from the light receiving section of a light modulation type photointerrupter is inputted one time in a row, and detects an object. The output signal is returned to the non-detection state when an open signal is input from the light receiving section under certain conditions.

〔作用〕[Effect]

受光部からの遮断信号を1回連続して入力しない限り物
体検出状態としないので、物体の先端部で生じる物体の
ダンピング信号を無視することができる。しかも、物体
検出状態において受光部から開放信号を入力すると直ち
に非検出状態に復帰させるので、物体が連続してホトイ
ンタラプタを通過して物体間で発生する開放信号の時間
が非常に短いときでも物体を検出し損うことがない。
Since the object detection state is not established unless the cutoff signal from the light receiving section is inputted once in a row, the damping signal of the object generated at the tip of the object can be ignored. Moreover, when an open signal is input from the light receiving unit in the object detection state, the state is immediately returned to the non-detection state, so even if the object passes through the photointerrupter continuously and the time of the open signal generated between the objects is very short, the object cannot be detected. will not fail to detect.

〔実施例〕〔Example〕

第1図は本発明の一実施例を示す回路図であり、第2図
はその動作を示す波形図である。なお、図面の説明にお
いて、同一の要素には同一の符号を付し、重複する説明
を省略する。本実施例の回路には、第3図に示す従来回
路と同一の構成要素が用いられているが、各構成要素間
の接続状態は異なっている。各要素の接続を簡単に説明
すると、D型フリップフロップ回路1のQ出力はD型フ
リップフロップ回路2のD入力に接続され、D型フリッ
プフロップ回路2のQ出力はD型フリップフロップ回路
3のD入力に接続されている。ナンド回路5にはD型フ
リップフロップ回路1〜3のQ出力が入力されており、
ナンド回路4にはD型フリップフロップ回路1のQ出力
とD型フリップフロップ回路2.3のQ出力が入力され
、さらに、ラッチ回路8の出力がイネーブル信号として
入力されている。なお、出力端子12はナンド回路7の
出力端子に接続されているため、本実施例の回路では、
出力信号としてハイレベルが物体の存在を示す物体検出
状態である。
FIG. 1 is a circuit diagram showing an embodiment of the present invention, and FIG. 2 is a waveform diagram showing its operation. In addition, in the description of the drawings, the same elements are given the same reference numerals, and redundant description will be omitted. The circuit of this embodiment uses the same components as the conventional circuit shown in FIG. 3, but the connection state between each component is different. To briefly explain the connection of each element, the Q output of the D-type flip-flop circuit 1 is connected to the D input of the D-type flip-flop circuit 2, and the Q output of the D-type flip-flop circuit 2 is connected to the D-type flip-flop circuit 3. Connected to D input. The Q outputs of the D-type flip-flop circuits 1 to 3 are input to the NAND circuit 5.
The NAND circuit 4 receives the Q output of the D-type flip-flop circuit 1 and the Q output of the D-type flip-flop circuit 2.3, and further receives the output of the latch circuit 8 as an enable signal. Note that since the output terminal 12 is connected to the output terminal of the NAND circuit 7, in the circuit of this embodiment,
A high level output signal indicates an object detection state indicating the presence of an object.

ここで、本実施例の動作を第2図の波形図と共に説明す
る。同図(A)は発光部を直流で駆動したと仮定した場
合の受光部の出力であり、従来技術との差異を明らかに
するために、第4図(A)と同一の波形が与えられてい
る。なお、この波形は、弾性の強い金属球体がホトイン
タラプタを通過したときのものである。第2図(B)は
発光部の駆動パルスタイミング、同図(C)〜(E)は
それぞれD型フリップフロップ回路1〜3のQ出力、同
図(F)、(G)はそれぞれナンド回路4.5の出力、
同図(H)は出力端子12に現れるラッチ回路8の出力
を示している。なお、同図(B)〜(E)も、第4図(
B)〜(E)と同一の波形となっている。
Here, the operation of this embodiment will be explained with reference to the waveform diagram of FIG. 2. Figure 4 (A) shows the output of the light receiving unit assuming that the light emitting unit is driven by direct current, and in order to clarify the difference from the conventional technology, the same waveform as in Figure 4 (A) is given. ing. Note that this waveform is obtained when a highly elastic metal sphere passes through a photointerrupter. Figure 2 (B) is the driving pulse timing of the light emitting section, (C) to (E) are the Q outputs of D-type flip-flop circuits 1 to 3, respectively, and (F) and (G) are NAND circuits, respectively. 4.5 output,
(H) in the figure shows the output of the latch circuit 8 appearing at the output terminal 12. Note that (B) to (E) in the same figure are also similar to Fig. 4 (
The waveforms are the same as those in B) to (E).

区間aで示される物体については、ローレベルの入力信
号(遮断信号)を時刻t1から3パルス入力した時点で
D型フリップフロップ回路1〜3のQ出力がすべてハイ
レベル、すなわち百出力がすべてローレベルとなるため
、ナンド回路5がハイレベルからローレベルに切り替わ
る。これによって、ラッチ回路8の出力がハイレベルに
立ち上がり物体の先端部が検出されたことになる。物体
の終端がホトインタラプタを通過して入力端子10に開
放信号が与えられると、その直後の時刻t2において、
D型フリップフロップ回路1のQ出力がハイレベルとな
る。これによって、ナンド回路4に入力される信号がラ
ッチ回路8からのイネーブル信号を含めてすべてハイレ
ベルとなってナンド回路4の出力はローレベルとなる一
方、ナンド回路5の出力はハイレベルとなる。そのため
、ラッチ回路8の出力はローレベルとなり、出力信号の
区間dが入力信号の区間aの対応する検出出力となる。
Regarding the object shown in section a, when three pulses of a low-level input signal (blocking signal) are input from time t1, all Q outputs of D-type flip-flop circuits 1 to 3 are at high level, that is, all 100 outputs are low. level, so the NAND circuit 5 switches from high level to low level. As a result, the output of the latch circuit 8 rises to a high level, indicating that the tip of the object has been detected. When the end of the object passes through the photointerrupter and an open signal is applied to the input terminal 10, immediately after that, at time t2,
The Q output of the D-type flip-flop circuit 1 becomes high level. As a result, all the signals input to the NAND circuit 4, including the enable signal from the latch circuit 8, become high level, and the output of the NAND circuit 4 becomes low level, while the output of the NAND circuit 5 becomes high level. . Therefore, the output of the latch circuit 8 becomes a low level, and the section d of the output signal becomes the detection output corresponding to the section a of the input signal.

つぎに、区間す、cで示されるように、2つの物体が互
いに接触する程度に近接してホトインタラプタを通過し
た場合について考える。区間すで示される物体について
は、時刻t3から3パルスのローレベル(遮断信号)を
D型フリップフロップ回路1が入力した時点でD型フリ
ップフロップ回路1〜3のQ出力がすべてハイレベルと
なり、これによって、ナンド回路5の出力がローレベル
となり、ラッチ回路8の出力がハイレベルとなる。
Next, consider the case where two objects pass through the photointerrupter so close that they touch each other, as shown in sections c and c. Regarding the object shown in section 2, when the D-type flip-flop circuit 1 receives three pulses of low level (blocking signal) from time t3, the Q outputs of the D-type flip-flop circuits 1 to 3 all become high level. As a result, the output of the NAND circuit 5 becomes low level, and the output of the latch circuit 8 becomes high level.

続いて、時刻t4では区間eの開放信号で示される2つ
の物体の隙間が検出され、D型フリップフロップ回路1
のQ出力がハイレベルとなると、区間aの終端のときと
同様に、ナンド回路4.5の出力がそれぞれローレベル
、ハイレベルとなり、ラッチ回路8の出力がハイレベル
からローレベルに立ち下がる。これによって、区間すに
対応する検出出力fを得る。なお、第2図(B)に示さ
れているクロックパルスの周期は、2つの物体が連続し
て通過したときの隙間の最小時間に等しいかまたは短い
時間に設定されているので、区間e中には必ずクロック
パルスが入るようになっている。
Subsequently, at time t4, a gap between the two objects indicated by the open signal in section e is detected, and the D-type flip-flop circuit 1
When the Q output of becomes high level, the outputs of NAND circuits 4 and 5 become low level and high level, respectively, and the output of latch circuit 8 falls from high level to low level, similarly to the end of section a. As a result, a detection output f corresponding to the section S is obtained. Note that the period of the clock pulse shown in Fig. 2 (B) is set to a time equal to or shorter than the minimum time of the gap when two objects pass successively, so that A clock pulse is always applied to the .

区間Cについては、時刻t5から入力信号のローレベル
を3パルス入力するまで、ラッチ回路8の出力はローレ
ベルが維持され、3パルス目でラッチ回路8の出力がハ
イレベルとなる。区間Cの後端部の検出は、区間a、b
の後端部と同様に回路が作動し、検出出力gを得る。
Regarding section C, the output of the latch circuit 8 is maintained at a low level from time t5 until three pulses of the low level input signal are input, and at the third pulse, the output of the latch circuit 8 becomes high level. Detection of the rear end of section C is performed in sections a and b.
The circuit operates in the same way as at the rear end, and a detection output g is obtained.

なお、本実施例では、受光部からの遮断信号を3パルス
入力したときに物体を検出したこととしているが、パル
ス数は「3」に限定されるものではなく、ダンピング継
続時間等との関係において適宜設定すれば良い。
In this example, it is assumed that an object is detected when three pulses of the cutoff signal from the light receiving section are input, but the number of pulses is not limited to "3", and the relationship with the damping duration etc. It may be set appropriately in .

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明の信号処理回路によれば、
受光部からの遮断信号を0回連続して入力しない限り物
体検出状態としないので、物体の先端部で生じる物体の
ダンピング信号を無視することができ、しかも、物体検
出状態において受光部から開放信号を入力すると直ちに
非検出状態に復帰させるので、物体が連続してホトイン
タラプタを通過し物体間で発生する開放信号の時間が非
常に短いときでも物体を検出し損うことがない。
As explained above, according to the signal processing circuit of the present invention,
Since the object detection state is not entered unless the cutoff signal from the light receiver is input 0 times in a row, it is possible to ignore the damping signal of the object generated at the tip of the object. Since the sensor immediately returns to the non-detection state upon input of , the object will not be failed to be detected even when the object passes through the photointerrupter continuously and the duration of the open signal generated between the objects is very short.

したがって、弾性が強いためにダンピングが生じ易い物
体であり、しかも、ホトインタラプタの発光部・受光部
間を連続して通過することがあるような物体の計数を正
確に行うことができる。
Therefore, it is possible to accurately count objects that are likely to cause damping due to their strong elasticity and that may pass continuously between the light emitting section and the light receiving section of the photointerrupter.

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

第1図は本発明の一実施例を示す回路図、第2図はその
動作波形図、第3図は従来の信号処理回路を示す回路図
、第4図はその動作波形図である。 1〜3・・・D型フリップフロップ回路、4〜7・・・
ナンド回路、8・・・ラッチ回路、12・・・出力端子
。 実  施  例 第1図 従来技術 −a−−b→―C→ (日Q3 (G)5
FIG. 1 is a circuit diagram showing an embodiment of the present invention, FIG. 2 is an operating waveform diagram thereof, FIG. 3 is a circuit diagram showing a conventional signal processing circuit, and FIG. 4 is an operating waveform diagram thereof. 1-3...D-type flip-flop circuit, 4-7...
NAND circuit, 8... latch circuit, 12... output terminal. Example Fig. 1 Prior art -a--b→-C→ (Day Q3 (G)5

Claims (1)

【特許請求の範囲】[Claims]  光変調型ホトインタラプタの受光部から得られる遮断
信号をn回連続して入力したときに物体検出状態を示す
信号を出力し、物体検出状態を条件として前記受光部か
ら開放信号を入力したときに前記出力信号を非検出状態
に復帰させることを特徴とする信号処理回路。
A signal indicating an object detection state is output when a cutoff signal obtained from the light receiving section of the light modulation type photointerrupter is inputted n times in succession, and when an open signal is inputted from the light receiving section under the object detection state as a condition. A signal processing circuit characterized in that the output signal is returned to a non-detection state.
JP63038400A 1988-02-19 1988-02-19 Signal processing circuit Pending JPH01212914A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63038400A JPH01212914A (en) 1988-02-19 1988-02-19 Signal processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63038400A JPH01212914A (en) 1988-02-19 1988-02-19 Signal processing circuit

Publications (1)

Publication Number Publication Date
JPH01212914A true JPH01212914A (en) 1989-08-25

Family

ID=12524244

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63038400A Pending JPH01212914A (en) 1988-02-19 1988-02-19 Signal processing circuit

Country Status (1)

Country Link
JP (1) JPH01212914A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5199964A (en) * 1975-02-28 1976-09-03 Matsushita Electric Industrial Co Ltd

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5199964A (en) * 1975-02-28 1976-09-03 Matsushita Electric Industrial Co Ltd

Similar Documents

Publication Publication Date Title
JP3958200B2 (en) Photodetector
JPH01212914A (en) Signal processing circuit
JP2707778B2 (en) Noise removal circuit
JP2515136B2 (en) Reflective photoelectric detector
JP3945813B1 (en) Photoelectric sensor
JPH0448286B2 (en)
JPH0511683B2 (en)
JP3062265B2 (en) Photoelectric switch
JPS6259879A (en) Photoelectric signal processing circuit
JPS62161074A (en) Light modulation type detector
JPH05136678A (en) Photoelectric switch
JPH044772B2 (en)
JPH01314991A (en) Photoelectric switch
JPS6291019A (en) Photoelectric switch
JP2590522Y2 (en) IC detector in IC carrier
JPH05268044A (en) Photoelectric switch
JPH05142360A (en) Pulse counting circuit
JPH05167417A (en) Photoelectric switch
KR20010017328A (en) Synchronous photoelectric sensor and control method thereof
JPH0422890A (en) Photoelectric switch circuit
JPH0936725A (en) Photoelectric sensor
JPH05206822A (en) Control circuit for photoelectric switch
JPH05235720A (en) Random pulse position modulation circuit
JP2005260752A (en) Pulse generation circuit and photodetector using the same
JPH01280920A (en) Photoelectric switch