JPH0697800A - Photodetector - Google Patents

Photodetector

Info

Publication number
JPH0697800A
JPH0697800A JP24661592A JP24661592A JPH0697800A JP H0697800 A JPH0697800 A JP H0697800A JP 24661592 A JP24661592 A JP 24661592A JP 24661592 A JP24661592 A JP 24661592A JP H0697800 A JPH0697800 A JP H0697800A
Authority
JP
Japan
Prior art keywords
circuit
voltage
charging
output
light emitting
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.)
Granted
Application number
JP24661592A
Other languages
Japanese (ja)
Other versions
JP2925853B2 (en
Inventor
Tsutomu Nishi
努 仁志
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP24661592A priority Critical patent/JP2925853B2/en
Publication of JPH0697800A publication Critical patent/JPH0697800A/en
Application granted granted Critical
Publication of JP2925853B2 publication Critical patent/JP2925853B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)

Abstract

PURPOSE:To share an oscillator section so as to integrate the reflection type and transparent type photodetectors by using a turning ON notification signal showing that a light emitting element is turned on and synchronizing the light emitting element with the driving oscillator for a logic circuit. CONSTITUTION:In the case of the reflection type, the bases of transistors(Tr) 29 and 30 to which comparison signals are to be applied are grounded in advance to prevent the operation. Trs 25 and 28 are controlled based on the comparison of reference voltages V1 and V2 by charge voltage Vc of a capacitor 13 and resistors 14-16 by applying the power source Vcc. A light emitting diode and a logic circuit are driven by periodically outputting the high-level output voltage Vo of the Tr 25. In the case of the transparent type, comparison signals are applied to the bases of Trs 29 and 30. In this case, Trs 19 and 20 are forcedly turned off when the comparison signal is 'H' and the charge of the voltage Vc is not performed until the comparison signal becomes 'L'. Then, when the comparison signal becomes 'L', Tr 25, 28-30 are turned off and the charge of the voltage Vc is restarted. As the result, the Vo synthesized with the comparison signal can be obtained.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、発光素子及び受光素子
が作る光路が反射型及び透過型の双方に適した光検出器
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a photodetector suitable for both reflection type and transmission type optical paths formed by a light emitting element and a light receiving element.

【0002】[0002]

【従来の技術】一般に、物体の通過検出を行うには光検
出器が使用される。光検出器とは、発光素子及び受光素
子の間に作られた光路を物体が遮断したか否かを検出
し、この検出結果に基づいて所定の負荷の動作を制御す
るものである。光検出器には大きく分けて2種類があ
り、一方は発光素子から放射された光信号を反射板を介
して受光素子で受ける反射型、他方は発光素子から放射
された光信号をそのまま受光素子で受ける透過型であ
る。前者の場合、発光素子及び受光素子を近接して配置
できる為、光検出器を集積化する場合、発光素子を点滅
駆動する為の発振器及び後述するロジック回路を動作さ
せる為の発振器を単一チップ上で共用でき、発光素子及
びロジック回路の同期化は容易である。ところが、後者
の場合、発光素子及び受光素子の間に通過物体の大きさ
に応じた距離が必要となる為、光検出器を集積化する場
合、上記した発振器を単一チップ上で共用することは不
可能である。従って、透過型の光検出器を集積化する場
合、発光素子の駆動部分とロジック回路の駆動部分を各
々異なるチップ上に配置した2チップ構成としなければ
ならない。即ち、透過型の光検出器を動作させるには、
各チップ間の発振器の同期をとる手段が必要となる。以
下、図4に示す反射型の光検出器及び図5に示す透過型
の光検出器について説明する。尚、図4及び図5の中で
同一部分には同一符号を付すものとする。
2. Description of the Related Art Generally, a photodetector is used for detecting passage of an object. The photodetector detects whether or not an object blocks an optical path formed between the light emitting element and the light receiving element, and controls the operation of a predetermined load based on the detection result. There are roughly two types of photodetectors. One is a reflection type in which a light receiving element receives an optical signal emitted from a light emitting element through a reflecting plate, and the other is a light receiving element directly receiving an optical signal emitted from the light emitting element. It is a transparent type. In the former case, the light emitting element and the light receiving element can be arranged close to each other. Therefore, when integrating the photodetector, an oscillator for blinking the light emitting element and an oscillator for operating the logic circuit described later are operated on a single chip. The light emitting device and the logic circuit can be easily synchronized with each other. However, in the latter case, a distance according to the size of the passing object is required between the light emitting element and the light receiving element. Therefore, when integrating the photodetector, the above oscillator should be shared on a single chip. Is impossible. Therefore, when the transmissive photodetector is integrated, it is necessary to have a two-chip configuration in which the driving portion of the light emitting element and the driving portion of the logic circuit are arranged on different chips. That is, to operate the transmissive photodetector,
A means for synchronizing the oscillators between the chips is required. Hereinafter, the reflection type photodetector shown in FIG. 4 and the transmission type photodetector shown in FIG. 5 will be described. The same parts in FIGS. 4 and 5 are designated by the same reference numerals.

