JP2599503Y2 - Sensor device - Google Patents

Sensor device

Info

Publication number
JP2599503Y2
JP2599503Y2 JP1996011487U JP1148796U JP2599503Y2 JP 2599503 Y2 JP2599503 Y2 JP 2599503Y2 JP 1996011487 U JP1996011487 U JP 1996011487U JP 1148796 U JP1148796 U JP 1148796U JP 2599503 Y2 JP2599503 Y2 JP 2599503Y2
Authority
JP
Japan
Prior art keywords
circuit
signal
transistor
control circuit
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP1996011487U
Other languages
Japanese (ja)
Other versions
JPH09276U (en
Inventor
公男 近藤
伸一 橋本
Original Assignee
サンクス株式会社
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 サンクス株式会社 filed Critical サンクス株式会社
Priority to JP1996011487U priority Critical patent/JP2599503Y2/en
Publication of JPH09276U publication Critical patent/JPH09276U/en
Application granted granted Critical
Publication of JP2599503Y2 publication Critical patent/JP2599503Y2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Control Of Amplification And Gain Control (AREA)
  • Amplifiers (AREA)

Description

【考案の詳細な説明】[Detailed description of the invention]

【0001】[0001]

【産業上の利用分野】本考案は、光電センサ等のセンサ
の出力信号を増幅して増幅度を変化させてセンサ感度を
調整するようにしたセンサ装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sensor device which amplifies an output signal of a sensor such as a photoelectric sensor and changes the degree of amplification to adjust the sensor sensitivity.

【0002】[0002]

【従来の技術】例えば、光センサに用いられる増幅回路
においては、その感度を自動的に調整する方法として、
次のようなものがある。すなわち、例えば、特開平3−
123119号公報に開示されたものは、検出エリアに
被検出物体を配置した状態および配置しない状態のそれ
ぞれにおいて増幅度を順次変化させ、そのときのオン点
およびオフ点を検出してそのときのそれぞれの増幅度に
所定値を加算あるいは減算してその中間値を求めて感度
設定を行うようにしたものである。
2. Description of the Related Art For example, in an amplifier circuit used for an optical sensor, a method for automatically adjusting the sensitivity is as follows.
There are the following: In other words, for example,
Japanese Patent Application Laid-Open No. 123119 discloses a method in which the amplification degree is sequentially changed in each of a state where a detected object is arranged in a detection area and a state where the object is not arranged, and an on-point and an off-point at that time are detected. The sensitivity is set by adding or subtracting a predetermined value to or from the amplification degree to obtain an intermediate value.

【0003】[0003]

【考案が解決しようとする課題】しかしながら、上述し
た従来構成のものでは、例えば前者のものの場合には、
固定されたスライスレベルに対して増幅度の設定を行う
ものであるが、増幅度の設定は細かく設定することがで
きず粗い設定しか行えないため、オン点とオフ点とでセ
ンサ信号の差が微小な場合には、スライスレベルに対し
て適切な増幅度に設定できないという問題が生ずる。
However, in the above-described conventional configuration, for example, in the case of the former configuration,
The amplification level is set for a fixed slice level.However, the amplification level cannot be set finely, and only the coarse level can be set. In the case of a very small size, there arises a problem that the amplification degree cannot be set to an appropriate level for the slice level.

【0004】すなわち、例えば、ある増幅度Aにおいて
オン点およびオフ点が共にスライスレベル以上である場
合に、増幅度を一段下げて増幅度Bに設定すると、逆
に、オン点およびオフ点が共にスライスレベル以下とな
ってしまう場合が生ずることがある。この場合に、増幅
度Aと増幅度Bとの中間の増幅度が設定できれば良い
が、実際上はそのような細かい増幅度の設定ができない
ことが多く、したがって、あらかじめ固定されたスライ
スレベルに対して増幅度を設定する場合に適切な増幅度
に設定できなくなり、そのために安定した検出が行えな
くなるという不具合が生ずるのである。
That is, for example, when the ON point and the OFF point are both equal to or higher than the slice level at a certain amplification degree A, if the amplification degree is lowered by one step and set to the amplification degree B, on the other hand, both the ON point and the OFF point become opposite. In some cases, the level becomes lower than the slice level. In this case, it suffices that an intermediate amplification degree between the amplification degree A and the amplification degree B can be set. However, in practice, it is often impossible to set such a fine amplification degree. When the amplification degree is set by using this method, it is impossible to set the amplification degree to an appropriate level, which causes a problem that stable detection cannot be performed.

【0005】また、上述した従来構成のもののうちの後
者のものの場合には、増幅度をあらかじめ決めておくも
のであるため、オン点とオフ点とでセンサ信号の差が微
小な場合に、その増幅信号においてもオン点とオフ点と
で十分な差が得られないような増幅度に設定されている
ことがある。この場合には、オン点とオフ点とで微小差
のセンサ信号を増幅して得られた増幅信号のオン点とオ
フ点とで十分な差が得られていないので、その中間値に
スライスレベルを設定すると、そのスライスレベルとオ
ン点あるいはオフ点との間の余裕度が小さいので、被検
出物のばらつきやノイズなどによってセンサ信号が変動
すると、その増幅信号がスライスレベルを超えて変動す
る恐れがあり、これによって安定した検出動作が行えな
くなる場合が生ずるのである。
In the case of the latter one of the above-mentioned conventional configurations, the amplification degree is determined in advance, so that when the difference between the sensor signals at the on-point and the off-point is very small, the difference is small. In some cases, the amplification degree is set so that a sufficient difference cannot be obtained between the ON point and the OFF point in the amplified signal. In this case, a sufficient difference is not obtained between the ON point and the OFF point of the amplified signal obtained by amplifying the sensor signal having a small difference between the ON point and the OFF point. Is set, the margin between the slice level and the ON point or the OFF point is small. Therefore, if the sensor signal fluctuates due to the variation of the detected object or noise, the amplified signal may fluctuate beyond the slice level. As a result, a stable detection operation may not be performed.

【0006】本考案は、上記事情に鑑みてなされたもの
で、その目的は、オン点とオフ点とでセンサ信号のレベ
ルの差が微小な場合でも、適切な感度設定によって安定
した検出動作を行うことができるようにしたセンサ装置
を提供することにある。
[0006] The present invention has been made in view of the above circumstances, and has as its object the purpose of performing a stable detection operation by setting an appropriate sensitivity even when the level difference of the sensor signal between the ON point and the OFF point is very small. It is an object of the present invention to provide a sensor device capable of performing such operations.

【0007】[0007]

【課題を解決するための手段】本考案のセンサ装置は、
センサ信号を増幅して増幅信号を出力する増幅手段を有
し、その増幅手段から出力される増幅信号と比較基準値
との比較を行うことで被検出物体の判別を行うようにし
たものを対象としており、検出エリア内に被検出物体が
存在する状態および検出エリア内に被検出物体が存在し
ない状態における前記増幅手段からのそれぞれの増幅信
号の読み込み動作を行うための設定スイッチと、この設
定スイッチが操作されたときに、前記検出エリア内に被
検出物体が存在する状態で前記増幅手段から読み込まれ
た増幅信号と前記検出エリア内に被検出物体が存在しな
い状態で前記増幅手段から読み込まれた増幅信号との中
間値が前記増幅手段のダイナミックレンジの略中央とな
るように増幅度を設定すると共に、このときの中間値を
比較基準値として設定する感度設定手段とを設けたとこ
ろに特徴を有する。
The sensor device according to the present invention comprises:
It has an amplifying means for amplifying a sensor signal and outputting an amplified signal, and is intended to determine an object to be detected by comparing an amplified signal output from the amplifying means with a comparison reference value. A setting switch for performing a reading operation of each amplified signal from the amplifying means in a state where the detected object is present in the detection area and in a state where the detected object is not present in the detection area; and a setting switch. Is operated, the amplified signal is read from the amplifying means in a state where the detected object is present in the detection area, and the amplified signal is read from the amplifying means in a state where the detected object is not present in the detection area. The amplification degree is set so that the intermediate value with the amplified signal is substantially at the center of the dynamic range of the amplifying means, and the intermediate value at this time is used as a comparison reference value. Characterized in place of providing a constant sensitivity setting means.

【0008】[0008]

【作用】本考案のセンサ装置によれば、感度設定手段に
より、検出エリア内に被検出物体が存在する状態および
検出エリア内に被検出物体が存在しない状態における増
幅手段からの増幅信号の両者の中間値が増幅手段のダイ
ナミックレンジの略中央レベルとなるように増幅度を設
定すると共に、そのときの中間値を比較基準値として設
定するので、オン点とオフ点とでセンサ信号の差が微小
な場合でも、スライスレベルは必ずオン点とオフ点との
中間値に設定されるようになると共に、オン点とオフ点
との増幅信号の差が十分に得られるような感度に設定さ
れることになるので、常に安定した検出動作を行うこと
ができるようになる。
According to the sensor device of the present invention, the sensitivity setting means sets both the state in which the detected object is present in the detection area and the amplified signal from the amplification means in the state where the detected object is not present in the detection area. Since the amplification degree is set so that the intermediate value is substantially at the center level of the dynamic range of the amplifying means, and the intermediate value at that time is set as the comparison reference value, the difference in the sensor signal between the on point and the off point is very small. In this case, the slice level must always be set to an intermediate value between the ON point and the OFF point, and the sensitivity must be set so that a sufficient difference between the amplified signal between the ON point and the OFF point can be obtained. Therefore, a stable detection operation can always be performed.

【0009】[0009]

【実施例】以下、本考案を反射形光電センサに適用した
場合の一実施例について、図1ないし図5を参照して説
明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to a reflection type photoelectric sensor will be described below with reference to FIGS.

【0010】全体の回路構成を概略的に示す図1におい
て、投光,受光および物体検出の制御を行う制御回路1
1は、マイクロコンピュータ,RAM,ROMおよびA
/D変換回路を含んで構成され、感度設定手段としての
機能を兼ね備えたもので、物体検出プログラムおよび感
度調整のためのプログラムがあらかじめ記憶され、直流
電源端子VCから給電されるようになっている。A/D
変換回路は、例えば8ビットのもので、入力されるアナ
ログ信号を0から255までの範囲の値のデジタル信号
に変換するようになっている。
In FIG. 1 schematically showing the entire circuit configuration, a control circuit 1 for controlling light emission, light reception and object detection is shown.
1 is a microcomputer, RAM, ROM and A
/ D conversion circuit, and also has a function as sensitivity setting means, in which an object detection program and a program for sensitivity adjustment are stored in advance and supplied with power from a DC power supply terminal VC. . A / D
The conversion circuit is, for example, of 8 bits, and converts an input analog signal into a digital signal having a value in a range of 0 to 255.

【0011】センサとしての受光回路12は、後述する
ように構成されるもので、その出力端子は後述する受光
アンプ13の入出力端子a,b間および所定増幅度が設
定された増幅器14を介して制御回路11の入力端子A
に接続されている。この場合、制御回路11において
は、入力端子Aから入力される信号をA/D変換してマ
イクロコンピュータに入力するようになっている。ま
た、受光アンプ13には、後述するように3つの切換入
力端子u,v,wが設けられており、それぞれは制御回
路11の出力端子U,V,Wに接続されている。
The light receiving circuit 12 as a sensor is configured as described later, and its output terminal is connected between input / output terminals a and b of a light receiving amplifier 13 to be described later and via an amplifier 14 having a predetermined amplification degree. Input terminal A of the control circuit 11
It is connected to the. In this case, the control circuit 11 A / D converts the signal input from the input terminal A and inputs the signal to the microcomputer. Further, the light receiving amplifier 13 is provided with three switching input terminals u, v, w as described later, and each is connected to the output terminals U, V, W of the control circuit 11.

【0012】投光回路15は、発光ダイオード16およ
びnpn形トランジスタ17の直列回路を直流電源端子
VCとアースとの間に接続して構成したもので、トラン
ジスタ17のベースは制御回路11の出力端子Bに接続
されており、制御回路11から投光パルスが与えられる
ようになっている。
The light projecting circuit 15 is constructed by connecting a series circuit of a light emitting diode 16 and an npn transistor 17 between a DC power supply terminal VC and the ground. The base of the transistor 17 is connected to the output terminal of the control circuit 11. B, and a light emission pulse is supplied from the control circuit 11.

【0013】表示回路18は、出力表示および安定動作
表示を行うためのもので、出力表示用の発光ダイオード
19および抵抗20の直列回路が直流電源端子VCと制
御回路11の出力端子Cとの間に接続され、安定動作表
示用の発光ダイオード21および抵抗22の直列回路が
直流電源端子VCと制御回路11の出力端子Dとの間に
接続された構成となっている。
The display circuit 18 is for displaying an output and displaying a stable operation. A series circuit of a light emitting diode 19 for output display and a resistor 20 is connected between the DC power supply terminal VC and the output terminal C of the control circuit 11. And a series circuit of a light emitting diode 21 for stable operation display and a resistor 22 is connected between the DC power supply terminal VC and the output terminal D of the control circuit 11.

【0014】出力回路23において、出力用のnpn形
トランジスタ24のベースは抵抗25を介して制御回路
11の出力端子Eに接続され、コレクタは抵抗26を介
して出力端子Pに接続され、エミッタはアースされてい
る。
In the output circuit 23, the base of the output npn transistor 24 is connected to the output terminal E of the control circuit 11 via a resistor 25, the collector is connected to the output terminal P via a resistor 26, and the emitter is Grounded.

【0015】物体検出の感度設定を行うためのオン設定
スイッチ27は、一端が制御回路11の入力端子Fに接
続され、他端がモード設定スイッチ28を介してアース
されている。物体非検出の感度設定を行うためのオフ設
定スイッチ29は、一端が制御回路11の入力端子Gに
接続され、他端がモード設定スイッチ28を介してアー
スされている。
One end of an ON setting switch 27 for setting the sensitivity of object detection is connected to the input terminal F of the control circuit 11, and the other end is grounded via a mode setting switch 28. One end of the off setting switch 29 for setting the sensitivity for non-object detection is connected to the input terminal G of the control circuit 11, and the other end is grounded via the mode setting switch 28.

【0016】また、電源回路30の入力端子は外部電源
端子+Vに接続され、出力端子は直流電源端子VCに接
続されており、外部電源端子+Vに与えられた電圧を所
定の直流電圧に変換して直流電源端子VCを介して回路
全体に供給するようになっている。
The input terminal of the power supply circuit 30 is connected to an external power supply terminal + V, and the output terminal is connected to a DC power supply terminal VC. The power supply circuit 30 converts the voltage applied to the external power supply terminal + V into a predetermined DC voltage. The power is supplied to the entire circuit via the DC power supply terminal VC.

【0017】次に、図2を参照して上述の受光回路12
および受光アンプ13の詳細について説明する。まず、
受光回路12において、npn形のトランジスタ31の
コレクタは抵抗32を介して直流電源端子VCに接続さ
れ、エミッタはアースされている。また、トランジスタ
31のベースは、受光素子としてのフォトダイオード3
3を図示極性で介してアースされると共に、抵抗34を
介してコレクタに接続されている。そして、トランジス
タ31のコレクタは出力端子として受光アンプ13の入
力端子aに接続されている。
Next, with reference to FIG.
The details of the light receiving amplifier 13 will be described. First,
In the light receiving circuit 12, the collector of the npn transistor 31 is connected to the DC power supply terminal VC via the resistor 32, and the emitter is grounded. The base of the transistor 31 is a photodiode 3 as a light receiving element.
3 is connected to the collector via a resistor 34 while being grounded via the polarity shown. The collector of the transistor 31 is connected to the input terminal a of the light receiving amplifier 13 as an output terminal.

【0018】なお、フォトダイオード33により受けら
れた光は電気信号に変換された後、トランジスタ31を
介して例えば1.6倍の電圧を有する受光信号として受
光アンプ13の入力端子aに与えるようになっている。
After the light received by the photodiode 33 is converted into an electric signal, the light is supplied to the input terminal a of the light-receiving amplifier 13 via the transistor 31 as a light-receiving signal having, for example, a 1.6-fold voltage. Has become.

【0019】受光アンプ13は、第1ないし第3の3つ
の増幅回路37,38および39を縦続接続した構成の
もので、これらは全く同様の構成となっており、以下、
増幅回路37の構成を代表として説明し、増幅回路38
および39の構成については説明を省略し、図中に同一
符号を付して示す。
The light receiving amplifier 13 has a configuration in which first to third three amplifier circuits 37, 38 and 39 are cascaded, and these have exactly the same configuration.
The configuration of the amplifier circuit 37 will be described as a representative, and the amplifier circuit 38
Descriptions of the configurations 39 and 39 are omitted, and are denoted by the same reference numerals in the drawings.

【0020】この第1の増幅回路37において、入力段
のトランジスタとしてのnpn形トランジスタ47のコ
レクタは負荷抵抗48を介して直流電源端子VCに接続
され、エミッタは可変抵抗回路としての抵抗切換回路4
9を介してアースされている。トランジスタ47のベー
スは、入力抵抗50およびコンデンサ51を介して第1
の増幅回路37のトランジスタ40のエミッタに接続さ
れている。
In the first amplifier circuit 37, the collector of an npn transistor 47 as a transistor at the input stage is connected to a DC power supply terminal VC via a load resistor 48, and the emitter is a resistance switching circuit 4 as a variable resistor circuit.
9 is grounded. The base of the transistor 47 is connected via the input resistor 50 and the capacitor 51 to the first
Is connected to the emitter of the transistor 40 of the amplifier circuit 37 of FIG.

【0021】出力段のトランジスタとしてのnpn形ト
ランジスタ52のコレクタは直流電源端子VCに接続さ
れ、エミッタは出力抵抗53を介してアースされると共
に帰還抵抗54を介してトランジスタ47のベースに接
続されている。また、トランジスタ52のベースはトラ
ンジスタ47のコレクタに接続されている。
The collector of an npn-type transistor 52 as a transistor at the output stage is connected to a DC power supply terminal VC, the emitter is grounded via an output resistor 53, and connected to the base of a transistor 47 via a feedback resistor 54. I have. The base of the transistor 52 is connected to the collector of the transistor 47.

【0022】前記抵抗切換回路49は、抵抗55と切換
用のnpn形トランジスタ56との並列回路からなるも
ので、トランジスタ56のベースは抵抗57を介してア
ースされると共に抵抗58を介して入力端子uに接続さ
れいている。そして、第1(第2,第3)の増幅回路3
7(38,39)のうち切換回路49を除いた部分が本
考案でいうところの増幅回路に相当する部分となってい
る。
The resistor switching circuit 49 comprises a parallel circuit of a resistor 55 and a switching npn transistor 56. The base of the transistor 56 is grounded via a resistor 57 and an input terminal via a resistor 58. u. Then, the first (second and third) amplifier circuits 3
7 (38, 39) except for the switching circuit 49 is a portion corresponding to the amplifier circuit in the present invention.

【0023】なお、第1の増幅回路37のトランジスタ
52のエミッタは、出力端子として第2の増幅回路38
の入力側つまりコンデンサ51および入力抵抗50を介
してトランジスタ47のベースに接続され、第2の増幅
回路38のトランジスタ52のエミッタは、出力端子と
して第3の増幅回路39のコンデンサ51および入力抵
抗50を介してトランジスタ47のベースに接続され、
第3の増幅回路39のトランジスタ52のエミッタは受
光アンプ13の出力端子bに接続されている。また、第
2の増幅回路38のトランジスタ56のベースは抵抗5
8を介して入力端子vに接続され,第3の増幅回路39
のトランジスタ56のベースは抵抗58を介して入力端
子wに接続されている。
The emitter of the transistor 52 of the first amplifier 37 is connected to the second amplifier 38 as an output terminal.
Is connected to the base of the transistor 47 via the capacitor 51 and the input resistor 50, and the emitter of the transistor 52 of the second amplifier circuit 38 is connected to the capacitor 51 and the input resistor 50 of the third amplifier circuit 39 as output terminals. Is connected to the base of the transistor 47 through
The emitter of the transistor 52 of the third amplifier circuit 39 is connected to the output terminal b of the light receiving amplifier 13. The base of the transistor 56 of the second amplifier circuit 38 is connected to the resistor 5
8 to the input terminal v, and the third amplifying circuit 39
The transistor 56 has a base connected to an input terminal w via a resistor 58.

【0024】次に、本実施例の作用について、まず、受
光アンプ13を構成する第1ないし第3の増幅回路37
ないし39の増幅度の切換動作の原理について説明し、
続いて図3ないし図5に示すフローチャートを参照して
感度調整の動作について説明する。
Next, regarding the operation of the present embodiment, first, the first to third amplifying circuits 37 constituting the light receiving amplifier 13 will be described.
The principle of the switching operation of the amplification degree of thirty-nine or thirty nine is explained,
Subsequently, the operation of the sensitivity adjustment will be described with reference to the flowcharts shown in FIGS.

【0025】(1)増幅度切換の原理説明 第1ないし第3の増幅回路37ないし39においては、
それぞれ同様の動作をするので、以下第1の増幅回路3
7を代表として説明する。
(1) Explanation of Principle of Switching Amplification Degree In the first to third amplification circuits 37 to 39,
Since the same operation is performed, the first amplifier circuit 3
7 will be described as a representative.

【0026】まず、入力段のトランジスタ47の増幅度
をAとし、出力段のトランジスタ52の増幅度を“1”
とすると、帰還抵抗54を考慮しない場合の全体の増幅
度はAとなる。また、帰還抵抗54を考慮した閉ループ
増幅度Avcは、入力抵抗50および帰還抵抗54の各抵
抗値をR50およびR54とすると、次式のように求められ
る。
First, the amplification of the transistor 47 in the input stage is A, and the amplification of the transistor 52 in the output stage is "1".
Then, the overall amplification factor is A when the feedback resistor 54 is not considered. Further, the closed-loop amplification Avc taking the feedback resistor 54 into consideration is given by the following equation, where the resistance values of the input resistor 50 and the feedback resistor 54 are R50 and R54.

【0027】[0027]

【数1】 (Equation 1)

【0028】一方、入力段のトランジスタ47の増幅度
Aは、抵抗切換回路49の設定状態に応じて異なる値に
設定される。すなわち、抵抗切換回路49においては、
制御回路11の出力端子V(あるいはW)から与えられ
る制御信号のレベルが「L」レベルのときには、トラン
ジスタ56がオフ状態であるから、入力段のトランジス
タ47のエミッタには抵抗55が介在された状態とな
り、制御信号のレベルが「H」レベルになると、トラン
ジスタ56がオン状態となって、入力段のトランジスタ
47のエミッタは略アースレベルに設定されるようにな
る。
On the other hand, the amplification degree A of the transistor 47 in the input stage is set to a different value according to the setting state of the resistance switching circuit 49. That is, in the resistance switching circuit 49,
When the level of the control signal supplied from the output terminal V (or W) of the control circuit 11 is at the “L” level, the transistor 56 is off, so that the resistor 55 is interposed at the emitter of the transistor 47 in the input stage. In this state, when the level of the control signal becomes "H" level, the transistor 56 is turned on, and the emitter of the transistor 47 in the input stage is set to a substantially ground level.

【0029】したがって、入力段のトランジスタ47の
増幅度Aは、トランジスタ56がオン状態でトランジス
タ47のエミッタが略アースされた状態のときの増幅度
AONと、トランジスタ56がオフ状態でトランジスタ4
7のエミッタに抵抗55が介在された状態の増幅度AOF
F との両者に切換えられるようになる。そこで、抵抗5
5の抵抗値をR55とすると、各増幅度AONおよびAOFF
の値は次式のように表すことができる。
Therefore, the amplification factor A of the transistor 47 in the input stage is the amplification factor AON when the transistor 56 is on and the emitter of the transistor 47 is substantially grounded, and the amplification factor AON when the transistor 56 is off.
Amplification AOF with resistor 55 interposed between emitter 7
F can be switched to both. Therefore, the resistance 5
Assuming that the resistance value of R5 is R55, each amplification degree AON and AOFF
Can be expressed as follows:

【0030】[0030]

【数2】 (Equation 2)

【0031】なお、上記式(3)および(4)におい
て、rb はTパラメータで表したトランジスタ47のベ
ース抵抗,re は同エミッタ抵抗,βはトランジスタ4
7のエミッタ接地電流増幅率とし、トランジスタ56の
オン抵抗およびリーク電流はゼロとして上記式を導いて
いる。
In the above equations (3) and (4), rb is the base resistance of the transistor 47 expressed by the T parameter, re is the emitter resistance, and β is the transistor 4
The above equation is derived assuming that the grounded emitter current amplification factor is 7, and the on-resistance and leak current of the transistor 56 are zero.

【0032】さて、前述の式(1)で示した第1ないし
第3の増幅回路37ないし39の全体の増幅度Avcは、
上述の式(3)および(4)で示すように、入力段のト
ランジスタ47の増幅度AONおよびAOFF の値により異
なる値となるので、式(3)および式(4)をそれぞれ
式(1)に代入すると、回路全体の増幅度AvcONおよび
AvcOFF は次式のように表すことができる。
The overall amplification Avc of the first to third amplifier circuits 37 to 39 shown in the above equation (1) is:
As shown by the above equations (3) and (4), the values differ depending on the values of the amplification factors AON and AOFF of the transistor 47 in the input stage. Therefore, the equations (3) and (4) are respectively replaced by the equations (1) and (4). Then, the amplification factors AvcON and AvcOFF of the whole circuit can be expressed as the following equations.

【0033】[0033]

【数3】 (Equation 3)

【0034】次に、具体的数値を用いて本実施例におけ
る第1ないし第3の増幅回路37ないし39の各増幅度
AvcONおよびAvcOFF を求める。まず、入力抵抗50,
負荷抵抗48,抵抗55および帰還抵抗54の各抵抗値
R50,R48,R55およびR54を、それぞれ、R50=10
kΩ,R48=20kΩ,R55=13.47kΩおよびR
54=53.24kΩとし、入力段のトランジスタ47の
ベース抵抗rb およびエミッタ抵抗re およびエミッタ
接地電流増幅率βを、それぞれ、rb =500Ω,re
=200Ωおよびβ=100と設定したとする。する
と、増幅度AON,AOFF およびRは、それぞれ式
(2),(3)および(4)に代入して近似すると、 AON =−97.56 …(7) AOFF =−1.463 …(8) R =0.581 …(9) となる。
Next, using the specific numerical values, the respective amplification factors AvcON and AvcOFF of the first to third amplifier circuits 37 to 39 in this embodiment are obtained. First, the input resistance 50,
The respective resistance values R50, R48, R55 and R54 of the load resistor 48, the resistor 55 and the feedback resistor 54 are calculated as follows.
kΩ, R48 = 20 kΩ, R55 = 13.47 kΩ and R
54 = 53.24 kΩ, and the base resistance rb, the emitter resistance re, and the common emitter current amplification factor β of the transistor 47 in the input stage are rb = 500 Ω, re, respectively.
= 200Ω and β = 100. Then, the amplification factors AON, AOFF and R are approximated by substituting into equations (2), (3) and (4), respectively, and AON = −97.56 (7) AOFF = −1.463 (8) ) R = 0.581 (9)

【0035】したがって、式(7),(8),(9)の
値を式(5)および(6)に代入すると、 AvcON =−5.00 …(10) AvcOFF =−1.00 …(11) となり、この結果、第1ないし第3の増幅回路37ない
し39の増幅度を、制御回路11の出力端子Vあるいは
Wからの制御信号のレベルにより1倍と5倍との両者に
切換えることができるのである。
Therefore, when the values of equations (7), (8) and (9) are substituted into equations (5) and (6), AvcON = −5.00 (10) AvcOFF = −1.00 ( 11) As a result, the degree of amplification of the first to third amplifying circuits 37 to 39 is switched to both 1 times and 5 times according to the level of the control signal from the output terminal V or W of the control circuit 11. You can do it.

【0036】また、受光アンプ13を、このように3つ
の増幅回路37,38,39により構成すると共に、そ
れら各々を1倍および5倍の増幅度に切換可能にしてい
るので、制御回路11の出力端子U,V,Wからの制御
信号により、最小1倍から5倍,25倍そして最大12
5倍までの増幅度の変更設定することができるのであ
る。
Further, the light receiving amplifier 13 is constituted by the three amplifier circuits 37, 38, and 39 as described above, and each of them can be switched to one and five times the amplification degree. Depending on the control signals from the output terminals U, V, W, the minimum is 1 to 5 times, 25 times and the maximum is 12 times.
It is possible to change and set the amplification degree up to 5 times.

【0037】そして、制御回路11に設けられた8ビッ
トのA/D変換器のデジタル値を、51から255まで
使用するようにすると、上述のように増幅度を1倍から
125倍までを4段階に切換えることにより、制御回路
11に入力される出力信号を2%の分解能で変換でき、
この場合に、結果として受光回路12からの受光信号を
625倍のダイナミックレンジで変換することができ
る。
When the digital value of the 8-bit A / D converter provided in the control circuit 11 is used from 51 to 255, the amplification degree is increased from 1 to 125 as described above. By switching between the stages, the output signal input to the control circuit 11 can be converted with a resolution of 2%,
In this case, as a result, the light receiving signal from the light receiving circuit 12 can be converted with a dynamic range of 625 times.

【0038】これにより、例えば、受光回路12のフォ
トダイオード33により得られる光信号が1mV程度で
あるとすると、その出力信号が約1.6mVとなり、最
小1.6mVから最大1.0V程度までの範囲でA/D
変換出力として得られるようになる。
Thus, for example, assuming that the optical signal obtained by the photodiode 33 of the light receiving circuit 12 is about 1 mV, the output signal becomes about 1.6 mV, which is from a minimum of 1.6 mV to a maximum of about 1.0 V. A / D in range
It can be obtained as a conversion output.

【0039】(2)検出および感度調整の動作説明 次に、本実施例の感度調整の動作について説明する。制
御回路11は、図3ないし図5に示すプログラムのフロ
ーチャートにしたがって検出動作および感度調整動作を
行う。すなわち、電源が与えられると、制御回路11は
図3に示すフローチャートのプログラムを開始(スター
ト)し、ステップS1で初期化処理を行い、続いて、ス
テップS2で初期設定されている増幅度となるように出
力端子U,VおよびWから制御信号を出力する。
(2) Explanation of Operation of Detection and Sensitivity Adjustment Next, the operation of sensitivity adjustment of this embodiment will be described. The control circuit 11 performs a detection operation and a sensitivity adjustment operation in accordance with the flowcharts of the programs shown in FIGS. That is, when the power is supplied, the control circuit 11 starts (starts) the program of the flowchart shown in FIG. 3, performs an initialization process in step S1, and subsequently has the amplification degree initialized in step S2. Control signals are output from output terminals U, V, and W as described above.

【0040】この後、制御回路11は、ステップS3に
移行して投光動作を行う。この場合、制御回路11は、
所定周波数で投光パルスを出力端子Bから出力し、投光
回路15の発光ダイオード16を点灯させ、パルス光を
出力させるようになる。このパルス光が、物体に反射す
る等して受光回路12に入射すると、受光回路12から
受光アンプ13および増幅器14を介して制御回路11
の入力端子Aに増幅された受光信号が入力されるように
なる。
Thereafter, the control circuit 11 proceeds to step S3 to perform a light emitting operation. In this case, the control circuit 11
A light emitting pulse is output from the output terminal B at a predetermined frequency, the light emitting diode 16 of the light emitting circuit 15 is turned on, and pulse light is output. When this pulsed light is incident on the light receiving circuit 12 by being reflected on an object or the like, the pulse light is transmitted from the light receiving circuit 12 to the control circuit
The amplified light receiving signal is input to the input terminal A.

【0041】そして、制御回路11は、ステップS4に
移行すると入力端子Aに受光回路12側から入力される
受光信号をA/D変換し、続いてステップS5でA/D
変換した受光信号の値があらかじめ設定されている比較
基準値以上であるか否かを判断する。このとき、A/D
変換された受光信号の値が比較基準値以上であるとき
に、制御回路11は、ステップS5で「YES」と判断
してステップS7に移行し、そうでない場合には「N
O」と判断してステップS8に移行する。
When the control circuit 11 proceeds to step S4, the control circuit 11 A / D converts the light receiving signal input from the light receiving circuit 12 to the input terminal A, and then performs A / D conversion in step S5.
It is determined whether or not the value of the converted light receiving signal is equal to or greater than a preset comparison reference value. At this time, A / D
When the value of the converted light receiving signal is equal to or greater than the comparison reference value, the control circuit 11 determines “YES” in step S5 and shifts to step S7.
O ”is determined, and the process proceeds to step S8.

【0042】そして、制御回路11は、ステップS7に
おいては、出力オンの処理として、表示回路18の出力
表示用の発光ダイオード19に出力端子Cから表示出力
を与えて点灯させ、また、A/D変換された受光信号の
値が安定動作レベル以上であるときには安定動作表示用
の発光ダイオード21にも出力端子Dから表示出力を与
えて点灯させる。また、検出回数が所定回数に達してい
るときには、制御回路11は、出力回路23のトランジ
スタ24に出力端子Eから出力信号を与えて出力端子P
を検出状態を示す状態に反転させるようにする。一方、
制御回路11は、ステップS8においては、出力オフの
処理として、上述の出力オンの処理を停止させるように
なる。
Then, in step S7, the control circuit 11 applies a display output from the output terminal C to the light emitting diode 19 for output display of the display circuit 18 to turn on the light, and performs the A / D operation as the output on process. When the value of the converted light receiving signal is equal to or higher than the stable operation level, a display output is also given from the output terminal D to the light emitting diode 21 for stable operation display, and the light emitting diode 21 is turned on. When the number of detections has reached the predetermined number, the control circuit 11 supplies an output signal from the output terminal E to the transistor 24 of the output circuit 23 to output the signal to the output terminal P.
Is inverted to a state indicating the detection state. on the other hand,
In step S8, the control circuit 11 stops the output on process as the output off process.

【0043】続いて、制御回路11は、ステップS9お
よびS10で、モード設定スイッチ28がオンされた状
態で、オン設定スイッチ27がオンされているかあるい
はオフ設定スイッチ29がオンされているか否かを判断
する。そして、制御回路11は、オン設定スイッチ27
がオンされているときにはステップS11のオン設定処
理に移行し、オフ設定スイッチ29がオンされていると
きにはステップS12のオフ設定処理に移行する。ま
た、上述の状態に該当しないときには、制御回路11
は、ステップS3に戻って再び前述の検出動作を繰り返
すようになる。
Subsequently, in steps S9 and S10, the control circuit 11 determines whether the ON setting switch 27 or the OFF setting switch 29 is ON while the mode setting switch 28 is ON. to decide. Then, the control circuit 11 controls the ON setting switch 27
Is turned on, the process proceeds to an on-setting process in step S11, and if the off-setting switch 29 is on, the process proceeds to an off-setting process in step S12. In addition, when the above state is not satisfied, the control circuit 11
Returns to step S3 to repeat the above-described detection operation again.

【0044】この場合、ステップS11のオン設定処理
とは、投光回路15からのパルス光を、検出したい物体
により実際に反射させ、このとき受光回路12から出力
される受光信号により物体の検出状態として出力させる
ように設定するための処理で、この処理は、検出すべき
物体が実際に検出エリア内に配置された状態で実施され
るようになっている。
In this case, the ON setting process in step S11 is that the pulse light from the light projecting circuit 15 is actually reflected by the object to be detected, and the detection state of the object is determined by the light receiving signal output from the light receiving circuit 12 at this time. This processing is performed in a state where the object to be detected is actually arranged in the detection area.

【0045】一方、ステップS12のオフ設定処理と
は、検出エリア内から反射光がある程度入射した場合で
も、その受光信号により検出状態を出力させたくない場
合に行う設定処理で、例えば、検出したい物体の周囲に
投光回路15から出力されるパルス光をある程度反射す
る背景がある場合等にその検出したい物体からの反射光
を受けた場合のみに確実に検出状態として出力するため
の設定処理である。
On the other hand, the off setting process in step S12 is a setting process performed when it is not desired to output a detection state by a light reception signal even when reflected light is incident to some extent from the detection area. Is a setting process for surely outputting a detection state only when reflected light from an object to be detected is received, for example, when there is a background that reflects the pulse light output from the light projecting circuit 15 to some extent around the object. .

【0046】さて、制御回路11は、ステップS11の
オン設定処理において、図4に示すオン設定処理のプロ
グラムを実行するようになる。すなわち、制御回路11
は、まずステップT1で、受光アンプ13の増幅度を前
述したような原理に基づいて最大の値に設定する。この
場合、制御回路11は、出力端子U,V,Wのそれぞれ
から、「H」,「H」,「H」レベルの信号を出力し、
第1ないし第3の増幅回路37ないし39の増幅度をそ
れぞれ大きい方に設定する。
The control circuit 11 executes the on-setting processing program shown in FIG. 4 in the on-setting processing in step S11. That is, the control circuit 11
First, in step T1, the amplification degree of the light receiving amplifier 13 is set to the maximum value based on the principle described above. In this case, the control circuit 11 outputs “H”, “H”, and “H” level signals from the output terminals U, V, and W, respectively.
The amplification degree of each of the first to third amplifier circuits 37 to 39 is set to a larger one.

【0047】続いて、制御回路11は、投光回路15に
投光動作を行わせ(ステップT2)、受光信号のサンプ
ルホールドをして(ステップT3)その受光信号をA/
D変換する(ステップT4)。なお、このとき検出すべ
き物体をあらかじめ配置しておき、投光回路15からの
パルス光を反射して受光回路12側に入射させるように
しておく。そして、制御回路11は、ステップT5に移
行して、A/D変換された受光信号の値がオーバーフロ
ーしているか否かを判断し、「YES」の場合にはステ
ップT6で増幅度を1段下げる処理を行った後ステップ
T2に戻って再びステップT2ないしT5を繰り返す。
Subsequently, the control circuit 11 causes the light emitting circuit 15 to perform a light emitting operation (step T2), samples and holds the received light signal (step T3), and converts the received light signal to an A / A signal.
D conversion is performed (step T4). At this time, an object to be detected is arranged in advance, and the pulse light from the light emitting circuit 15 is reflected and made incident on the light receiving circuit 12 side. Then, the control circuit 11 proceeds to step T5 to determine whether or not the value of the A / D-converted light receiving signal has overflowed. If "YES", the control circuit 11 increases the amplification degree by one step in step T6. After performing the lowering process, the process returns to step T2 and repeats steps T2 to T5 again.

【0048】制御回路11は、上述の動作を繰り返すう
ちに、A/D変換された受光信号の値がオーバーフロー
しなくなってステップT5で「NO」と判断するように
なると、ステップT7に進み、そのときのA/D変換さ
れた受光信号の値とその増幅度とをオン点のデータとし
て内部のメモリに記憶するようになる。
If the value of the A / D-converted light-receiving signal does not overflow and the result of the determination is "NO" in step T5, the control circuit 11 proceeds to step T7. The value of the A / D converted light receiving signal and its amplification degree are stored in the internal memory as ON point data.

【0049】続いて、制御回路11は、ステップT8に
移行し、新たな比較基準値として次の演算を行う。すな
わち、いま記憶したA/D変換された受光信号の値およ
びそのときの増幅度と、初期設定されているオフ点のデ
ータあるいは後述のように設定記憶されるオフ点のデー
タとしてのA/D変換された受光信号の値およびそのと
きの増幅度とから、それらの中間の値を演算して新たな
比較基準値として求め、これをメモリに記憶するように
なる。
Subsequently, the control circuit 11 proceeds to step T8, and performs the following calculation as a new comparison reference value. That is, the value of the currently stored A / D-converted light receiving signal and the amplification degree at that time, and the A / D as the initially set off-point data or the off-point data set and stored as described later. From the value of the converted light receiving signal and the amplification at that time, an intermediate value between them is calculated to obtain a new comparison reference value, which is stored in the memory.

【0050】この場合、制御回路11は、比較基準値と
なるA/D変換値としてのデジタル値は、受光アンプ1
3のダイナミックレンジ(入力信号を増幅するときの出
力範囲)の略中央となるように上述の増幅度を選択して
設定するようになっており、また、オン点とオフ点とで
増幅度が異なる場合には、同じ増幅度にしたときのA/
D変換値に換算して上述の設定を行う。
In this case, the control circuit 11 sends the digital value as the A / D conversion value serving as the comparison reference value to the light receiving amplifier 1
3 is selected and set so as to be substantially at the center of the dynamic range (output range when amplifying the input signal), and the amplification degree is set between the ON point and the OFF point. If different, A /
The above setting is performed by converting to a D conversion value.

【0051】さて、このように、増幅度と比較基準値と
を演算記憶すると、制御回路11は、ステップT9で、
演算記憶した増幅度となるように出力端子U,V,Wか
ら制御信号を出力して設定し、前述の検出プログラムに
リターンするようになる。
When the amplification degree and the comparison reference value are calculated and stored in this way, the control circuit 11 determines in step T9 that
A control signal is output from the output terminals U, V, and W to set the amplification degree calculated and stored, and the program returns to the aforementioned detection program.

【0052】一方、制御回路11は、ステップS12の
オフ設定処理において、図5に示すオフ設定処理のプロ
グラムを実行するようになる。すなわち、あらかじめ配
置された検出したくない物体に対して、制御回路11
は、上述のオン設定処理プログラムと同様にして、ステ
ップP1ないしP6を経て、検出したくない物体の受光
信号を入力するようになる。
On the other hand, the control circuit 11 executes the off setting processing program shown in FIG. 5 in the off setting processing in step S12. That is, the control circuit 11 controls the object placed in advance and which is not to be detected.
As in the case of the above-described ON setting processing program, through steps P1 to P6, a light receiving signal of an object not to be detected is input.

【0053】そして、制御回路11は、ステップP7に
おいて、検出したくない物体のA/D変換された受光信
号の値およびそのときの増幅度をオフ点のデータとして
内部のメモリに記憶するようになる。続いて、制御回路
11は、ステップP8に移行し新たな比較基準値として
次の演算を行う。すなわち、いま記憶したA/D変換さ
れた受光信号の値およびそのときの増幅度と、前述のよ
うに設定されたオン点のデータとしてのA/D変換され
た受光信号の値およびそのときの増幅度とから、それら
の中間の値を演算して新たな比較基準値として求め、こ
れをメモリに記憶するようになる。
Then, in step P7, the control circuit 11 stores the value of the A / D-converted light-receiving signal of the object not to be detected and the amplification at that time in the internal memory as off-point data. Become. Subsequently, the control circuit 11 proceeds to Step P8 and performs the next calculation as a new comparison reference value. That is, the value of the currently stored A / D converted light receiving signal and the amplification degree at that time, the value of the A / D converted light receiving signal as the data of the ON point set as described above, and the value at that time From the amplification degree, an intermediate value between them is calculated to obtain a new comparison reference value, which is stored in the memory.

【0054】この場合、制御回路11は、比較基準値と
なるA/D変換値としてのデジタル値は、受光アンプ1
3のダイナミックレンジ(入力信号を増幅するときの出
力範囲)の略中央となるように上述の増幅度を選択して
設定するようになっており、また、オン点とオフ点とで
増幅度が異なる場合には、同じ増幅度にしたときのA/
D変換値に換算して上述の設定を行う。そして、このよ
うに増幅度と比較基準値とを演算記憶すると、制御回路
11は、ステップP9で、演算記憶した増幅度となるよ
うに出力端子U,V,Wから制御信号を出力して設定
し、前述の検出プログラムにリターンするようになる。
In this case, the control circuit 11 sends the digital value as the A / D conversion value serving as the comparison reference value to the light receiving amplifier 1
3 is selected and set so as to be substantially at the center of the dynamic range (output range when amplifying the input signal), and the amplification degree is set between the ON point and the OFF point. If different, A /
The above setting is performed by converting to a D conversion value. When the amplification degree and the comparison reference value are calculated and stored in this way, the control circuit 11 outputs and sets a control signal from the output terminals U, V, W so that the calculated and stored amplification degree is obtained in step P9. Then, the process returns to the above-described detection program.

【0055】これにより、使用者の使用条件に応じて、
検出したい物体と検出したくない物体との中間点の比較
基準値が所定の増幅度で設定されたことになり、図3に
おける物体検出のプログラムにおいて、制御回路11
は、確実に検出したい物体のみを検出して出力すること
ができるようになる。
Thus, according to the use conditions of the user,
The comparison reference value of the intermediate point between the object to be detected and the object not to be detected is set at a predetermined amplification degree, and the control circuit 11 in the object detection program in FIG.
Can detect and output only the object to be reliably detected.

【0056】このような本実施例によれば、制御回路1
1により、感度設定の際に、オン点およびオフ点の受光
信号のデータとそのときの増幅度とに基づいて、それら
の中間値を比較基準値として設定するので、オン点とオ
フ点との間のセンサ信号としての受光信号の差が微小で
あっても、比較基準値は必ず両者の中間値に設定するこ
とができると共に、オン点とオフ点との増幅信号の差が
十分に得ることができるようになって常に安定した検出
動作を行うことができるようになる。
According to this embodiment, the control circuit 1
According to 1, when the sensitivity is set, an intermediate value between the ON point and the OFF point is set as a comparison reference value based on the light receiving signal data at the ON point and the OFF point and the amplification at that time. Even if the difference between the received light signals as the sensor signal between the two is very small, the comparison reference value can always be set to an intermediate value between the two, and the difference between the amplified signals between the ON point and the OFF point must be sufficiently obtained. And a stable detection operation can always be performed.

【0057】また、本実施例によれば、受光アンプ13
の第1ないし第3の増幅回路37ないし39を、オペア
ンプやアナログスイッチなどの大きなIC部品を使用す
ることなく構成することができ、回路全体の小形化が図
れると共に、製作費用を低減することができる。
According to the present embodiment, the light receiving amplifier 13
The first to third amplifier circuits 37 to 39 can be configured without using large IC parts such as operational amplifiers and analog switches, so that the entire circuit can be downsized and the manufacturing cost can be reduced. it can.

【0058】さらに、本実施例によれば、第1ないし第
3の増幅回路37ないし39を用いて、各増幅回路37
ないし39の増幅度を制御回路11から切換信号を出力
して切換えることにより全体の増幅度を切換えてその感
度を調整する構成としたので、広いダイナミックレンジ
を確保することができ、受光信号の大幅な変化に追随し
て検出動作を行うことができる。
Further, according to the present embodiment, each of the amplifier circuits 37 to 39 is used by using the first to third amplifier circuits 37 to 39.
By switching the amplification degree from 39 to 39 by outputting a switching signal from the control circuit 11, the overall amplification degree is switched to adjust the sensitivity, so that a wide dynamic range can be secured, and the received light signal can be greatly increased. The detection operation can be performed according to any change.

【0059】また、本実施例によれば、第1ないし第3
の増幅回路37ないし39の構成を、入力段のトランジ
スタ47のエミッタ側に抵抗切換回路49を設けて抵抗
55を介在させたりショートさせて抵抗値を切換える構
成とすると共に、帰還抵抗54により帰還形の増幅回路
を構成したので、利得の安定化および周波数特性の改善
が図れる。
Further, according to the present embodiment, the first through third
Of the amplifying circuits 37 to 39 are arranged such that a resistance switching circuit 49 is provided on the emitter side of the transistor 47 in the input stage to switch the resistance value by interposing or short-circuiting the resistor 55, and the feedback type by the feedback resistor 54. , The gain can be stabilized and the frequency characteristics can be improved.

【0060】なお、上記実施例においては、可変抵抗回
路として抵抗切換回路49を用い、トランジスタ56に
より抵抗55の切換えを行う構成としたが、これに限ら
ず、例えば、可変抵抗器を用いて抵抗値を変化させるよ
うにしても良い。
In the above embodiment, the resistance switching circuit 49 is used as the variable resistance circuit, and the resistance 55 is switched by the transistor 56. However, the present invention is not limited to this. For example, the resistance may be changed using a variable resistor. The value may be changed.

【0061】また、上記実施例においては、3つの増幅
回路37ないし39を連結した構成の場合について説明
したが、これに限らず、2段に連結する構成としても良
いし、あるいは4段以上の多段に連結してさらにダイナ
ミックレンジを大きくする構成としても良い。
Further, in the above embodiment, the case where the three amplifier circuits 37 to 39 are connected has been described. However, the present invention is not limited to this, and a configuration in which two amplifier circuits 37 to 39 are connected may be used. A configuration in which the dynamic range is further increased by connecting in multiple stages may be adopted.

【0062】[0062]

【考案の効果】以上説明したように、本考案のセンサ装
置によれば、感度設定手段により、検出エリア内に被検
出物体が存在する状態および検出エリア内に被検出物体
が存在しない状態における増幅手段からの増幅信号の両
者の中間値が増幅手段のダイナミックレンジの略中央レ
ベルとなるように増幅度を設定すると共に、そのときの
中間値を比較基準値として設定するので、オン点とオフ
点とでセンサ信号の差が微小な場合でも、スライスレベ
ルは必ずオン点とオフ点との中間値に設定されるように
なると共に、オン点とオフ点との増幅信号の差が十分に
得られるような感度に設定されることになるので、常に
安定した検出動作を行うことができるという優れた効果
を奏する。
As described above, according to the sensor device of the present invention, amplification is performed by the sensitivity setting means in a state where the detected object is present in the detection area and in a state where the detected object is not present in the detection area. The amplification degree is set so that the intermediate value between the two amplified signals from the means is substantially at the center level of the dynamic range of the amplification means, and the intermediate value at that time is set as a comparison reference value, so that the ON point and the OFF point Even when the difference between the sensor signals is small, the slice level is always set to an intermediate value between the ON point and the OFF point, and the difference between the amplified signals between the ON point and the OFF point is sufficiently obtained. Since such sensitivity is set, there is an excellent effect that a stable detection operation can always be performed.

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

【図1】本考案の一実施例を示す全体の電気的構成図FIG. 1 is an overall electrical configuration diagram showing an embodiment of the present invention.

【図2】受光回路および受光アンプの電気的構成図FIG. 2 is an electrical configuration diagram of a light receiving circuit and a light receiving amplifier.

【図3】検出および感度設定のプログラムのフローチャ
ート(その1)
FIG. 3 is a flowchart of a detection and sensitivity setting program (part 1).

【図4】検出および感度設定のプログラムのフローチャ
ート(その2)
FIG. 4 is a flowchart of a detection and sensitivity setting program (part 2).

【図5】検出および感度設定のプログラムのフローチャ
ート(その3)
FIG. 5 is a flowchart of a detection and sensitivity setting program (part 3).

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

11は制御回路(感度設定手段)、12は受光回路、1
3は受光アンプ、14は増幅器(増幅手段)、15は投
光回路、16は発光ダイオード、18は表示回路、23
は出力回路、27はオン設定スイッチ、28はモード設
定スイッチ、29はオフ設定スイッチ、30は電源回
路、33はフォトダイオード、37,38,39は第
1,第2,第3の増幅回路、47は入力段のトランジス
タ、48は負荷抵抗、49,62は抵抗切換回路、50
は入力抵抗、51はコンデンサ、52は出力段のトラン
ジスタ、53は出力抵抗、54は帰還抵抗である。
11 is a control circuit (sensitivity setting means), 12 is a light receiving circuit, 1
3 is a light receiving amplifier, 14 is an amplifier (amplifying means), 15 is a light emitting circuit, 16 is a light emitting diode, 18 is a display circuit, 23
Is an output circuit, 27 is an on setting switch, 28 is a mode setting switch, 29 is an off setting switch, 30 is a power supply circuit, 33 is a photodiode, 37, 38, and 39 are first, second, and third amplifier circuits, 47 is an input stage transistor, 48 is a load resistance, 49 and 62 are resistance switching circuits, 50
Is an input resistor, 51 is a capacitor, 52 is an output stage transistor, 53 is an output resistor, and 54 is a feedback resistor.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭63−85404(JP,A) 特開 平4−144410(JP,A) 特開 平8−82637(JP,A) 特開 昭59−185415(JP,A) 特開 平9−105669(JP,A) 特開 平3−123119(JP,A) 特開 平2−278906(JP,A) 実開 平2−147922(JP,U) 実開 平6−34325(JP,U) (58)調査した分野(Int.Cl.6,DB名) H03G 1/00 - 3/18 H01L 31/12 H03F 3/00 - 3/195 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-63-85404 (JP, A) JP-A-4-144410 (JP, A) JP-A-8-82637 (JP, A) JP-A-59-1984 185415 (JP, A) JP-A-9-105669 (JP, A) JP-A-3-123119 (JP, A) JP-A-2-278906 (JP, A) JP-A-2-147922 (JP, U) 6-34325 (JP, U) (58) Field surveyed (Int. Cl. 6 , DB name) H03G 1/00-3/18 H01L 31/12 H03F 3/00-3/195

Claims (1)

(57)【実用新案登録請求の範囲】(57) [Scope of request for utility model registration] 【請求項1】 センサ信号を増幅して増幅信号を出力す
る増幅手段を有し、その増幅手段から出力される増幅信
号と比較基準値との比較を行うことで被検出物体の判別
を行うようにしたセンサ装置において、 検出エリア内に被検出物体が存在する状態および検出エ
リア内に被検出物体が存在しない状態における前記増幅
手段からのそれぞれの増幅信号の読み込み動作を行うた
めの設定スイッチと、 この設定スイッチが操作されたときに、前記検出エリア
内に被検出物体が存在する状態で前記増幅手段から読み
込まれた増幅信号と前記検出エリア内に被検出物体が存
在しない状態で前記増幅手段から読み込まれた増幅信号
との中間値が前記増幅手段のダイナミックレンジの略中
央となるように増幅度を設定すると共に、このときの中
間値を比較基準値として設定する感度設定手段とを設け
たことを特徴とするセンサ装置。
An amplifying means for amplifying a sensor signal and outputting an amplified signal, wherein an amplified signal output from the amplifying means is compared with a comparison reference value to determine an object to be detected. A setting switch for performing a reading operation of each amplified signal from the amplifying means in a state where the detected object is present in the detection area and in a state where the detected object is not present in the detection area, When this setting switch is operated, the amplified signal read from the amplifying means in a state where the detected object is present in the detection area and the amplified signal in a state where the detected object is not present in the detection area. The amplification degree is set so that an intermediate value between the read amplified signal and the dynamic range of the amplifying means is substantially at the center, and the intermediate value at this time is compared. Sensor apparatus characterized in that a sensitivity setting means for setting a reference value.
JP1996011487U 1996-11-11 1996-11-11 Sensor device Expired - Lifetime JP2599503Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1996011487U JP2599503Y2 (en) 1996-11-11 1996-11-11 Sensor device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1996011487U JP2599503Y2 (en) 1996-11-11 1996-11-11 Sensor device

Publications (2)

Publication Number Publication Date
JPH09276U JPH09276U (en) 1997-05-16
JP2599503Y2 true JP2599503Y2 (en) 1999-09-13

Family

ID=11779412

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1996011487U Expired - Lifetime JP2599503Y2 (en) 1996-11-11 1996-11-11 Sensor device

Country Status (1)

Country Link
JP (1) JP2599503Y2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4683790B2 (en) * 2001-08-28 2011-05-18 パナソニック電工Sunx株式会社 Sensor with sensitivity setting function
JP5512635B2 (en) * 2011-02-23 2014-06-04 シャープ株式会社 Optical sensor and electronic device

Also Published As

Publication number Publication date
JPH09276U (en) 1997-05-16

Similar Documents

Publication Publication Date Title
US4764732A (en) Switchable mode amplifier for wide dynamic range
CN108664162B (en) Touch device and signal processing circuit and operation method thereof
JPH11205249A (en) Bias voltage control circuit for avalanche photo diode and its adjustment method
US20040149910A1 (en) Infrared detecting circuit and an infrared detector
JPH11186971A (en) Optical network
JP2599503Y2 (en) Sensor device
EP1229644B1 (en) PWL logarithmic amplifier
JPH07273650A (en) A/d converter circuit for nonlinear signal
JP2674110B2 (en) Temperature compensation circuit for avalanche photodiode bias circuit
JPH0634325U (en) Amplifier for sensor
JP2543612B2 (en) Light receiving device
JP3148540B2 (en) AGC circuit of radio receiver
JP2693427B2 (en) Optical receiver AGC device
JP3536936B2 (en) Logarithmic amplifier
JP2526474B2 (en) Automatic gain control circuit
JP3267184B2 (en) Photoelectric smoke detector
CA1283463C (en) Switchable mode amplifier for wide dynamic range
JPH0514096A (en) Light receiving amplifier circuit for photoelectric sensor
JP2000101374A (en) Automatic level control circuit
JP2946819B2 (en) Program power supply
JPH0693623B2 (en) Photoelectric switch
JP2777497B2 (en) Direct connection type operational amplifier
KR100254882B1 (en) Rf-auto gain controller for improving the s/n ratio
JP3177115B2 (en) Receiver amplifier
JPH02196504A (en) Optical receiving circuit

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
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080709

Year of fee payment: 9