JPH0467809B2 - - Google Patents
Info
- Publication number
- JPH0467809B2 JPH0467809B2 JP14729086A JP14729086A JPH0467809B2 JP H0467809 B2 JPH0467809 B2 JP H0467809B2 JP 14729086 A JP14729086 A JP 14729086A JP 14729086 A JP14729086 A JP 14729086A JP H0467809 B2 JPH0467809 B2 JP H0467809B2
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- oscillation
- transistor
- output
- collector
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired
Links
Landscapes
- Electronic Switches (AREA)
Description
【発明の詳細な説明】
[発明の目的]
(産業上の利用分野)
本発明は長いパワーオンデイレイ時間と速い応
答速度とが得られるようにした光電スイツチに関
する。DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a photoelectric switch that can provide a long power-on delay time and a fast response speed.
(従来の技術)
例えば、反射形の光電スイツチにおいては、発
振回路の発振出力を分周回路により分周させ、そ
の分周出力を投光回路に与えて発光素子から被検
出部位に向けて投光させるようにし、更に、前記
分周出力をデジタル積分回路に与えるとともに前
記被検出部位の被検出物体からの反射光を受光す
る受光回路からの受光信号を前記デジタル積分回
路に与えるようにし、デジタル積分回路が、前記
受光信号が与えられている間だけ前記分周出力を
カウントしてそのカウント値が所定値になると検
出信号を出力するように構成されたものが供され
ている。(Prior art) For example, in a reflective photoelectric switch, the oscillation output of an oscillation circuit is frequency-divided by a frequency dividing circuit, and the frequency-divided output is applied to a light projecting circuit to project the light from the light emitting element toward the detected area. Further, the frequency-divided output is given to the digital integration circuit, and a light reception signal from a light reception circuit that receives reflected light from the object to be detected at the detection part is given to the digital integration circuit. An integrating circuit is provided that is configured to count the frequency-divided output only while the light reception signal is being applied, and output a detection signal when the count value reaches a predetermined value.
ところで、この種の光電スイツチにおいては、
電源投入時には受光回路内のカツプリング等のコ
ンデンサが充電されるまでの時間は受光回路の動
作は不安定であり、このような状態の時に受光回
路からの受光信号によりデジタル積分回路から検
出信号を出力させることは検出動作が不確実にな
る。従つて、電源投入から一定時間は検出信号を
出さない(パワーオンデイレイ)ようにしておく
必要がある。例えば、デジタル積分用のカウンタ
で前記分周出力をカウントしてパワーオンデイレ
イ時間を得るようにすることが考えられるが、こ
の場合、長いパワーオンデイレイ時間を得るべく
分周回路の分周比を大に設定すると、その後の応
答速度が遅くなり、逆に、速い応答速度を得るべ
く分周回路の分周比を小に設定すると、受光回路
が安定するまでの長いパワーオンデイレイ時間が
得られないという問題がある。 By the way, in this type of photoelectric switch,
When the power is turned on, the operation of the light receiving circuit is unstable until the capacitors such as couplings in the light receiving circuit are charged, and in such a state, a detection signal is output from the digital integration circuit based on the light receiving signal from the light receiving circuit. Doing so makes the detection operation uncertain. Therefore, it is necessary to prevent the detection signal from being output for a certain period of time after the power is turned on (power-on delay). For example, it may be possible to obtain the power-on delay time by counting the frequency-divided output with a digital integration counter, but in this case, the division ratio of the frequency divider circuit may be changed to obtain a long power-on delay time. If it is set to a high value, the subsequent response speed will be slow. Conversely, if the frequency division ratio of the frequency divider circuit is set to a small value in order to obtain a fast response speed, a long power-on delay time will be obtained until the light receiving circuit stabilizes. The problem is that there is no.
このような問題を解決するため、従来では、長
いパワーオンデイレイ時間を確保するためのパワ
ーオンデイレイ用コンデンサを有するパワーオン
デイレイ回路を設けるか或いは分周回路の分周出
力を更に分周するパワーオンデイレイ用分周回路
を設けて、デジタル積分回路の後段の出力回路か
らの出力を拘束するように構成したものが考えら
れている。 In order to solve these problems, conventional methods have been to provide a power-on delay circuit with a power-on delay capacitor to ensure a long power-on delay time, or to further divide the frequency-divided output of the frequency divider circuit. A configuration in which an on-delay frequency dividing circuit is provided to restrict the output from an output circuit subsequent to the digital integrating circuit has been considered.
(発明が解決しようとする問題点)
従来の構成によれば、ICチツプ化する時にお
いて、パワーオンデイレイ回路を設ける前者の場
合にはパワーオンデイレイ用コンデンサを外付け
する必要があり、又、パワーオンデイレイ用分周
回路を設ける後者の場合にはICチツプ上にパワ
ーオンデイレイ用分周回路用の広いスペースを確
保する必要があり、いずれにしても、製作性が劣
り、小形軽量化を損なう問題がある。(Problems to be Solved by the Invention) According to the conventional configuration, when making an IC chip, in the former case where a power-on delay circuit is provided, it is necessary to externally attach a power-on delay capacitor; In the latter case, where a frequency divider circuit for power-on delay is provided, it is necessary to secure a large space on the IC chip for the frequency divider circuit for power-on delay. There is a problem of damage.
本発明は上記事情に鑑みてなされたもので、そ
の目的は、簡単な構成で長いパワーオンデイレイ
時間と速い応答速度とを得ることができ、製作性
に優れ、小形軽量化を図り得る光電スイツチを提
供するにある。 The present invention has been made in view of the above circumstances, and its purpose is to provide a photoelectric switch that can obtain a long power-on delay time and fast response speed with a simple configuration, has excellent manufacturability, and can be made compact and lightweight. is to provide.
[発明の構成]
(問題点を解決するための手段)
本発明の光電スイツチは、発振周期が二段階に
切換えられる発振回路を設け、この発振回路の発
振出力を分周する分周回路を設け、この分周回路
の分周出力をカウントするデジタル積分回路を設
け、電源投入に基づいて前記発振回路を大なる方
の周期で発振させ前記デジタル積分回路が所定値
までカウントすると前記発振回路を小なる方の周
期で発振させるパワーオンデイレイ用発振周期調
整回路を設け、前記分周回路の前記小なる方の周
期の発振出力に基づく分周出力により受光動作若
しくは投光動作を制御する構成に特徴を有する。[Structure of the Invention] (Means for Solving the Problems) The photoelectric switch of the present invention includes an oscillation circuit whose oscillation period can be switched in two stages, and a frequency dividing circuit that divides the oscillation output of the oscillation circuit. , a digital integrator circuit is provided to count the frequency divided output of this frequency divider circuit, and when the power is turned on, the oscillation circuit is caused to oscillate at the greater period, and when the digital integrator circuit counts up to a predetermined value, the oscillation circuit is decreased. A power-on delay oscillation cycle adjustment circuit that causes oscillation to oscillate at the cycle of the smaller one is provided, and the light receiving operation or the light emitting operation is controlled by the frequency division output based on the oscillation output of the frequency division circuit that has the smaller cycle. has.
(作用)
本発明の光電スイツチによれば、発振回路の大
なる方の周期の発振出力に基づいて長いパワーオ
ンデイレイ時間を得、小なる方の周期の発振出力
に基づいて速い応答速度を得んとするものであ
る。(Function) According to the photoelectric switch of the present invention, a long power-on delay time is obtained based on the oscillation output of the larger period of the oscillation circuit, and a fast response speed is obtained based on the oscillation output of the smaller period. This is what we do.
(実施例)
以下本発明を反射形の光電スイツチに適用した
一実施例につき図面を参照しながら説明する。(Embodiment) An embodiment in which the present invention is applied to a reflective photoelectric switch will be described below with reference to the drawings.
先ず、第3図に従つて発振回路Aの構成につい
て述べる。1及び2は直流電圧+Vが印加される
電源端子である。3及び4はPNP形のトランジ
スタ、5はダブルエミツタ方式のPNP形のトラ
ンジスタであり、これらはカレントミラー回路を
形成するように、各エミツタは電源端子1に接続
され、各ベースは共通に接続されており、又、ト
ランジスタ3のコレクタはベースに接続されてい
るとともに抵抗6を介して電源端子2に接続され
ている。7は状態制御用のNPN形のトランジス
タであり、そのコレクタはトランジスタ4のコレ
クタに接続され、エミツタは電源端子2に接続さ
れ、ベースはコントロール端子8に接続されてい
る。9及び10はカレントミラー回路を形成する
ためのNPN形のトランジスタであり、そのトラ
ンジスタ9において、コレクタはトランジスタ7
のコレクタに接続され、エミツタは電源端子2に
接続され、ベースはコレクタに接続されていると
ともにトランジスタ10のベースに接続されてお
り、又、トランジスタ10において、コレクタは
トランジスタ5のコレクタに接続され、エミツタ
は電源端子2に接続されている。11及び12は
カレントミラー回路を形成するためのNPN形の
トランジスタであり、そのトランジスタ11にお
いて、コレクタはトランジスタ10のコレクタに
接続され、エミツタは電源端子2に接続され、ベ
ースはコレクタに接続されているとともにトラン
ジスタ12のベースに接続されており、又、トラ
ンジスタ12のエミツタは電源端子2に接続され
ている。そして、上述したトランジスタ3乃至
5、抵抗6、トランジスタ7及び9乃至12は制
御回路13を構成している。14乃至16は
PNP形のトランジスタであり、これらはカレン
トミラー回路を構成するように、各エミツタは電
源端子1に接続され、各ベースは共通に接続され
ており、又、トランジスタ14のコレクタはベー
スに接続されているとともにトランジスタ12の
コレクタに接続されている。17は充放電制御用
のNPN形のトランジスタであり、そのコレクタ
はトランジスタ15のコレクタに接続され、エミ
ツタは電源端子2に接続されている。18は
NPN形のトランジスタ、19はこのトランジス
タ18とカレントミラー回路を構成するダブルエ
ミツタ方式のNPN形のトランジスタであり、そ
のトランジスタ18において、コレクタはトラン
ジスタ17のコレクタに接続され、エミツタは電
源端子2に接続され、ベースはコレクタに接続さ
れているとともにトランジスタ19のベースに接
続されており、又、トランジスタ19において、
コレクタはトランジスタ16のコレクタに接続さ
れ、エミツタは電源端子2に接続されている。そ
して、上述したトランジスタ14乃至19は作用
回路20を構成している。21は発振用コンデン
サであり、その一方の端子はトランジスタ19の
コレクタに接続され、他方の端子は電源端子2に
接続されている。22は波形整形回路であり、そ
の入力端子Iはトランジスタ19のコレクタに接
続され、出力端子Oaはトランジスタ17のベー
スに接続され、出力端子Obは発振出力端子23
に接続されている。 First, the configuration of the oscillation circuit A will be described with reference to FIG. 1 and 2 are power supply terminals to which a DC voltage +V is applied. 3 and 4 are PNP type transistors, 5 is a double emitter type PNP type transistor, and each emitter is connected to power supply terminal 1, and each base is commonly connected so as to form a current mirror circuit. Further, the collector of the transistor 3 is connected to the base and is also connected to the power supply terminal 2 via a resistor 6. Reference numeral 7 denotes an NPN type transistor for state control, the collector of which is connected to the collector of the transistor 4, the emitter connected to the power supply terminal 2, and the base connected to the control terminal 8. 9 and 10 are NPN type transistors for forming a current mirror circuit, and the collector of transistor 9 is connected to transistor 7.
The emitter is connected to the power supply terminal 2, the base is connected to the collector and the base of the transistor 10, and in the transistor 10, the collector is connected to the collector of the transistor 5, The emitter is connected to power terminal 2. 11 and 12 are NPN transistors for forming a current mirror circuit; in the transistor 11, the collector is connected to the collector of the transistor 10, the emitter is connected to the power supply terminal 2, and the base is connected to the collector. The emitter of the transistor 12 is also connected to the power supply terminal 2. The transistors 3 to 5, the resistor 6, and the transistors 7 and 9 to 12 described above constitute a control circuit 13. 14 to 16 are
These are PNP type transistors, and each emitter is connected to the power supply terminal 1, each base is connected in common, and the collector of the transistor 14 is connected to the base so that they form a current mirror circuit. and is connected to the collector of transistor 12. Reference numeral 17 denotes an NPN type transistor for charge/discharge control, the collector of which is connected to the collector of the transistor 15, and the emitter connected to the power supply terminal 2. 18 is
The NPN type transistor 19 is a double emitter type NPN type transistor that forms a current mirror circuit with this transistor 18. In the transistor 18, the collector is connected to the collector of the transistor 17, and the emitter is connected to the power supply terminal 2. , the base is connected to the collector and to the base of the transistor 19, and in the transistor 19,
The collector is connected to the collector of the transistor 16, and the emitter is connected to the power supply terminal 2. The transistors 14 to 19 described above constitute an operating circuit 20. 21 is an oscillation capacitor, one terminal of which is connected to the collector of the transistor 19, and the other terminal connected to the power supply terminal 2. 22 is a waveform shaping circuit whose input terminal I is connected to the collector of the transistor 19, its output terminal Oa is connected to the base of the transistor 17, and its output terminal Ob is the oscillation output terminal 23.
It is connected to the.
さて、第1図に従つてこの発振回路Aを用いた
全体の概略的構成について述べる。発振回路Aの
発振出力端子23(第3図参照)からの発振出力
信号たる発振パルスは分周回路Bの入力端子Iに
与えられるようになつている。この分周回路Bは
入力端子Iに与えられる発振パルスを例えば1/8
に分周するもので、その分周出力信号たる分周パ
ルスは、出力端子Oaから駆動パルスとして出力
されてアンドゲートUを経て投光回路Cの入力端
子に与えられるとともに、出力端子Obからクロ
ツクパルスとして出力されてデジタル積分回路D
のクロツク端子CKに与えられるようになつてい
る。この場合、投光回路Cは入力端子に駆動パル
スが与えられる毎に発光素子を発光させるように
なつており、該発光素子はそのパルス変調光を被
検出部位に投光するようになつている。Eは受光
回路であり、これは、前記被検出部位の被検出体
から反射された反射パルス変調光を受光する受光
素子を有していて、その受光に基づく受光信号を
出力端子から出力してオアゲートJを経てデジタ
ル積分回路Dの入力端子Iに与えるようになつて
いる。この場合、デジタル積分回路Dは、カウン
タ或いはシフトレジスタから構成されており、連
続的に入力端子Iに受光信号が与えられた時にク
ロツク端子CKに与えられるクロツクパルスをカ
ウントするようになつていて、そのカウント値が
所定値(例えば「5」)となると出力端子から検
出信号を出力するようになつている。そして、こ
のデジタル積分回路Dからの検出信号はアンドゲ
ートKを経て出力回路Fの入力端子に与えられる
ようになつている。この出力回路Fは、例えばト
ランジスタ等から構成されており、入力端子にデ
ジタル積分回路Dから検出信号がアンドゲートK
を経て与えられるとトランジスタがオンしてその
オン出力信号を出力端子から出力するようになつ
ている。Gはパワーオンデイレイ用発振周期調整
回路であり、これはフリツプフロツプからなつて
おり、デジタル積分回路Dからの出力がセツト入
力端子Sに入つており、リセツト入力端子Rの入
力(初期リセツト)がロウレベルになつた後デジ
タル積分回路Dの出力がハイレベルになるまでは
出力端子Qから出力されるコントロール信号S8を
ロウレベルとし、デジタル積分回路Dの出力がハ
イレベルになつた後はコントロール信号S8をハイ
レベルするようになつている。そして、この発振
周期調整回路Gからのコントロール信号S8は発振
回路Aのコントロール端子8に与えられるように
なつている。 Now, with reference to FIG. 1, the overall schematic configuration using this oscillation circuit A will be described. An oscillation pulse, which is an oscillation output signal, from the oscillation output terminal 23 (see FIG. 3) of the oscillation circuit A is applied to the input terminal I of the frequency dividing circuit B. This frequency dividing circuit B divides the oscillation pulse given to the input terminal I into 1/8, for example.
The frequency-divided pulse, which is the frequency-divided output signal, is outputted as a drive pulse from the output terminal Oa and given to the input terminal of the light projecting circuit C via the AND gate U, and the clock pulse is output from the output terminal Ob. output as digital integration circuit D
It is designed to be applied to the clock terminal CK. In this case, the light emitting circuit C causes the light emitting element to emit light every time a driving pulse is applied to the input terminal, and the light emitting element emits the pulse modulated light to the detected part. . E is a light receiving circuit, which has a light receiving element that receives reflected pulse modulated light reflected from the object to be detected at the detection site, and outputs a light receiving signal based on the received light from an output terminal. The signal is applied to an input terminal I of a digital integration circuit D via an OR gate J. In this case, the digital integration circuit D is composed of a counter or a shift register, and is designed to count the clock pulses applied to the clock terminal CK when the light reception signal is continuously applied to the input terminal I. When the count value reaches a predetermined value (for example, "5"), a detection signal is output from the output terminal. The detection signal from the digital integration circuit D is applied to the input terminal of the output circuit F via an AND gate K. This output circuit F is composed of, for example, a transistor, etc., and the detection signal from the digital integration circuit D is input to the input terminal of the AND gate K.
When the transistor is turned on, the ON output signal is output from the output terminal. G is an oscillation period adjustment circuit for power-on delay, which is composed of a flip-flop, the output from the digital integration circuit D is input to the set input terminal S, and the input to the reset input terminal R (initial reset) is set to low level. After the output of the digital integration circuit D becomes high level, the control signal S 8 output from the output terminal Q is set to low level until the output of the digital integration circuit D becomes high level, and after the output of the digital integration circuit D becomes high level, the control signal S 8 are now reaching a high level. The control signal S8 from this oscillation cycle adjustment circuit G is applied to the control terminal 8 of the oscillation circuit A.
次に、本実施例の作用につき説明する。 Next, the operation of this embodiment will be explained.
先ず、発振回路A発振動作について第3図乃至
第7図を参照しながら述べる。今、電源端子1,
2間に直流電圧+Vが印加(電源投入)された時
において、コントロール信号S8がロウレベルであ
る場合について考えてみる。前述したように電源
が投入されると、トランジスタ3のエミツタ、コ
レクタ間には電流iが流れ、このトランジスタ3
とカレントミラー回路を形成するトランジスタ4
のエミツタ、コレクタ間には電流iが流れ且つ同
じくトランジスタ5のエミツタ、コレクタ間には
電流2iが流れ得る状態になる。そして、この時に
はコントロール信号S8はロウレベルで状態制御用
トランジスタ7がオフであるので、トランジスタ
4のエミツタ、コレクタ間に流れる電流iは、第
4図に示すように、トランジスタ9のコレクタ、
エミツタ間に流れるようになり、このトランジス
タ9とカレントミラー回路を形成するトランジス
タ10のコレクタ、エミツタ間にも電流iが流れ
ることになる。従つて、トランジスタ5のエミツ
タ、コレクタ間の電流2iはトランジスタ10,1
1の各エミツタ、コレクタ間の電流iとして分流
するようになる。これにより、このトランジスタ
11とカレントミラー回路を形成するトランジス
タ12のコレクタ、エミツタ間にも電流iが流れ
得るようになり、この電流iはトランジスタ14
のエミツタ、コレクタ間に流れる電流iである。
そして、トランジスタ14のエミツタ、コレクタ
間に電流iが流れると、このトランジスタ14と
カレントミラー回路を形成するトランジスタ1
5,16の各エミツタ、コレクタ間にも電流iが
流れ得る状態になる。ところが、波形整形回路2
2の入力端子Iには発振用コンデンサ21の端子
電圧V21が与えられるようになつており、その波
形整形回路22は、端子電圧V21が上限レベルに
達すると出力端子Oaからの充放電切換信号S22を
ロウレベル「L」とし、端子電圧V21が下限レベ
ルに達すると充放電切換信号S22をハイレベル
「H」とするようになつている。従つて、電源端
子1,2間に直流電圧+Vが印加された当初は発
振用コンデンサ21の端子電圧V21は上限レベル
には達していないので、波形整形回路22は第4
図に示すように、充放電切換信号S22をハイレベ
ル「H」としている。これにより、充放電制御用
トランジスタ17がオンして、トランジスタ15
のエミツタ、コレクタ間に流れる電流iは該トラ
ンジスタ17のコレクタ、エミツタ間に流れるよ
うになり、トランジスタ18,19はともにオフ
状態になつている。この結果、トランジスタ16
のエミツタ、コレクタ間に流れる電流iによつて
発振用コンデンサ21が図示極性に充電されるよ
うになり、その端子電圧V21が上昇する。その
後、発振用コンデンサ21の端子電圧V21が上限
レベルに達すると、第5図に示すように、充放電
切換信号S22をロウレベル「L」に切換えるよう
になり、充放電制御用トランジスタ17がオフす
る。これにより、トランジスタ15のエミツタ、
コレクタ間に流れる電流iはトランジスタ18の
コレクタ、エミツタ間に流れるようになり、この
トランジスタ18とカレントミラー回路を形成す
るトランジスタ19のコレクタ、エミツタ間には
電流2iが流れ得る状態になる。従つて、トランジ
スタ19のコレクタ、エミツタ間にはトランジス
タ16のエミツタ、コレクタ間の電流iは勿論の
こと発振用コンデンサ21の放電電流も流れるよ
うになり、発振用コンデンサ21が放電して端子
電圧V21が下降することになる。その後におい
て、発振用コンデンサ21の端子電圧V21が下限
レベルに達すると、波形整形回路22は充放電切
換信号S22をハイレベル「H」にして充放電制御
用トランジスタ17をオンさせるので、発振用コ
ンデンサ21はトランジスタ16のエミツタ、コ
レクタ間に流れる電流iにより再び充電されるこ
とになる。以下、同様の動作を繰返すことによ
り、波形整形回路22は充放電切換信号S22のハ
イレベル「H」、ロウレベル「L」と同期した発
振周期2Tの発振信号たる発振パルスP23aを出力
端子Obから出力するようになる。次に、コント
ロール信号S8がハイレベル「H」の場合について
考えてみる。この場合には、状態制御用トランジ
スタ7がオンすることから、第6図に示すよう
に、トランジスタ4のエミツタ、コレクタ間に流
れる電流iは状態制御用トランジスタ7のコレク
タ、エミツタ間に流れるようになり、従つて、ト
ランジスタ9のコレクタ、エミツタ間には電流が
流れず、このトランジスタ9とカレントミラー回
路を形成するトランジスタ10のコレクタ、エミ
ツタ間にも電流は流れない。これにより、第6図
に示すように、トランジスタ5のエミツタ、コレ
クタ間に流れる電流2iは全てトランジスタ11の
コレクタ、エミツタ間に流れるようになり、トラ
ンジスタ14のエミツタ、コレクタ間には前述の
2倍の電流2iが流れることになる。この結果、こ
のトランジスタ14とカレントミラー回路を形成
するトランジスタ15,16の各エミツタ、コレ
クタ間にも電流2iが流れ得る状態になる。そし
て、第6図に示すように、充放電切換信号S22が
ハイレベル「H」の時には、トランジスタ15の
エミツタ、コレクタ間の電流2iは充放電制御用ト
ランジスタ17のコレクタ、エミツタ間に流れる
ので、発振用コンデンサ21はトランジスタ16
のエミツタ、コレクタ間に流れる電流2iによつて
充電されるようになり、その端子電圧V21は前述
の2倍の速度で上昇することになる。その後、発
振用コンデンサ21の端子電圧V21が上限レベル
に達すると、第7図に示すように、波形整形回路
22は充放電切換信号S22をロウレベル「L」と
するので、充放電制御用トランジスタ17がオフ
し、トランジスタ15のエミツタ、コレクタ間の
電流2iはトランジスタ18のコレクタ、エミツタ
間に流れるようになり、従つて、このトランジス
タ18とカレントミラー回路を形成するトランジ
スタ19のコレクタ、エミツタ間には電流4iが流
れ得る状態になる。これにより、トランジスタ1
9のコレクタ、エミツタ間にはトランジスタ16
のエミツタ、コレクタ間の電流2iは勿論のこと発
振用コンデンサ21の放電電流も流れるようにな
り、発振用コンデンサ21は放電してその端子電
圧V21は前述の2倍の速度で下降するようにな
る。この結果、波形整形回路22は発振パルス
P23aの発振周期2Tの1/2の発振周期Tの発振パル
スP23bを出力端子Obから出力するようになる。 First, the oscillation operation of oscillation circuit A will be described with reference to FIGS. 3 to 7. Now, power terminal 1,
Let us consider a case where the control signal S8 is at a low level when a DC voltage +V is applied between the terminals 2 and 2 (power is turned on). As mentioned above, when the power is turned on, a current i flows between the emitter and the collector of the transistor 3.
and transistor 4 forming a current mirror circuit.
A current i can flow between the emitter and collector of transistor 5, and a current 2i can also flow between the emitter and collector of transistor 5. At this time, the control signal S8 is at a low level and the state control transistor 7 is off, so the current i flowing between the emitter and the collector of the transistor 4 flows between the collector of the transistor 9 and the collector, as shown in FIG.
Current i now flows between the collector and emitter of transistor 10 forming a current mirror circuit with transistor 9. Therefore, the current 2i between the emitter and collector of transistor 5 is
The current i is divided between each emitter and collector of 1. This allows current i to flow between the collector and emitter of transistor 12 forming a current mirror circuit with transistor 11.
is the current i flowing between the emitter and collector of .
When a current i flows between the emitter and the collector of the transistor 14, the transistor 1 forming a current mirror circuit with the transistor 14
The current i can also flow between the emitters 5 and 16 and the collector. However, waveform shaping circuit 2
The terminal voltage V 21 of the oscillation capacitor 21 is applied to the input terminal I of 2, and the waveform shaping circuit 22 switches charging/discharging from the output terminal Oa when the terminal voltage V 21 reaches the upper limit level. The signal S22 is set to a low level "L", and when the terminal voltage V21 reaches the lower limit level, the charge/discharge switching signal S22 is set to a high level "H". Therefore, when the DC voltage +V is initially applied between the power supply terminals 1 and 2, the terminal voltage V 21 of the oscillation capacitor 21 has not reached the upper limit level, so the waveform shaping circuit 22
As shown in the figure, the charge/discharge switching signal S22 is set to a high level "H". As a result, the charge/discharge control transistor 17 is turned on, and the transistor 15
The current i flowing between the emitter and collector of transistor 17 now flows between the collector and emitter of transistor 17, and both transistors 18 and 19 are in an off state. As a result, transistor 16
The oscillation capacitor 21 is charged to the illustrated polarity by the current i flowing between the emitter and the collector, and its terminal voltage V 21 rises. Thereafter, when the terminal voltage V 21 of the oscillation capacitor 21 reaches the upper limit level, the charge/discharge switching signal S 22 is switched to the low level "L" as shown in FIG. Turn off. As a result, the emitter of the transistor 15,
The current i flowing between the collectors comes to flow between the collector and emitter of the transistor 18, and a current 2i can flow between the collector and emitter of the transistor 19 forming a current mirror circuit with this transistor 18. Therefore, not only the current i between the emitter and collector of the transistor 16 but also the discharge current of the oscillation capacitor 21 flows between the collector and emitter of the transistor 19, and the oscillation capacitor 21 is discharged and the terminal voltage V 21 will go down. After that, when the terminal voltage V 21 of the oscillation capacitor 21 reaches the lower limit level, the waveform shaping circuit 22 sets the charge/discharge switching signal S 22 to high level "H" and turns on the charge/discharge control transistor 17, so that the oscillation occurs. The capacitor 21 is charged again by the current i flowing between the emitter and collector of the transistor 16. Thereafter, by repeating the same operation, the waveform shaping circuit 22 outputs an oscillation pulse P 23 a, which is an oscillation signal with an oscillation period of 2T, synchronized with the high level "H" and low level "L" of the charge/discharge switching signal S 22 . It will now be output from Ob. Next, consider the case where the control signal S8 is at a high level "H". In this case, since the state control transistor 7 is turned on, the current i flowing between the emitter and the collector of the transistor 4 flows between the collector and emitter of the state control transistor 7, as shown in FIG. Therefore, no current flows between the collector and emitter of transistor 9, and no current flows between the collector and emitter of transistor 10, which forms a current mirror circuit with transistor 9. As a result, as shown in FIG. 6, the current 2i flowing between the emitter and the collector of the transistor 5 all flows between the collector and the emitter of the transistor 11, and the current 2i flowing between the emitter and the collector of the transistor 14 is twice as large as that previously described. A current of 2i will flow. As a result, a current 2i can flow between the emitters and collectors of transistors 15 and 16 forming a current mirror circuit with transistor 14. As shown in FIG. 6, when the charge/discharge switching signal S22 is at a high level "H", the current 2i between the emitter and collector of the transistor 15 flows between the collector and emitter of the charge/discharge control transistor 17. , the oscillation capacitor 21 is the transistor 16
will be charged by the current 2i flowing between the emitter and collector of , and its terminal voltage V 21 will rise at twice the rate mentioned above. Thereafter, when the terminal voltage V 21 of the oscillation capacitor 21 reaches the upper limit level, the waveform shaping circuit 22 sets the charge/discharge switching signal S 22 to the low level "L" as shown in FIG. Transistor 17 is turned off, and the current 2i between the emitter and collector of transistor 15 begins to flow between the collector and emitter of transistor 18, and therefore the current 2i between the collector and emitter of transistor 19, which forms a current mirror circuit with transistor 18, flows between the collector and emitter of transistor 18. is in a state where current 4i can flow. As a result, transistor 1
A transistor 16 is installed between the collector and emitter of 9.
Not only the current 2i between the emitter and the collector of the oscillating capacitor 21 but also the discharging current of the oscillating capacitor 21 starts to flow, and the oscillating capacitor 21 is discharged and its terminal voltage V 21 falls at twice the speed mentioned above. Become. As a result, the waveform shaping circuit 22 generates an oscillation pulse.
An oscillation pulse P 23 b with an oscillation period T that is 1/2 of the oscillation period 2T of P 23 a is output from the output terminal Ob.
さて、全体の作用について第1図及び第2図に
従つて述べる。電源を投入すると、この時には初
期リセツトがかかりパワーオンデイレイ用発振周
期調整回路Gもリセツトされてその出力端子Qの
出力即ちコントロール信号S8はロウレベル「L」
である。これにより、発振回路Aは発振周期2T
の発振パルスP23aを出力し、分周回路Bはこの発
振パルスP23aを分周する。そして、この分周回路
Bの出力端子Oaからの分周パルスはアンドゲー
トUの一つの入力となるがアンドゲートUのもう
一つの入力はコントロール信号S8であり、これは
ロウレベル「L」であるので投光回路Cには投光
駆動用パルスは入らない。一方、コントロール信
号S8がロウレベル「L」であるからオアゲートJ
の出力はインバータWによりハイレベル「H」で
あり、それはデジタル積分回路Dの入力端子Iに
与えられ、よつてデジタル積分回路Dは分周回路
Bの出力端子Ohからのパルスをカウントする。
その後、デジタル積分回路Dのカウント値が所定
値(例えば「5」)となるとデジタル積分回路D
の出力はハイレベル「H」になり、この出力はア
ンドゲートMへ入るとともに発振周期調整回路G
のセツト入力端子Sに入る。そして、この出力は
アンドゲートMからさらにオアゲートNを通して
デジタル積分回路Dのリセツト入力端子Rに与え
られてこれがリセツトされるとともにコントロー
ル信号S8がハイレベルとなり、アンドゲートUは
分周回路Bの出力端子Oaからの出力パルスをそ
のまま出力し投光回路Cに投光駆動パルスが入
る。また、オアゲートJは受光回路Eの出力をそ
のまま出力しデジタル積分回路Dの入力端子Iに
入るようになる。また、コントロール信号S8は発
振回路Aの端子8に入り発振回路Aは発振パルス
P23aの代りにその発振周期2Tの1/2の発振周期T
の発振パルスP23bを出力するようになる。従つ
て、分周回路Bにおいて今度はこの発振パルス
P23bを分周してその分周パルスを駆動パルスとし
て投光回路Cに与えかつクロツクパルスとしてデ
ジタル積分回路Dに与えるようになる。 Now, the overall operation will be described with reference to FIGS. 1 and 2. When the power is turned on, an initial reset is performed at this time, and the power-on delay oscillation cycle adjustment circuit G is also reset, so that the output of the output terminal Q, that is, the control signal S8 , becomes a low level "L".
It is. As a result, the oscillation circuit A has an oscillation period of 2T.
The frequency dividing circuit B divides the frequency of this oscillation pulse P 23 a . The frequency divided pulse from the output terminal Oa of this frequency dividing circuit B becomes one input of the AND gate U, and the other input of the AND gate U is the control signal S8 , which is at the low level "L". Therefore, the light projection driving pulse does not enter the light projection circuit C. On the other hand, since the control signal S8 is low level "L", the OR gate J
The output of is at a high level "H" by the inverter W, which is applied to the input terminal I of the digital integrator circuit D, so that the digital integrator circuit D counts the pulses from the output terminal Oh of the frequency divider circuit B.
After that, when the count value of the digital integration circuit D reaches a predetermined value (for example, "5"), the digital integration circuit D
The output becomes high level "H", and this output goes into the AND gate M and the oscillation period adjustment circuit G.
input to the set input terminal S of the . This output is further applied from the AND gate M to the reset input terminal R of the digital integration circuit D through the OR gate N, which is reset and the control signal S8 becomes high level. The output pulse from the terminal Oa is output as is, and the light projection driving pulse is input to the light projection circuit C. Further, the OR gate J outputs the output of the light receiving circuit E as it is and inputs it to the input terminal I of the digital integration circuit D. In addition, the control signal S8 enters the terminal 8 of the oscillation circuit A, and the oscillation circuit A generates an oscillation pulse.
Instead of P 23 a, the oscillation period T is 1/2 of the oscillation period 2T.
The oscillation pulse P 23 b is now output. Therefore, in frequency dividing circuit B, this oscillation pulse
P23b is frequency-divided and the frequency-divided pulse is applied to the light projection circuit C as a drive pulse and to the digital integration circuit D as a clock pulse.
而して、以上のように発振回路Aにおいて発振
パルスP23aから発振パルスP23bに切換える理由は
次の如くである。 The reason for switching from the oscillation pulse P 23 a to the oscillation pulse P 23 b in the oscillation circuit A as described above is as follows.
第1図の構成による光電スイツチの応答速度
は、デジタル積分回路Dのクロツク端子CKの入
力パルスの周波数即ち発振回路Aの発振周期と、
デジタル積分回路Dのカウント設定値(例えば
「5」)とにより決まる。例えば発振回路Aからの
発振パルスの周期をT、分周回路Bの分周出力端
子Obよりの出力パルスの周期を8T、デジタル積
分回路Dのカウント設定値を「5」とすると、応
答時間は8T×5である。さて一方、電源投入時
には受光回路E内のカツプリング等のコンデンサ
が充電されるまでの時間は受光回路Eの動作は不
安定であり、受光回路Eからの受光信号によりデ
ジタル積分回路Dから検出信号を出力させること
は検出動作が不確実になる。従つて、電源投入か
ら一定時間は検出信号を出さないようにしておく
(パワーオンデイレイ)。第2図においてそのパワ
ーオンデイレイ時間は、分周回路Bの出力端子
Obからのパルス周期tとデジタル積分回路Dの
カウント設定値「5」の積即ち5tである。ここ
で、発振回路Aの出力パルスが周期2Tで一定で
あるとすると、t=8×2Tで、パワーオンデイ
レイ時間は8×5×2T、応答速度も8×5×2T
となる。 The response speed of the photoelectric switch with the configuration shown in FIG.
It is determined by the count setting value (for example, "5") of the digital integration circuit D. For example, if the period of the oscillation pulse from the oscillation circuit A is T, the period of the output pulse from the divided output terminal Ob of the frequency dividing circuit B is 8T, and the count setting value of the digital integration circuit D is "5", the response time is It is 8T×5. On the other hand, when the power is turned on, the operation of the light receiving circuit E is unstable until the capacitors such as couplings in the light receiving circuit E are charged. If it is output, the detection operation becomes uncertain. Therefore, the detection signal is not output for a certain period of time after the power is turned on (power-on delay). In Figure 2, the power-on delay time is determined by the output terminal of frequency divider circuit B.
This is the product of the pulse period t from Ob and the count setting value "5" of the digital integration circuit D, that is, 5t. Here, assuming that the output pulse of oscillation circuit A is constant with a period of 2T, t = 8 × 2T, the power-on delay time is 8 × 5 × 2T, and the response speed is also 8 × 5 × 2T.
becomes.
ところで、速い応答速度を得るために発振周期
Tを予め短かくしておくと、パワーオンデイレイ
時間も短くなり受光回路Eが安定するまでの時間
がとれなくなる。そこで、本実施例のように発振
回路Aを、コントロール信号S8がロウレベルのと
き周期2Tで発振パルスを出力しコントロール信
号S8がハイレベルのとき周期Tで発振パルスを出
力するようにしておくと、パワーオンデイレイ時
間は8×5×2T、応答速度は8×5Tとなり、応
答速度は変らず2倍のパワーオンデイレイ時間が
得られる。即ち、長いパワーオンデイレイ時間と
速い応答速度とが得られる。 By the way, if the oscillation period T is shortened in advance in order to obtain a fast response speed, the power-on delay time will also be shortened, making it impossible to take time for the light receiving circuit E to stabilize. Therefore, as in this embodiment, the oscillation circuit A is configured to output an oscillation pulse with a period of 2T when the control signal S8 is at a low level, and output an oscillation pulse with a period of T when the control signal S8 is at a high level. Then, the power-on delay time becomes 8 x 5 x 2T, and the response speed becomes 8 x 5T, so the response speed remains unchanged and the power-on delay time is doubled. That is, a long power-on delay time and a fast response speed can be obtained.
このように本実施例によれば、コントロール信
号S8がロウレベル「L」、ハイレベル「H」に状
態変化されることにより発振出力を発振周期の異
なる発振パルスP23a,P23bの二段階に切換える発
振回路Aを設け、この発振回路Aに与えるコント
ロール信号S8をロウレベル「L」、ハイレベル
「H」に状態変化させるパワーオンデイレイ用発
振周期調整回路Gを設けるようにしたのて、簡単
な構成で長いパワーオンデイレイ時間と速い応答
速度とを得ることができ、従つて、ICチツプ化
する場合でもICチツプ上にフリツプフロツプか
らなるパワーオンデイレイ用発振周期調整回路G
を設けるだけでよいので、従来のパワーオンデイ
レイ回路とは異なりパワーオンデイレイ用コンデ
ンサを外付けする必要がなく、又、従来のパワー
オンデイレイ用分周回路とは異なり発振周期調整
回路GのためにICチツプ上にそれほど広いスペ
ースを確保する必要がなく、それだけ製作性に優
れ、小形軽量化を図り得る。 As described above, according to this embodiment, the oscillation output is divided into two oscillation pulses P 23 a and P 23 b having different oscillation periods by changing the state of the control signal S 8 from low level “L” to high level “H”. An oscillation circuit A that switches between stages is provided, and an oscillation cycle adjustment circuit G for power-on delay that changes the state of the control signal S8 given to the oscillation circuit A from low level "L" to high level "H". , it is possible to obtain a long power-on delay time and a fast response speed with a simple configuration. Therefore, even when integrated into an IC chip, the oscillation cycle adjustment circuit G for power-on delay consisting of a flip-flop on the IC chip can be used.
Unlike conventional power-on-delay circuits, there is no need to externally attach a power-on-delay capacitor, and unlike conventional power-on-delay frequency divider circuits, the oscillation cycle adjustment circuit G It is not necessary to secure a large space on the IC chip, which makes it easier to manufacture and allows for smaller size and lighter weight.
しかも、本実施例によれば、コントロール信号
S8をロウレベル「L」、ハイレベル「H」に状態
変化させることにより一個の発振用コンデンサ2
1を用いるだけで発振周期を二段階に切換える発
振回路Aを設けるようにしたので、例えば発振周
期を二段階に切換えるべく二個の発振用コンデン
サ及びこれらを切換選択する切換スイツチを設け
る場合に比し、発振回路A自体も製作性に優れ且
つ小形軽量化を図り得るものであり、従つて、光
電スイツチ全体としては一層小形軽量化を図り得
るものである。 Moreover, according to this embodiment, the control signal
By changing the state of S8 to low level "L" and high level "H", one oscillation capacitor 2
Since the oscillation circuit A is provided which can switch the oscillation period into two stages by simply using 1, the oscillation period is reduced compared to the case where, for example, two oscillation capacitors and a changeover switch to select between them are provided in order to switch the oscillation period into two stages. However, the oscillation circuit A itself has excellent manufacturability and can be made smaller and lighter, so the photoelectric switch as a whole can be made smaller and lighter.
尚、上記実施例において、トランジスタ9のエ
ミツタと電源端子2との間に抵抗若しくは可変抵
抗を接続して電源制御を行なうようにしてもよ
い。 In the above embodiment, a resistor or a variable resistor may be connected between the emitter of the transistor 9 and the power supply terminal 2 to control the power supply.
又、上記実施例は本発明を反射形の光電スイツ
チに適用した場合であるが、その他の光電スイツ
チに適用してもよいのであり、従つて、投光動作
及び受光動作の双方を制御するもののみならず一
方のみを制御するものにも適用し得る。 Further, although the above embodiment is a case in which the present invention is applied to a reflective photoelectric switch, the present invention may be applied to other photoelectric switches. It can also be applied to control only one side.
尚、念のためではあるが、反射形の光電スイツ
チ自体としては発振回路Aのみならず要は発振周
期が二段階に切換え可能な発振回路であれば充分
に機能し得るのである。 As a precaution, the reflective photoelectric switch itself can function satisfactorily not only with the oscillation circuit A, but also with any oscillation circuit whose oscillation period can be switched in two stages.
[発明の効果]
本発明の光電スイツチは以上説明したように、
発振周期が二段階に切換えられる発振回路を設
け、電源投入及びデジタル積分回路のカウント値
に応じて前記発振周期を切換えるパワーオンデイ
レイ用発振周期調整回路を設けるようにしたの
で、簡単な構成で長いパワーオンデイレイ時間と
速い応答速度とを得ることができ、製作性に優
れ、小形軽量化を図り得るという優れた効果を奏
するものである。[Effects of the Invention] As explained above, the photoelectric switch of the present invention has the following effects:
An oscillation circuit whose oscillation cycle can be switched in two stages is provided, and an oscillation cycle adjustment circuit for power-on delay is provided which switches the oscillation cycle in response to power-on and the count value of the digital integration circuit. The power-on delay time and fast response speed can be obtained, and the device has excellent manufacturability and can be made smaller and lighter.
図面は本発明の一実施例を示し、第1図は全体
の構成を示すブロツク線図、第2図は各部の信号
波形図、第3図は発振回路の結線図、第4図乃至
第7図は作用説明の第3図相当図である。
図面中、Aは発振回路、Bは分周回路、Cは投
光回路、Dはデジタル積分回路、Eは受光回路、
Fは出力回路、Gはパワーオンデイレイ用発振周
期調整回路を示す。
The drawings show one embodiment of the present invention, and Fig. 1 is a block diagram showing the overall configuration, Fig. 2 is a signal waveform diagram of each part, Fig. 3 is a wiring diagram of the oscillation circuit, and Figs. 4 to 7. The figure is a diagram corresponding to Figure 3 for explaining the operation. In the drawing, A is an oscillation circuit, B is a frequency dividing circuit, C is a light emitter circuit, D is a digital integration circuit, E is a light receiving circuit,
F indicates an output circuit, and G indicates an oscillation cycle adjustment circuit for power-on delay.
Claims (1)
と、この発振回路の発振出力を分周する分周回路
と、この分周回路の分周出力をカウントするデジ
タル積分回路と、電源投入に基づいて前記発振回
路を大なる方の周期で発振させ前記デジタル積分
回路が所定値までカウントすると前記発振回路を
小なる方の周期で発振させるパワーオンデイレイ
用発振周期調整回路とを具備し、前記分周回路の
前記小なる方の周期の発振出力に基づく分周出力
により受光動作若しくは投光動作を制御するよう
にしてなる光電スイツチ。1. An oscillation circuit whose oscillation period is switched in two stages, a frequency divider circuit that divides the oscillation output of this oscillation circuit, a digital integration circuit that counts the divided output of this frequency divider circuit, and an oscillation cycle adjustment circuit for power-on delay that causes the oscillation circuit to oscillate at the larger cycle and, when the digital integration circuit counts up to a predetermined value, causes the oscillation circuit to oscillate at the smaller cycle; A photoelectric switch configured to control a light receiving operation or a light emitting operation by a frequency-divided output based on the oscillation output of the smaller period.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14729086A JPS62253219A (en) | 1986-06-24 | 1986-06-24 | Photoelectric switch |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14729086A JPS62253219A (en) | 1986-06-24 | 1986-06-24 | Photoelectric switch |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9593486A Division JPS62252212A (en) | 1986-04-25 | 1986-04-25 | Oscillation circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62253219A JPS62253219A (en) | 1987-11-05 |
| JPH0467809B2 true JPH0467809B2 (en) | 1992-10-29 |
Family
ID=15426861
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP14729086A Granted JPS62253219A (en) | 1986-06-24 | 1986-06-24 | Photoelectric switch |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS62253219A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6448511U (en) * | 1987-09-17 | 1989-03-24 | ||
| JP5085450B2 (en) * | 2008-07-25 | 2012-11-28 | シャープ株式会社 | PULSE MODULATION TYPE PHOTODETECTION DEVICE AND ELECTRONIC DEVICE HAVING THE SAME |
-
1986
- 1986-06-24 JP JP14729086A patent/JPS62253219A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62253219A (en) | 1987-11-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0511805B2 (en) | ||
| JPH0448004B2 (en) | ||
| JPH0736708B2 (en) | Inverter control circuit | |
| US3987435A (en) | Analog-to-digital converter utilizing time reference for effecting conversion | |
| JPH0467809B2 (en) | ||
| JP3758186B2 (en) | PLL circuit | |
| JPS61139776A (en) | Photoelectric switch | |
| JPS62252212A (en) | Oscillation circuit | |
| JP3105510B2 (en) | Semiconductor integrated circuit | |
| US5093584A (en) | Self calibrating timing circuit | |
| JPH01289311A (en) | sawtooth oscillator stage | |
| US5030891A (en) | Photoelectric switch | |
| KR920001482A (en) | Phase locked circuit | |
| JPS6116590Y2 (en) | ||
| EP0415047A2 (en) | Precision timing circuit | |
| JPS6390213A (en) | Automatic mode switching pll circuit | |
| JP2002186275A (en) | Waveform shaping circuit | |
| US6680633B2 (en) | Small-sized analog generator producing clock signals | |
| JPH0719012Y2 (en) | Voltage detection circuit | |
| JP2935319B2 (en) | Multi vibrator | |
| JPS5843298Y2 (en) | oscillation circuit | |
| SU1127097A1 (en) | Frequency w divider with variable countdown | |
| JPS582486B2 (en) | timer | |
| JPH0556656A (en) | Digital-deadtime circuit utilizing reference clock | |
| JPH01208909A (en) | Timer device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| EXPY | Cancellation because of completion of term |