【0003】図4において、(1)は特定の発振周波数
を有する発振器であり、所定分周された発振クロックを
各部に供給する。(2)は駆動回路であり、例えば20
0KHz(5μsec周期)に分周された発振クロック
が印加されて動作する。具体的には、駆動回路(2)は
120μsec周期の中の5μsecだけハイレベルと
なる駆動パルスを発生する。(3)は発光ダイオード
(発光素子)であり、駆動パルスが発生する5μsec
だけ光信号を放射する。(4)は受光ダイオード(受光
素子)であり、反射板(5)を介して反射された光信号
を受けて動作するものである。(6)は増幅器であり、
受光ダイオード(4)が導通することによって発生した
電圧を増幅する。(7)はコンパレータであり、増幅器
(6)の出力電圧と基準電圧とを比較し、発光ダイオー
ド(3)が発光する5μsecだけハイレベルの比較信
号(点灯告知信号)を発生する。即ち、コンパレータ
(7)のハイレベル出力は発振器(1)の発振周波数に
同期している。(8)はロジック回路であり、例えば5
0KHz(20μsec周期)に分周された発振クロッ
クが印加されて動作する。具体的には、ロジック回路
(8)は、20μsec周期の中のハイレベル期間(1
0μsec)にコンパレータ(7)のハイレベル出力を
通過できる様に、ロジック処理を行う。即ち、発振器
(1)を駆動回路(2)及びロジック回路(8)に共用
している為、駆動回路(2)及びロジック回路(8)の
動作は同期している。そして、ロジック回路(8)の出
力を信号処理し、後段の負荷(図示せず)の動作を制御
している。例えば、負荷がリレーの場合、物体が光路を
遮断すればリレーがオフする様になっている。
In FIG. 4, (1) is an oscillator having a specific oscillating frequency, and supplies an oscillating clock divided by a predetermined frequency to each section. (2) is a drive circuit, for example, 20
It operates by applying the oscillation clock divided to 0 KHz (5 μsec cycle). Specifically, the drive circuit (2) generates a drive pulse that becomes a high level for 5 μsec in the 120 μsec cycle. (3) is a light emitting diode (light emitting element), and a drive pulse is generated for 5 μsec.
Only emits a light signal. Reference numeral (4) is a light receiving diode (light receiving element), which operates by receiving an optical signal reflected via the reflection plate (5). (6) is an amplifier,
The voltage generated by the conduction of the light receiving diode (4) is amplified. Reference numeral (7) is a comparator, which compares the output voltage of the amplifier (6) with the reference voltage and generates a high-level comparison signal (lighting notification signal) for 5 μsec in which the light emitting diode (3) emits light. That is, the high level output of the comparator (7) is synchronized with the oscillation frequency of the oscillator (1). (8) is a logic circuit, for example, 5
An oscillation clock divided by 0 KHz (20 μsec cycle) is applied to operate. Specifically, the logic circuit (8) uses the high level period (1
Logic processing is performed so that the high level output of the comparator (7) can be passed in 0 μsec. That is, since the oscillator (1) is shared by the drive circuit (2) and the logic circuit (8), the operations of the drive circuit (2) and the logic circuit (8) are synchronized. Then, the output of the logic circuit (8) is subjected to signal processing to control the operation of the load (not shown) in the subsequent stage. For example, when the load is a relay, the relay is turned off when an object blocks the optical path.

【0004】また図5において、(9)は発振器(1)
とは独立して設けられた発振器であり、例えば50KH
zに分周された発振クロックをロジック回路(8)に供
給するものである。(10)は同期制御回路であり、駆
動回路(2)及びロジック回路(8)の動作を同期させ
る為に発振器(1)(9)の発振動作を同期させるもの
である。そして、上記した反射型の光検出器と同様に、
光路の状態に応じて負荷の動作を制御している。
In FIG. 5, (9) is an oscillator (1).
Is an oscillator provided independently of, for example, 50 KH
The oscillation clock divided by z is supplied to the logic circuit (8). (10) is a synchronization control circuit, which synchronizes the oscillating operations of the oscillators (1) and (9) in order to synchronize the operations of the drive circuit (2) and the logic circuit (8). And, like the reflection type photodetector described above,
The operation of the load is controlled according to the state of the optical path.

【0005】[0005]

【発明が解決しようとする課題】以上述べた様に、反射
型及び透過型の光検出器を各々集積化する場合、1チッ
プ構成の反射型の光検出器の中でロジック回路(8)を
動作させる発振器部分と、2チップ構成の透過型の光検
出器の中でロジック回路(8)を動作させる発振器部分
とを共用できない問題点があった。
As described above, when integrating the reflection type and transmission type photodetectors, the logic circuit (8) is included in the reflection type photodetector of one chip configuration. There is a problem that the oscillator part to be operated cannot be shared with the oscillator part to operate the logic circuit (8) in the transmissive photodetector having a two-chip structure.

【0006】そこで、本発明は、反射型及び透過型の光
検出器を集積化するのに、発振器部分を共用化できる光
検出器を提供することを目的とする。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a photodetector which can share an oscillator portion in integrating reflective and transmissive photodetectors.

【0007】[0007]

【課題を解決するための手段】本発明は、前記問題点を
解決する為に成されたものであり、その特徴とするとこ
ろは、第1発振クロックに同期して発光素子を点滅駆動
する駆動回路と、前記発光素子から放射された光信号を
受ける受光素子と、前記受光素子に流れた電流に比例し
た電圧を用いて、前記発光素子が点灯したことを示す点
灯告知信号を発生する点灯告知回路と、前記第1発振ク
ロックに同期した第2発振クロックを用いて前記点灯告
知回路の出力をロジック処理するロジック回路と、を有
し、前記発光素子及び前記受光素子が作る光路を所定の
物体が遮断したか否かに応じた前記ロジック回路の出力
によって、後段の負荷の状態を制御する光検出器におい
て、電源電圧を所定の時定数で充電する充電回路と、前
記電源電圧を分圧し、第1基準電圧及び該第1基準電圧
より大きい第2基準電圧を発生する基準電圧発生回路
と、前記充電回路の充電電圧と前記第1基準電圧とを比
較する第1コンパレータと、前記充電回路の充電電圧と
前記第2基準電圧とを比較する第2コンパレータと、電
源投入時にリセットされ、前記充電回路の充電電圧が前
記第2基準電圧より大きくなった時の前記第2コンパレ
ータの出力でセットされ、前記充電回路の充電電圧が前
記第1基準電圧より小さくなった時の前記第1コンパレ
ータの出力でリセットされるRSフリップフロップと、
前記RSフリップフロップのセット出力に基づいて前記
充電電圧の放電を行う第1放電回路と、前記充電回路の
充電状態に関わらず、前記点灯告知信号に同期して前記
充電電圧を強制的に放電する第2放電回路と、前記充電
回路の充電状態に関わらず、前記点灯告知信号に同期し
て前記RSフリップフロップを強制的にセットするセッ
ト回路と、から成る発振器を備え、前記発振器の発振出
力に基づいて前記駆動回路及び前記ロジック回路の動作
を同期させる点である。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and is characterized in that it drives a light emitting element to blink in synchronization with a first oscillation clock. A circuit, a light receiving element that receives an optical signal emitted from the light emitting element, and a lighting notification that generates a lighting notification signal indicating that the light emitting element is turned on by using a voltage that is proportional to a current flowing through the light receiving element. A circuit, and a logic circuit that logically processes the output of the lighting notification circuit using a second oscillation clock that is synchronized with the first oscillation clock, and an optical path formed by the light emitting element and the light receiving element is a predetermined object. In the photodetector that controls the state of the load in the subsequent stage by the output of the logic circuit depending on whether or not the power supply voltage is cut off, a charging circuit that charges the power supply voltage with a predetermined time constant, and the power supply voltage is divided. A reference voltage generating circuit for generating a first reference voltage and a second reference voltage higher than the first reference voltage; a first comparator for comparing the charging voltage of the charging circuit with the first reference voltage; and the charging circuit. Set by the output of the second comparator that is reset when the power is turned on and the charging voltage of the charging circuit becomes greater than the second reference voltage, and a second comparator that compares the charging voltage of And an RS flip-flop that is reset by the output of the first comparator when the charging voltage of the charging circuit becomes lower than the first reference voltage,
A first discharging circuit that discharges the charging voltage based on the set output of the RS flip-flop, and the charging voltage is forcibly discharged in synchronization with the lighting notification signal regardless of the charging state of the charging circuit. An oscillator including a second discharge circuit and a set circuit for forcibly setting the RS flip-flop in synchronization with the lighting notification signal regardless of the state of charge of the charge circuit is provided, and an oscillator output of the oscillator is provided. Based on this, the operations of the drive circuit and the logic circuit are synchronized.

【0008】[0008]

【作用】本発明によれば、光検出器を透過型として使用
する場合、発光素子が点灯したことを示す点灯告知信号
を用いて、発光素子駆動用の発振器とロジック回路駆動
用の発振器とを同期させることができ、反射型及び透過
型の光検出器でロジック回路駆動用の発振器を共用でき
る。
According to the present invention, when the photodetector is used as a transmissive type, the light emitting element driving oscillator and the logic circuit driving oscillator are activated by using the lighting notification signal indicating that the light emitting element is turned on. They can be synchronized, and the oscillator for driving the logic circuit can be shared by the reflection type and transmission type photodetectors.

【0009】[0009]

【実施例】本発明の詳細を図面に従って具体的に説明す
る。図1は光検出器に使用される本発明の発振器部分を
示す回路図、図2は図1回路を反射型の光検出器に使用
した場合の波形図、図3は図1回路を透過型の光検出器
に使用した場合の波形図である。
The details of the present invention will be described in detail with reference to the drawings. 1 is a circuit diagram showing an oscillator portion of the present invention used in a photodetector, FIG. 2 is a waveform diagram when the circuit of FIG. 1 is used in a reflection type photodetector, and FIG. 3 is a transmission type of FIG. FIG. 7 is a waveform diagram when used in the photodetector of FIG.

【0010】図1において、(11)(12)及び(1
3)は電源Vcc及びアース間に直列接続された抵抗及び
コンデンサ(充電回路)であり、抵抗(11)(12)
の抵抗値及びコンデンサ(13)の容量で定まる時定数
で充電を行い、コンデンサ(13)の両端に充電電圧V
cを発生する。(14)(15)(16)は電源Vcc及
びアース間に直列接続された抵抗(基準電圧発生回路)
であり、基準電圧V1及び基準電圧V2を発生する。
尚、抵抗(14)(15)(16)の抵抗値を等しく設
定し、V1=Vcc/3,V2=2Vcc/3とする。(1
7)は第1コンパレータであり、充電電圧Vcと基準電
圧V1とを比較し、充電電圧Vcが基準電圧V1より小
さい時にハイレベルの比較信号を出力する。(18)は
第2コンパレータであり、充電電圧Vcと基準電圧V2
とを比較し、充電電圧Vcが基準電圧V2より大きくな
った時にハイレベルの比較信号を出力する。トランジス
タ(19)(20)及び抵抗(21)はRSフリップフ
ロップを構成しており、抵抗(21)をトランジスタ
(19)のベースとトランジスタ(20)のコレクタと
の間に介挿することによって、電源Vccの投入時に前記
RSフリップフロップを強制的にリセットする様にして
いる。尚、本実施例において、トランジスタ(19)の
ベースをセット端子、トランジスタ(20)のベースを
リセット端子、トランジスタ(20)のコレクタを出力
端子と考えるものとする。(22)(23)は定電流源
であり、RSフリップフロップを構成するトランジスタ
(19)(20)のコレクタに定電流を供給する。(2
4)は第1コンパレータ(17)の出力でオンオフ動作
を行う制御トランジスタであり、充電電圧Vcが基準電
圧V1より小さい時にオンし、トランジスタ(19)の
ベースを強制的にローレベルに引き下げる。(25)は
コレクタが抵抗(26)を介して電源Vccと接続され、
エミッタが抵抗(27)を介してアースされ、トランジ
スタ(20)のコレクタ出力でオンオフ動作を行うトラ
ンジスタであり、トランジスタ(25)がオフの時、出
力電圧Voはローレベルとなり、またトランジスタ(2
5)がオンの時、出力電圧Voはハイレベルとなる。
(28)は第1放電回路としてのトランジスタであり、
出力電圧Voがハイレベルの時にオンし、充電電圧Vc
の放電を行う。また、(29)は図4及び図5に示すコ
ンパレータ(7)の比較信号が印加されるトランジスタ
(セット回路)であり、ハイレベルの比較信号が印加さ
れた時にオンし、トランジスタ(20)のベースを強制
的にローレベルに引き下げる。(30)はハイレベルの
比較信号が印加されてトランジスタ(29)と同時にオ
ンするトランジスタであり、充電電圧Vcのレベルに関
わらず、充電電圧Vcを強制的に放電する第2放電回路
として機能する。
In FIG. 1, (11), (12) and (1
3) is a resistor and a capacitor (charging circuit) connected in series between the power source Vcc and the ground, and the resistors (11) (12)
Is charged with a time constant determined by the resistance value of the capacitor and the capacity of the capacitor (13), and the charging voltage V is applied across the capacitor (13).
generate c. (14) (15) (16) are resistors (reference voltage generating circuit) connected in series between the power supply Vcc and ground
That is, the reference voltage V1 and the reference voltage V2 are generated.
The resistance values of the resistors (14), (15) and (16) are set to be equal, and V1 = Vcc / 3 and V2 = 2Vcc / 3. (1
Reference numeral 7) is a first comparator which compares the charging voltage Vc with the reference voltage V1 and outputs a high-level comparison signal when the charging voltage Vc is smaller than the reference voltage V1. (18) is a second comparator, which has a charging voltage Vc and a reference voltage V2.
When the charging voltage Vc becomes higher than the reference voltage V2, a high-level comparison signal is output. The transistors (19) (20) and the resistor (21) form an RS flip-flop, and by inserting the resistor (21) between the base of the transistor (19) and the collector of the transistor (20), The RS flip-flop is forcibly reset when the power supply Vcc is turned on. In this embodiment, it is assumed that the base of the transistor (19) is a set terminal, the base of the transistor (20) is a reset terminal, and the collector of the transistor (20) is an output terminal. (22) and (23) are constant current sources, which supply a constant current to the collectors of the transistors (19) and (20) that form the RS flip-flop. (2
Reference numeral 4) is a control transistor which performs an on / off operation with the output of the first comparator (17), which is turned on when the charging voltage Vc is lower than the reference voltage V1 and forcibly pulls the base of the transistor (19) to a low level. In (25), the collector is connected to the power supply Vcc through the resistor (26),
The emitter is grounded through the resistor (27), and is a transistor that performs on / off operation with the collector output of the transistor (20). When the transistor (25) is off, the output voltage Vo becomes low level and the transistor (2
When 5) is on, the output voltage Vo becomes high level.
(28) is a transistor as the first discharge circuit,
It turns on when the output voltage Vo is at high level, and the charging voltage Vc
Discharge. Reference numeral (29) denotes a transistor (set circuit) to which the comparison signal of the comparator (7) shown in FIGS. 4 and 5 is applied, which is turned on when the high level comparison signal is applied, and is turned on by the transistor (20). Forcibly lowers the bass to low level. Reference numeral (30) is a transistor that is turned on at the same time as the transistor (29) when a high-level comparison signal is applied, and functions as a second discharging circuit for forcibly discharging the charging voltage Vc regardless of the level of the charging voltage Vc. .

【0011】以下、図1回路をまず反射型の光検出器に
使用する場合の動作について、図2の波形図を用いて説
明する。反射型の光検出器を集積化する場合、発振器は
1個使用するのみなので、コンパレータ(7)の比較信
号が印加されるトランジスタ(29)(30)のベース
を予めアースに接続し、トランジスタ(29)(30)
が動作しない様にしておく。
The operation when the circuit of FIG. 1 is used for a reflection type photodetector will be described below with reference to the waveform diagram of FIG. When integrating a reflection type photodetector, since only one oscillator is used, the bases of the transistors (29) and (30) to which the comparison signal of the comparator (7) is applied are connected to the ground in advance, and the transistor ( 29) (30)
Will not work.

【0012】まず、電源Vccが投入されると、基準電圧
発生回路の分圧動作が行われ、基準電圧V1及びV2が
発生する。同時に、RSフリップフロップの中でトラン
ジスタ(20)がトランジスタ(19)より早くオンす
る為に(RSフリップフロップがリセットされる為に)
トランジスタ(25)がオフし、出力電圧Voのローレ
ベルに伴ってトランジスタ(28)はオフしている。よ
って、抵抗(11)(12)及びコンデンサ(13)で
定まる時定数に従って、充電電圧Vcが0Vから徐々に
上昇し始める。
First, when the power supply Vcc is turned on, the voltage dividing operation of the reference voltage generating circuit is performed and the reference voltages V1 and V2 are generated. At the same time, in the RS flip-flop, the transistor (20) is turned on earlier than the transistor (19) (because the RS flip-flop is reset).
The transistor (25) is turned off, and the transistor (28) is turned off in accordance with the low level of the output voltage Vo. Therefore, the charging voltage Vc starts to gradually increase from 0V according to the time constant determined by the resistors (11) and (12) and the capacitor (13).

【0013】充電電圧Vcが基準電圧V1より小さい
時、制御トランジスタ(24)が第1コンパレータ(1
7)から出力されるハイレベルの比較信号でオンする
が、RSフリップフロップの状態に変化はない。即ち、
トランジスタ(28)はオフのままである。充電電圧V
cが更に上昇し、基準電圧V1及びV2の間のレベルで
ある時、第1コンパレータ(17)の比較出力がローレ
ベルとなって制御トランジスタ(24)はオフするが、
第2コンパレータ(18)の比較出力もローレベルの
為、引き続きRSフリップフロップの状態に変化はなく
トランジスタ(28)もオフのままである。その後、充
電電圧Vcが基準電圧V2を越えると、第2コンパレー
タ(18)の比較出力がハイレベルとなる為、トランジ
スタ(19)がオンし(RSフリップフロップがセット
され)、トランジスタ(25)のオンに伴って出力電圧
Voがハイレベルとなり、トランジスタ(28)がオン
する。即ち、充電電圧Vcの放電動作が開始される。す
ると、充電電圧Vcは下降し始め、再び基準電圧V1及
びV2の間のレベルとなる。この時、第2コンパレータ
(18)の比較出力がローレベルとなる為に第2コンパ
レータ(18)の出力端はハイインピーダンスとなり、
トランジスタ(19)のベースには定電流源(22)の
定電流が抵抗(21)を介して流れ込み、トランジスタ
(19)はオン動作を継続する。ここで、トランジスタ
(19)(25)を動作可能なベース電圧について考え
てみると、トランジスタ(25)のエミッタに抵抗(2
7)が接続されている分だけ該トランジスタ(25)を
動作させる為のベース電圧は高く設定されなければなら
ない。その為にトランジスタ(19)のベースには抵抗
(21)が接続されている。つまり、トランジスタ(2
5)のベースにはトランジスタ(19)のベースよりも
多くのベース電流が供給され、該トランジスタ(25)
はオン動作を継続する。即ち、充電電圧Vcが基準電圧
V1及びV2の間で下降している時は、出力電圧Voが
ハイレベルのままであり、放電動作が継続されている。
その後、充電電圧Vcが基準電圧V1より小さくなる
と、ハイレベルの比較出力によって制御トランジスタ
(24)がオンし、トランジスタ(19)のベースをア
ースする(RSフリップフロップをリセットする)。従
って、トランジスタ(25)のオフに伴ってトランジス
タ(28)もオフし、充電電圧Vcの充電が再び開始さ
れることになる。以下、この動作が繰り返されることに
なる。こうして、図2に示す様な、ハイレベルの出力電
圧Voが周期的に出力される所謂発振器動作が行われ
る。この出力電圧Voを所定分周することにより、例え
ば、120μsec周期中で5μsecだけハイレベル
となる波形が作られる。この波形が図4の駆動回路
(2)を介して発光ダイオード(3)の点滅駆動に使用
され、また、ロジック回路(8)の駆動に使用される。
即ち、駆動回路(2)及びロジック回路(8)の動作は
同期することになる。
When the charging voltage Vc is lower than the reference voltage V1, the control transistor (24) turns on the first comparator (1).
Although it is turned on by the high level comparison signal output from 7), there is no change in the state of the RS flip-flop. That is,
The transistor (28) remains off. Charging voltage V
When c further rises to a level between the reference voltages V1 and V2, the comparison output of the first comparator (17) becomes low level and the control transistor (24) turns off.
Since the comparison output of the second comparator (18) is also at the low level, the state of the RS flip-flop does not change and the transistor (28) remains off. After that, when the charging voltage Vc exceeds the reference voltage V2, the comparison output of the second comparator (18) becomes high level, so that the transistor (19) is turned on (RS flip-flop is set) and the transistor (25) is turned on. When turned on, the output voltage Vo becomes high level, and the transistor (28) is turned on. That is, the discharging operation of the charging voltage Vc is started. Then, the charging voltage Vc starts to drop and reaches a level between the reference voltages V1 and V2 again. At this time, since the comparison output of the second comparator (18) becomes low level, the output terminal of the second comparator (18) becomes high impedance,
The constant current of the constant current source (22) flows into the base of the transistor (19) through the resistor (21), and the transistor (19) continues the ON operation. Now, considering the base voltage at which the transistors (19) (25) can operate, a resistor (2
The base voltage for operating the transistor (25) must be set high because the transistor 7) is connected. Therefore, a resistor (21) is connected to the base of the transistor (19). That is, the transistor (2
The base of 5) is supplied with more base current than the base of the transistor (19), and the transistor (25)
Keeps on. That is, when the charging voltage Vc is falling between the reference voltages V1 and V2, the output voltage Vo remains at the high level and the discharging operation is continued.
After that, when the charging voltage Vc becomes lower than the reference voltage V1, the control transistor (24) is turned on by the high level comparison output, and the base of the transistor (19) is grounded (RS flip-flop is reset). Therefore, as the transistor (25) turns off, the transistor (28) also turns off, and the charging of the charging voltage Vc is started again. Hereinafter, this operation will be repeated. Thus, a so-called oscillator operation in which the high-level output voltage Vo is periodically output as shown in FIG. 2 is performed. By dividing the output voltage Vo by a predetermined frequency, for example, a waveform having a high level for 5 μsec in a 120 μsec cycle is created. This waveform is used for driving the blinking of the light emitting diode (3) through the driving circuit (2) of FIG. 4 and also for driving the logic circuit (8).
That is, the operations of the drive circuit (2) and the logic circuit (8) are synchronized.

【0014】次に図1回路を透過型の光検出器に使用し
た場合の動作を図3を用いて説明する。この場合、トラ
ンジスタ(29)(30)のベースに図5のコンパレー
タ(7)の比較信号が印加されるものとする。時刻t0
以前においては、上記した如く図1回路の発振はフリー
ラン状態にある。その後、図5の駆動回路(2)の為の
独立した発振器の発振に基づいて発光ダイオード(3)
が点滅駆動され、充電電圧Vcが基準電圧V1及びV2
の間で上昇している時に、コンパレータ(7)から時刻
t0に5μsecのハイレベルの比較信号が出力された
とすると、トランジスタ(30)のオンに伴って充電電
圧Vcが基準電圧V2に満たないレベルから瞬時に0V
まで放電されると共に、トランジスタ(29)のオンに
伴って出力電圧Voがハイレベルとなり、トランジスタ
(28)もオンする。尚、比較信号のハイレベル期間
中、充電電圧Vcが基準電圧V1より小さくなってトラ
ンジスタ(19)を強制的にオフしたとしても、トラン
ジスタ(20)も強制的にオフされている為、比較信号
がローレベルとなるまで充電電圧Vcの充電が行われる
ことはない。その後、比較信号がローレベルとなると、
トランジスタ(25)(28)(29)(30)がオフ
し、充電電圧Vcの充電が再び開始される。そして、ハ
イレベルの比較信号が発生すると上記した動作を繰り換
えることになる。この結果、図5に示す様な、比較信号
に同期した出力電圧Voが得られ、即ち、駆動回路
(2)駆動用の発振器に同期した発振動作を図1回路は
行うことになる。
Next, the operation when the circuit of FIG. 1 is used in a transmission type photodetector will be described with reference to FIG. In this case, the comparison signal of the comparator (7) of FIG. 5 is applied to the bases of the transistors (29) and (30). Time t0
Previously, the oscillation of the circuit of FIG. 1 was in the free-run state, as described above. Then, based on the oscillation of an independent oscillator for the drive circuit (2) of FIG.
Is driven to blink, and the charging voltage Vc is the reference voltages V1 and V2.
If a high-level comparison signal of 5 μsec is output from the comparator (7) at time t0 while the voltage rises during the period, the charging voltage Vc is below the reference voltage V2 when the transistor (30) is turned on. Instantly from 0V
When the transistor (29) is turned on, the output voltage Vo becomes high level and the transistor (28) is also turned on. Even if the charging voltage Vc becomes lower than the reference voltage V1 and the transistor (19) is forcibly turned off during the high level period of the comparison signal, the transistor (20) is also forcibly turned off. The charging with the charging voltage Vc is not performed until the voltage goes low. After that, when the comparison signal goes low,
The transistors (25) (28) (29) (30) are turned off and the charging of the charging voltage Vc is restarted. Then, when a high-level comparison signal is generated, the above operation is repeated. As a result, the output voltage Vo synchronized with the comparison signal as shown in FIG. 5 is obtained, that is, the circuit of FIG. 1 performs the oscillation operation synchronized with the oscillator for driving the drive circuit (2).

【0015】以上より、図1回路を反射型の光検出器に
使用する場合にはトランジスタ(29)(30)に比較
信号が印加されない様にし、逆に透過型の光検出器に図
1回路を使用する場合にはトランジスタ(29)(3
0)に比較信号を印加する様に使い分けるだけでよく、
両方の光検出器に図1回路を共用できることになる。
From the above, when the circuit of FIG. 1 is used in a reflection type photodetector, the comparison signal is prevented from being applied to the transistors (29) and (30), and conversely the circuit of FIG. When using a transistor (29) (3
It is only necessary to use different ones like applying the comparison signal to 0),
The circuit of FIG. 1 can be shared by both photodetectors.

【0016】[0016]

【発明の効果】本発明によれば、光検出器を透過型とし
て使用する場合、発光素子が点灯したことを示す点灯告
知信号を用いて、発光素子駆動用の発振器とロジック回
路駆動用の発振器とを同期させることができ、反射型及
び透過型の光検出器でロジック回路駆動用の発振器を共
用できる利点が得られる。つまり、反射型と透過型の光
検出器を開発する際に発振器部分を個別に開発すること
が不要となり、開発コストの削減、更には開発時間の短
縮等の効果も得られる。
According to the present invention, when the photodetector is used as a transmissive type, a light emitting notification signal indicating that the light emitting element is turned on is used to generate an oscillator for driving the light emitting element and an oscillator for driving the logic circuit. Can be synchronized with each other, and the advantage that the oscillator for driving the logic circuit can be shared by the reflection type and transmission type photodetectors is obtained. In other words, it is not necessary to separately develop the oscillator part when developing the reflection type and transmission type photodetectors, and it is possible to obtain the effects of reducing the development cost and further shortening the development time.

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

【図1】本発明回路を示す図である。FIG. 1 is a diagram showing a circuit of the present invention.

【図2】本発明回路を反射型の光検出器に使用した場合
の波形図である。
FIG. 2 is a waveform diagram when the circuit of the present invention is used in a reflection type photodetector.

【図3】本発明回路を透過型の光検出器に使用した場合
の波形図である。
FIG. 3 is a waveform diagram when the circuit of the present invention is used in a transmissive photodetector.

【図4】反射型の光検出器を示す図である。FIG. 4 is a diagram showing a reflection type photodetector.

【図5】透過型の光検出器を示す図である。FIG. 5 is a diagram showing a transmissive photodetector.

【符号の説明】[Explanation of symbols]

(11)(12)(14)(15)(16)(21)
抵抗 (13) コンデンサ (17) 第1コンパレータ (18) 第2コンパレータ (19)(20)(28)(29)(30) トランジ
スタ
(11) (12) (14) (15) (16) (21)
Resistor (13) Capacitor (17) First Comparator (18) Second Comparator (19) (20) (28) (29) (30) Transistor

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 第1発振クロックに同期して発光素子を
点滅駆動する駆動回路と、前記発光素子から放射された
光信号を受ける受光素子と、前記受光素子に流れた電流
に比例した電圧を用いて、前記発光素子が点灯したこと
を示す点灯告知信号を発生する点灯告知回路と、前記第
1発振クロックに同期した第2発振クロックを用いて前
記点灯告知回路の出力をロジック処理するロジック回路
と、を有し、前記発光素子及び前記受光素子が作る光路
を所定の物体が遮断したか否かに応じた前記ロジック回
路の出力によって、後段の負荷の状態を制御する光検出
器において、 電源電圧を所定の時定数で充電する充電回路と、 前記電源電圧を分圧し、第1基準電圧及び該第1基準電
圧より大きい第2基準電圧を発生する基準電圧発生回路
と、 前記充電回路の充電電圧と前記第1基準電圧とを比較す
る第1コンパレータと、 前記充電回路の充電電圧と前記第2基準電圧とを比較す
る第2コンパレータと、 電源投入時にリセットされ、前記充電回路の充電電圧が
前記第2基準電圧より大きくなった時の前記第2コンパ
レータの出力でセットされ、前記充電回路の充電電圧が
前記第1基準電圧より小さくなった時の前記第1コンパ
レータの出力でリセットされるRSフリップフロップ
と、 前記RSフリップフロップのセット出力に基づいて前記
充電電圧の放電を行う第1放電回路と、 前記充電回路の充電状態に関わらず、前記点灯告知信号
に同期して前記充電電圧を強制的に放電する第2放電回
路と、 前記充電回路の充電状態に関わらず、前記点灯告知信号
に同期して前記RSフリップフロップを強制的にセット
するセット回路と、から成る発振器を備え、 前記発振器の発振出力に基づいて前記駆動回路及び前記
ロジック回路の動作を同期させることを特徴とする光検
出器。
1. A drive circuit for driving a light emitting element to blink in synchronization with a first oscillation clock, a light receiving element for receiving an optical signal emitted from the light emitting element, and a voltage proportional to a current flowing through the light receiving element. Using a lighting notification circuit that generates a lighting notification signal indicating that the light emitting element has been lit, and a logic circuit that logically processes the output of the lighting notification circuit using a second oscillation clock that is synchronized with the first oscillation clock. A photodetector for controlling a load state in a subsequent stage by an output of the logic circuit according to whether or not a predetermined object blocks an optical path formed by the light emitting element and the light receiving element, A charging circuit for charging a voltage with a predetermined time constant; a reference voltage generating circuit for dividing the power supply voltage to generate a first reference voltage and a second reference voltage higher than the first reference voltage; A first comparator for comparing a charging voltage of an electric circuit with the first reference voltage; a second comparator for comparing a charging voltage of the charging circuit with the second reference voltage; Is set by the output of the second comparator when the charging voltage of is higher than the second reference voltage, and the output of the first comparator when the charging voltage of the charging circuit is lower than the first reference voltage. An RS flip-flop that is reset, a first discharge circuit that discharges the charging voltage based on a set output of the RS flip-flop, and the synchronization notification signal, regardless of the charging state of the charging circuit. A second discharging circuit for forcibly discharging the charging voltage, and the RS flip-flop synchronized with the lighting notification signal regardless of the charging state of the charging circuit. Includes a set circuit for forcibly set up, an oscillator consisting of an optical detector, characterized in that synchronizing the operation of said drive circuit and said logic circuit based on the oscillation output of the oscillator.
【請求項2】 前記発振器は前記ロジック回路を動作さ
せるものであって、前記駆動回路及び前記ロジック回路
を各々異なる発振器を用いて動作させる時、前記点灯告
知信号を用いて双方の発振器の同期をとることを特徴と
する請求項1記載の光検出器。
2. The oscillator is for operating the logic circuit, and when the drive circuit and the logic circuit are operated by using different oscillators, the lighting notification signal is used to synchronize both oscillators. The photodetector according to claim 1, characterized in that:
JP24661592A 1992-09-16 1992-09-16 Photo detector Expired - Fee Related JP2925853B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24661592A JP2925853B2 (en) 1992-09-16 1992-09-16 Photo detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24661592A JP2925853B2 (en) 1992-09-16 1992-09-16 Photo detector

Publications (2)

Publication Number Publication Date
JPH0697800A true JPH0697800A (en) 1994-04-08
JP2925853B2 JP2925853B2 (en) 1999-07-28

Family

ID=17151042

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24661592A Expired - Fee Related JP2925853B2 (en) 1992-09-16 1992-09-16 Photo detector

Country Status (1)

Country Link
JP (1) JP2925853B2 (en)

Also Published As

Publication number Publication date
JP2925853B2 (en) 1999-07-28

Similar Documents

Publication Publication Date Title
US5208584A (en) Traffic light and back-up traffic controller
US5910739A (en) Power-up/interrupt delay timer
JPH07264016A (en) Phase synchronizing oscillator arrangement
US4968907A (en) Digital delay generator
EP1542099B1 (en) Electronic clock
JP2925853B2 (en) Photo detector
US4935707A (en) Current reduction of a synthesizer
US4787087A (en) Circuit for driving a laser diode
JP4381488B2 (en) Flash control circuit
JP3358095B2 (en) Photoelectric switch
JP3412876B2 (en) Buzzer drive
JP2593980B2 (en) Photoelectric smoke detector
US5030891A (en) Photoelectric switch
US5408134A (en) Sub-step pulse generating circuit using the period of a step pulse
JP3592359B2 (en) Solar clock
JPH0575420A (en) Photoelectric switch
JPH01320822A (en) Projector for photoelectric switch
JP2577983B2 (en) Bulb decentering detector for navigation sign lights
US4351039A (en) Timepiece with a detector and control circuit for a stepping motor
JPH04366889A (en) Plasma display device
JPH06164356A (en) Photodetector
KR0172079B1 (en) Flash charging circuit using reset i.c.
JP2582357Y2 (en) Time constant stabilization circuit
JPH0467809B2 (en)
JPS6159207A (en) Distance measuring apparatus

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080507

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090507

Year of fee payment: 10

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100507

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees