JP2006078368A - Ranging sensor and its setting method - Google Patents

Ranging sensor and its setting method Download PDF

Info

Publication number
JP2006078368A
JP2006078368A JP2004263505A JP2004263505A JP2006078368A JP 2006078368 A JP2006078368 A JP 2006078368A JP 2004263505 A JP2004263505 A JP 2004263505A JP 2004263505 A JP2004263505 A JP 2004263505A JP 2006078368 A JP2006078368 A JP 2006078368A
Authority
JP
Japan
Prior art keywords
display
value
unit
setting
distance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2004263505A
Other languages
Japanese (ja)
Other versions
JP5102431B2 (en
Inventor
Satoru Inoue
哲 井上
Koji Fukumura
孝二 福村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Keyence Corp
Original Assignee
Keyence Corp
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 Keyence Corp filed Critical Keyence Corp
Priority to JP2004263505A priority Critical patent/JP5102431B2/en
Publication of JP2006078368A publication Critical patent/JP2006078368A/en
Application granted granted Critical
Publication of JP5102431B2 publication Critical patent/JP5102431B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Length-Measuring Devices Using Wave Or Particle Radiation (AREA)
  • Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)
  • Optical Radar Systems And Details Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a ranging sensor capable of changing display mode flexibly and capable of changing output setting variably. <P>SOLUTION: The ranging sensor comprises: a sensor head part for irradiating a ranging object with a ranging medium and detecting the reflected ranging medium; an operation part capable of operating the distance from the irradiation surface of the sensor head part to the ranging object on the basis of the value detected by the sensor head part; a setting part for previously setting the threshold value, reference value, and plus/minus direction to the display to the reference value; a displacement display part capable of converting the measured distance operated at the operation part into the display value according to the reference value set at the setting part and to the plus/minus direction; and an output part capable of outputting the prescribed ON/OFF when the display value to be displayed on the displayable displacement display part and the display value to be displayed on the displacement display part reaches the threshold value set at the setting part. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、物体の有無や距離・変位を検出、測定可能な測距センサ及びその設定方法に関する。   The present invention relates to a distance measuring sensor capable of detecting and measuring the presence / absence, distance / displacement of an object, and a setting method thereof.

従来より、光電センサや近接スイッチなど種々のセンサが開発されている。これらのセンサ類は、光波や音波などを使用して対象物(ワーク)の有無を検出し、これに応じたON/OFF出力が可能で、FAなどの幅広い用途で用いられている。光電センサ等のセンサは、一般にワークの有無を検出することが主目的であるため、変位や距離を検出することはできない。一方で、レーザ光変位センサ、静電容量型変位センサ、渦電流型変位センサ等のように距離や変位の測定を可能にしたタイプのセンサも開発されている。距離の測定が可能なセンサは、ワークの姿勢や向きの判定、複数種類のワークの識別など、より高度な制御が可能である。   Conventionally, various sensors such as a photoelectric sensor and a proximity switch have been developed. These sensors detect the presence / absence of an object (work) using light waves, sound waves, and the like, can perform ON / OFF output in accordance with the presence / absence, and are used in a wide range of applications such as FA. Sensors such as photoelectric sensors generally cannot detect displacement or distance because their main purpose is to detect the presence or absence of a workpiece. On the other hand, sensors that can measure distance and displacement, such as laser light displacement sensors, capacitive displacement sensors, and eddy current displacement sensors, have been developed. A sensor capable of measuring a distance can perform more advanced control such as determination of the posture and orientation of a workpiece and identification of a plurality of types of workpieces.

例えば、測距媒体として光でなく超音波を使用する超音波センサは、図2(a)に示すようにセンサヘッド部内部に備えられた超音波送信器から対象物(ワーク)に向けて超音波を照射し、反射された超音波を超音波受信器で受信すると共に受信までの所要時間を測定し、これに基づいてセンサヘッド部とワークとの距離を検出できる。また測定値が予め設定された閾値を超える場合にセンサの出力をONするような設定も可能である。   For example, as shown in FIG. 2A, an ultrasonic sensor that uses ultrasonic waves instead of light as a distance measuring medium is ultrasonically directed toward an object (work) from an ultrasonic transmitter provided inside the sensor head unit. The ultrasonic wave is irradiated, the reflected ultrasonic wave is received by the ultrasonic receiver, and the time required until the reception is measured, and based on this, the distance between the sensor head unit and the workpiece can be detected. It is also possible to set the sensor output to be turned on when the measured value exceeds a preset threshold value.

このようなセンサは、閾値に基づくON/OFFのスイッチングの他、センサヘッド部とワークとの間の距離を測定して表示することもできる。この表示態様では、図2(a)に示すようにワークとセンサヘッド部の距離を測定して表示する態様には好適に使用できる。しかしながら、このような測定された距離を表示するのみの表示態様のみでは、使用状態によっては不便なことがある。例えば、図2(b)に示すように床面に置かれたワークの高さYを検出する場合、予めセンサヘッド部の端面と床面との距離Aを測定しておき、超音波センサで測定された距離Xを減算することによってYを求める必要がある。   Such a sensor can measure and display the distance between the sensor head unit and the workpiece in addition to ON / OFF switching based on a threshold value. This display mode can be suitably used for a mode in which the distance between the workpiece and the sensor head unit is measured and displayed as shown in FIG. However, it may be inconvenient depending on the state of use only with such a display mode that only displays the measured distance. For example, when detecting the height Y of the workpiece placed on the floor as shown in FIG. 2B, the distance A between the end surface of the sensor head unit and the floor is measured in advance, and an ultrasonic sensor is used. It is necessary to determine Y by subtracting the measured distance X.

またセンサにおいては、センサヘッド部とワークとの距離が大きくなると測定値が大きくなるような表示、すなわち設定値を上回ったとき+となるような表示が一般的である。例えば、図2(c)に示すように測定に際して予め基準位置Aを設定しておき、測定した変位をこの設定位置Aからの+/−で表示しようとすれば、基準位置とセンサヘッド部との間にワークがある場合は常に−で表示されることとなる。   In addition, in a sensor, a display in which a measured value increases as the distance between the sensor head portion and the workpiece increases, that is, a display that becomes + when a set value is exceeded is common. For example, as shown in FIG. 2C, when a reference position A is set in advance for measurement and the measured displacement is to be displayed as +/− from the set position A, the reference position, the sensor head portion, If there is a workpiece between the two, it is always displayed as-.

このような表示態様では、ユーザに混乱を招くおそれがある。ユーザが得たい、あるいは知りたい情報を、演算や正負変換などを行うことなく直接表示するように設定できれば、ユーザは表示を見るだけで直感的、感覚的に理解でき、便利に使用できる。   Such a display mode may cause confusion to the user. If the user can set the information that he wants to obtain or want to know to display it directly without performing calculation or positive / negative conversion, the user can understand intuitively and intuitively just by looking at the display, and can use it conveniently.

一方で、センサは一般に設定値を超えたときに出力をONとし、設定値を下回るときにOFFとなるよう構成されている。このため、設定値を下回るときにONするように設定すれば、センサの閾値を基準とする動作からすれば違和感のある動作となる。このように、従来のセンサの設定では、使用態様やユーザの嗜好に合わせた柔軟な設定ができず、使い勝手が悪かった。
特開2003−218679号公報
On the other hand, the sensor is generally configured so that the output is turned on when a set value is exceeded, and is turned off when the value falls below the set value. For this reason, if it is set to be turned on when it falls below the set value, an operation with a sense of incongruity will occur if the operation is based on the threshold value of the sensor. As described above, in the conventional sensor setting, a flexible setting according to the usage mode and the user's preference cannot be performed, and the usability is poor.
JP 2003-218679 A

本発明は、このような現状に鑑みなされたものである。本発明の目的の一は、表示形態を柔軟に変更可能な測距センサ及びその設定方法を提供することにある。また本発明の他の目的は、出力の設定を変更可能な測距センサ及びその設定方法を提供することにある。   The present invention has been made in view of such a current situation. An object of the present invention is to provide a distance measuring sensor capable of flexibly changing a display form and a setting method thereof. Another object of the present invention is to provide a distance measuring sensor capable of changing output settings and a setting method thereof.

上記の目的を達成するために、本発明の第1の側面に係る測距センサは、測距媒体を対象物に照射し、対象物で反射された測距媒体を検出可能なセンサヘッド部と、センサヘッド部で検出した値に基づきセンサヘッド部の照射面から対象物までの距離を演算可能な演算部と、予め閾値、基準値、および該基準値に対する表示の正負方向を設定するための設定部と、演算部で演算された測定距離を、設定部で設定された基準値および正負方向に従って表示値に変換し、表示可能な変位表示部と、変位表示部で表示される表示値が設定部で設定された閾値とを比較し、所定のON/OFFの動作パターンにて出力可能な出力部とを備える。この構成により、基準値と測距の正負方向とを任意に設定でき、使用用途や態様に応じた柔軟な表示が可能となる。   In order to achieve the above object, a distance measuring sensor according to the first aspect of the present invention includes a sensor head unit that can irradiate a target with a distance measuring medium and detect the distance measuring medium reflected by the target. A calculation unit capable of calculating a distance from the irradiation surface of the sensor head unit to an object based on a value detected by the sensor head unit, and a threshold value, a reference value, and a positive / negative direction of display with respect to the reference value in advance The measurement distance calculated by the setting unit and the calculation unit is converted into a display value according to the reference value and the positive / negative direction set by the setting unit, and the display value displayed on the displacement display unit and the displacement display unit can be displayed. An output unit that compares the threshold value set by the setting unit and can output in a predetermined ON / OFF operation pattern is provided. With this configuration, it is possible to arbitrarily set the reference value and the positive / negative direction of the distance measurement, and it is possible to display flexibly in accordance with the usage and mode of use.

また本発明の第2の側面に係る測距センサは、変位表示部における表示値が、設定部で設定された正負方向に従い測定距離と基準値との差分を演算して得られた値である。これにより、ユーザが得たい値を変位表示部における表示値として直接表示することが可能となり、使い勝手を改善できる。   In the distance measuring sensor according to the second aspect of the present invention, the display value in the displacement display unit is a value obtained by calculating the difference between the measurement distance and the reference value according to the positive and negative directions set in the setting unit. . As a result, it is possible to directly display the value that the user wants to obtain as the display value in the displacement display section, and usability can be improved.

さらに本発明の第3の側面に係る測距センサは、設定部がさらに、出力部が所定のON/OFFを出力するタイミングを、表示値が閾値を超えるとき、又は下回るときのいずれかに切り替え可能に構成している。この構成により、測定値が閾値の上下いずれにある場合に出力させるかを設定できるので、使用用途や態様に応じた柔軟な出力が可能となる。   Furthermore, in the distance measuring sensor according to the third aspect of the present invention, the setting unit further switches the timing at which the output unit outputs a predetermined ON / OFF to a time when the display value exceeds or falls below the threshold value. It is configured as possible. With this configuration, it is possible to set whether to output when the measured value is above or below the threshold value, so that flexible output according to the usage and mode of use is possible.

さらにまた本発明の第4の側面に係る測距センサは、センサヘッド部が測距媒体を検出できず測距センサが測定可能な距離範囲を超える測定距離となったとき、予め設定された基準値が測定されたものとして該当する表示値を変位表示部に表示可能に構成している。これにより、センサヘッド部と対象物の位置関係によって距離を測定不可能な場合が生じても、表示値を得ることができ、センサヘッド部の配置の自由度を高めることができる。   Furthermore, the distance measuring sensor according to the fourth aspect of the present invention has a preset reference when the sensor head unit cannot detect the distance measuring medium and the distance measured exceeds the distance range that the distance measuring sensor can measure. The display value corresponding to the measured value can be displayed on the displacement display unit. Thereby, even when the distance cannot be measured due to the positional relationship between the sensor head part and the object, the display value can be obtained, and the degree of freedom of arrangement of the sensor head part can be increased.

さらにまた本発明の第5の側面に係る測距センサは、設定部が、センサヘッド部で測定可能な距離外にも基準値を設定可能に構成している。   Furthermore, the distance measuring sensor according to the fifth aspect of the present invention is configured such that the setting unit can set the reference value outside the distance measurable by the sensor head unit.

さらにまた本発明の第6の側面に係る測距センサは、センサヘッド部が、測距媒体を照射する送信部と、測距媒体を検出する受信部とを備え、送信部及び受信部が演算部で制御される。   Furthermore, in the distance measuring sensor according to the sixth aspect of the present invention, the sensor head unit includes a transmission unit that irradiates the distance measurement medium and a reception unit that detects the distance measurement medium, and the transmission unit and the reception unit perform calculations. Controlled by the department.

さらにまた本発明の第7の側面に係る測距センサは、送信部と受信部とが同一の部材で構成されている。これにより、構成を簡素化して小型化および低コスト化を実現できる。   Furthermore, in the distance measuring sensor according to the seventh aspect of the present invention, the transmission unit and the reception unit are formed of the same member. Thereby, a structure can be simplified and size reduction and cost reduction are realizable.

さらにまた本発明の第8の側面に係る測距センサは、演算部が、センサヘッド部で照射された測距媒体が検出されるまでに要した時間と、測距媒体の進行速度とに基づいてセンサヘッド部の照射面から対象物までの距離を演算可能である。   Furthermore, in the distance measuring sensor according to the eighth aspect of the present invention, the calculation unit is based on the time required until the distance measuring medium irradiated by the sensor head unit is detected and the traveling speed of the distance measuring medium. Thus, the distance from the irradiation surface of the sensor head unit to the object can be calculated.

さらにまた本発明の第9の側面に係る測距センサは、測距媒体が超音波である。これにより、光電センサなどと比して測定対象物に対する安定性の高い検出が可能となる。   Furthermore, in the distance measuring sensor according to the ninth aspect of the present invention, the distance measuring medium is an ultrasonic wave. As a result, it is possible to perform detection with higher stability for a measurement object as compared with a photoelectric sensor or the like.

さらにまた本発明の第10の側面に係る測距センサは、変位表示部における表示値が、設定部で設定された正負方向に従い測定距離と基準値との差分を演算して得られた値である。これにより、ユーザは演算や変換を行うことなく所望の値を変位表示部に直接表示させることができ、極めて便利に使用できる。   Furthermore, in the distance measuring sensor according to the tenth aspect of the present invention, the display value in the displacement display unit is a value obtained by calculating the difference between the measurement distance and the reference value according to the positive / negative direction set in the setting unit. is there. As a result, the user can directly display a desired value on the displacement display unit without performing calculation or conversion, which can be used very conveniently.

さらにまた本発明の第11の側面に係る測距センサは、超音波を対象物に照射し、対象物で反射された超音波を検出可能なセンサヘッド部と、センサヘッド部で照射された超音波が検出されるまでに要した時間と、超音波の進行速度とを乗算してセンサヘッド部の照射面から対象物までの距離を測定値として演算可能な演算部と、センサヘッド部から超音波の進行方向に所定の距離分離間した位置を表示値の基準位置として定め、かつ該基準位置に対する表示の正負方向を設定すると共に、表示値に対する閾値を設定するための設定部と、設定部で設定された基準値および正負方向に従って、演算部で演算された測定値を加減算して表示値を演算し、該表示値を表示可能な変位表示部と、変位表示部で表示される表示値が設定部で設定された閾値に達したとき、所定のON/OFFを出力可能な出力部とを備える。この構成により、センサヘッド部と対象物との距離から対象物のサイズを演算して変位表示部に直接表示でき、かつ該表示値と閾値を比較することで出力のON/OFFが可能となり、対象物のサイズに応じた有無検出等が理解し易い形で出力できる。   Furthermore, the distance measuring sensor according to the eleventh aspect of the present invention includes a sensor head unit that can irradiate an object with ultrasonic waves and detect the ultrasonic wave reflected by the object, and an ultrasonic wave irradiated by the sensor head part. Multiplying the time required until the sound wave is detected and the ultrasonic traveling speed to calculate the distance from the irradiation surface of the sensor head unit to the object as a measurement value, and the sensor head unit A setting unit for setting a position separated by a predetermined distance in the traveling direction of the sound wave as a reference position of the display value, setting a positive / negative direction of display with respect to the reference position, and setting a threshold value for the display value; The display value is calculated by adding and subtracting the measurement value calculated by the calculation unit according to the reference value and positive / negative direction set in step 1, and the display value is displayed on the displacement display unit. Was set in the settings section Upon reaching a value, and an output capable of outputting unit a predetermined ON / OFF. With this configuration, the size of the object can be calculated from the distance between the sensor head part and the object and displayed directly on the displacement display part, and the output can be turned ON / OFF by comparing the display value with a threshold value. The presence / absence detection according to the size of the object can be output in an easily understandable form.

また、本発明の第12の側面に係る測距センサの設定方法は、センサヘッド部が測距媒体を対象物に照射し、対象物で反射された測距媒体を検出し、演算部がセンサヘッド部で検出した値に基づきセンサヘッド部の照射面から対象物までの距離を演算可能であり、かつ測定された距離と予め設定された閾値とを比較して、所定のON/OFF信号を出力部から出力可能な測距センサの設定方法である。この方法は、測距センサに設けられた設定部から、表示の基準となる所定の基準位置または差分量の少なくともいずれかを設定する工程と、必要に応じて該基準位置に対する表示の正負方向を設定する工程と、閾値を設定する工程とを有し、センサヘッド部で測定された対象物までの測定距離を、設定部で設定された基準位置および正負方向に従って表示値に変換し、表示値が設定部で設定された閾値に達したとき、所定のON/OFF信号を出力部から出力する。これにより、基準値と測距の正負方向とを任意に設定でき、使用用途や態様に応じた柔軟な表示が可能となる。   In addition, the distance measuring sensor setting method according to the twelfth aspect of the present invention is such that the sensor head unit irradiates the object with the distance measuring medium, detects the distance measuring medium reflected by the object, and the arithmetic unit detects the sensor. The distance from the irradiation surface of the sensor head unit to the object can be calculated based on the value detected by the head unit, and the measured distance is compared with a preset threshold value, and a predetermined ON / OFF signal is output. This is a method of setting a distance measuring sensor that can be output from the output unit. This method includes a step of setting at least one of a predetermined reference position serving as a display reference or a difference amount from a setting unit provided in the distance measuring sensor, and, if necessary, a positive / negative direction of display with respect to the reference position. A step of setting and a step of setting a threshold, and the measurement distance to the object measured by the sensor head unit is converted into a display value according to the reference position and the positive / negative direction set by the setting unit, and the display value When the value reaches the threshold set by the setting unit, a predetermined ON / OFF signal is output from the output unit. Thereby, a reference value and the positive / negative direction of ranging can be set arbitrarily, and a flexible display according to a use application and an aspect is attained.

さらに本発明の第13の側面に係る測距センサは、測距センサは変位表示部を備えており、設定部で設定された正負方向に従い、基準位置から測定距離分をシフトさせた値を表示値として変位表示部に表示する。これにより、ユーザが得たい値を変位表示部における表示値として直接表示することが可能となり、使い勝手を改善できる。   Furthermore, the distance measuring sensor according to the thirteenth aspect of the present invention includes a displacement display unit, and displays a value obtained by shifting the measured distance from the reference position according to the positive / negative direction set by the setting unit. The value is displayed on the displacement display section. As a result, it is possible to directly display the value that the user wants to obtain as the display value in the displacement display section, and usability can be improved.

本発明の測距センサ及びその設定方法は、対象物の有無を検出してスイッチング可能なセンサでありながら距離や変位測定が可能であり、対象物の姿勢判定や複数種類の峻別を可能にすると共に、変位表示部における表示を、ユーザが知りたい値を直接表示するように設定を変更できる。これにより、ユーザは測定された距離から演算や変換を行って対象物を大きさを求める手間がなく、速やかに必要な情報を得ることができ、使い勝手が大幅に改善される。さらに、ON/OFFの切り替えを行う閾値についても、閾値を超える場合にのみONするよう固定された設定から、閾値を下回る場合にONするように変更することもでき、ユーザの嗜好や使用態様に応じた柔軟な設定を可能としており、これによってさらに使い勝手を向上した測距センサが実現される。   The distance measuring sensor and its setting method according to the present invention can measure distance and displacement while detecting the presence / absence of an object, and can switch the distance and displacement, and can determine the posture of the object and distinguish multiple types. At the same time, the display on the displacement display unit can be changed so that the value that the user wants to know is directly displayed. Thereby, the user does not have the trouble of calculating and converting from the measured distance to obtain the size of the object, and can quickly obtain necessary information, thereby greatly improving usability. Furthermore, the threshold value for switching ON / OFF can also be changed from a setting that is fixed to be turned on only when the threshold value is exceeded, to be turned on when the value is lower than the threshold value. Accordingly, it is possible to set the distance measuring sensor with improved usability.

以下、本発明の実施の形態を図面に基づいて説明する。ただし、以下に示す実施の形態は、本発明の技術思想を具体化するための測距センサ及びその設定方法を例示するものであって、本発明は測距センサ及びその設定方法を以下のものに特定しない。また、本明細書は特許請求の範囲に示される部材を、実施の形態の部材に特定するものでは決してない。特に実施の形態に記載されている構成部品の寸法、材質、形状、その相対的配置等は特に特定的な記載がない限りは、本発明の範囲をそれのみに限定する趣旨ではなく、単なる説明例にすぎない。なお、各図面が示す部材の大きさや位置関係等は、説明を明確にするため誇張していることがある。さらに以下の説明において、同一の名称、符号については同一もしくは同質の部材を示しており、詳細説明を適宜省略する。さらに、本発明を構成する各要素は、複数の要素を同一の部材で構成して一の部材で複数の要素を兼用する態様としてもよいし、逆に一の部材の機能を複数の部材で分担して実現することもできる。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. However, the embodiment described below exemplifies a distance measuring sensor and its setting method for embodying the technical idea of the present invention, and the present invention describes the distance measuring sensor and its setting method as follows. Not specified. Further, the present specification by no means specifies the members shown in the claims to the members of the embodiments. In particular, the dimensions, materials, shapes, relative arrangements, and the like of the component parts described in the embodiments are not intended to limit the scope of the present invention unless otherwise specified, and are merely explanations. It's just an example. Note that the size, positional relationship, and the like of the members shown in each drawing may be exaggerated for clarity of explanation. Furthermore, in the following description, the same name and symbol indicate the same or the same members, and detailed description thereof will be omitted as appropriate. Furthermore, each element constituting the present invention may be configured such that a plurality of elements are constituted by the same member and the plurality of elements are shared by one member, and conversely, the function of one member is constituted by a plurality of members. It can also be realized by sharing.

本発明の実施例において使用される測距センサとこれに接続される操作、制御、表示、その他の処理等のためのコンピュータ、プリンタ、外部記憶装置その他の周辺機器との接続は、例えばIEEE1394、RS−232xやRS−422、USB等のシリアル接続、パラレル接続、あるいは10BASE−T、100BASE−TX、1000BASE−T等のネットワークを介して電気的、あるいは磁気的、光学的に接続して通信を行う。接続は有線を使った物理的な接続に限られず、IEEE802.1x、OFDM方式等の無線LANやBluetooth等の電波、赤外線、光通信等を利用した無線接続等でもよい。さらにデータの交換や設定の保存等を行うための記録媒体には、メモリカードや磁気ディスク、光ディスク、光磁気ディスク、半導体メモリ等が利用できる。なお本明細書において測距センサとは、測距センサのみならず、これにコンピュータ、外部記憶装置等の周辺機器を組み合わせた測距センサシステムも含む意味で使用する。
[第1の実施の形態]
The connection between the distance measuring sensor used in the embodiment of the present invention and a computer, a printer, an external storage device and other peripheral devices for operation, control, display, and other processing connected thereto is, for example, IEEE 1394, RS-232x, RS-422, serial connection such as USB, parallel connection, or communication via network such as 10BASE-T, 100BASE-TX, 1000BASE-T, etc. Do. The connection is not limited to a physical connection using a wire, but may be a wireless connection using a wireless LAN such as IEEE 802.1x or OFDM, radio waves such as Bluetooth, infrared rays, optical communication, or the like. Furthermore, a memory card, a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like can be used as a recording medium for exchanging data or storing settings. In this specification, the term distance measuring sensor is used to include not only a distance measuring sensor but also a distance measuring sensor system in which peripheral devices such as a computer and an external storage device are combined.
[First Embodiment]

以下、図3から図4を用いて、本発明の第1の実施の形態に係る測距センサとして、測距手段に反射型の超音波センサを使用した例について説明する。これらの図において、図3は超音波センサ100の外観を示す斜視図を、図4はセンサヘッド部10とアンプ部20を構成するブロック図を、それぞれ示している。
(センサヘッド部10)
Hereinafter, an example in which a reflective ultrasonic sensor is used as a distance measuring unit will be described as a distance measuring sensor according to the first embodiment of the present invention with reference to FIGS. In these drawings, FIG. 3 is a perspective view showing an external appearance of the ultrasonic sensor 100, and FIG. 4 is a block diagram showing the sensor head unit 10 and the amplifier unit 20, respectively.
(Sensor head unit 10)

超音波センサ100は、図4に示すように超音波をワークWに照射するセンサヘッド部10と、センサヘッド部10を制御するアンプ部20とを備える。センサヘッド部10は、測距媒体として超音波をワークWに照射するための送信部及びワークWで反射された超音波を受信するための受信部として、送受信素子13を備えている。図4に示す超音波センサ100では、送受信素子13として一の超音波振動子を送信と受信に兼用している。この例では、一の振動子を送信と受信を時分割して交互に使用する。この構成によってセンサヘッド部を小型化し、省スペース化を図ることができる。ただ、送信素子として送波用超音波振動子、受信素子として受波用超音波振動子を個別に用意してもよい。送受信素子は、これを駆動して超音波を発生、送信するための送信回路14、およびワークWで反射され送受信素子で受信された超音波の信号を電気信号に変換する受信回路15とを接続している。
(アンプ部20)
As shown in FIG. 4, the ultrasonic sensor 100 includes a sensor head unit 10 that irradiates a workpiece W with ultrasonic waves, and an amplifier unit 20 that controls the sensor head unit 10. The sensor head unit 10 includes a transmission / reception element 13 as a transmission unit for irradiating the workpiece W with ultrasonic waves as a distance measuring medium and a reception unit for receiving ultrasonic waves reflected by the workpiece W. In the ultrasonic sensor 100 shown in FIG. 4, one ultrasonic transducer is used for both transmission and reception as the transmission / reception element 13. In this example, one transducer is used alternately with time division for transmission and reception. With this configuration, the sensor head portion can be reduced in size and space can be saved. However, a transmitting ultrasonic transducer may be separately prepared as a transmitting element, and a receiving ultrasonic transducer may be separately prepared as a receiving element. The transmission / reception element is connected to a transmission circuit 14 for driving and generating and transmitting an ultrasonic wave, and a reception circuit 15 for converting an ultrasonic signal reflected by the work W and received by the transmission / reception element into an electrical signal. is doing.
(Amplifier unit 20)

さらにアンプ部20は、ユーザがあるタイミングにてゼロとしたいゼロシフト信号やバンク切替信号を入力し、演算部24に出力する入力部22、送受信素子13で超音波を送信するタイミングを送信回路14に出力し、送信回路14からの送信タイミングにて送受信素子13で送信した超音波を同じく送受信素子13で受信し、受信回路15を介して受信信号として入力すると共に、送信開始したタイミングから送受信素子13で受信したタイミングまでの所要時間を計時し、この時間と超音波の速度とを積算して距離を演算する演算部24、ユーザが各種の設定を行うための設定部26、設定部26の設定内容の確認や測定された距離を表示するための表示部30、およびON/OFF信号などの出力信号を外部に出力するための出力部28を備える。演算部24は、入力部22から受けたタイミングをカウンタなどによりカウントして時間を計測する。また出力部28は、表示値と設定部26で設定された閾値とを比較してON/OFF信号を出力する。例えばON時に一定電圧を出力し、OFF時に出力を0とするデジタル出力とする。以下の例では、出力部28は出力端子として出力1,出力2の独立した2系統を備えると共に、後述するように用途に応じて機能を選択可能な入出力端子を備えている。
(表示部30)
Further, the amplifier unit 20 inputs a zero shift signal and a bank switching signal that the user wants to zero at a certain timing, and outputs to the transmission circuit 14 the timing of transmitting the ultrasonic wave by the input unit 22 and the transmission / reception element 13 that are output to the calculation unit 24. The ultrasonic wave that is output and transmitted by the transmission / reception element 13 at the transmission timing from the transmission circuit 14 is similarly received by the transmission / reception element 13 and input as a reception signal via the reception circuit 15, and the transmission / reception element 13 from the timing when transmission is started. The time required until the timing received at the time is counted, the calculation unit 24 that calculates the distance by adding the time and the ultrasonic velocity, the setting unit 26 for the user to perform various settings, the setting of the setting unit 26 A display unit 30 for confirming the contents and displaying the measured distance, and an output unit for outputting an output signal such as an ON / OFF signal to the outside Equipped with a 8. The arithmetic unit 24 measures the time by counting the timing received from the input unit 22 with a counter or the like. The output unit 28 compares the display value with the threshold set by the setting unit 26 and outputs an ON / OFF signal. For example, a constant voltage is output when the output is ON, and the output is 0 when the output is OFF. In the following example, the output unit 28 includes two independent systems of output 1 and output 2 as output terminals, and also includes input / output terminals whose functions can be selected according to applications as will be described later.
(Display unit 30)

また図3の斜視図に示すように、センサヘッド部10とアンプ部20とはケーブル部16により電気的に接続されている。アンプ部20は、正面に表示部30と設定部26を設けている。図3の例では、表示部30は第1表示領域32と第2表示領域34を備えており、各々7セグメント表示が採用される。表示領域を複数設けることで、第1表示領域32に測定値、第2表示領域34に閾値を各々表示させるなど一画面で各値を確認でき、一目で現在の状態をユーザに表示できる判りやすいインターフェースを実現できる。第1表示領域32の左側には出力表示部36を備える。出力表示部36は出力部28の出力状態を表示する。図3の例では、出力1(OUT1),出力2(OUT2)それぞれの出力表示部36として、LEDインジケータを備える。また第2表示領域34の左側にはチャンネルインジケータ38、右側にはサブインジケータ39を備える。チャンネルインジケータ38は、例えば第2表示領域34に2つの閾値に相当するチャンネル1,2のいずれが表示されているかを示す。またサブインジケータ39は警告表示灯として機能する。
(設定部26)
As shown in the perspective view of FIG. 3, the sensor head unit 10 and the amplifier unit 20 are electrically connected by a cable unit 16. The amplifier unit 20 is provided with a display unit 30 and a setting unit 26 on the front. In the example of FIG. 3, the display unit 30 includes a first display area 32 and a second display area 34, each adopting a 7-segment display. By providing a plurality of display areas, each value can be confirmed on one screen, such as displaying a measured value in the first display area 32 and a threshold value in the second display area 34, and the current state can be displayed to the user at a glance. An interface can be realized. An output display unit 36 is provided on the left side of the first display area 32. The output display unit 36 displays the output state of the output unit 28. In the example of FIG. 3, an LED indicator is provided as the output display unit 36 for each of output 1 (OUT1) and output 2 (OUT2). A channel indicator 38 is provided on the left side of the second display area 34, and a sub-indicator 39 is provided on the right side. The channel indicator 38 indicates, for example, which of the channels 1 and 2 corresponding to the two threshold values is displayed in the second display area 34. The sub-indicator 39 functions as a warning indicator lamp.
(Setting part 26)

設定部26は、閾値や基準値あるいは基準位置、正負方向など各種の設定をユーザが行うための入力部材である。図3に示す設定部は入力部材として、表示値の表示を行う表示モードと設定を行う設定モードとを切替可能なモード切替部27と、設定値を指定する増減部42と、および指定を決定するための決定部44を備えている。ここではモード切替部27としてモードボタン、増減部42として上下ボタン、決定部44としてセットボタンを備えている。入力部材にはボタンやスイッチ、ダイヤル、キーボード、タッチパネル、マウス、スライドパッド等が利用できる。なおこれらの表示部や設定部のレイアウトやデザインは一例であり、適宜変更できることは言うまでもない。例えば表示部と設定部をタッチパネル式で一体としたり、設定部をリモコンやコンソール等別体に構成してもよい。また表示部は液晶表示とすることもできる。また、上記の例ではセンサヘッド部とアンプ部を個別に構成したが、これらを一体とした構造を採用することもできることはいうまでもない。さらに図4の例ではモード切替部27は設定部26に組み込まれているが、設定部と別個の部材としてモード切替部を設けることもできることはいうまでもない。   The setting unit 26 is an input member for a user to perform various settings such as a threshold value, a reference value, a reference position, and a positive / negative direction. The setting unit shown in FIG. 3 determines, as input members, a mode switching unit 27 that can switch between a display mode for displaying a display value and a setting mode for setting, an increase / decrease unit 42 for specifying a set value, and a specification. A determination unit 44 is provided. Here, a mode button is provided as the mode switching unit 27, an up / down button as the increase / decrease unit 42, and a set button as the determination unit 44. Buttons, switches, dials, keyboards, touch panels, mice, slide pads, etc. can be used as input members. Needless to say, the layout and design of these display units and setting units are examples, and can be changed as appropriate. For example, the display unit and the setting unit may be integrated by a touch panel type, or the setting unit may be configured separately such as a remote controller or a console. The display unit can be a liquid crystal display. In the above example, the sensor head unit and the amplifier unit are individually configured. However, it goes without saying that a structure in which these are integrated can also be adopted. Furthermore, in the example of FIG. 4, the mode switching unit 27 is incorporated in the setting unit 26, but it goes without saying that the mode switching unit may be provided as a member separate from the setting unit.

なお本明細書において設定部での設定とは、ユーザが自分で所望の設定値を入力する他、予め用意された推奨値を自動的に設定、あるいは他の設定項目などから演算して自動的に設定するような、測距センサ側で設定する場合も含む意味で使用する。
(距離を測定する手順)
In this specification, the setting in the setting unit means that the user inputs a desired setting value by himself / herself, automatically sets a recommended value prepared in advance, or automatically calculates from other setting items. It is used in the meaning including the case where it is set on the distance measuring sensor side such as
(Procedure for measuring distance)

以下超音波センサが距離を測定する手順を、図5の超音波センサに基づいて説明する。送信素子は超音波振動子を使用している。超音波振動子は、交流電圧を印加するとその周波数で振動する特性を有する。この振動で空気を震わせて超音波を発生する。一方で超音波振動子は、振動が加わると電圧が発生するという逆の特性を備えている。   Hereinafter, a procedure for measuring the distance by the ultrasonic sensor will be described based on the ultrasonic sensor of FIG. The transmitting element uses an ultrasonic transducer. The ultrasonic vibrator has a characteristic of vibrating at a frequency when an AC voltage is applied. This vibration vibrates the air and generates ultrasonic waves. On the other hand, the ultrasonic vibrator has a reverse characteristic that a voltage is generated when vibration is applied.

超音波センサは送信回路14で発生させた交流電圧を超音波振動子に印加する。超音波振動子はセンサヘッド部10からワークWに向かって超音波を照射する。超音波は短時間照射した後、送信を停止する。超音波の送信を停止している間に、送信した超音波が反射されて到達するのを待つ待機状態となる。一方、超音波を送信したタイミングから受信するまでのタイミングを計時する。超音波の反射波によって超音波振動子が振動すると、電圧が発生し、受信回路15にて検出される。演算部24で超音波の送信から受信までの時間を計測し、超音波の進行速度すなわち音速を乗算してセンサヘッド部10からワークWまでの距離を演算する。演算された距離の測定値は、表示部30にて表示される。
(モード切替部27)
The ultrasonic sensor applies an alternating voltage generated by the transmission circuit 14 to the ultrasonic transducer. The ultrasonic transducer irradiates ultrasonic waves from the sensor head unit 10 toward the workpiece W. The ultrasonic wave is irradiated for a short time, and then the transmission is stopped. While the transmission of the ultrasonic wave is stopped, the standby state is waited for the transmitted ultrasonic wave to be reflected and arrived. On the other hand, the timing from when the ultrasonic wave is transmitted until it is received is counted. When the ultrasonic vibrator is vibrated by the reflected wave of the ultrasonic wave, a voltage is generated and detected by the receiving circuit 15. The calculation unit 24 measures the time from transmission to reception of ultrasonic waves, and calculates the distance from the sensor head unit 10 to the workpiece W by multiplying the ultrasonic traveling speed, that is, the sound speed. The calculated distance measurement value is displayed on the display unit 30.
(Mode switching unit 27)

設定部26は、表示部30にて表示される表示態様を設定する。ここでは、表示態様の基準となる基準値を設定すると共に、基準値に対する測定された距離の正負を設定できる。具体的には、図5に示すように測定された距離をそのまま表示部30に表示する通常表示モード、および図6に示すように測定された距離に基づいて基準位置からの距離を測定する変換表示モードとを切り替え可能である。表示モードの切り替えは、後述するようにモード切替部27で表示モードから設定モードに移行して行う。
(通常表示モード)
The setting unit 26 sets a display mode displayed on the display unit 30. Here, it is possible to set a reference value serving as a reference for the display mode and to set the positive / negative of the measured distance with respect to the reference value. Specifically, a normal display mode in which the measured distance is displayed on the display unit 30 as it is as shown in FIG. 5, and a conversion in which the distance from the reference position is measured based on the measured distance as shown in FIG. The display mode can be switched. The display mode is switched by switching from the display mode to the setting mode by the mode switching unit 27 as described later.
(Normal display mode)

通常表示モードでは、センサヘッド部10とワークWとの距離が表示値として表示部30に表示される。通常表示モードでは、基準位置としてセンサヘッド部10の照射位置が0で、正負方向としてセンサヘッド部10から超音波を照射する方向が正となるように設定されている。これにより、センサヘッド部10とワークWとの間の距離を測定し、測定した距離(測定値)を表示部30に表示値としてそのまま表示できる。   In the normal display mode, the distance between the sensor head unit 10 and the workpiece W is displayed on the display unit 30 as a display value. In the normal display mode, the irradiation position of the sensor head unit 10 is set to 0 as the reference position, and the direction in which the ultrasonic wave is irradiated from the sensor head unit 10 is set to be positive as the positive / negative direction. Thereby, the distance between the sensor head part 10 and the workpiece | work W can be measured, and the measured distance (measured value) can be displayed on the display part 30 as a display value as it is.

ただ、このままの設定では図6に示すように背景(壁面)からワークWまでの高さを測定したい場合、予めセンサヘッド部10と床面との距離Aを測定しておき、ワークWとセンサヘッド部10の距離Xを測定した後、ワークWの高さYをユーザが減算(A−X)=Yにより求める必要がある。このような場合にワークWの高さを測距センサ側で演算して直接表示部30に表示できれば便利である。同様に閾値の設定についても、閾値を上回る場合にONするのみならず、下回る場合にONできるような設定にできれば便利である。このため、このような距離の変換を自動的に行って表示値として表示可能な変換表示モードが用意されている。
(変換表示モード)
However, in this setting, when it is desired to measure the height from the background (wall surface) to the workpiece W as shown in FIG. 6, the distance A between the sensor head unit 10 and the floor surface is measured in advance, and the workpiece W and the sensor are measured. After measuring the distance X of the head unit 10, the user needs to subtract (A−X) = Y from the height Y of the workpiece W. In such a case, it is convenient if the height of the workpiece W can be calculated on the distance measuring sensor side and displayed directly on the display unit 30. Similarly, it is convenient if the threshold value can be set not only to be turned on when the threshold value is exceeded but also to be turned on when the threshold value is lowered. For this reason, a conversion display mode in which such distance conversion is automatically performed and displayed as a display value is prepared.
(Conversion display mode)

変換表示モードでは、測定値に所定の演算を行って所望の表示値に変換する。具体的には、基準位置すなわち測定における原点を設定すると共に、測距の方向すなわち表示部30に表示される表示値の正負を設定するという2つの設定を行っている。以下、設定方法を説明する。
(基準位置の設定)
In the conversion display mode, the measurement value is converted into a desired display value by performing a predetermined calculation. Specifically, two settings are performed: a reference position, that is, an origin in measurement, and a distance measurement direction, that is, a positive / negative value of a display value displayed on the display unit 30 is set. The setting method will be described below.
(Setting the reference position)

測距センサは、任意の位置を基準位置として設定できる。基準位置は、通常表示モードでは図5に示すようにセンサヘッド部10の照射位置が0となるように設定されている。この状態から、例えば図6に示すように床面が0となるように基準位置を変更できる。図6の例では、センサヘッド部10から床面までの距離Aに相当する値を基準値として設定し、基準値の分だけ基準位置をシフトさせている。これにより、ワークWの高さを直接表示部30に表示できるようになる。設定変更は設定部26から行う。具体的な変更の手順については後述する。なお上記の例では、基準値の設定は、変位量を入力して行っている。ただ、変位量に変わって、あるいはこれに加えて基準位置を指定することもできる。基準位置は位置情報であり、数値や座標などで指定する。
(正負方向の設定)
The distance measuring sensor can set an arbitrary position as a reference position. In the normal display mode, the reference position is set so that the irradiation position of the sensor head unit 10 becomes 0 as shown in FIG. From this state, for example, the reference position can be changed so that the floor surface becomes 0 as shown in FIG. In the example of FIG. 6, a value corresponding to the distance A from the sensor head unit 10 to the floor surface is set as a reference value, and the reference position is shifted by the reference value. As a result, the height of the workpiece W can be directly displayed on the display unit 30. The setting is changed from the setting unit 26. A specific change procedure will be described later. In the above example, the reference value is set by inputting a displacement amount. However, the reference position can be specified instead of or in addition to the displacement amount. The reference position is position information and is specified by a numerical value or coordinates.
(Positive / negative direction setting)

基準位置を変更するのみでは、ワークWの高さYが負の値として表示されることとなる。そこで正負を逆転させるよう正負方向を変更することもできる。正負方向とは、距離を測定する方向を示すもので、初期設定では図5に示すようにセンサヘッド部10から超音波が照射される方向に正、逆向きに負となるよう設定されている。この状態から逆にセンサヘッド部10から超音波が照射される方向が負となるように正負方向を変更できる。図6は、正負方向を図5と逆向きに設定した状態を示す。図6の例では、基準位置と正負方向を変更した結果、床面からセンサヘッド部10に向かう方向に距離が測定される。すなわち、基準位置として設定された床面とセンサヘッド部10の距離Aから、測定値であるワークWとセンサヘッド部10の距離Xを減算した値Y、すなわちワークWの高さが表示値として表示部30に表示される。
(測定範囲外)
Only by changing the reference position, the height Y of the workpiece W is displayed as a negative value. Therefore, the positive / negative direction can be changed to reverse the positive / negative. The positive / negative direction indicates the direction in which the distance is measured. In the initial setting, as shown in FIG. 5, the positive / negative direction is set to be positive in the direction in which ultrasonic waves are emitted from the sensor head unit 10 and negative in the reverse direction. . On the contrary, the positive / negative direction can be changed so that the direction in which ultrasonic waves are emitted from the sensor head unit 10 becomes negative. FIG. 6 shows a state in which the positive and negative directions are set in the opposite direction to FIG. In the example of FIG. 6, as a result of changing the reference position and the positive / negative direction, the distance is measured in the direction from the floor surface toward the sensor head unit 10. That is, a value Y obtained by subtracting the distance X between the workpiece W and the sensor head unit 10 as a measured value from the distance A between the floor surface set as the reference position and the sensor head unit 10, that is, the height of the workpiece W is used as the display value. It is displayed on the display unit 30.
(Outside measurement range)

また、基準位置をシフトさせることにより、測距センサが測定範囲外の状態に置かれることがあっても距離測定を可能にできる。例えば、図7に示すようにワークがないとき、測距センサが距離測定の範囲外となる位置に配置された例を考える。図7(a)の場合はワークがないためセンサヘッド部10から照射される超音波が反射されず、無限遠となって距離を測定できない。この場合であっても、ワークWの端縁に相当する位置を基準位置として設定しておくことにより、表示値「0」として表示できる。すなわち、図7の例ではセンサヘッド部10からワークWの端縁間での距離をAとすれば、測定値Aで表示部30における表示値を0とすることができる。また図7(b)に示すようにワークWが存在すると、ワークWの高さY1を測定、表示できる。図7(b)の例では基準位置からセンサヘッド部10に近い側にワークWが存在する。この状態でワークWの高さY1を正の値で表示するには、正負方向を逆向き、すなわち反射された超音波がセンサヘッド部10に向かう方向を正となるように設定する。これにより、図7(a)のように本来なら測定不能な状態でも表示値を表示でき、かつワークWの存在する場合にはワークWの高さY1を適切に表示することができる。   Further, by shifting the reference position, distance measurement can be performed even if the distance measuring sensor is placed outside the measurement range. For example, as shown in FIG. 7, when there is no work, consider an example in which the distance measuring sensor is arranged at a position outside the distance measurement range. In the case of FIG. 7A, since there is no work, the ultrasonic wave irradiated from the sensor head unit 10 is not reflected, and the distance cannot be measured due to infinity. Even in this case, the display value “0” can be displayed by setting the position corresponding to the edge of the workpiece W as the reference position. That is, in the example of FIG. 7, if the distance from the sensor head unit 10 to the edge of the workpiece W is A, the display value on the display unit 30 can be zero with the measured value A. Further, when the workpiece W exists as shown in FIG. 7B, the height Y1 of the workpiece W can be measured and displayed. In the example of FIG. 7B, the workpiece W exists on the side closer to the sensor head unit 10 from the reference position. In order to display the height Y1 of the workpiece W as a positive value in this state, the positive / negative direction is set to be opposite, that is, the direction in which the reflected ultrasonic wave is directed to the sensor head unit 10 is set to be positive. As a result, the display value can be displayed even in a state where measurement is not possible as shown in FIG. 7A, and the height Y1 of the workpiece W can be appropriately displayed when the workpiece W exists.

また一方で、図7(c)に示すように基準位置に対してセンサヘッド部10から遠ざかる位置をワークWが通過する場合は、正負方向をセンサヘッド部10から超音波が照射される方向が正となるように設定することで、ワークWの高さY2を測定、表示できる。なお、いずれの場合も表示部30に表示される表示値の正負によって、ワークWが基準位置の左右いずれを通過しているかを判別できる。   On the other hand, as shown in FIG. 7C, when the workpiece W passes through a position away from the sensor head unit 10 with respect to the reference position, the direction in which the ultrasonic wave is irradiated from the sensor head unit 10 in the positive / negative direction. By setting to be positive, the height Y2 of the workpiece W can be measured and displayed. In any case, it is possible to determine whether the workpiece W passes through the right or left of the reference position based on whether the display value displayed on the display unit 30 is positive or negative.

上記の例では、測距センサの測定限界以内に基準値を設定しているが、図8のように測距センサの測定限界外の位置に基準値を設定することもできる。図8の例でも図7と同様に、ワークWがない状態で超音波の反射を検出ができない場合は、基準値が測定されたものとして表示値を演算する。図8(a)の例では、測定値(基準値とする)から基準値を減算した値として0が表示値となる。また図8(b)のようにワークWが配置された状態では、基準値から測定値Xを減算した値として、ワークWの高さに相当するYが表示値として変位表示部30に表示される。
(出力の反転)
In the above example, the reference value is set within the measurement limit of the distance measuring sensor, but the reference value can also be set at a position outside the measurement limit of the distance measuring sensor as shown in FIG. In the example of FIG. 8, as in FIG. 7, when the reflection of ultrasonic waves cannot be detected in the absence of the workpiece W, the display value is calculated assuming that the reference value has been measured. In the example of FIG. 8A, 0 is the display value as a value obtained by subtracting the reference value from the measured value (referred to as a reference value). In the state in which the workpiece W is arranged as shown in FIG. 8B, Y corresponding to the height of the workpiece W is displayed on the displacement display unit 30 as a display value as a value obtained by subtracting the measurement value X from the reference value. The
(Invert output)

また設定部26で、出力のON/OFFを反転させる設定を行うこともできる。例えば、閾値を超える場合にONする出力パターンから、閾値を下回る場合にONする出力パターン(反転出力)に変更することもできる。これによって使用条件に応じた細かな設定変更を可能とする。出力パターンの変更は、設定部26の設定に従って出力パターン変更部25が行う。
(出力パターンの自動切り替え)
The setting unit 26 can also perform setting for reversing output ON / OFF. For example, an output pattern that is turned on when the threshold value is exceeded may be changed to an output pattern that is turned on when the value is lower than the threshold value (inverted output). As a result, detailed setting changes according to the use conditions are possible. The output pattern change unit 25 changes the output pattern according to the setting of the setting unit 26.
(Automatic output pattern switching)

ところで一般のセンサ出力では、予め閾値を、ワークのある場合の測定値とワークのない場合の測定値との中間領域に設定すると共に、測定値が閾値を上回る場合にON信号が出力されるように制御を行う。ところが、図1の配置で閾値を設定すると、ワークWが検出されると測定値が閾値を下回ることとなり出力OFF、ワークWがない場合は測定値が閾値を上回り出力ONとなり、ワークの有無と出力ON/OFFのパターンが逆転してしまう。そこで、本実施の形態では、通常表示モードの際は図5に示すように閾値を下回る場合に出力ON、上回る場合に出力OFFとなるように、出力パターン変更部25で出力部28の回路論理を自動的に変更する。
(出力パターン変更部25)
By the way, in the general sensor output, the threshold value is set in advance in an intermediate region between the measured value when there is a workpiece and the measured value when there is no workpiece, and an ON signal is output when the measured value exceeds the threshold value. To control. However, when the threshold value is set in the arrangement of FIG. 1, when the workpiece W is detected, the measured value falls below the threshold value and the output is OFF. When there is no workpiece W, the measured value exceeds the threshold value and the output is ON. The output ON / OFF pattern is reversed. Therefore, in the present embodiment, in the normal display mode, as shown in FIG. 5, the circuit logic of the output unit 28 in the output pattern changing unit 25 is set so that the output is ON when it is below the threshold value and the output is OFF when it is above the threshold value. Automatically change.
(Output pattern changing unit 25)

出力パターン変更部25は設定部26で設定された表示及び出力パターンの異なる検出モードに応じて、回路論理を変更し、いずれの検出モードであってもワークのあるときに出力ON、ないときに出力OFFとなる出力パターンとなるように調整する。   The output pattern changing unit 25 changes the circuit logic according to the detection mode with different display and output patterns set by the setting unit 26, and the output is ON when there is a work in any detection mode, and when the output is not present The output pattern is adjusted so that the output is turned off.

図4の例では、出力パターン変更部25は演算部24に組み込まれており、設定部26で検出モードが通常表示モードに設定されたことを演算部24の出力パターン変更部25で検出して、出力部28の回路論理を変更する。ただ、この構成は例示であって出力パターン変更部を演算部と別個の部材として設けることもできることはいうまでもない。また、検出モードに応じて出力パターンを自動的に変更する他、ユーザが設定部26から手動で出力パターンを変更することも可能である。   In the example of FIG. 4, the output pattern changing unit 25 is incorporated in the calculating unit 24, and the setting unit 26 detects that the detection mode is set to the normal display mode by the output pattern changing unit 25 of the calculating unit 24. The circuit logic of the output unit 28 is changed. However, this configuration is merely an example, and it is needless to say that the output pattern changing unit can be provided as a separate member from the calculation unit. In addition to automatically changing the output pattern according to the detection mode, the user can also change the output pattern manually from the setting unit 26.

出力パターン変更部25は、出力部28の回路論理を変更し、表示値が閾値よりも小さい場合に出力ON、大きい場合に出力OFFとなるようにする。このような回路論理としては、例えば出力部28のリレーがノーマル位置で閉位置すなわちONとなるノーマルクローズ(NC)あるいはブレークがある。   The output pattern changing unit 25 changes the circuit logic of the output unit 28 so that the output is turned on when the display value is smaller than the threshold value, and the output is turned off when the display value is larger. As such circuit logic, for example, there is a normal close (NC) or a break in which the relay of the output unit 28 is closed at the normal position, that is, ON.

一方、変換表示モード時の動作では、図6に示すように、閾値がワークWの有無の際の測定値の中間領域に設定される。この場合、表示値がセンサヘッド部10とワークWとの距離からワークWの高さに変換されるため、ワークWのある場合は表示値が閾値を上回り、ワークWのない場合は閾値を下回る。この動作は通常のセンサの出力パターンと一致するため、出力パターンを変更する必要はない。よって出力パターン変更部25はモード切替部27で変換表示モードが選択されたことを検出すると、回路論理を通常の出力パターン、すなわち閾値を超える場合に出力ON、下回る場合に出力OFFとなるように設定する。この回路論理としては、例えば出力部28のリレーがノーマル位置で開位置すなわちOFFとなり、トリガがあるとONになるノーマルオープン(NO)あるいはメークがある。
(閾値の設定変更)
On the other hand, in the operation in the conversion display mode, as shown in FIG. 6, the threshold value is set to an intermediate area of the measurement value when the workpiece W is present. In this case, since the display value is converted from the distance between the sensor head unit 10 and the workpiece W to the height of the workpiece W, the display value exceeds the threshold when the workpiece W is present, and falls below the threshold when there is no workpiece W. . Since this operation matches the output pattern of a normal sensor, there is no need to change the output pattern. Therefore, when the output pattern changing unit 25 detects that the conversion display mode is selected by the mode switching unit 27, the output is turned on when the circuit logic exceeds the normal output pattern, that is, the threshold value is exceeded, and the output is turned off when the circuit logic is lower. Set. As this circuit logic, for example, there is a normal open (NO) or make-up in which the relay of the output unit 28 is in the open position, that is, OFF at the normal position, and is ON when there is a trigger.
(Threshold setting change)

上記の例では、出力パターン変更部25が通常表示モードと変換表示モードで回路論理を変更することにより、ワークが検出される場合に出力ON、ワークが検出されない場合に出力OFFとなる出力パターンを実現している。ただ、出力パターンを変更するのでなく、閾値の設定位置を変えることによって、閾値を超える場合にON、超えない場合にOFFとなる出力パターンを維持しつつ、上記と同様にワークのある場合にON、無い場合にOFFとなる出力を実現することもできる。すなわち、図5および図6の例では、通常表示モード、変換表示モードのいずれの場合も、閾値をワークWと壁面の間に設定しているため、検出モードによってワークWの有無と閾値の大小の関係が逆転していた。これに対し、図9に示すように通常表示モードの際に閾値を設定する位置をワークとセンサヘッド部との間に変更することで、ワークがある場合には測定値が閾値よりも大きくできる。すなわち、閾値よりも測定値が大きい場合に出力ONとなって、閾値を超える場合にワークが検出されるというセンサの一般的な出力パターンと合致できる。またこの設定であれば、ワークがない場合には測定値が閾値よりも小さくなるため出力もOFFとなる。一方、変換表示モードにおいては図10に示すように、ワークと背景の間に閾値を設定する、すなわちワークのある場合と無い場合の中間に閾値を設定することで、ワークのない場合は表示値(ワーク高さ)は閾値以下となり出力OFF、ワークのある場合は表示値は閾値以上となって出力ONの出力パターンを維持できる。この方法であれば出力パターン変更部で回路論理を変更することなくセンサの出力パターンを通常表示モード、変換表示モードに関わらず通常通りに維持できる。   In the above example, the output pattern changing unit 25 changes the circuit logic between the normal display mode and the conversion display mode, so that the output pattern is output ON when a workpiece is detected, and output OFF when the workpiece is not detected. Realized. However, by changing the setting position of the threshold value instead of changing the output pattern, the output pattern is turned on when the threshold value is exceeded and turned off when the threshold value is not exceeded. If there is no output, it is possible to realize an output that is OFF. That is, in the example of FIGS. 5 and 6, in both the normal display mode and the conversion display mode, the threshold value is set between the workpiece W and the wall surface. The relationship was reversed. On the other hand, as shown in FIG. 9, in the normal display mode, by changing the position where the threshold is set between the workpiece and the sensor head unit, the measured value can be larger than the threshold when there is a workpiece. . That is, the output can be turned on when the measured value is larger than the threshold value, and can be matched with the general output pattern of the sensor in which the workpiece is detected when the measured value exceeds the threshold value. With this setting, when there is no workpiece, the measured value is smaller than the threshold value, so the output is also turned off. On the other hand, in the conversion display mode, as shown in FIG. 10, a threshold value is set between the workpiece and the background, that is, a threshold value is set between the case where there is a workpiece and the case where there is no workpiece. (Work height) is less than the threshold value and the output is OFF. When there is a work, the display value is equal to or more than the threshold value and the output pattern of output ON can be maintained. With this method, the output pattern of the sensor can be maintained as usual regardless of the normal display mode and the conversion display mode without changing the circuit logic by the output pattern changing unit.

このように、閾値の位置、すなわち閾値の値を変更することで、出力部の出力パターンを変更することなく、ワークの有無と出力のON/OFFを合致させることができる。閾値の設定は、ユーザが設定部26から手動で数値入力により行う他、自動で設定することも可能である。閾値等の設定を自動で行う機能をオートチューニングと呼ぶ。オートチューニングにより、演算部24はワークの位置から閾値を自動的に演算して設定する。例えば図9の例では、ワークの存在する場合の測定距離(図9の例では500mm)と、ワークのない場合の測定距離(図9の例では0mm)の中間(250mm)を閾値として演算部24が自動的に設定する。
(オートチューニング)
In this way, by changing the threshold position, that is, the threshold value, it is possible to match the presence / absence of the workpiece and the output ON / OFF without changing the output pattern of the output unit. The threshold value can be set automatically by the user by manually inputting numerical values from the setting unit 26. The function of automatically setting the threshold value is called auto tuning. By auto-tuning, the calculation unit 24 automatically calculates and sets the threshold value from the position of the workpiece. For example, in the example of FIG. 9, the arithmetic unit uses the measurement distance (500 mm in the example of FIG. 9) when the workpiece exists and the intermediate (250 mm) between the measurement distance (0 mm in the example of FIG. 9) when there is no workpiece as a threshold. 24 is set automatically.
(Auto tuning)

オートチューニングは、センサヘッド部の感度を自動的に調整あるいは閾値を設定する機能であり、通常は測距センサの段取り替えなど初期設定時に行われる。本実施の形態では、オートチューニングとして2点チューニング、感度最大チューニング、フルオートチューニング、1点ゾーンチューニング、コンベアチューニングの5つを選択して実行できる。各種チューニングの選択及び実行は、設定部26を操作して行う。以下、各チューニングについて説明する。
(2点チューニング)
Auto-tuning is a function for automatically adjusting the sensitivity of the sensor head section or setting a threshold value, and is usually performed at the time of initial setting such as changeover of a distance measuring sensor. In the present embodiment, five points of two-point tuning, maximum sensitivity tuning, full-auto tuning, one-point zone tuning, and conveyor tuning can be selected and executed as auto-tuning. Various tunings are selected and executed by operating the setting unit 26. Hereinafter, each tuning will be described.
(Two-point tuning)

2点チューニングは、ワークがある状態とワークがない状態を記憶させるものである。測距センサは現在の表示モードが通常表示モードか変換表示モードに応じて、ワークがある状態の距離情報から、最適な閾値を求める。通常表示モード時は、ワークがない状態の距離を検出範囲最大距離とみなし、ワークがある状態の距離と検出範囲最大距離との中間に閾値を設ける。以下、通常表示モード時における2点チューニングの手順を図11に基づいて説明する。まず設定部26の操作や外部入力により2点チューニングを開始し、一のワークを測距センサの超音波照射位置へ置き、セットボタンを1回押す。すると図11の右側に示すように、2点チューニング設定中であることを示す「SEt」が第2表示領域34に表示されると共に、第1表示領域32に測定値(ワークまでの距離)が表示される。次にワークのない状態でセットボタンを1回押すと、閾値として設定された値が表示される。   In the two-point tuning, a state where there is a workpiece and a state where there is no workpiece are stored. The distance measuring sensor obtains an optimum threshold value from distance information in a state where there is a work, according to whether the current display mode is the normal display mode or the conversion display mode. In the normal display mode, the distance when there is no workpiece is regarded as the maximum detection range distance, and a threshold is provided between the distance when the workpiece is present and the maximum detection range distance. Hereinafter, the two-point tuning procedure in the normal display mode will be described with reference to FIG. First, two-point tuning is started by an operation of the setting unit 26 or external input, one work is placed at the ultrasonic irradiation position of the distance measuring sensor, and the set button is pressed once. Then, as shown on the right side of FIG. 11, “SEt” indicating that the two-point tuning is being set is displayed in the second display area 34, and the measured value (distance to the workpiece) is displayed in the first display area 32. Is displayed. Next, when the set button is pressed once without a work, the value set as the threshold is displayed.

一方変換表示モード時は、ワークがない状態の距離を0とみなし、ワークがある状態の距離(表示値)と0との中間に閾値を設ける。手順は上述した図11と同じで、2点チューニングにより図10に示すように0とワーク高さ500mmとの中間である250mmに設定される。このようにして、通常表示モード、変換表示モードのいずれにおいても、ユーザはワークを実際に測距センサに配置するのみで閾値を自動で設定できるので、計算や数値入力などの手間をなくし極めて簡単に使用できる。この2点チューニングは、後述する独立検出モードにおいて利用できる。
(最大感度チューニング)
On the other hand, in the conversion display mode, the distance when there is no work is regarded as 0, and a threshold value is set between the distance (display value) when the work is present and 0. The procedure is the same as in FIG. 11 described above, and is set to 250 mm which is an intermediate between 0 and the workpiece height of 500 mm as shown in FIG. 10 by two-point tuning. In this way, in both the normal display mode and the conversion display mode, the user can set the threshold automatically only by actually placing the workpiece on the distance measuring sensor, which eliminates the need for calculations and numerical input, and is extremely simple. Can be used for This two-point tuning can be used in the independent detection mode described later.
(Maximum sensitivity tuning)

最大感度チューニングは、チューニング中に検出したONしない最小の設定値に設定することにより、すべてのワークを検出するためのチューニングである。例えば、背景状態で最大感度チューニングを行うと、その背景を検出しない最小の値、つまり最大感度に設定される。最大感度チューニングを行うには、ワークのない状態でセットボタンを3秒以上押し、第2表示領域34に「SEt」が点滅表示していることを確認して、セットボタンから手を離す。これにより、測距センサで検出可能な距離の最大値からやや小さい値が、演算部24により閾値として設定される。通常表示モードで最大感度チューニングを行う例を図12に示す。この例では、センサヘッド部で検出可能な範囲の最大である1000mmに対して、900mmが閾値として設定される。一方、変換表示モードでは0からわずかに大きい値を閾値とする。図13に示す変換表示モードにおける最大感度チューニングの例では、100mmが閾値として設定される。このように閾値は、基準となる値に対して数%〜十数%の値に設定される。この最大感度チューニングも、後述する独立検出モードにおいて利用できる。
(フルオートチューニング)
The maximum sensitivity tuning is a tuning for detecting all the workpieces by setting to the minimum set value that is not turned ON and detected during tuning. For example, when the maximum sensitivity tuning is performed in the background state, the minimum value that does not detect the background, that is, the maximum sensitivity is set. To perform the maximum sensitivity tuning, press the set button for 3 seconds or more with no work, confirm that “SEt” is blinking in the second display area 34, and release the set button. Accordingly, a value that is slightly smaller than the maximum distance that can be detected by the distance measuring sensor is set as a threshold value by the calculation unit 24. An example of performing maximum sensitivity tuning in the normal display mode is shown in FIG. In this example, 900 mm is set as the threshold value with respect to 1000 mm, which is the maximum range detectable by the sensor head unit. On the other hand, in the conversion display mode, a value slightly larger than 0 is set as the threshold value. In the example of the maximum sensitivity tuning in the conversion display mode shown in FIG. 13, 100 mm is set as the threshold value. Thus, the threshold value is set to a value of several percent to several tens percent with respect to the reference value. This maximum sensitivity tuning can also be used in the independent detection mode described later.
(Full auto tuning)

フルオートチューニングは、ワークをラインに流すなど実際にワークを動かして閾値を自動設定する。フルオートチューニングの例を図14に示す。この図に示すように、セットボタンを押した状態でワークを流し、第2表示領域34に「SEt」が点滅表示している、すなわち閾値が取得されたことを確認して、セットボタンから手を離す。これにより、通常表示モード、変換表示モードに応じて最適な閾値が設定される。このフルオートチューニングは独立検出モードにおいて利用できる。
(1点ゾーンチューニング)
In full auto tuning, the threshold is automatically set by actually moving the workpiece such as flowing the workpiece on the line. An example of full auto tuning is shown in FIG. As shown in this figure, the work is run while the set button is pressed, and “SEt” blinks in the second display area 34, that is, confirms that the threshold value has been acquired. Release. Thereby, an optimal threshold value is set according to the normal display mode and the conversion display mode. This full auto tuning can be used in the independent detection mode.
(One-point zone tuning)

1点ゾーンチューニングは、後述する図18に示す高さ判別モードにおいて利用でき、検出範囲内にコンベア等の背景がある場合に適切な閾値を設定する。1点ゾーンチューニングを行うには、ワークを測距センサの超音波照射位置に配置し、セットボタンを1回押す。つまり、セットボタンを押している間に検出するワークとの距離を設定値として設定する。これに偏差(H−L)を設定することで、チューニングに使用したワークのみを検出できるようになる。
(コンベアチューニング)
One-point zone tuning can be used in a height discrimination mode shown in FIG. 18 described later, and an appropriate threshold is set when there is a background such as a conveyor in the detection range. To perform one-point zone tuning, place the workpiece at the ultrasonic irradiation position of the distance measuring sensor and press the set button once. That is, the distance from the workpiece detected while the set button is pressed is set as the set value. By setting the deviation (HL) to this, only the workpiece used for tuning can be detected.
(Conveyor tuning)

コンベアチューニングは、背景変動検知モードにおいて利用でき、コンベアなどの背景の距離が変化する場合に利用できる。図15にコンベアチューニングを行う例を示す。このように、まずワークのない状態でコンベアを稼動し、セットボタンを1回押す。そしてコンベアをしばらく稼動した後、セットボタンを1回押すと、コンベアの上下変動量を検出し、この変位量を考慮した上で基準位置を判定し、適切な閾値の設定が可能となる。
(検出モード)
The conveyor tuning can be used in the background fluctuation detection mode, and can be used when the background distance of the conveyor or the like changes. FIG. 15 shows an example in which conveyor tuning is performed. In this way, the conveyor is first operated without a workpiece, and the set button is pressed once. Then, after operating the conveyor for a while, when the set button is pressed once, the vertical fluctuation amount of the conveyor is detected, the reference position is determined in consideration of this displacement amount, and an appropriate threshold value can be set.
(Detection mode)

本実施の形態に係る測距センサは、表示及び出力パターンの異なる複数の検出モードとして、以下の5つを備えている。
(1)測定値を予め設定された基準値を尺度とする値で表示し、この表示値と予め設定された閾値との大小により出力のON/OFFが可能な独立検出モード
(2)測定値を予め設定された基準値を尺度とする値で表示し、この表示値が予め設定された閾値の近傍にあるか否かで出力のON/OFFが可能な高さ判別モード
(3)複数の出力を備え、測定値を予め設定された基準値を尺度とする値で表示し、この表示値が予め設定された一の閾値を上回る場合に一の出力のON/OFFが可能であり、かつ他の出力は予め設定された他の閾値を下回る場合に出力のON/OFFが可能な背景変動検知モード
(4)予め一の領域を指定すると共に、該領域を含む他の予備領域を指定して、表示値がどの領域に含まれるかに応じて出力のON/OFFが可能な液面ウィンドウモード
(5)2以上の出力を備え、かつ予め2つの閾値を設定し、一方の閾値で一方の出力をON/OFFさせると共に他方の出力を逆の出力パターンとし、他方の閾値で他方の出力をON/OFFさせると共に一方の出力を逆の出力パターンとするゾーンコントロールモード
The distance measuring sensor according to the present embodiment includes the following five detection modes with different display and output patterns.
(1) Independent detection mode in which the measured value is displayed as a value with a preset reference value as a scale, and the output can be turned ON / OFF depending on the magnitude of the displayed value and a preset threshold value (2) The measured value Is displayed with a value that uses a preset reference value as a scale, and a height discrimination mode in which output can be turned ON / OFF depending on whether or not this display value is in the vicinity of a preset threshold value (3) Provided with an output, the measured value is displayed as a scale with a preset reference value as a scale, and when the displayed value exceeds a preset threshold, one output can be turned ON / OFF, and Background change detection mode in which output can be turned ON / OFF when other output falls below another preset threshold (4) Designate one area in advance and designate another spare area including that area Depending on which area the display value is included in, ON / O of output Liquid level window mode capable of F (5) Two or more outputs are provided, and two threshold values are set in advance, one output is turned ON / OFF at one threshold value, and the other output is set to a reverse output pattern. Zone control mode in which the other output is turned ON / OFF at the other threshold and one output is reversed.

後述する設定モードにおいていずれかの検出モードを選択し、さらに各検出モードごとに詳細を設定する。上記検出モードの内、独立検出モードと高さ判別モードは汎用的な検出モードであり、背景変動検知モード、液面ウィンドウモード、ゾーンコントロールモードは、コンベア搬送ワーク検出や液面管理など特定の用途に特化した検出モードである。以下、各検出モードについて図16〜図25に基づいて説明する。以下の例では、2つの出力に対して2以上の閾値を設定した場合を基本として説明している。
(独立検出モード)
One of the detection modes is selected in a setting mode to be described later, and further details are set for each detection mode. Of the above detection modes, the independent detection mode and height discrimination mode are general-purpose detection modes. The background fluctuation detection mode, liquid level window mode, and zone control mode are specific applications such as conveyor transport work detection and liquid level management. This is a detection mode specialized in Hereinafter, each detection mode will be described with reference to FIGS. In the following example, a case where two or more threshold values are set for two outputs is basically described.
(Independent detection mode)

独立検出モードは、測定された距離に基づき所定の演算を行って変換して表示する検出モードであり、ワークの高さ検知等に適している。この検出モードは、上述した通常表示モードと変換表示モードに切替可能である。通常表示モードでは図1に示すように演算部24でセンサヘッド部10とワークWとの距離を測定した測定値を表示値として変位表示部に表示させる。また変換表示モードは、例えば図17に示すようにコンベアC上を搬送されるワークWの有無を検知する際には、検出の判定基準は主にワークWの高さとなる。この場合は、コンベアC上にワークWがない状態を0と表示させ、ワークWがある状態をコンベアC上のワークWの高さで表示させると判りやすい。これを実現するには、測距の基準位置をセンサヘッド部10とコンベアCの距離とし、この点を0としてセンサヘッド部10に近づく側が正となるように測距の正負方向を設定すれば、表示部に表示される表示値をワーク高さとできる。さらに閾値を、検出したいワークWの高さより若干低い値に設定すれば、ワークの有無を検知できる。   The independent detection mode is a detection mode in which a predetermined calculation is performed based on the measured distance to perform conversion and display, and is suitable for workpiece height detection and the like. This detection mode can be switched between the normal display mode and the conversion display mode described above. In the normal display mode, as shown in FIG. 1, the measurement value obtained by measuring the distance between the sensor head unit 10 and the workpiece W by the calculation unit 24 is displayed as a display value on the displacement display unit. In the conversion display mode, for example, as shown in FIG. 17, when detecting the presence / absence of the workpiece W conveyed on the conveyor C, the detection criterion is mainly the height of the workpiece W. In this case, it is easy to understand if the state where there is no workpiece W on the conveyor C is displayed as 0 and the state where the workpiece W is present is displayed at the height of the workpiece W on the conveyor C. To achieve this, if the distance measurement reference position is the distance between the sensor head unit 10 and the conveyor C and this point is set to 0, the positive / negative direction of distance measurement is set so that the side closer to the sensor head unit 10 is positive. The display value displayed on the display unit can be the workpiece height. Furthermore, if the threshold is set to a value slightly lower than the height of the workpiece W to be detected, the presence / absence of the workpiece can be detected.

独立検出モードにおける出力部28の出力パターンを図16に示す。独立検出モードでは、表示値と閾値を比較して閾値を超える場合にON出力とする。図16の例では、2つの閾値P1、P2を設定し、2つの出力部28として出力1、出力2を使用する場合、出力1は閾値P1を超える場合にONし、出力は閾値P2を超える場合にONする。このように各出力は互いに影響されず、各々独立したON/OFF動作を行う。   The output pattern of the output unit 28 in the independent detection mode is shown in FIG. In the independent detection mode, when the display value is compared with the threshold and the threshold is exceeded, the output is turned ON. In the example of FIG. 16, when two threshold values P1 and P2 are set and the output 1 and the output 2 are used as the two output units 28, the output 1 is turned ON when the threshold value P1 is exceeded, and the output exceeds the threshold value P2. ON when In this way, the outputs are not affected by each other, and perform independent ON / OFF operations.

またこの例ではヒステリシス(Hys)が設定されており、出力1は閾値P1を下回る場合に直ちにOFFとならず、閾値P1に設定されたヒステリシス分低下したとき出力をOFFとする。同様に出力2も、閾値P2に対して設定されたヒステリシス分だけ閾値2を下回る場合に出力OFFとなる。   Further, in this example, hysteresis (Hys) is set, and the output 1 is not immediately turned OFF when the value falls below the threshold value P1, and the output is turned OFF when the output is lowered by the hysteresis set to the threshold value P1. Similarly, the output 2 is also turned off when it falls below the threshold 2 by the hysteresis set with respect to the threshold P2.

このように独立検出モードでは、任意の閾値を2つ独立して設定・出力できる。この例では、出力1は表示値が閾値P1を越えるとONし、表示値がP1について設定されたヒステリシス量だけ下回るとOFFする。一方出力2(白線)は表示値が閾値P2を越えるとONし、P2について設定されたヒステリシス量だけ下回るとOFFする。   Thus, in the independent detection mode, two arbitrary threshold values can be set and output independently. In this example, the output 1 is turned ON when the display value exceeds the threshold value P1, and turned OFF when the display value falls below the hysteresis amount set for P1. On the other hand, the output 2 (white line) turns ON when the display value exceeds the threshold value P2, and turns OFF when the display value falls below the hysteresis amount set for P2.

図16の例では2つの出力に各々閾値を設定する場合を説明したが、測距センサに接続可能な出力数に応じて出力は1のみ使用することも、あるいは3以上使用することも可能であることはいうまでもない。さらに、出力パターンをON/OFF反転させて使用することも可能である。
(高さ判別モード)
In the example of FIG. 16, the case where threshold values are set for two outputs has been described, but only one output can be used or three or more can be used depending on the number of outputs connectable to the distance measuring sensor. Needless to say. Further, it is possible to use the output pattern with the output pattern reversed ON / OFF.
(Height discrimination mode)

一方、高さ判別モードは表示値が閾値の近傍の値であるか否かを判別する。高さ判別モードは検出範囲内に背景のある検出に適したモードである。すなわち、背景を基準(0)として、ワークの高さを表示値として表示できる。このモードでは一定の高さのワークだけを検出し、高すぎても低すぎても検出しないので、図18に示すようにワークWの高さ判別や配置向き判定に好適に利用できる。この図のように判別したい複数のワーク高さに相当する閾値を設定しておけば、コンベアCや机といった背景上に存在するワークWの高さを表示値として直読でき、かつ数値すなわち高さによって出力ONするため、閾値に対応する高さのワークWを検出できる。このモードでは、閾値を中心に偏差範囲内にある場合にONするような、ウインドウコンパレータ出力動作を行う。偏差はヒステリシスとして設定できる。   On the other hand, the height discrimination mode discriminates whether or not the display value is a value near the threshold value. The height discrimination mode is a mode suitable for detection with a background in the detection range. That is, the height of the workpiece can be displayed as the display value with the background as the reference (0). In this mode, only a workpiece having a certain height is detected, and it is not detected whether the workpiece is too high or too low. Therefore, as shown in FIG. If thresholds corresponding to a plurality of workpiece heights to be discriminated are set as shown in this figure, the height of the workpiece W existing on the background such as the conveyor C or the desk can be directly read as a display value, and a numerical value, that is, a height Since the output is turned on, the workpiece W having a height corresponding to the threshold can be detected. In this mode, a window comparator output operation is performed such that the window comparator is turned on when it is within the deviation range with the threshold at the center. Deviation can be set as hysteresis.

高さ判別モードにおける閾値と出力パターンの一例を図19に示す。この図に示すように、出力1、出力2にそれぞれ閾値P1、P2が設定されている場合、閾値P1を中心とするヒステリシスを設定し、この範囲内にあるとき各出力がONとなる。このように高さ判別モードにおいても任意の閾値を2つ独立して設定・出力できる。図19に示す出力1は、表示値が閾値P1から、あらかじめ設定したヒステリシス以上ずれるとOFFする。また表示値がP1から、あらかじめ設定したヒステリシスの範囲内に入ると再びONする。一方出力2は表示値が閾値P2から、あらかじめ設定したヒステリシス以上ずれるとOFFする。また表示値がP2から、あらかじめ設定したヒステリシスの範囲内に入ると再びONする。   An example of the threshold value and the output pattern in the height discrimination mode is shown in FIG. As shown in this figure, when thresholds P1 and P2 are set for output 1 and output 2, respectively, hysteresis is set around the threshold P1, and each output is turned on when it is within this range. Thus, two arbitrary threshold values can be set and output independently in the height discrimination mode. The output 1 shown in FIG. 19 is turned OFF when the display value deviates from the threshold value P1 by a preset hysteresis or more. When the display value falls within the preset hysteresis range from P1, it is turned on again. On the other hand, the output 2 is turned OFF when the display value deviates from the threshold value P2 by a predetermined hysteresis or more. When the display value falls within the preset hysteresis range from P2, it is turned on again.

高さ判別モードと独立検出モードとの違いは、独立検出モードは基本的に表示値が閾値を超えるか超えないかでON/OFFを切り替えるのに対し、高さ判別モードは表示値が閾値の近傍にあるかどうかでON/OFFが決定される。図16および図19から明らかなように、独立検出モードではヒステリシスが出力OFFのため閾値の下側にのみ設定されるのに対し、高さ判別モードでは閾値の上下両側に閾値が設定される。
(高さ判別モードのチューニング)
The difference between the height discrimination mode and the independent detection mode is that the independent detection mode basically switches ON / OFF depending on whether the display value exceeds the threshold value or not, whereas the height discrimination mode has the display value of the threshold value. ON / OFF is determined by whether or not it is in the vicinity. As apparent from FIGS. 16 and 19, in the independent detection mode, the hysteresis is set only on the lower side of the threshold because the output is OFF, whereas in the height determination mode, the threshold is set on both the upper and lower sides of the threshold.
(Tuning height discrimination mode)

高さ判別モードのチューニングは上述の通り1点チューニングとし、セットボタンを押している間にサンプリングしたデータの中央値を、チューニングされた閾値として設定する。また高さ判別モード選択時は、自動的に検出基準設定ONとして動作する。
(背景変動検知モード)
As described above, the tuning in the height discrimination mode is one-point tuning, and the median value of data sampled while the set button is pressed is set as the tuned threshold value. When the height discrimination mode is selected, the detection reference setting is automatically turned ON.
(Background fluctuation detection mode)

背景変動検知モードは、対象物の位置が変動するような場合に対応可能な検出モードである。例えば図20に示すようにベルトコンベア等で搬送されるワークWは、ベルトコンベアのたわみによって上下に振れる。このような場合に、予め上下など、測定方向に振れる変動量を記憶しておき、この変動量でONしない設定値を自動設定する。ここでは、コンベアCを基準(0)として、ワークWの高さを表示する。   The background fluctuation detection mode is a detection mode that can cope with a case where the position of the object fluctuates. For example, as shown in FIG. 20, a workpiece W conveyed by a belt conveyor or the like swings up and down due to the deflection of the belt conveyor. In such a case, a fluctuation amount that swings in the measurement direction, such as up and down, is stored in advance, and a setting value that does not turn ON with this fluctuation amount is automatically set. Here, the height of the workpiece W is displayed with the conveyor C as a reference (0).

背景変動検知モードの出力パターンを図21に基づいて説明する。背景変動検知モードでは、コンベアCは検出せずに、コンベアCより高いワークWが来た場合に出力1がONするよう、閾値P1を設定する。これにより出力1はワーク高さに対する比較出力として利用できる。一方出力2はコンベアCの状態に関する予知保全出力として、測距センサとコンベアとの位置がずれたりコンベアが切れるといった異常の検出に利用できる。例えば閾値P2を、−P1の値に設定することで、閾値P1が検出基準位置からの検出設定値、閾値P2が保全用出力設定値となる。これにより図21に示すように、出力1は表示値が閾値P1を越えるとONし、表示値がP1に対して設定したヒステリシス量だけ下回るとOFFする。一方出力2は、表示値が閾値P2を越えるとONし、P2に対して設定したヒステリシス量だけ下回るとOFFする。
(背景変動検知モードのチューニング)
An output pattern in the background fluctuation detection mode will be described with reference to FIG. In the background fluctuation detection mode, the threshold value P1 is set so that the output 1 is turned on when a workpiece W higher than the conveyor C comes without detecting the conveyor C. As a result, the output 1 can be used as a comparison output for the workpiece height. On the other hand, the output 2 is a predictive maintenance output regarding the state of the conveyor C, and can be used for detection of an abnormality such as the position of the distance measuring sensor and the conveyor being shifted or the conveyor being cut. For example, by setting the threshold value P2 to a value of −P1, the threshold value P1 becomes the detection setting value from the detection reference position, and the threshold value P2 becomes the maintenance output setting value. As a result, as shown in FIG. 21, the output 1 is turned ON when the display value exceeds the threshold value P1, and turned OFF when the display value falls below the hysteresis amount set with respect to P1. On the other hand, the output 2 is turned on when the display value exceeds the threshold value P2, and turned off when the display value falls below the set hysteresis amount with respect to P2.
(Background fluctuation detection mode tuning)

背景変動検知モードのチューニングは、上述の通りコンベアチューニングで行うことにより、ユーザは自動的にコンベアの変動量を補正し、正確な検出を実現できる。コンベアチューニングは、セットボタンを押している間の表示値データを演算部24でサンプリングし、その振れ幅と距離中央値を取得する。そして図20に示すように、コンベアの上下振れ幅に、ワーク検出のためのマージンを加算した値を閾値1として設定する。一方、コンベアの振れ幅の中央値を閾値2に設定する。これによりワークが流れていないコンベア位置を0とするような検出基準設定が行われ、そのコンベアC上を流れるワークを安定に検出できる閾値が決定される。このようにしてコンベアチューニングを行うと、コンベアCは検出せずに、コンベアCより高いワークWが来た場合に出力1がONするよう、閾値P1が自動的に設定される。図20の例では、閾値P2は、−P1の値に自動的に設定される。   The tuning of the background fluctuation detection mode is performed by the conveyor tuning as described above, so that the user can automatically correct the fluctuation amount of the conveyor and realize accurate detection. In the conveyor tuning, display value data while the set button is being pressed is sampled by the calculation unit 24, and the runout width and the median distance are obtained. Then, as shown in FIG. 20, a value obtained by adding a margin for workpiece detection to the up and down swing width of the conveyor is set as a threshold value 1. On the other hand, the median of the runout width of the conveyor is set to the threshold value 2. As a result, a detection reference is set such that the position of the conveyor where no workpiece is flowing is set to 0, and a threshold value for stably detecting the workpiece flowing on the conveyor C is determined. When the conveyor tuning is performed in this way, the threshold value P1 is automatically set so that the output 1 is turned on when a workpiece W higher than the conveyor C comes without detecting the conveyor C. In the example of FIG. 20, the threshold value P2 is automatically set to a value of -P1.

なお背景変動検知モード選択時は、自動的に検出基準設定ONとして動作する。またこのモード選択時は、外部シフト/バンク切換機能は選択できない。また出力2は反転出力となるように、ノーマルクローズに自動的に切り替えられる。
(液面ウィンドウモード)
When the background fluctuation detection mode is selected, the detection reference setting is automatically turned ON. When this mode is selected, the external shift / bank switching function cannot be selected. Further, the output 2 is automatically switched to normal close so that it becomes an inverted output.
(Liquid level window mode)

液面ウィンドウモードは、領域を指定すると共に、領域外の予備領域を指定して、表示値がどの領域にあるかで出力を変更可能としている。この検出モードはタンク内の液面レベル検出等のレベル検知に適したモードであり、例えば図22に示すような液面管理において、タンクの底面を基準(0)として、液面の高さを表示値として設定する。この場合上下限の2つの閾値に加えて、上下限の手前の予知信号用の閾値を2つ設定でき、合計4つの閾値に応じて2つの出力をON/OFFさせることができる。ここでは上下限の閾値としてP2、P3を設定し、P2〜P3の範囲に液面を維持するよう制御する場合を考える。この領域の外側に予備領域P1、P4を設定することで、制御範囲外となったとき、どの予備領域にあるか、さらに予備領域を超えた範囲外となっているかを判定でき、より細かな制御が可能となる。図22の例では、P2として80、P3として60に設定し、予備領域P1を100、P4を40と設定し、これらの値によって各出力OUT1、OUT2は図22左のように出力され、その組み合わせによって領域A、B,C,D,Aを区別できる。アンプ部は図3に示すように出力表示部をOUT1、OUT2の2つを備えており、この2つの出力灯のON/OFFの組み合わせによって図22左側の表に示すように4つの状態を区別できる。   In the liquid level window mode, the output can be changed depending on which area the display value is in by specifying the area and specifying the spare area outside the area. This detection mode is a mode suitable for level detection such as detection of the liquid level in the tank. For example, in the liquid level management as shown in FIG. 22, the height of the liquid level is set with the bottom of the tank as a reference (0). Set as display value. In this case, in addition to the upper and lower thresholds, two thresholds for the prediction signal before the upper and lower limits can be set, and the two outputs can be turned ON / OFF according to the total of four thresholds. Here, a case is considered in which P2 and P3 are set as upper and lower thresholds, and control is performed so as to maintain the liquid level in the range of P2 to P3. By setting the spare areas P1 and P4 outside this area, it is possible to determine which spare area is outside the control range and outside the range beyond the spare area. Control becomes possible. In the example of FIG. 22, P2 is set to 80, P3 is set to 60, the spare area P1 is set to 100, and P4 is set to 40. With these values, the outputs OUT1 and OUT2 are output as shown in the left of FIG. The areas A, B, C, D, and A can be distinguished by the combination. The amplifier section has two output display sections OUT1 and OUT2 as shown in FIG. 3, and the four states are distinguished as shown in the table on the left side of FIG. 22 by the combination of ON / OFF of these two output lamps. it can.

図23に、液面ウィンドウモードにおける出力1,2の出力パターンを説明する。この図において閾値P1がHi−Hi、閾値P2がHi、閾値P3がLo、閾値P4がLo−Loの閾値となる。このように液面ウィンドウモードでは2出力でHi−Go−Lo出力を実現する。さらにヒステリシス設定は、Hi−Hi及びHiに対しては下側、Lo及びLo−Loに対しては上側に付加する。ここでは出力1は、表示値が増加するときは、閾値P4から設定したヒステリシス量だけ上回るとONする。また閾値P1を越えるとOFFする。表示値が減少するときは、閾値P1から設定したヒステリシス量だけ下回るとONする。また、閾値P4より下がるとOFFする。一方、出力2は表示値が増加するときは、閾値P2から設定したヒステリシス量だけ上回るとONする。また、閾値P3を越えるとOFFする。表示値が減少するときは、閾値P3から設定したヒステリシス量だけ下回るとONし、また閾値P2より下がるとOFFする。なお液面ウィンドウモード選択時は、自動的に検出基準設定をONとして動作する。また入出力端子は自動的にアナログ出力となる。
(ゾーンコントロールモード)
FIG. 23 illustrates output patterns 1 and 2 in the liquid level window mode. In this figure, the threshold P1 is Hi-Hi, the threshold P2 is Hi, the threshold P3 is Lo, and the threshold P4 is Lo-Lo. Thus, Hi-Go-Lo output is realized with two outputs in the liquid level window mode. Furthermore, the hysteresis setting is added to the lower side for Hi-Hi and Hi, and to the upper side for Lo and Lo-Lo. Here, when the display value increases, the output 1 is turned ON when it exceeds the hysteresis amount set from the threshold value P4. When the threshold value P1 is exceeded, it is turned OFF. When the display value decreases, the display value is turned on when the hysteresis value falls below the threshold value P1. Moreover, it will turn OFF when it falls below the threshold value P4. On the other hand, when the display value increases, the output 2 is turned on when it exceeds the threshold value P2 by a set hysteresis amount. Also, when the threshold value P3 is exceeded, it is turned OFF. When the display value decreases, the display value is turned on when the hysteresis value falls below the threshold value P3, and turned off when the display value falls below the threshold value P2. When the liquid level window mode is selected, the detection reference setting is automatically set to ON. The input / output terminals automatically become analog outputs.
(Zone control mode)

ゾーンコントロールモードは、閾値を2つ設定して領域を指定すると共に、各閾値における出力を反転させた検出モードである。この検出モードは文字通り液面管理等に適したモードであり、特に1台の測距センサでタンク内の液面レベルを検出し、上下限範囲内に液面を維持するようポンプ制御を行うのに好適に利用できる。例えば図24に示すようにタンク内に蓄えられた液面の水位を測距センサで測定して、給液ポンプまたは排液バルブのいずれかを動作して水位がP1〜P2の範囲で維持されるよう制御する例を考える。ここでタンク底面を基準(0)として、液面の高さを表示値とすることにより、液面の水位を変位表示部に直接表示できる。また範囲を区画する上下限の2つの閾値P1、P2を設定する。   The zone control mode is a detection mode in which two threshold values are set to specify an area and the output at each threshold value is inverted. This detection mode is literally a mode suitable for liquid level management and the like. In particular, a single distance measuring sensor detects the liquid level in the tank and performs pump control to maintain the liquid level within the upper and lower limits. Can be suitably used. For example, as shown in FIG. 24, the water level of the liquid level stored in the tank is measured by a distance measuring sensor, and the water level is maintained in the range of P1 to P2 by operating either the liquid supply pump or the drain valve. Consider an example of control. Here, the water level of the liquid level can be directly displayed on the displacement display unit by setting the level of the liquid level as a display value with the tank bottom as the reference (0). Also, two upper and lower threshold values P1 and P2 that divide the range are set.

ゾーンコントロールモードにおける出力1,2の出力パターンを図25に示す。この図に示すように、出力1は表示値が上限閾値P1を超えるとOFFする。表示値が下限閾値P2を下回るとONする。一方、出力2は逆に表示値が上限閾値P1を超えるとONし、下限閾値P2を下回るとOFFする。このように、検出された液面が下限閾値P2を下回ったときに出力1がONし、上限閾値P1を上回った時に出力1がOFFするという変則的なヒステリシスモードとして動作する。これにより出力1を給液ポンプの動作とし、あるいは出力2を排液バルブの動作とすることで液面管理が実現される。特に出力2を出力1の反転出力とすることで、タンクへの供給側(出力1)とタンクからの排出側(出力2)のいずれにも接続でき、いずれか一を接続して液面管理を実現できる。これにより水位がP1を超えると排液バルブを開弁して水位を下げるよう制御し、あるいは水位がP2を下回ると給液ポンプを稼働して水位を上げるように制御できる。   FIG. 25 shows output patterns of outputs 1 and 2 in the zone control mode. As shown in this figure, the output 1 is turned off when the display value exceeds the upper limit threshold value P1. Turns on when the display value falls below the lower threshold P2. On the other hand, the output 2 is turned on when the display value exceeds the upper limit threshold value P1, and turned off when the display value falls below the lower limit threshold value P2. Thus, the output 1 is turned ON when the detected liquid level falls below the lower limit threshold P2, and the output 1 is turned OFF when the detected liquid level exceeds the upper limit threshold P1. Thus, the liquid level control is realized by setting the output 1 as the operation of the liquid supply pump or the output 2 as the operation of the drain valve. In particular, output 2 can be connected to either the supply side (output 1) to the tank or the discharge side (output 2) from the tank by switching the output 1 to the inverted output. Can be realized. Accordingly, when the water level exceeds P1, the drain valve is opened to control to lower the water level, or when the water level falls below P2, the liquid supply pump can be operated to increase the water level.

なお、上述したゾーンコントロールモードはその名称に関わらず、様々な用途で利用できる。例えば、図26に示すようなテンションコントロールにおいても適用できる。図26ではモータ駆動される左右のローラで支持されたベルトのテンションを、ベルトの下面から測距センサで所定の範囲内に制御している。この例ではモータの回転動作は左右で逆となるため、上記ゾーンコントロールモードの出力1、2をそれぞれモータの動作とすることで、左右から均一なテンションコントロールが実現できる。このように上述の検出モードにおける名称は限定的なものでなく、各検出モードはその名称に関わらず各々の出力パターンを適用可能な用途に適宜利用できることはいうまでもない。なおゾーンコントロールモードはバンク入力に対応し、また自動的に検出基準設定ONとして動作する。また、この例では閾値を2つ設定しているが、3以上設定することもできることはいうまでもない。
(設定方法の詳細)
The zone control mode described above can be used for various purposes regardless of its name. For example, the present invention can be applied to tension control as shown in FIG. In FIG. 26, the tension of the belt supported by the left and right rollers driven by the motor is controlled within a predetermined range from the lower surface of the belt by the distance measuring sensor. In this example, since the rotation operation of the motor is reversed on the left and right, uniform tension control can be realized from the left and right by setting the outputs 1 and 2 of the zone control mode as the motor operation. As described above, the names in the above-described detection modes are not limited, and it goes without saying that each detection mode can be appropriately used for applications to which each output pattern can be applied regardless of the name. The zone control mode corresponds to bank input, and automatically operates with detection reference setting ON. In this example, two threshold values are set. Needless to say, three or more threshold values can be set.
(Details of setting method)

上記の各検出モードの選択および設定は、図3に示すアンプ部に設けられた設定部26および変位表示部を用いて行う。この変位表示部は、選択された検出モードで運用中に表示値を表示するための表示モードと、各検出モードの設定を行うための設定モードを備えており、これらを切り替えて表示する。以下、表示モード及び設定モードの詳細について説明する。
(表示モード)
Each detection mode is selected and set by using the setting unit 26 and the displacement display unit provided in the amplifier unit shown in FIG. The displacement display unit has a display mode for displaying a display value during operation in the selected detection mode and a setting mode for setting each detection mode, and these are switched and displayed. Hereinafter, details of the display mode and the setting mode will be described.
(Display mode)

図27に、表示モードにおける状態遷移図を示す。表示モードにおいては、後述する設定モードで設定された表示値が表示される。図27の例では、(a)に示すように変位表示部の第1表示領域32に表示値を表示し、第2表示領域34に閾値を表示する。閾値は2つ以上設定することも可能である。この場合に閾値の表示を切り替えるにはモードボタンと上下スイッチのいずれかを押下すると(b)のように他の閾値が第2表示領域34に表示される。   FIG. 27 shows a state transition diagram in the display mode. In the display mode, the display value set in the setting mode described later is displayed. In the example of FIG. 27, as shown in (a), the display value is displayed in the first display area 32 of the displacement display section, and the threshold value is displayed in the second display area 34. Two or more threshold values can be set. In this case, to switch the display of the threshold value, when either the mode button or the up / down switch is pressed, another threshold value is displayed in the second display area 34 as shown in FIG.

さらに、表示値については過去に測定された値の最大値(ピーク)と最小値(ボトム)を保持して表示するピーク/ボトムホールド表示に切り替えることも可能である。図27の例では、(a)の状態からモードボタンを押下すると、ピーク/ボトムホールド表示に切り替えられ、(c)のようにピーク/ボトムホールド表示であることを示す「HLd」表示と、(d)の最大値と最小値の表示とが所定の時間間隔で切り替えられる。(d)では第1表示領域32に最大値が、第2表示領域34に最小値が表示されている。(b)のピーク/ボトムホールド表示からモードボタンを押下すると、(a)の表示モードに戻る。このように、モードボタンを押下することでピーク/ボトムホールド表示と表示モードとがトグル状に切り替えられる。   Furthermore, the display value can be switched to a peak / bottom hold display in which the maximum value (peak) and the minimum value (bottom) of values measured in the past are held and displayed. In the example of FIG. 27, when the mode button is pressed from the state of (a), the display is switched to the peak / bottom hold display, and the “HLd” display indicating the peak / bottom hold display as shown in (c), The display of the maximum value and the minimum value of d) is switched at a predetermined time interval. In (d), the maximum value is displayed in the first display area 32 and the minimum value is displayed in the second display area 34. When the mode button is pressed from the peak / bottom hold display of (b), the display mode returns to (a). As described above, the peak / bottom hold display and the display mode are toggled by pressing the mode button.

表示モードと設定モードの切替は、モード切替部によって行う。この例では、モード切替部であるモードボタンの長押しにより切り替えが行われる。なお、表示モード/設定モード切替用ボタンを別途設ける構成とすることもできることはいうまでもない。
(設定モード)
Switching between the display mode and the setting mode is performed by a mode switching unit. In this example, switching is performed by long-pressing a mode button that is a mode switching unit. Needless to say, a display mode / setting mode switching button may be provided separately.
(Setting mode)

設定モードでは、予め用意された複数の検出モードのいずれかを選択し、各選択された検出モードについて設定を行う。この例では上述の通り5つの検出モードが用意され、独立検出モード、高さ判別モード、背景変動検知モード、液面ウィンドウモード、ゾーンコントロールモードのいずれかを選択できる。図28〜図32は、各検出モードに応じた設定モードの設定方法を示しており、図28は、独立検出モードの設定手順、図29は高さ判別モードの設定手順、図30は背景変動検知モードの設定手順、図31は液面ウィンドウモードの設定手順、図32はゾーンコントロールモードの設定手順をそれぞれ示している。
(独立検出モードの設定)
In the setting mode, one of a plurality of detection modes prepared in advance is selected, and settings are made for each selected detection mode. In this example, five detection modes are prepared as described above, and any one of an independent detection mode, a height discrimination mode, a background fluctuation detection mode, a liquid level window mode, and a zone control mode can be selected. 28 to 32 show a setting mode setting method according to each detection mode. FIG. 28 shows the setting procedure of the independent detection mode, FIG. 29 shows the setting procedure of the height discrimination mode, and FIG. 30 shows the background fluctuation. The detection mode setting procedure, FIG. 31 shows the liquid level window mode setting procedure, and FIG. 32 shows the zone control mode setting procedure.
(Independent detection mode setting)

図27の状態からモードボタンを長押しすると、図28(1)に示すように設定モードに遷移する。図28(1)は検出モードを選択する画面であり、第1表示領域32に検出モード選択画面であることを示す「Fnc」、第2表示領域34に各検出モードが表示される。ここでは、上下ボタンを操作すると第2表示領域34が「F−1」、「F−2」、「A−1」、「A−2」、「A−3」がトグル状に切り替えられ、それぞれ「独立検出モード」、「高さ判別モード」、「背景変動検知モード」、「液面ウィンドウモード」、「ゾーンコントロールモード」を示している。ここでは「独立検出モード」に相当する「F−1」を選択する。
(距離表示モード選択)
When the mode button is pressed for a long time from the state of FIG. 27, a transition is made to the setting mode as shown in FIG. FIG. 28 (1) is a screen for selecting a detection mode, “Fnc” indicating that the detection mode selection screen is displayed in the first display area 32, and each detection mode in the second display area 34. Here, when the up / down button is operated, the second display area 34 is toggled to “F-1”, “F-2”, “A-1”, “A-2”, “A-3”, “Independent detection mode”, “height discrimination mode”, “background fluctuation detection mode”, “liquid level window mode”, and “zone control mode” are shown respectively. Here, “F-1” corresponding to the “independent detection mode” is selected.
(Distance display mode selection)

第2表示領域34が「F−1」の状態でモードボタンを押下すると独立検出モードが選択され、図28(2)に示す距離表示モードの選択画面に遷移する。距離表示モード(dSt)は、図33に示すようにセンサヘッド部10の照射面(検出面)からワークWまでの検出距離を表示するノーマル動作(nor)すなわち上述した通常表示モードか、測定された距離を変換するリバース動作(rEv)すなわち任意の基準位置を設定し、その基準位置からワークWの高さを表示する変換表示モードかを選択する。なおリバース動作を設定すると、さらに図28(2−1)に示すように基準設定距離(dSt)の入力画面となる。この画面から、基準位置を数値で入力する。ここでは上下ボタンにより数値を増減させて指定しているが、テンキーやダイヤルなどで数値を指定することもできる。このように独立検出モードの設定画面においてリバースを設定すると、後述する高さ判別モードと同様の反転表示を行うことができる。
(入出力端子設定)
When the mode button is pressed while the second display area 34 is in the “F-1” state, the independent detection mode is selected, and the screen shifts to the distance display mode selection screen shown in FIG. The distance display mode (dSt) is measured as a normal operation (nor) for displaying a detection distance from the irradiation surface (detection surface) of the sensor head unit 10 to the workpiece W, that is, the normal display mode described above, as shown in FIG. A reverse operation (rEv) for converting the measured distance, that is, an arbitrary reference position is set, and a conversion display mode for displaying the height of the workpiece W from the reference position is selected. When the reverse operation is set, an input screen for the reference set distance (dSt) is displayed as shown in FIG. Enter the reference position numerically from this screen. Here, the numerical value is specified by increasing / decreasing with the up / down buttons, but the numerical value can also be specified with a numeric keypad or dial. Thus, when reverse is set on the setting screen of the independent detection mode, it is possible to perform reverse display similar to the height determination mode described later.
(I / O terminal setting)

さらにモードボタンを押下すると図28(3)に示す入出力端子設定(I_O)画面に遷移する。ここでは、2本の出力端子(OUT1、OUT2)と共に設けられた入出力端子の用途を選択でき、アナログ出力(out)、外部シフト入力(SFt)、バンク入力(bnk)のいずれかを選択する。
(アナログ出力)
When the mode button is further pressed, a transition is made to an input / output terminal setting (I_O) screen shown in FIG. Here, the use of the input / output terminals provided together with the two output terminals (OUT1, OUT2) can be selected, and either analog output (out), external shift input (SFt), or bank input (bnk) is selected. .
(Analog output)

アナログ出力では、測定された表示値に応じた値のアナログ信号を出力する。表示値に対するアナログ信号波形の一例を図34に説明する。この図の例では、測定値に応じた電流値(図の例では4〜20mA)をアナログ信号として出力する。なおワークWまでの検出距離が検出範囲下限以下や検出範囲上限以上の場合は、出力は最小値もしくは最大値で一定とする。またヘッド断線エラーを検出した場合には、アナログ出力から所定の信号(例えば最小値)を出力して警報動作を行わせることもできる。警報動作は、例えば背景に相当するコンベアCなどが所定の位置からずれて検出できない場合、センサの設置状態が異常であるとして警報出力を行う。なおこの例ではアナログ信号として電流値を出力しているが、電圧信号やデジタル信号出力とすることも可能であることはいうまでもない。
(外部シフト入力)
In the analog output, an analog signal having a value corresponding to the measured display value is output. An example of an analog signal waveform with respect to the display value will be described with reference to FIG. In the example of this figure, the electric current value (4-20 mA in the example of a figure) according to a measured value is output as an analog signal. When the detection distance to the workpiece W is less than the detection range lower limit or more than the detection range upper limit, the output is constant at the minimum value or the maximum value. When a head disconnection error is detected, a predetermined signal (for example, a minimum value) can be output from the analog output to perform an alarm operation. In the alarm operation, for example, when the conveyor C corresponding to the background cannot be detected by deviating from a predetermined position, an alarm is output as the sensor installation state is abnormal. In this example, the current value is output as an analog signal, but it goes without saying that it may be a voltage signal or a digital signal output.
(External shift input)

また外部シフト入力では、表示値を所定の量だけシフトするための設定である。外部シフトは感度差の少ないシビアな検出に有効である。温度変化などの環境変化によって表示値が変動する場合等に、検出直前に外部シフト入力によって表示値を補正することが可能となる。例えば図35に示すように、入出力端子をスイッチやPLCなどに接続し、図のように短絡することでシフト入力が可能となる。この例では入力信号の立ち上がりエッジでシフト入力を行う。   In the external shift input, the display value is set to be shifted by a predetermined amount. External shift is effective for severe detection with little sensitivity difference. When the display value fluctuates due to an environmental change such as a temperature change, the display value can be corrected by an external shift input immediately before detection. For example, as shown in FIG. 35, the input / output terminal is connected to a switch, a PLC, or the like and short-circuited as shown in the figure to enable shift input. In this example, shift input is performed at the rising edge of the input signal.

外部シフト入力を選択すると、図28(3−1)のようにシフト目標値距離(SFt)を指定する画面となり、数値にて入力する。なお上述した距離表示モードでリバース動作を選択した場合は、外部シフト入力を選択できないようになっている。リバース動作でも基準位置が設定されるため、同じような動作である外部シフト入力と混同するのを防止するためである。このように、設定項目として必要な項目のみを表示し、設定不要な項目については表示を省略することで、ユーザの混乱を無くし設定を判りやすくしている。
(バンク入力)
When the external shift input is selected, a screen for specifying the shift target value distance (SFt) is displayed as shown in FIG. When the reverse operation is selected in the distance display mode described above, the external shift input cannot be selected. This is because the reference position is set also in the reverse operation, so that it is prevented from being confused with the external shift input which is the same operation. In this way, only necessary items are displayed as setting items, and the display of items that do not require setting is omitted, thereby eliminating user confusion and making the settings easy to understand.
(Bank input)

またバンク入力では、既存の2出力のページ切替を行うためのトリガとして使用する。すなわち、2出力の閾値がそれぞれP1、P2とされている場合に、入出力端子がバンク入力を受けると2出力のそれぞれの閾値をP1’、P2’に変更することができ、2出力に4つの閾値を持たせることができる。
(出力様式設定)
In the bank input, it is used as a trigger for switching the existing two-output page. That is, when the threshold values for two outputs are P1 and P2, respectively, when the input / output terminal receives a bank input, the threshold values for the two outputs can be changed to P1 ′ and P2 ′. There can be two thresholds.
(Output format setting)

入出力端子設定の完了後モードボタンを押下すると、図28(4)の出力様式(out)の設定画面に遷移する。出力様式設定画面では、2出力(OUT1、OUT2)それぞれにつき、ノーマルオープン動作又はノーマルクローズ動作を切り替えることができる。図28(4)の例では、第2表示領域34の3桁の2桁目をOUT1、3桁目をOUT2に割り当て、それぞれノーマルオープンを「o」、ノーマルクローズを「C」と表現している。ここではOUT1がノーマルオープン、OUT2がノーマルオープンの場合は「noo」、OUT1がノーマルクローズ、OUT2がノーマルオープンの場合は「nCo」、OUT1がノーマルオープン、OUT2がノーマルクローズの場合は「noC」、OUT1がノーマルクローズ、OUT2がノーマルクローズの場合は「nCC」でそれぞれ表現している。
(応答速度設定)
When the mode button is pressed after the input / output terminal setting is completed, the screen shifts to the output format (out) setting screen shown in FIG. On the output format setting screen, the normal open operation or the normal close operation can be switched for each of the two outputs (OUT1, OUT2). In the example of FIG. 28 (4), the second digit of the second display area 34 is assigned to OUT1, the third digit is assigned to OUT2, and normal open is expressed as “o” and normal close is expressed as “C”, respectively. Yes. Here, when OUT1 is normally open and OUT2 is normally open, "no", when OUT1 is normally closed, OUT2 is normally open, "nCo", when OUT1 is normally open, and OUT2 is normally closed, "noC" When OUT1 is normally closed and OUT2 is normally closed, it is expressed by “nCC”.
(Response speed setting)

出力様式設定の完了後モードボタンを押下すると、図28(5)の応答速度設定画面(Spd)に遷移する。応答速度設定画面では、応答速度として反応時間を指定し、指定された秒数以下の変化には応答しない。これにより微小変化やチャタリングを防止できる。図28(5)の例では、予め所定の数値が選択肢として提示され、いずれかの数値を選択して設定する。ただ、ユーザが所望の数値を直接指定することもできる。
(ヒステリシス設定)
When the mode button is pressed after the output format setting is completed, a transition is made to the response speed setting screen (Spd) in FIG. On the response speed setting screen, the response time is specified as the response speed, and it does not respond to changes less than the specified number of seconds. Thereby, a minute change and chattering can be prevented. In the example of FIG. 28 (5), a predetermined numerical value is presented as an option in advance, and any numerical value is selected and set. However, the user can directly specify a desired numerical value.
(Hysteresis setting)

応答速度設定の完了後モードボタンを押下すると、図28(6)のヒステリシス設定画面(Hys)に遷移する。ヒステリシス設定画面では、設定された閾値に対するヒステリシスを数値(ここではmm)で設定する。これによって検出モードに応じて遅延や範囲を設定でき、チャタリング等を防止できる。ヒステリシスは、チューニング(初期設定)時に自動的に数値を入力されるが、ユーザがさらにこの値を変更することもできる。
(電力節約設定)
When the mode button is pressed after the response speed setting is completed, a transition is made to the hysteresis setting screen (Hys) in FIG. On the hysteresis setting screen, the hysteresis for the set threshold value is set as a numerical value (here, mm). Thereby, a delay and a range can be set according to the detection mode, and chattering and the like can be prevented. The hysteresis is automatically inputted with a numerical value during tuning (initial setting), but the user can change this value further.
(Power saving setting)

ヒステリシス設定の完了後モードボタンを押下すると、図28(7)の電力節約モード設定画面(Eco)に遷移する。この画面では電力節約モード(エコモード)のON/OFF切替が可能であり、電力節約モードをONすると、変位表示部の画面表示が所定時間経過後(例えば10秒後)に消灯して表示に要する電力(ここでは7セグメント表示器のLEDの消費電力)を節約できる。消灯中に何らかの入力やボタン操作があると、再び画面表示が点灯して表示され、また数秒後に消灯する。
(表示設定)
When the mode button is pressed after the hysteresis setting is completed, a transition is made to the power saving mode setting screen (Eco) in FIG. On this screen, the power saving mode (eco mode) can be switched ON / OFF. When the power saving mode is turned ON, the screen display of the displacement display section turns off and displays after a predetermined time (for example, 10 seconds). The power required (here, the power consumption of the LED of the 7-segment display) can be saved. If there is any input or button operation while the light is off, the screen display will turn on again and turn off after a few seconds.
(Display settings)

電力節約設定の完了後モードボタンを押下すると、図28(8)の表示設定画面(dSp)に遷移する。この画面では、変位表示部の表示に関する様々な設定が選択可能で、スタンダード表示(Std)、フィルタリング表示(FLt)、桁数削減表示(diG)がトグルにより切り替えられる。スタンダード表示は通常の表示形態を維持する。フィルタリング表示は、表示値に平滑化を行う。桁数削減表示は、表示値の桁数を下一桁削減して表示するモードであり、これによりmm表示からcm表示に変更できる。   When the mode button is pressed after the power saving setting is completed, the display changes to the display setting screen (dSp) in FIG. On this screen, various settings relating to the display of the displacement display section can be selected, and standard display (Std), filtering display (FLt), and digit number reduction display (diG) are switched by toggle. The standard display maintains the normal display form. The filtering display smoothes the display value. The digit number reduction display is a mode in which the number of digits of the display value is reduced by one lower digit, and can be changed from mm display to cm display.

なお、上記の設定モードにおいて、設定モードを終了して表示モードに戻るには、同様にモードボタンを長押しする。この際、設定モードで表示されていた値が設定値として保持される。
(高さ判別モードの設定)
In the setting mode, in order to end the setting mode and return to the display mode, similarly, the mode button is pressed and held. At this time, the value displayed in the setting mode is held as the setting value.
(Setting height discrimination mode)

次に、高さ判別モードの設定について図29に基づいて説明する。なお、上述した独立検出モードと同じ項目については説明を適宜省略する。図27の状態からモードボタンを長押しして設定モードに遷移させ、図29(1)に示す検出モード選択画面(Fnc)を表示させる。この状態から上下ボタンを操作して第2表示領域34に「高さ判別モード」に相当する「F−2」を表示させ、モードボタンを押下して選択する。すると高さ判別モードの設定に移行し、図29(2)に示すように距離表示モード選択画面(dSt)に移行する。図28(2)と異なり、高さ判別モードでは常にリバース動作で駆動されるため、ノーマル動作を選択する画面は省略され、直接リバース動作における基準となる距離を数値で設定する。   Next, the setting of the height discrimination mode will be described with reference to FIG. Note that description of the same items as in the independent detection mode described above will be omitted as appropriate. In the state shown in FIG. 27, the mode button is pressed and held to change to the setting mode, and the detection mode selection screen (Fnc) shown in FIG. 29 (1) is displayed. From this state, the up and down buttons are operated to display “F-2” corresponding to the “height discrimination mode” in the second display area 34, and the mode button is pressed to select. Then, it shifts to the setting of the height discrimination mode, and shifts to the distance display mode selection screen (dSt) as shown in FIG. Unlike FIG. 28 (2), in the height determination mode, the screen is always driven in the reverse operation, so the screen for selecting the normal operation is omitted, and the reference distance in the direct reverse operation is set as a numerical value.

次に図29(3)の入出力端子設定画面(i_o)に移行し、入出力端子の動作をアナログ出力(out)、バンク入力(bnk)のいずれかより選択する。ここでは、外部シフト入力は選択できない。さらに図29(4)の出力様式設定画面(out)に移行し、図28(4)と同様に2出力OUT1、OUT2それぞれについてノーマルオープンかノーマルクローズかを設定する。その後図29(5)で応答速度設定画面(SPd)に移行し、図28(5)と同様に検出速度を所定の選択値から選択する。さらに図29(6)でヒステリシス設定画面(Hys)に移行し、ヒステリシスの値を指定する。さらにまた図29(7)で電力節約設定画面(Eco)に移行し、エコモードのON/OFFを指定する。最後に図29(8)で表示設定画面(dSP)に移行し、スタンダード表示(Std)、フィルタリング表示(FLt)、桁数削減表示(diG)がトグルにより切り替えられる。
(背景変動検知モードの設定)
Next, the screen shifts to the input / output terminal setting screen (i_o) in FIG. 29 (3), and the operation of the input / output terminal is selected from either analog output (out) or bank input (bnk). Here, the external shift input cannot be selected. Further, the screen shifts to the output format setting screen (out) of FIG. 29 (4), and the normal output or the normal close is set for each of the two outputs OUT1 and OUT2 as in FIG. 28 (4). Thereafter, the screen shifts to the response speed setting screen (SPd) in FIG. 29 (5), and the detection speed is selected from a predetermined selection value as in FIG. 28 (5). Further, in FIG. 29 (6), the screen shifts to a hysteresis setting screen (Hys), and a hysteresis value is designated. Furthermore, in FIG. 29 (7), the screen shifts to the power saving setting screen (Eco), and the eco mode ON / OFF is designated. Finally, the display setting screen (dSP) is displayed in FIG. 29 (8), and the standard display (Std), filtering display (FLt), and digit reduction display (diG) are switched by toggle.
(Background fluctuation detection mode setting)

さらに、背景変動検知モードの設定について図30に基づいて説明する。図27の状態からモードボタンを長押しして設定モードに遷移させ、図30(1)に示す検出モード選択画面(Fnc)を表示させる。この状態から上下ボタンを操作して第2表示領域34に「背景変動検知モード」に相当する「A−1」を表示させ、モードボタンを押下して選択する。すると背景変動検知モードの設定に移行し、図30(2)に示すように距離表示モード選択画面(dSt)に移行する。ここでも図29(2)と同様、常にリバース動作で駆動されるため、ノーマル動作を選択する画面は省略され、直接リバース動作における基準となる距離を数値で設定する。また背景変動検知モードでは入出力端子の動作はアナログ出力(out)に固定されるため、入出力端子設定画面(i_o)の設定画面は表示されず、図30(3)の出力様式設定画面(out)に移行し、図28(4)と同様に2出力OUT1、OUT2それぞれについてノーマルオープンかノーマルクローズかを設定する。その後図30(4)で応答速度設定画面(SPd)に移行し、図28(5)と同様に検出速度を所定の選択値から選択する。さらに図30(5)でヒステリシス設定画面(Hys)に移行し、ヒステリシスの値を指定する。さらにまた図30(6)で電力節約設定画面(Eco)に移行し、エコモードのON/OFFを指定する。最後に図30(7)で表示設定画面(dSP)に移行し、スタンダード表示(Std)、フィルタリング表示(FLt)、桁数削減表示(diG)がトグルにより切り替えられる。
(液面ウィンドウモード)
Further, setting of the background fluctuation detection mode will be described with reference to FIG. From the state of FIG. 27, the mode button is pressed and held to change to the setting mode, and the detection mode selection screen (Fnc) shown in FIG. 30 (1) is displayed. From this state, the up and down buttons are operated to display “A-1” corresponding to the “background variation detection mode” in the second display area 34, and the mode button is pressed to select. Then, the process shifts to the setting of the background fluctuation detection mode, and shifts to the distance display mode selection screen (dSt) as shown in FIG. Here, as in FIG. 29 (2), the screen is always driven in the reverse operation, so the screen for selecting the normal operation is omitted, and the reference distance in the direct reverse operation is set as a numerical value. In the background fluctuation detection mode, since the operation of the input / output terminal is fixed to the analog output (out), the setting screen of the input / output terminal setting screen (i_o) is not displayed and the output format setting screen (3) in FIG. (out), and normally open or normally closed is set for each of the two outputs OUT1 and OUT2 as in FIG. 28 (4). Thereafter, the screen shifts to the response speed setting screen (SPd) in FIG. 30 (4), and the detection speed is selected from a predetermined selection value as in FIG. 28 (5). Further, the screen shifts to the hysteresis setting screen (Hys) in FIG. 30 (5), and the hysteresis value is designated. Further, in FIG. 30 (6), the screen shifts to the power saving setting screen (Eco), and the eco mode ON / OFF is designated. Finally, the display setting screen (dSP) is displayed in FIG. 30 (7), and the standard display (Std), filtering display (FLt), and digit reduction display (diG) are switched by toggle.
(Liquid level window mode)

さらに、液面ウィンドウモードの設定について図31に基づいて説明する。図27の状態からモードボタンを長押しして設定モードに遷移させ、図31(1)に示す検出モード選択画面(Fnc)を表示させる。この状態から上下ボタンを操作して第2表示領域34に「液面ウィンドウモード」に相当する「A−2」を表示させ、モードボタンを押下して選択する。すると液面ウィンドウモードの設定に移行し、図31(2)に示すように距離表示モード選択画面(dSt)に移行する。ここでも図29、図30(2)と同様、常にリバース動作で駆動されるため、ノーマル動作を選択する画面は省略され、直接リバース動作における基準となる距離を数値で設定する。また液面ウィンドウモードでは入出力端子の動作はアナログ出力(out)に固定されるため、入出力端子設定画面(i_o)の設定画面は表示されず、図31(3)の出力様式設定画面(out)に移行し、図28(4)と同様に2出力OUT1、OUT2それぞれについてノーマルオープンかノーマルクローズかを設定する。その後図31(4)で応答速度設定画面(SPd)に移行し、図28(5)と同様に検出速度を所定の選択値から選択する。さらに図31(5)でヒステリシス設定画面(Hys)に移行し、ヒステリシスの値を指定する。さらにまた図31(6)で電力節約設定画面(Eco)に移行し、エコモードのON/OFFを指定する。最後に図31(7)で表示設定画面(dSP)に移行し、スタンダード表示(Std)、フィルタリング表示(FLt)、桁数削減表示(diG)がトグルにより切り替えられる。
(ゾーンコントロールモード)
Furthermore, the setting of the liquid level window mode will be described with reference to FIG. From the state of FIG. 27, the mode button is pressed and held to change to the setting mode, and the detection mode selection screen (Fnc) shown in FIG. 31 (1) is displayed. From this state, the up and down buttons are operated to display “A-2” corresponding to the “liquid level window mode” in the second display area 34, and the mode button is pressed to select. Then, the screen shifts to the setting of the liquid level window mode, and the screen shifts to the distance display mode selection screen (dSt) as shown in FIG. Here, as in FIGS. 29 and 30 (2), the screen is always driven in the reverse operation, so the screen for selecting the normal operation is omitted, and the reference distance in the direct reverse operation is set as a numerical value. In the liquid level window mode, since the operation of the input / output terminal is fixed to the analog output (out), the setting screen of the input / output terminal setting screen (i_o) is not displayed, and the output mode setting screen (3) in FIG. (out), and normally open or normally closed is set for each of the two outputs OUT1 and OUT2 as in FIG. 28 (4). Thereafter, the screen shifts to the response speed setting screen (SPd) in FIG. 31 (4), and the detection speed is selected from a predetermined selection value as in FIG. 28 (5). Further, the screen shifts to the hysteresis setting screen (Hys) in FIG. 31 (5), and the hysteresis value is designated. Further, the screen shifts to the power saving setting screen (Eco) in FIG. 31 (6), and the eco mode ON / OFF is designated. Finally, the display setting screen (dSP) is displayed in FIG. 31 (7), and the standard display (Std), filtering display (FLt), and digit reduction display (diG) are switched by toggle.
(Zone control mode)

さらに、ゾーンコントロールモードの設定について図32に基づいて説明する。図27の状態からモードボタンを長押しして設定モードに遷移させ、図32(1)に示す検出モード選択画面(Fnc)を表示させる。この状態から上下ボタンを操作して第2表示領域34に「ゾーンコントロールモード」に相当する「A−3」を表示させ、モードボタンを押下して選択する。するとゾーンコントロールモードの設定に移行し、図32(2)に示すように距離表示モード選択画面(dSt)に移行する。ここでも図29、図30、図31(2)と同様、常にリバース動作で駆動されるため、ノーマル動作を選択する画面は省略され、直接リバース動作における基準となる距離を数値で設定する。   Further, the setting of the zone control mode will be described with reference to FIG. From the state shown in FIG. 27, the mode button is pressed and held to shift to the setting mode, and the detection mode selection screen (Fnc) shown in FIG. 32 (1) is displayed. From this state, the up and down buttons are operated to display “A-3” corresponding to “zone control mode” in the second display area 34, and the mode button is pressed to select. Then, the process proceeds to the setting of the zone control mode, and the process proceeds to the distance display mode selection screen (dSt) as shown in FIG. Here, as in FIGS. 29, 30 and 31 (2), since it is always driven in the reverse operation, the screen for selecting the normal operation is omitted, and the reference distance in the direct reverse operation is set as a numerical value.

次に図32(3)の入出力端子設定画面(i_o)に移行し、入出力端子の動作をアナログ出力(out)、バンク入力(bnk)のいずれかより選択する。ここでは、外部シフト入力は選択できない。さらに図32(4)の出力様式設定画面(out)に移行し、図28(4)と同様に2出力OUT1、OUT2それぞれについてノーマルオープンかノーマルクローズかを設定する。その後図32(5)で応答速度設定画面(SPd)に移行し、図28(5)と同様に検出速度を所定の選択値から選択する。なおゾーンコントロールモードではヒステリシス設定を行わず、図32(6)で電力節約設定画面(Eco)に移行し、エコモードのON/OFFを指定する。最後に図32(7)で表示設定画面(dSP)に移行し、スタンダード表示(Std)、フィルタリング表示(FLt)、桁数削減表示(diG)がトグルにより切り替えられる。
(光電センサ)
Next, the screen shifts to the input / output terminal setting screen (i_o) in FIG. 32 (3), and the operation of the input / output terminal is selected from either analog output (out) or bank input (bnk). Here, the external shift input cannot be selected. Further, the screen shifts to the output format setting screen (out) in FIG. 32 (4), and the normal output or the normal close is set for each of the two outputs OUT1 and OUT2 as in FIG. 28 (4). Thereafter, the screen shifts to the response speed setting screen (SPd) in FIG. 32 (5), and the detection speed is selected from a predetermined selection value as in FIG. 28 (5). In the zone control mode, hysteresis setting is not performed, and the screen shifts to the power saving setting screen (Eco) in FIG. 32 (6) to specify ON / OFF of the eco mode. Finally, the display setting screen (dSP) is displayed in FIG. 32 (7), and the standard display (Std), filtering display (FLt), and digit reduction display (diG) are switched by toggle.
(Photoelectric sensor)

以上の例では測距手段として超音波センサを利用したが、本発明はこれに限定せず、距離または変位を測定可能なセンサやスイッチを適宜利用でき、例えばCCD、ラインCCD、PSD等を利用した光電センサや光電スイッチ、近接スイッチ等の他の検出器にも適用できる。一例として、光電センサを測距手段に用いた例を図36に基づいて説明する。なおこの図において、図4と同じ部材名、下2桁が同じ符号を付した部材は、同一の機能を有する部材であり、詳細説明を省略する。図36においては、センサヘッド部910は、測距媒体をワークWに照射するための送信部911と、ワークWで反射された測距媒体を受信するための受信部922を備えている。図36に示す光電センサでは、送信部911として測距媒体を発生させる送信素子と、受信部912としてワークWで反射された測距媒体を受信する受信素子とを個別に備えている。ここでは測距媒体として光を用いており、送信素子はLEDやLD等の発光素子、受信素子はPDやPSDなどの受光素子が利用できる。これら送信素子及び受信素子は、それぞれを駆動するための送信回路914、受信回路915と各々接続されている。なお図36の例のように送信部と受光部を個別に設ける構成に限られず、送信部と受信部を統合することもできる。この構成によってセンサヘッド部を小型化し、省スペース化を図ることができる。またセンサヘッド部とアンプ部についても、これらを一体とした構造を採用することもできることはいうまでもない。   In the above example, an ultrasonic sensor is used as a distance measuring unit. However, the present invention is not limited to this, and a sensor or a switch capable of measuring a distance or a displacement can be used as appropriate. For example, a CCD, a line CCD, a PSD or the like is used. The present invention can also be applied to other detectors such as a photoelectric sensor, a photoelectric switch, and a proximity switch. As an example, an example in which a photoelectric sensor is used as a distance measuring means will be described with reference to FIG. In this figure, members having the same member names as in FIG. 4 and the same reference numerals in the last two digits are members having the same functions, and detailed description thereof is omitted. In FIG. 36, the sensor head unit 910 includes a transmission unit 911 for irradiating the workpiece W with the ranging medium and a receiving unit 922 for receiving the ranging medium reflected by the workpiece W. The photoelectric sensor shown in FIG. 36 includes a transmission element that generates a distance measuring medium as the transmission unit 911 and a reception element that receives the distance measurement medium reflected by the workpiece W as the reception unit 912. Here, light is used as a distance measuring medium, a light emitting element such as an LED or an LD can be used as a transmitting element, and a light receiving element such as a PD or PSD can be used as a receiving element. These transmission element and reception element are connected to a transmission circuit 914 and a reception circuit 915 for driving each of them. Note that the configuration is not limited to the configuration in which the transmission unit and the light receiving unit are separately provided as in the example of FIG. 36, and the transmission unit and the reception unit may be integrated. With this configuration, the sensor head portion can be reduced in size and space can be saved. Needless to say, the sensor head unit and the amplifier unit can also have a structure in which these are integrated.

本発明の測距センサ及びその設定方法は、所定距離だけ離れた検出位置に検出対象物が存在するかどうかを検出するため等に利用することができる。   The distance measuring sensor and its setting method of the present invention can be used for detecting whether or not a detection target exists at a detection position separated by a predetermined distance.

センサが距離を測定した測定値を表示する例を説明する説明図である。It is explanatory drawing explaining the example which displays the measured value which the sensor measured distance. センサでワークを測定する例を説明する説明図である。It is explanatory drawing explaining the example which measures a workpiece | work with a sensor. 超音波センサの外観を示す斜視図である。It is a perspective view which shows the external appearance of an ultrasonic sensor. 超音波センサを構成するセンサヘッド部とアンプ部を示すブロック図である。It is a block diagram which shows the sensor head part and amplifier part which comprise an ultrasonic sensor. 測定された距離を表示値として表示部に表示する通常表示モードを説明する説明図である。It is explanatory drawing explaining the normal display mode which displays the measured distance on a display part as a display value. 測定された距離に基づいて基準位置からの距離を測定する変換表示モードを説明する説明図である。It is explanatory drawing explaining the conversion display mode which measures the distance from a reference position based on the measured distance. 測距センサの検出範囲外の状態を含む配置例での測定値を表示する例を説明する説明図である。It is explanatory drawing explaining the example which displays the measured value in the example of arrangement | positioning including the state outside the detection range of a ranging sensor. 測距センサの検出範囲外の状態を含む配置例での測定値を表示する他の例を説明する説明図である。It is explanatory drawing explaining the other example which displays the measured value in the example of arrangement | positioning including the state outside the detection range of a ranging sensor. 通常表示モードの際に閾値を設定する例を示す説明図である。It is explanatory drawing which shows the example which sets a threshold value in the case of normal display mode. 変換表示モードの際に閾値を設定する例を示す説明図である。It is explanatory drawing which shows the example which sets a threshold value in the case of conversion display mode. 2点チューニングを行う例を説明する斜視図である。It is a perspective view explaining the example which performs two-point tuning. 通常表示モードの際に最大感度チューニングを行う例を説明する説明図である。It is explanatory drawing explaining the example which performs maximum sensitivity tuning in the case of normal display mode. 変換表示モードの際に最大感度チューニングを行う例を説明する説明図である。It is explanatory drawing explaining the example which performs maximum sensitivity tuning in the case of conversion display mode. フルオートチューニングを行う例を示す斜視図である。It is a perspective view which shows the example which performs full auto tuning. コンベアチューニングを行う例を示す斜視図である。It is a perspective view which shows the example which performs conveyor tuning. 独立検出モードにおける出力部の出力パターンを示すタイミングチャートである。It is a timing chart which shows the output pattern of the output part in independent detection mode. コンベア上を搬送されるワークの有無を検知する一例を示す説明図である。It is explanatory drawing which shows an example which detects the presence or absence of the workpiece | work conveyed on a conveyor. 高さ判別モードでワークを検出する一例を示す説明図である。It is explanatory drawing which shows an example which detects a workpiece | work in height discrimination mode. 高さ判別モードの閾値と出力パターンの一例を示す説明図である。It is explanatory drawing which shows an example of the threshold value and output pattern of height discrimination mode. 背景変動検知モードでワークを検出する一例を示す説明図である。It is explanatory drawing which shows an example which detects a workpiece | work in background fluctuation | variation detection mode. 背景変動検知モードの閾値と出力パターンの一例を示す説明図である。It is explanatory drawing which shows an example of the threshold value and output pattern of background fluctuation | variation detection mode. 液面ウィンドウモードでワークを検出する一例を示す説明図である。It is explanatory drawing which shows an example which detects a workpiece | work in liquid level window mode. 液面ウィンドウモードの閾値と出力パターンの一例を示す説明図である。It is explanatory drawing which shows an example of the threshold value of a liquid level window mode, and an output pattern. ゾーンコントロールモードでワークを検出する一例を示す説明図である。It is explanatory drawing which shows an example which detects a workpiece | work in zone control mode. ゾーンコントロールモードの閾値と出力パターンの一例を示す説明図である。It is explanatory drawing which shows an example of the threshold value and output pattern of zone control mode. ゾーンコントロールモードでワークを検出する他の例を示す説明図である。It is explanatory drawing which shows the other example which detects a workpiece | work in zone control mode. 表示モードにおける状態遷移図を示す説明図であり、(a)は変位表示部の第1表示領域に表示値を表示し、第2表示領域に一の閾値を表示する状態、(b)は他の閾値を第2表示領域に表示する状態、(c)はピーク/ボトムホールド表示に切り替えた状態をそれぞれ示す。It is explanatory drawing which shows the state transition diagram in display mode, (a) is a state which displays a display value in the 1st display area of a displacement display part, and displays one threshold value in a 2nd display area, (b) is others (C) shows a state in which the threshold value is switched to the peak / bottom hold display. 独立検出モードの設定手順を示す説明図である。It is explanatory drawing which shows the setting procedure of independent detection mode. 高さ判別モードの設定手順Setting procedure of height discrimination mode 背景変動検知モードの設定手順Setting procedure of background fluctuation detection mode 液面ウィンドウモードの設定手順Liquid level window mode setting procedure ゾーンコントロールモードの設定手順Setting procedure of zone control mode 通常表示モードと変換表示モードの違いを説明する説明図である。It is explanatory drawing explaining the difference between normal display mode and conversion display mode. 入出力端子から出力されるアナログ信号波形の一例を示す波形図である。It is a wave form diagram which shows an example of the analog signal waveform output from an input / output terminal. 入出力端子をシフト入力として利用する一例を示す説明図である。It is explanatory drawing which shows an example using an input / output terminal as a shift input. 超音波センサを構成するセンサヘッド部とアンプ部の他の例を示すブロック図である。It is a block diagram which shows the other example of the sensor head part and amplifier part which comprise an ultrasonic sensor.

符号の説明Explanation of symbols

100…超音波センサ
10、910…センサヘッド部
13…送受信素子;14、914…送信回路;15、915…受信回路
16…ケーブル部
20、920…アンプ部
22、922…入力部
24、924…演算部;25、925…出力パターン変更部
26、926…設定部;27、927…モード切替部
28、928…出力部
30、930…表示部;32…第1表示領域;34…第2表示領域
36…出力表示部;38…チャンネルインジケータ;39…サブインジケータ
911…送信部;912…受信部
42…増減部;44…決定部
W…ワーク;C…コンベア
DESCRIPTION OF SYMBOLS 100 ... Ultrasonic sensor 10,910 ... Sensor head part 13 ... Transmission / reception element; 14,914 ... Transmission circuit; 15,915 ... Reception circuit 16 ... Cable part 20,920 ... Amplifier part 22,922 ... Input part 24,924 ... Calculation unit; 25, 925 ... Output pattern changing unit 26, 926 ... Setting unit; 27, 927 ... Mode switching unit 28, 928 ... Output unit 30, 930 ... Display unit; 32 ... First display area; 34 ... Second display Area 36 ... Output display section; 38 ... Channel indicator; 39 ... Sub-indicator 911 ... Transmission section; 912 ... Reception section 42 ... Increase / decrease section; 44 ... Determination section W ... Workpiece;

Claims (13)

測距媒体を対象物に照射し、対象物で反射された測距媒体を検出可能なセンサヘッド部と、
前記センサヘッド部で検出した値に基づき前記センサヘッド部の照射面から対象物までの距離を演算可能な演算部と、
予め閾値、基準値、および該基準値に対する表示の正負方向を設定するための設定部と、
前記演算部で演算された測定距離を、前記設定部で設定された基準値および正負方向に従って表示値に変換し、表示可能な変位表示部と、
前記変位表示部で表示される表示値が前記設定部で設定された閾値とを比較し、所定のON/OFFの動作パターンにて出力可能な出力部と、
を備えることを特徴とする測距センサ。
A sensor head unit capable of irradiating the object with a distance measuring medium and detecting the distance measuring medium reflected by the object;
A calculation unit capable of calculating a distance from an irradiation surface of the sensor head unit to an object based on a value detected by the sensor head unit;
A setting unit for setting in advance a threshold value, a reference value, and a positive / negative direction of display with respect to the reference value;
The measurement distance calculated by the calculation unit is converted into a display value according to the reference value and the positive / negative direction set by the setting unit, and a displacement display unit that can be displayed,
An output unit capable of comparing a display value displayed on the displacement display unit with a threshold set on the setting unit and outputting in a predetermined ON / OFF operation pattern;
A distance measuring sensor comprising:
請求項1に記載の測距センサであって、
前記変位表示部における表示値が、前記設定部で設定された正負方向に従い測定距離と基準値との差分を演算して得られた値であることを特徴とする測距センサ。
The distance measuring sensor according to claim 1,
The distance measuring sensor, wherein the display value in the displacement display unit is a value obtained by calculating a difference between a measurement distance and a reference value according to a positive / negative direction set in the setting unit.
請求項1または2に記載の測距センサであって、
前記設定部がさらに、前記出力部が所定のON/OFFを出力するタイミングを、前記表示値が閾値を超えるとき、又は下回るときのいずれかに切り替え可能に構成してなることを特徴とする測距センサ。
The distance measuring sensor according to claim 1 or 2,
The setting unit is further configured to be able to switch the timing at which the output unit outputs a predetermined ON / OFF when the display value exceeds or falls below a threshold value. Distance sensor.
請求項1から3のいずれかに記載の測距センサであって、
前記センサヘッド部が測距媒体を検出できず測距センサが測定可能な距離範囲を超える測定距離となったとき、予め設定された基準値が測定されたものとして該当する表示値を前記変位表示部に表示可能に構成してなることを特徴とする測距センサ。
The distance measuring sensor according to any one of claims 1 to 3,
When the sensor head unit cannot detect the distance measuring medium and the distance measured exceeds the distance range that can be measured by the distance measuring sensor, the display value corresponding to the reference value set in advance is measured as the displacement display. A distance measuring sensor configured to be able to display on a screen.
請求項1から4のいずれかに記載の測距センサであって、
前記設定部が、前記センサヘッド部で測定可能な距離外にも基準値を設定可能に構成してなることを特徴とする測距センサ。
The distance measuring sensor according to any one of claims 1 to 4,
The distance measuring sensor, wherein the setting unit is configured to be able to set a reference value in addition to a distance measurable by the sensor head unit.
請求項1から5のいずれかに記載の測距センサであって、
前記センサヘッド部が、測距媒体を照射する送信部と、
測距媒体を検出する受信部と、
を備え、前記送信部及び受信部が前記演算部で制御されることを特徴とする測距センサ。
The distance measuring sensor according to any one of claims 1 to 5,
The sensor head unit transmits a distance measuring medium, and
A receiving unit for detecting a ranging medium;
And the transmitter and the receiver are controlled by the calculator.
請求項6に記載の測距センサであって、
前記送信部と受信部とが同一の部材で構成されてなることを特徴とする測距センサ。
The distance measuring sensor according to claim 6,
The distance measuring sensor, wherein the transmitter and the receiver are made of the same member.
請求項1から7のいずれかに記載の測距センサであって、
前記演算部が、センサヘッド部で照射された測距媒体が検出されるまでに要した時間と、測距媒体の進行速度とに基づいて前記センサヘッド部の照射面から対象物までの距離を演算可能であることを特徴とする測距センサ。
The distance measuring sensor according to any one of claims 1 to 7,
The calculation unit calculates the distance from the irradiation surface of the sensor head unit to the object based on the time required for detecting the ranging medium irradiated by the sensor head unit and the traveling speed of the ranging medium. A ranging sensor characterized by being operable.
請求項1から8のいずれかに記載の測距センサであって、
前記測距媒体が超音波であることを特徴とする測距センサ。
The distance measuring sensor according to any one of claims 1 to 8,
A distance measuring sensor, wherein the distance measuring medium is an ultrasonic wave.
請求項1から9のいずれかに記載の測距センサであって、
前記変位表示部における表示値が、前記設定部で設定された正負方向に従い測定距離と基準値との差分を演算して得られた値であることを特徴とする測距センサ。
The distance measuring sensor according to any one of claims 1 to 9,
The distance measuring sensor, wherein the display value in the displacement display unit is a value obtained by calculating a difference between a measurement distance and a reference value according to a positive / negative direction set in the setting unit.
超音波を対象物に照射し、対象物で反射された超音波を検出可能なセンサヘッド部と、
前記センサヘッド部で照射された超音波が検出されるまでに要した時間と、超音波の進行速度とを乗算して前記センサヘッド部の照射面から対象物までの距離を測定値として演算可能な演算部と、
前記センサヘッド部から超音波の進行方向に所定の距離分離間した位置を表示値の基準位置として定め、かつ該基準位置に対する表示の正負方向を設定すると共に、表示値に対する閾値を設定するための設定部と、
前記設定部で設定された基準値および正負方向に従って、前記演算部で演算された測定値を加減算して表示値を演算し、該表示値を表示可能な変位表示部と、
前記変位表示部で表示される表示値が前記設定部で設定された閾値に達したとき、所定のON/OFFを出力可能な出力部と、
を備えることを特徴とする測距センサ。
A sensor head capable of irradiating the object with ultrasonic waves and detecting the ultrasonic waves reflected by the object;
Multiplying the time required to detect the ultrasonic wave irradiated by the sensor head unit and the ultrasonic traveling speed, the distance from the irradiation surface of the sensor head unit to the object can be calculated as a measured value. And a calculation unit
A position for separating a predetermined distance from the sensor head portion in the traveling direction of the ultrasonic wave is set as a reference position of the display value, and a positive / negative direction of display with respect to the reference position is set, and a threshold for the display value is set. A setting section;
In accordance with the reference value set in the setting unit and the positive / negative direction, the display value is calculated by adding / subtracting the measurement value calculated in the calculation unit, and the displacement display unit capable of displaying the display value;
An output unit capable of outputting a predetermined ON / OFF when a display value displayed on the displacement display unit reaches a threshold set by the setting unit;
A distance measuring sensor comprising:
センサヘッド部が測距媒体を対象物に照射し、対象物で反射された測距媒体を検出し、演算部が前記センサヘッド部で検出した値に基づき前記センサヘッド部の照射面から対象物までの距離を演算可能であり、かつ測定された距離と予め設定された閾値とを比較して、所定のON/OFF信号を出力部から出力可能な測距センサの設定方法であって、
測距センサに設けられた設定部から、表示の基準となる所定の基準位置または差分量の少なくともいずれかを設定する工程と、
必要に応じて該基準位置に対する表示の正負方向を設定する工程と、
閾値を設定する工程と、
を有し、前記センサヘッド部で測定された対象物までの測定距離を、前記設定部で設定された基準位置および正負方向に従って表示値に変換し、表示値が前記設定部で設定された閾値に達したとき、所定のON/OFF信号を前記出力部から出力することを特徴とする測距センサの設定方法。
The sensor head unit irradiates the object with the distance measuring medium, detects the distance measuring medium reflected by the object, and the object from the irradiation surface of the sensor head unit based on the value detected by the arithmetic unit with the sensor head unit A distance measuring sensor setting method capable of calculating a distance to a predetermined ON / OFF signal from an output unit by comparing a measured distance with a preset threshold value,
A step of setting at least one of a predetermined reference position or a difference amount serving as a display reference from a setting unit provided in the distance measuring sensor;
Setting a positive / negative direction of display with respect to the reference position as required;
Setting a threshold;
A measurement distance to the object measured by the sensor head unit is converted into a display value according to a reference position and a positive / negative direction set by the setting unit, and the display value is a threshold value set by the setting unit A predetermined distance measurement sensor setting method that outputs a predetermined ON / OFF signal from the output unit when reaching the value.
請求項12に記載の測距センサの設定方法であって、前記測距センサは変位表示部を備えており、
前記設定部で設定された正負方向に従い、基準位置から測定距離分をシフトさせた値を表示値として前記変位表示部に表示することを特徴とする測距センサの設定方法。
The distance measuring sensor setting method according to claim 12, wherein the distance measuring sensor includes a displacement display unit,
A distance measurement sensor setting method, wherein a value obtained by shifting a measurement distance from a reference position according to the positive and negative directions set by the setting unit is displayed on the displacement display unit as a display value.
JP2004263505A 2004-09-10 2004-09-10 Ranging sensor and setting method thereof Expired - Fee Related JP5102431B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004263505A JP5102431B2 (en) 2004-09-10 2004-09-10 Ranging sensor and setting method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004263505A JP5102431B2 (en) 2004-09-10 2004-09-10 Ranging sensor and setting method thereof

Publications (2)

Publication Number Publication Date
JP2006078368A true JP2006078368A (en) 2006-03-23
JP5102431B2 JP5102431B2 (en) 2012-12-19

Family

ID=36157955

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004263505A Expired - Fee Related JP5102431B2 (en) 2004-09-10 2004-09-10 Ranging sensor and setting method thereof

Country Status (1)

Country Link
JP (1) JP5102431B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57196333A (en) * 1981-05-26 1982-12-02 Toshiba Corp Interface controlling system
JPH05111343A (en) * 1991-10-21 1993-05-07 Shimano Inc Reel for fishing
JPH05126565A (en) * 1991-10-31 1993-05-21 Matsushita Electric Works Ltd Optical displacement measuring instrument
JPH0783610A (en) * 1993-09-09 1995-03-28 Hitachi Kiden Kogyo Ltd Position measurement method for cylindrical object
JP2001012937A (en) * 1999-06-30 2001-01-19 Omron Corp Measuring apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57196333A (en) * 1981-05-26 1982-12-02 Toshiba Corp Interface controlling system
JPH05111343A (en) * 1991-10-21 1993-05-07 Shimano Inc Reel for fishing
JPH05126565A (en) * 1991-10-31 1993-05-21 Matsushita Electric Works Ltd Optical displacement measuring instrument
JPH0783610A (en) * 1993-09-09 1995-03-28 Hitachi Kiden Kogyo Ltd Position measurement method for cylindrical object
JP2001012937A (en) * 1999-06-30 2001-01-19 Omron Corp Measuring apparatus

Also Published As

Publication number Publication date
JP5102431B2 (en) 2012-12-19

Similar Documents

Publication Publication Date Title
JP4832741B2 (en) Ranging sensor and setting method thereof
US8789764B2 (en) Dial-mode temperature controller that facilitates changing of temperature range
JP2006292634A (en) Ultrasonic sensor and object detecting method using the same
US9525416B2 (en) Multifunctional touch and/or proximity sensor
JP2008211951A (en) Non contact type charger and non contact type charging apparatus
KR20090026728A (en) Position detecting device and position detecting method
US9989569B2 (en) Electrode configuration for a capacitive sensor device and a capacitive sensor device for the detection of an approximation
JP4919590B2 (en) Ranging sensor and setting method thereof
KR101046352B1 (en) System and method for checking the size of machine pieces
WO2017043064A1 (en) Information processing apparatus, control method of the same, and program
JP4832740B2 (en) Ranging sensor and setting method thereof
JP5102431B2 (en) Ranging sensor and setting method thereof
US20110315675A1 (en) Induction heating cooker
JPH09134246A (en) Coordinate indicator or device used with coordinate reader
JP4179154B2 (en) Cooking equipment
JP2008270944A (en) Remote control unit
JP2012063265A (en) Table tap and power consumption amount measurement system
JP2017063308A (en) Information processing apparatus, control method for the same, and program
JP4796405B2 (en) Distance measuring device
JP5164214B2 (en) Wireless meter reading system and handheld terminal for wireless meter reading
CN216286229U (en) Remote controller and electrical equipment
JP2004347352A (en) Flow sensor
JP2008287569A (en) Transmission unit and reception unit
JP2009113521A (en) Non-contact operating device and electronic equipment
US20060243350A1 (en) Display device for woodworking machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070822

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100813

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100824

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101020

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110913

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111110

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120918

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120928

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

Free format text: PAYMENT UNTIL: 20151005

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5102431

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees