JP2008118226A - Detection sensor, controller, and sensor system - Google Patents
Detection sensor, controller, and sensor system Download PDFInfo
- Publication number
- JP2008118226A JP2008118226A JP2006297198A JP2006297198A JP2008118226A JP 2008118226 A JP2008118226 A JP 2008118226A JP 2006297198 A JP2006297198 A JP 2006297198A JP 2006297198 A JP2006297198 A JP 2006297198A JP 2008118226 A JP2008118226 A JP 2008118226A
- Authority
- JP
- Japan
- Prior art keywords
- current
- detection
- detection sensor
- input
- setting information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Electronic Switches (AREA)
- Geophysics And Detection Of Objects (AREA)
Abstract
Description
本発明は、検出センサ、コントローラ、及びセンサシステムに関するものである。 The present invention relates to a detection sensor, a controller, and a sensor system.
従来、例えば被検出物の有無を検出するために用いられる検出センサは、入射光量の変化に対して予め設定されたしきい値レベルに基づき被検出物の有無を判断し、その判断結果に応じた信号をコントローラに出力する。近年、検出センサは、出力レベル切り替え等の機能切り替えの要求に対応するため、該検出センサに内蔵したIC(集積回路:Integrated Circuit)に接続されたスイッチにより機能を切り替えるようにしている(例えば、特許文献1参照)。
ところで、近年、感度,透過型/反射型,L/D ONを含めて、光電センサの多機能化の要求があり、各機能に応じて切替スイッチを備えることが考えられる。しかし、切り替えスイッチの数が多くなるとICの端子数が増加してICパッケージが大型化するといった問題がある。 By the way, in recent years, there is a demand for multifunctional photoelectric sensors including sensitivity, transmission type / reflection type, and L / D ON, and it is conceivable to provide a changeover switch according to each function. However, when the number of changeover switches increases, there is a problem that the number of IC terminals increases and the IC package becomes larger.
そこで、コントローラ等から設定情報をセンサヘッドに送信して、該設定情報に基づきセンサヘッドの機能を設定する方法が考えられる。しかしながら、この方法では、コントローラから検出センサへ設定情報を送信するための端子や信号線が新たに必要になるため、従来の光電センサに用いていた接続ケーブルやコネクタ等を利用できなくなり、無駄が生じてしまう。 Therefore, a method is conceivable in which setting information is transmitted from a controller or the like to the sensor head, and the function of the sensor head is set based on the setting information. However, this method requires a new terminal and signal line for transmitting the setting information from the controller to the detection sensor, which makes it impossible to use connection cables, connectors, and the like used in conventional photoelectric sensors. It will occur.
本発明は上記問題点を解決するためになされたものであって、その目的は、外部から機能を設定することができる検出センサを提供することにある。 The present invention has been made to solve the above-described problems, and an object thereof is to provide a detection sensor capable of setting a function from the outside.
上記目的を達成するため、請求項1に記載の発明は、被検出物を検出するための物理量に応じた検出信号レベルを出力する物理量検出手段と、前記検出信号レベルに基づく出力信号を出力する出力手段と、前記出力信号によってスイッチング動作を行うスイッチ手段と、前記スイッチ手段に流れる電流を検出する電流検出手段と、前記物理量検出手段の検出動作に関する設定情報を記憶する記憶手段と、前記スイッチ手段を介して外部から入力される前記設定情報を前記記憶手段に出力する入力手段と、前記電流検出手段にて所定のパターンの電流が検出された場合に前記入力手段に前記設定情報の入力を可能にする入力制御手段と、を備え、前記入力手段には、前記電流検出手段で検出される電流に基づいて前記設定情報の入力がなされる。 In order to achieve the above object, the invention according to claim 1 outputs a physical quantity detection means for outputting a detection signal level corresponding to a physical quantity for detecting the detected object, and an output signal based on the detection signal level. Output means; switch means for performing a switching operation according to the output signal; current detection means for detecting a current flowing through the switch means; storage means for storing setting information relating to the detection operation of the physical quantity detection means; and the switch means The setting information inputted from the outside via the input means can be input to the storage means, and the setting information can be inputted to the input means when a current of a predetermined pattern is detected by the current detection means Input setting means, and the setting information is input to the input means based on the current detected by the current detection means.
同構成によれば、出力手段が物理量検出手段から出力される検出信号レベルに基づく出力信号をスイッチ手段に出力して被検出物の検出を行う。そして、そのスイッチ手段に、電流検出手段によって所定のパターンの電流が検出された場合に、外部からスイッチ手段への設定情報の入力が可能になり、スイッチ手段に入力された設定情報が入力手段によって記憶手段に出力される。そのため、検出センサの外部からその機能を設定できる。更に、出力信号が出力されるスイッチ手段に設定情報を入力して、検出センサの機能を設定できるため、検出センサへ設定情報を送信するための端子や信号線が新たに設ける必要が無く、従来の光電センサに用いていた接続ケーブルやコネクタ等を利用できる。また、入力
される設定情報を読み取るために新たな構成を負荷する必要が無いので、検出センサのICの大型化が抑制される。
According to this configuration, the output means outputs an output signal based on the detection signal level output from the physical quantity detection means to the switch means to detect the detection object. Then, when a current of a predetermined pattern is detected by the current detection means, setting information can be input from the outside to the switch means, and the setting information input to the switch means is input by the input means. Output to storage means. Therefore, the function can be set from the outside of the detection sensor. Further, since the function of the detection sensor can be set by inputting the setting information to the switch means for outputting the output signal, there is no need to newly provide a terminal or a signal line for transmitting the setting information to the detection sensor. The connection cable, connector, etc. used in the photoelectric sensor can be used. In addition, since it is not necessary to load a new configuration in order to read the input setting information, an increase in the size of the detection sensor IC is suppressed.
請求項2に記載の発明は、請求項1に記載の検出センサにおいて、前記電流検出手段により前記スイッチ手段において通常量以上の電流が検出された場合に、前記出力手段による前記出力信号を間欠的に出力させる過電流保護動作を行う過電流保護手段を備えた。同構成によれば、スイッチ手段において通常量以上の電流が検出された場合に、出力手段による出力信号を間欠的に出力させる過電流保護動作を行う。 According to a second aspect of the present invention, in the detection sensor according to the first aspect, when the current detecting unit detects a current exceeding a normal amount in the switch unit, the output signal from the output unit is intermittently transmitted. An overcurrent protection means for performing an overcurrent protection operation to output to is provided. According to this configuration, an overcurrent protection operation is performed in which an output signal from the output means is intermittently output when a current exceeding a normal amount is detected in the switch means.
請求項3に記載の発明は、請求項2に記載の検出センサにおいて、前記入力制御手段は、前記過電流保護手段による前記過電流保護動作中に、前記電流検出手段にて前記所定のパターンの電流が検出された場合に前記入力手段に前記設定情報の入力を許可するようにした。同構成によれば、過電流保護手段による過電流保護動作中は、出力手段から出力信号が出力されないため、外部から所定のパターンの電流が流される以外には、電流検出手段が所定のパターンの電流を検出することが無くなり、誤動作が防止される。 According to a third aspect of the present invention, in the detection sensor according to the second aspect, the input control unit is configured to detect the predetermined pattern by the current detection unit during the overcurrent protection operation by the overcurrent protection unit. When the current is detected, the input means is allowed to input the setting information. According to this configuration, since the output signal is not output from the output means during the overcurrent protection operation by the overcurrent protection means, the current detection means has a predetermined pattern other than a predetermined pattern current flowing from the outside. No current is detected, and malfunction is prevented.
請求項4に記載の発明は、請求項1〜3のうちのいずれか一項に記載の検出センサにおいて、前記入力制御手段は、前記入力手段に前記設定情報の入力が許可されているときに、前記電流検出手段にて前記所定のパターンの電流が検出された場合には、前記入力手段に前記設定情報の入力を禁止し、前記出力手段による出力を行うようにした。同構成によれば、入力手段に設定情報の入力が許可されているときに所定のパターンの電流を外部から流すことにより、出力手段による出力を行わせることができる。 According to a fourth aspect of the present invention, in the detection sensor according to any one of the first to third aspects, when the input control unit is permitted to input the setting information to the input unit. When the current of the predetermined pattern is detected by the current detection means, the setting information is prohibited from being input to the input means, and the output by the output means is performed. According to the configuration, when the setting unit is permitted to input setting information, a predetermined pattern of current is supplied from the outside to allow the output unit to perform output.
請求項5に記載の発明は、請求項1〜4のうちのいずれか一項に記載の検出センサが接続されたコントローラであって、前記検出センサのスイッチ手段に前記所定のパターンの電流を供給する電流源を備えた。同構成によれば、検出センサのスイッチ手段に所定のパターンの電流を供給することができる。
The invention according to claim 5 is a controller to which the detection sensor according to any one of
請求項6に記載の発明は、請求項5に記載のコントローラにおいて、前記電流源は、前記検出センサのスイッチ手段に所定量の電流を供給する第1の電流供給手段と、前記所定量以上の電流を前記スイッチ手段に供給する第2の電流供給手段とから構成され、前記所定のパターンにて前記所定量以上の電流を供給した後、前記所定量以上の電流を供給して前記設定情報を前記検出センサに伝達するよう前記第2の電流供給手段を制御する電流制御手段と、を備えた。同構成によれば、コントローラから検出センサの機能を設定することができる。 The invention according to claim 6 is the controller according to claim 5, wherein the current source includes first current supply means for supplying a predetermined amount of current to the switch means of the detection sensor, and the predetermined amount or more. Second current supply means for supplying current to the switch means, and after supplying the current of the predetermined amount or more in the predetermined pattern, supplying the current of the predetermined amount or more, Current control means for controlling the second current supply means to transmit to the detection sensor. According to this configuration, the function of the detection sensor can be set from the controller.
請求項7に記載の発明は、請求項1〜4のうちのいずれか一項に記載の検出センサと、前記検出センサに接続され、該検出センサのスイッチ手段のスイッチング動作による信号を受け取るコントローラと、を備え、前記コントローラは、前記検出センサのスイッチ手段に前記所定のパターンの電流を供給する電流源を備えた。同構成によれば、出力手段が物理量検出手段から出力される検出信号レベルに基づく出力信号をスイッチ手段に出力して被検出物の検出を行う。そして、そのスイッチ手段に、電流検出手段によって所定のパターンの電流が検出された場合に、外部からスイッチ手段への設定情報の入力が可能になり、電流検出手段で検出される電流に基づいて設定情報が入力手段に入力され、該設定情報が入力手段によって記憶手段に出力される。そのため、検出センサの外部からその機能を設定できる。更に、出力信号が出力されるスイッチ手段に設定情報を入力して、検出センサの機能を設定できるため、検出センサへ設定情報を送信するための端子や信号線が新たに設ける必要が無く、従来の光電センサに用いていた接続ケーブルやコネクタ等を利用できる。また、入力される設定情報を読み取るために新たな構成を負荷する必要が無いので、検出センサのICの大型化が抑制される。
The invention according to claim 7 is a detection sensor according to any one of
本発明によれば、外部から機能を設定することができる検出センサを提供することができる。 ADVANTAGE OF THE INVENTION According to this invention, the detection sensor which can set a function from the outside can be provided.
以下、本発明を光電センサに具体化した一実施の形態を図面に従って説明する。
図1に示すように、被検出物Wの有無を検出する光電センサのコントローラ10にはセンサヘッド20が接続されている。センサヘッドの20には接続ケーブル30が設けられ、その接続ケーブル30の先端に設けられたコネクタ(図示略)がコントローラ10のコネクタ(図示略)に接続されている。センサヘッド20は、例えば使用時に被検出物Wを搬送する経路の上方や側方に配置され、投光手段としての投光素子21から被検出物Wに光を照射し、受光手段としての受光素子22は被検出物Wによる反射光を受光する。そして、センサヘッド20は、受光素子22の受光信号レベルとしきい値レベルとを比較して、被検出物Wの有無を判定し、接続ケーブル30を介して該判定結果をコントローラ10に送信する。
Hereinafter, an embodiment in which the present invention is embodied in a photoelectric sensor will be described with reference to the drawings.
As shown in FIG. 1, a
図2に示すように、コントローラ10にはコネクタの接続端子P11,P12,P13が設けられ、各接続端子P11,P12,P13には接続ケーブル30を構成する配線30a,30b,30cが接続される。接続端子P11は高電位電源Vccに接続され、接続端子P13はグランドGNDに接続されている。センサヘッド20は、接続端子P11及び配線30aを介して供給される電源に基づいて動作する。
As shown in FIG. 2, the
センサヘッド20には、半導体集積回路装置(IC)からなる制御装置23が設けられ、該制御装置23の接続端子P21には投光素子21が接続され、制御装置23の接続端子P22には物理量検出手段としての受光素子22が接続され、制御装置23の接続端子P23にはスイッチ手段としてのトランジスタT1が接続されている。制御装置23は、電源が供給されると投光素子21を駆動して光を投光させる。その光は、被検出物Wにて反射され、その反射光は受光素子22に入射される。受光素子22は、入射光量に応じたレベルの受光信号S1を出力する。制御装置23は、受光信号S1のレベルと予め設定されたしきい値のレベルを比較し、被検出物Wの有無を判定する。さらに、制御装置23は、判定結果に応じた出力信号S2をトランジスタT1に出力する。
The
トランジスタT1はNPNトランジスタであり、ベースに出力信号S2が印加され、コレクタがコントローラ10に接続され、エミッタが抵抗R1を介してグランドに接続されている。トランジスタT1は、出力信号S2に応答してオンオフし、オンしたトランジスタT1を介して電流が流れる。コントローラ10は、電流の有無によって、センサヘッド20からの信号、つまり被検出物Wの有無を受け取る。
The transistor T1 is an NPN transistor, the output signal S2 is applied to the base, the collector is connected to the
制御装置23は、制御回路24と、レジスタ25と、出力手段としての判定回路26と、電流検出手段,過電流保護手段,設定手段,入力手段及び入力制御手段としての過電流検出回路27と、記憶手段としてのレジスタ25とを含む。制御回路24は接続端子P21を介して投光素子21と接続されており、制御回路24は投光素子21の投光を制御する。判定回路26は接続端子P22を介して受光素子22に接続され、判定回路26は、受光素子22から出力される受光信号S1を入力し、制御装置23から出力される出力信号S2を出力する。また、判定回路26は接続端子P23を介してトランジスタT1のベースに接続され、その接続端子P23には過電流検出回路27が接続されている。
The
制御回路24にはレジスタ25が接続されている。レジスタ25は動作電源が供給されていないときにも情報の保持が可能で、且つ電気的に情報の書き込みが可能なメモリであ
り、例えばEEPROM,ポリシリコンフューズ,ツェナーザップ,フラッシュメモリ(登録商標)等からなる。
A register 25 is connected to the control circuit 24. The register 25 is a memory capable of holding information even when no operating power is supplied and capable of electrically writing information. For example, an EEPROM, a polysilicon fuse, a zener zap, a flash memory (registered trademark) Etc.
制御回路24は、レジスタ25に記憶された設定情報に基づいて投光素子21を発光させ、光を投光させる。受光素子22は、受光量に応じた受光信号を判定回路26に出力する。判定回路26は、受光信号S1のレベルと予め設定されたしきい値レベルとを比較して、被検出物Wの有無を判定し、該判定結果に応じた出力信号S2を出力する。判定回路26は、レジスタ25に記憶された設定情報に基づいて、入光時ON又は入光時OFFにて動作する。本実施形態において、判定回路26は、入光時ONに設定されている場合、受光信号レベルがしきい値レベル以上のときにはトランジスタT1をオンし、受光信号レベルがしきい値レベルよりも小さいときにはトランジスタT1をオフする。また、判定回路26は、入光時OFFに設定されている場合、受光信号レベルがしきい値レベル以上のときにはトランジスタT1をオフし、受光信号レベルがしきい値レベルよりも小さいときにはトランジスタT1をオンする。
The control circuit 24 causes the
過電流検出回路27は、トランジスタT1に流れる電流に応じてトランジスタT1のベースに発生する電圧を検出する。過電流検出回路27は、検出した電圧に基づいて、該トランジスタT1に過電流が流れているか否かを判断し、過電流が流れている場合には判定回路26を制御してトランジスタT1をオフさせる、所謂過電流保護機能を提供する。また、過電流検出回路27は、判定回路26を制御して出力信号を出力させ、トランジスタT1をオンオフさせる。
The
コントローラ10の接続端子P12は、第1の電流供給手段としての抵抗R2を介して高電位電源Vccに接続されている。また、接続端子P12は、電流制御手段としてのCPU11と、第2の電流供給手段としての電流供給回路12に接続されている。抵抗R2及び第2の電流供給手段は電流源を構成する。CPU11には、センサヘッド20のトランジスタT1のオンオフに応じた信号が入力される。接続端子P12は、抵抗R2を介して高電位電源Vccが接続されているため、トランジスタT1のオフ時にはHレベルの信号がCPU11に入力され、トランジスタT1のオン時には、接続端子P12がグランドGNDに接続されるため、CPU11にLレベルの信号が入力される。
The connection terminal P12 of the
電流供給回路12は、CPU11からの制御信号に応答して、互いに異なる2つの電流(第1電流,第2電流)を、接続端子P12を介してセンサヘッド20、つまり、トランジスタT1に供給する。上記したように、トランジスタT1のベース電圧は、コントローラ10から供給される電流に応じた電位となり、過電流検出回路27はその電圧を検出する。本実施形態では、第1電流は100mAに設定され、第2電流は200mAに設定されている。そして、トランジスタT1のベース電圧は、第1電流(100mA)が供給されるときに0.7Vとなり、第2電流(200mA)が供給されるときに1.4vとなる。従って、過電流検出回路27には、電流供給回路12が電流を供給しない場合を合わせると、3種類(0V,0.7V,1.4V)のレベルの信号がCPU11から入力される。尚、接続端子P12は抵抗R2を介して高電位電源Vccに接続されているが、抵抗R2は接続端子P12をプルアップするためのものであり、ほとんど電流が流れないようにその抵抗値が設定されている。
In response to the control signal from the CPU 11, the
このように、コントローラ10からトランジスタT1に供給した電流に応じた電圧を過電流検出回路27が検出することにより、センサヘッド20に信号出力のために設けられたトランジスタT1を介して、該トランジスタT1を保護するための過電流検出回路27にコントローラ10から信号を伝達することができる。そのため、CPU11からの設定情報を取得するために受信回路やその回路が接続される端子を新たに付加する必要がなくなり、制御装置23の大型化を抑制できる。
In this way, when the
上記のように構成された光電センサが被検出物Wの検出を行う検出モードの動作について説明する。
制御回路24は、レジスタ25に記憶された設定情報を読み出し、該設定情報に基づいて投光素子21を発光させ、被検出物Wに光を照射する。受光素子22は、被検出物Wの反射面からの反射光を受光し、受光量に応じたレベルの受光信号S1を判定回路26に出力する。判定回路26は、受光信号S1のレベルとレジスタ25に記憶されたしきい値レベルと比較して出力信号S2を出力する。
The operation of the detection mode in which the photoelectric sensor configured as described above detects the detection target W will be described.
The control circuit 24 reads the setting information stored in the register 25, causes the
受光信号S1のレベルがしきい値レベル以上のときにはトランジスタT1をオンし、CPU11にLレベルの信号が入力され、CPU11は被検出物Wが検出されたと判断する。また、受光信号S1のレベルがしきい値レベルよりも小さいときにはトランジスタT1をオフし、CPU11にHレベルの信号が入力される。CPU11は被検出物Wが検出されていないと判断する。 When the level of the light reception signal S1 is equal to or higher than the threshold level, the transistor T1 is turned on, an L level signal is input to the CPU 11, and the CPU 11 determines that the detected object W has been detected. Further, when the level of the light reception signal S1 is smaller than the threshold level, the transistor T1 is turned off, and an H level signal is input to the CPU 11. The CPU 11 determines that the detected object W has not been detected.
過電流検出回路27は、センサヘッド20の検出動作時にトランジスタT1において過電流を検出した場合、判定回路26の出力を停止させて(過電流保護動作)、センサヘッド20を保護する。尚、過電流検出回路27は、過電流を検出しない状態が所定時間(例えば、1分間)継続した場合に過電流保護を解除し、判定回路26の出力を再開させる。
The
次に、光電センサの設定情報の読み出し又は書き込みを行う設定モードの動作について説明する。
CPU11は、電流供給回路12を制御して、トランジスタT1に過電流(例えば、200mA)を供給し、過電流検出回路27に過電流保護動作をさせた後に、所定のパターンの電流を供給する。具体的には、CPU11は、電流供給回路12を制御して、100mAの電流を流している状態から、100mAの電流と200mAの電流とを1クロック毎に交互に3回、トランジスタT1に供給する。次に、CPU11は、10クロックの間、トランジスタT1に電流を供給しない状態にした後、1クロックの間、200mAの電流を供給する。そして、CPU11は、3クロックの間、トランジスタT1に電流を供給しない状態にした後、1クロックの間、200mAの電流をトランジスタT1に供給した後、100mAの電流を供給する。CPU11は、電流供給回路12を制御して上記のパターンの電流を複数回(例えば、3回)供給する。
Next, the operation in the setting mode for reading or writing the setting information of the photoelectric sensor will be described.
The CPU 11 controls the
過電流検出回路27は、所定のパターンの電流がトランジスタT1に供給されると、過電流検出回路27は、図3に示すような波形の電圧信号Vsを検出する。そして、過電流検出回路27は、過電流保護動作中に、図3に示すような波形の電圧信号Vsを複数回(電流供給回路12が所定のパターンの電流を供給する回数)検出すると、レジスタ25に記憶された設定情報の読み出し又は書き込みが可能になり、光電センサの設定情報の読み出し又は書き込みを図4に示す通信手順に従って行う。尚、検出モード中には、トランジスタT1に電流が流れるため、図3に示すような電圧を過電流検出回路27が検出する可能性があるが、上記のように、過電流保護動作中に所定のパターンの電圧信号を検出した場合に、検出モードから直接設定モードに移ることがないため、誤動作を抑制することができる。また、過電流検出回路27は、設定モード時に、図3に示すような波形の電圧信号Vsを複数回(電流供給回路12が所定のパターンの電流を供給する回数)検出すると、検出モードに移行し、判定回路26の出力を再開させる。
When the current of a predetermined pattern is supplied to the transistor T1, the
ここで、センサヘッド20の設定情報を書き込むライト動作と設定情報の読み出しを行うリード動作について説明する。
<ライト動作>
図3に示すような波形の電圧信号Vsを検出した後に、過電流検出回路27は、判定回
路26を制御してトランジスタT1をオンオフさせることにより、先ず、CPU11にヘッダ41(センサヘッド20の種別,機器番号等の情報)をCPU11に出力する。CPU11は、過電流検出回路27からのヘッダ41を受け取ると、コマンド42(過電流検出回路27に行わせる動作の情報)を過電流検出回路27に出力して、光電センサが有する機能のうちから、書き込みを行う機能を指定する。次に、CPU11は、データ43(指定した機能に対応する設定情報)を過電流検出回路27に送信する。その後で、CPU11は、デリミタ44(1つのライト動作を行うための通信の区切りを示す情報)を過電流検出回路27に出力する。そして、過電流検出回路27はデータ43に基づいてレジスタ25に書き込みを行う。
Here, a write operation for writing the setting information of the
<Write operation>
After detecting the voltage signal Vs having the waveform as shown in FIG. 3, the
このように、コントローラ10からトランジスタT1に流した過電流を、過電流検出回路27が検出し、レジスタ25に書き込むことによって、コントローラ10からセンサヘッド20に設けられた光電センサの機能を設定することができる。
As described above, the overcurrent flowing from the
<リード動作>
図3に示すような波形の電圧信号Vsを検出した後に、ライト動作と同様に、先ず過電流検出回路27は、CPU11にヘッダ41をCPU11に出力する。CPU11は、過電流検出回路27からのヘッダ41を受け取ると、コマンド42を過電流検出回路27に出力して、レジスタ25に記憶された設定情報のうちから、読み出す機能を指定する。過電流検出回路27は、コマンド42を受け取ると、レジスタ25に記憶された設定情報の中から指定された設定情報を読み出し、判定回路26を制御してトランジスタT1をオンオフすることにより、データ43をCPU11に送信する。そして。CPU11はデータ43を受け取るとデリミタ44を過電流検出回路27に出力する。
<Read operation>
After detecting the voltage signal Vs having the waveform as shown in FIG. 3, first, the
このように、過電流検出回路27が、判定回路26を制御してトランジスタT1をオンオフすることによって、コントローラに設けられたCPU11に設定情報を送信可能にした。その結果、レジスタ25に記憶した設定情報を読み出すことができる。
As described above, the
以上記述したように、本実施の形態によれば、以下の効果を奏する。
(1)判定回路26が、受光素子22から出力される受光信号S1のレベルとしきい値レベル値を比較することにより被検出物Wの検出を行い、比較結果に応じた出力信号S2をトランジスタT1に出力する。また、過電流検出回路27は、トランジスタT1に流れる過電流を電圧信号で検出し、所定のパターンの電圧信号を検出すると、レジスタ25に記憶された設定情報の読み出し又は書き込みが可能になるようにした。そのため、CPU11から所定のパターンの過電流を流した後に、設定情報を伝送することにより、レジスタ25に書き込みを行い、光電センサの機能を設定することができる。また、設定情報がトランジスタT1を介して、制御装置23に入力され、レジスタ25に書き込みが行われるため、新たな端子や信号線を設ける必要が無く、従来の光電センサに用いていた接続ケーブルやコネクタ等を利用できる。
As described above, according to the present embodiment, the following effects can be obtained.
(1) The
(2)過電流検出回路27が、トランジスタT1に流れる過電流を検出することによって、CPU11からの制御装置23の機能を設定するための設定情報を取得する。そのため、CPU11からの設定情報を取得するための構成を新たに付加する必要がなくなり、制御装置23が大型化することを抑制できる。
(2) The
(3)過電流保護動作中に所定のパターンの電圧信号を検出することを条件としているため、検出動作からいきなり設定動作に移ることがないので、誤動作を抑制することができる。 (3) Since the condition is that a voltage signal having a predetermined pattern is detected during the overcurrent protection operation, the setting operation is not suddenly moved from the detection operation, and thus malfunction can be suppressed.
(4)センサヘッド20に設けられた過電流検出回路27が、判定回路26を制御して
トランジスタT1をオンオフすることによって、コントローラに設けられたCPU11に設定情報を送信可能にした。その結果、レジスタ25に記憶した設定情報を読み出すことができる。
(4) The
尚、上記各実施の形態は、以下の態様で実施してもよい。
・上記実施形態では、電流供給回路12が供給する電流値を100mA,200mAとしたが、これに限らず、検出動作中にトランジスタT1をオンオフすることにより流れる電流値よりも大きな値であれば、どのような値であってもよい。
In addition, you may implement each said embodiment in the following aspects.
In the above embodiment, the current value supplied by the
・上記実施形態では、被検出物Wの有無を検出する光電センサに具体化したが、これに限らず、例えば被検出物Wにおける反射面の変位を測定する変位センサに具体化してもよい。 In the above-described embodiment, the photoelectric sensor that detects the presence / absence of the detection target W is embodied. However, the present invention is not limited to this. For example, the photoelectric sensor may be embodied as a displacement sensor that measures the displacement of the reflection surface of the detection target W.
10…コントローラ、11…CPU、12…電流供給回路、20…センサヘッド、22…受光素子、23…制御装置、25…レジスタ、26…判定回路、27…過電流検出回路、S1…受光信号、S2…出力信号、T1…トランジスタ、W…被検出物。
DESCRIPTION OF
Claims (7)
前記検出信号レベルに基づく出力信号を出力する出力手段と、
前記出力信号によってスイッチング動作を行うスイッチ手段と、
前記スイッチ手段に流れる電流を検出する電流検出手段と、
前記物理量検出手段の検出動作に関する設定情報を記憶する記憶手段と、
前記スイッチ手段を介して外部から入力される前記設定情報を前記記憶手段に出力する入力手段と、
前記電流検出手段にて所定のパターンの電流が検出された場合に前記入力手段に前記設定情報の入力を可能にする入力制御手段と、を備え、
前記入力手段には、前記電流検出手段で検出される電流に基づいて前記設定情報の入力がなされることを特徴とする検出センサ。 Physical quantity detection means for outputting a detection signal level corresponding to the physical quantity for detecting the detected object;
An output means for outputting an output signal based on the detection signal level;
Switch means for performing a switching operation according to the output signal;
Current detecting means for detecting a current flowing through the switch means;
Storage means for storing setting information related to the detection operation of the physical quantity detection means;
Input means for outputting the setting information input from the outside via the switch means to the storage means;
Input control means for enabling the input of the setting information to the input means when a current of a predetermined pattern is detected by the current detection means,
The detection sensor, wherein the setting information is input to the input unit based on a current detected by the current detection unit.
前記電流検出手段により前記スイッチ手段において通常量以上の電流が検出された場合に、前記出力手段による前記出力信号を間欠的に出力させる過電流保護動作を行う過電流保護手段を備えたことを特徴とする検出センサ。 The detection sensor according to claim 1,
And an overcurrent protection unit that performs an overcurrent protection operation for intermittently outputting the output signal from the output unit when the current detection unit detects a current exceeding a normal amount in the switch unit. Detection sensor.
前記入力制御手段は、前記過電流保護手段による前記過電流保護動作中に、前記電流検出手段にて前記所定のパターンの電流が検出された場合に前記入力手段に前記設定情報の入力を許可する、
ことを特徴とする検出センサ。 The detection sensor according to claim 2,
The input control means permits the input means to input the setting information when the current detection means detects a current of the predetermined pattern during the overcurrent protection operation by the overcurrent protection means. ,
A detection sensor characterized by that.
前記入力制御手段は、前記入力手段に前記設定情報の入力が許可されているときに、前記電流検出手段にて前記所定のパターンの電流が検出された場合には、前記入力手段に前記設定情報の入力を禁止し、前記出力手段による出力を行う、
ことを特徴とする検出センサ。 In the detection sensor as described in any one of Claims 1-3,
The input control means, when the input means is permitted to input the setting information, when the current detection means detects the current of the predetermined pattern, the input control means Is prohibited, and output by the output means is performed.
A detection sensor characterized by that.
前記検出センサのスイッチ手段に前記所定のパターンの電流を供給する電流源を備えたことを特徴とするコントローラ。 A controller to which the detection sensor according to any one of claims 1 to 4 is connected,
A controller comprising a current source for supplying the predetermined pattern of current to the switch means of the detection sensor.
前記電流源は、前記検出センサのスイッチ手段に所定量の電流を供給する第1の電流供給手段と、前記所定量以上の電流を前記スイッチ手段に供給する第2の電流供給手段とから構成され、
前記所定のパターンにて前記所定量以上の電流を供給した後、前記所定量以上の電流を供給して前記設定情報を前記検出センサに伝達するよう前記第2の電流供給手段を制御する電流制御手段と、
を備えたことを特徴とするコントローラ。 The controller of claim 5, wherein
The current source includes a first current supply unit that supplies a predetermined amount of current to the switch unit of the detection sensor, and a second current supply unit that supplies a current of the predetermined amount or more to the switch unit. ,
Current control for controlling the second current supply means to supply the setting information to the detection sensor by supplying the current of the predetermined amount or more after supplying the current of the predetermined amount or more in the predetermined pattern. Means,
A controller characterized by comprising:
前記検出センサに接続され、該検出センサのスイッチ手段のスイッチング動作による信号を受け取るコントローラと、を備え、
前記コントローラは、前記検出センサのスイッチ手段に前記所定のパターンの電流を供
給する電流源を備えたことを特徴とするセンサシステム。 The detection sensor according to any one of claims 1 to 4,
A controller connected to the detection sensor and receiving a signal from a switching operation of a switch means of the detection sensor,
2. The sensor system according to claim 1, wherein the controller includes a current source that supplies the predetermined pattern of current to the switch means of the detection sensor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006297198A JP2008118226A (en) | 2006-10-31 | 2006-10-31 | Detection sensor, controller, and sensor system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006297198A JP2008118226A (en) | 2006-10-31 | 2006-10-31 | Detection sensor, controller, and sensor system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008118226A true JP2008118226A (en) | 2008-05-22 |
Family
ID=39503834
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006297198A Pending JP2008118226A (en) | 2006-10-31 | 2006-10-31 | Detection sensor, controller, and sensor system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008118226A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104210066A (en) * | 2013-06-03 | 2014-12-17 | 佳能株式会社 | Method for manufacturing resin-made roller shaft, molding die, and resin-made roller shaft |
CN112368608A (en) * | 2018-07-04 | 2021-02-12 | 欧姆龙株式会社 | Data processing device of multi-optical axis photoelectric sensor |
-
2006
- 2006-10-31 JP JP2006297198A patent/JP2008118226A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104210066A (en) * | 2013-06-03 | 2014-12-17 | 佳能株式会社 | Method for manufacturing resin-made roller shaft, molding die, and resin-made roller shaft |
CN112368608A (en) * | 2018-07-04 | 2021-02-12 | 欧姆龙株式会社 | Data processing device of multi-optical axis photoelectric sensor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8157180B2 (en) | Integrated circuit device with multiple communication modes and operating method thereof | |
US7777554B2 (en) | Method and apparatus for detecting temperatures of a plurality of circuits and controlling operations based on the detected temperatures | |
CN101882469B (en) | Fuse circuit, system and method | |
US20090283600A1 (en) | Automatic detection of an enabled interface of a card reader | |
US20180178658A1 (en) | Rectifier package module for vehicle and connection status detection method for temperature sensor thereof | |
JP2004295964A (en) | Writing error prevention circuit and semiconductor device including the same | |
JP6702413B2 (en) | Semiconductor device | |
US10817452B2 (en) | Bus system and detection method thereof | |
US6687140B2 (en) | Disconnection detecting circuit detecting disconnection based on a change in detection signal | |
JP2008118226A (en) | Detection sensor, controller, and sensor system | |
JPH07261883A (en) | Semiconductor integrated circuit device for electric power control | |
EP1876512B1 (en) | Network control apparatus and method for enabling network chip | |
JP2008140018A (en) | Electronic control device | |
KR100851147B1 (en) | a dual power system using smart junction box and a line short detection method of the system | |
US20080031366A1 (en) | Network control apparatus and method for enabling network chip | |
US6222398B1 (en) | Voltage detecting circuit | |
US8917428B2 (en) | Image reading controller and image reading apparatus | |
US8513979B2 (en) | Integrated circuit and related controlling method | |
US8730747B2 (en) | Semiconductor device including semiconductor memory circuit | |
JP2002257872A (en) | Detector for abnormal voltage | |
JP2009296213A (en) | Optical data link | |
JP2002366505A (en) | Method and device for detecting mounting position | |
US7800425B2 (en) | On-chip mode-setting circuit and method for a chip | |
JP2006209876A (en) | Electronic control device | |
JP2013173385A (en) | Electronic control device |