JP2005293567A - Measuring device - Google Patents

Measuring device Download PDF

Info

Publication number
JP2005293567A
JP2005293567A JP2005068554A JP2005068554A JP2005293567A JP 2005293567 A JP2005293567 A JP 2005293567A JP 2005068554 A JP2005068554 A JP 2005068554A JP 2005068554 A JP2005068554 A JP 2005068554A JP 2005293567 A JP2005293567 A JP 2005293567A
Authority
JP
Japan
Prior art keywords
measurement
timing
data
information
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2005068554A
Other languages
Japanese (ja)
Other versions
JP4650620B2 (en
Inventor
Koji Shimada
浩二 嶋田
Masahiro Kawachi
雅弘 河内
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2005068554A priority Critical patent/JP4650620B2/en
Publication of JP2005293567A publication Critical patent/JP2005293567A/en
Application granted granted Critical
Publication of JP4650620B2 publication Critical patent/JP4650620B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

【課題】 計測対象物の計測値を、計測値が得られた時間に関する情報と共に外部制御機器に出力できる計測装置を提供すること。
【解決手段】 計測装置は、計測値を所定の周期で取得する計測値取得部と、計測タイミングに関する情報を取得する計測タイミング取得部とを備え、計測タイミングに関する情報は、計測開始タイミングであり、所定周期で取得した計測値に、計測開始タイミングを基準とし、所定計測周期をもとに算出した経過時間情報を対応させて付加し、当該計測タイミング情報を付加した複数の計測値を、一括してデジタル出力する。また、計測装置が有する当該計測装置の認識番号をさらに前記計測値に付加する。
【選択図】 図2
PROBLEM TO BE SOLVED: To provide a measurement device capable of outputting a measurement value of a measurement object to an external control device together with information on a time when the measurement value is obtained.
A measurement apparatus includes a measurement value acquisition unit that acquires measurement values at a predetermined cycle, and a measurement timing acquisition unit that acquires information about measurement timing. The information about measurement timing is a measurement start timing. To the measurement values acquired at a predetermined cycle, the elapsed time information calculated based on the predetermined measurement cycle is added in correspondence with the measurement start timing as a reference, and a plurality of measurement values to which the measurement timing information is added are added together. Output digitally. Further, an identification number of the measurement device included in the measurement device is further added to the measurement value.
[Selection] Figure 2

Description

この発明は、PCなどの外部制御機器に接続される計測装置に関する。   The present invention relates to a measuring device connected to an external control device such as a PC.

例えば変位センサ、温度センサ、視覚センサなどの計測装置と、計測装置を制御する外部の制御機器とが接続されてなり、外部の制御機器が、計測装置による計測結果に基づく判定などを行う計測システムは知られている(例えば特許文献1参照)。   For example, a measurement system in which a measurement device such as a displacement sensor, a temperature sensor, or a visual sensor is connected to an external control device that controls the measurement device, and the external control device makes a determination based on a measurement result of the measurement device. Is known (see, for example, Patent Document 1).

この種の計測装置は、計測値をリアルタイムで連続して制御機器に出力し、計測値の受け取りは制御機器に委ねられている。計測対象物が移動する場合、計測装置が計測値をいつ取得したかを示す時間情報が重要となる。制御機器は、この時間情報を外部からの同期信号などを用いて判断する。例えば、ライン上を移動するワークが所定位置まで流れてきたときに、これを検出する同期用のセンサがオンし、このオン入力に同期して、制御機器は計測装置から計測値を取得している。
2001−141524号公報
This type of measurement device outputs measurement values to a control device continuously in real time, and reception of the measurement values is left to the control device. When the measurement object moves, time information indicating when the measurement device acquires the measurement value is important. The control device determines this time information using an external synchronization signal or the like. For example, when a workpiece moving on a line flows to a predetermined position, a synchronization sensor that detects this is turned on, and in synchronization with this on-input, the control device acquires a measured value from the measuring device. Yes.
2001-141524 gazette

しかしながら、制御機器がPC(Personal Computer)やPLC(Programmable Logic Controller)などの汎用機の場合、同期用のセンサの接続端子が設けられていない場合があり、計測装置の出力にUSBなどのデジタル信号のシリアル出力を用いると、計測値がリアルタイムに連続して出力されないため、PCがリアルタイムに、又一定周期ごとに、計測値を時間情報と共に取得することは困難であった。よって、PC側で同期用センサの出力を得たとして計測値と同期タイミングの対応を取ることができなかった。   However, when the control device is a general-purpose machine such as a PC (Personal Computer) or PLC (Programmable Logic Controller), a connection terminal of a sensor for synchronization may not be provided, and a digital signal such as USB is output to the output of the measuring device. When the serial output is used, since the measurement value is not continuously output in real time, it is difficult for the PC to acquire the measurement value together with the time information in real time and at regular intervals. Therefore, it is impossible to take the correspondence between the measurement value and the synchronization timing, assuming that the output of the synchronization sensor is obtained on the PC side.

この発明は、このような従来の問題点に着目して成されたものであり、その目的とするところは、計測対象物の計測値を、計測値が得られた時間に関する情報と共に外部制御機器に出力できる計測装置を提供することにある。   The present invention has been made by paying attention to such conventional problems, and the object of the present invention is to provide an external control device with the measurement value of the measurement object together with information on the time when the measurement value was obtained. An object of the present invention is to provide a measurement device that can output to

この発明のさらに他の目的並びに作用効果については、明細書の以下の記述を参照することにより、当業者であれば容易に理解されるであろう。   Other objects and operational effects of the present invention will be easily understood by those skilled in the art by referring to the following description of the specification.

本発明の計測装置は、計測値を取得する計測値取得部と、外部からのトリガ信号が入力されるトリガ信号入力部と、取得した計測値を処理する処理部と、処理条件のデータを記憶するデータ記憶部と、処理された計測値を出力するインターフェース部とを有する計測装置であって、計測値取得部は、計測値を周期的に取得し、データ記憶部は、処理条件のデータとして処理された複数の計測値を一括して出力する際の最大データ数を規定する情報を記憶し、処理部は、周期的に取得した測定値に、トリガ信号が入力されたタイミングを基準とする計測タイミングに関する情報を付加し、前記の計測タイミング情報が付加された複数の計測値を、取得した順序を保って前記最大データ数以下である複数の計測値に区切り、その区切られた複数の計測値を当該データ数と前記周期との積で定まる時間よりも短い時間で一括してインターフェース部よりデジタル出力する第1のデジタル出力を実行した後、前回のデジタル出力の後、前記最大データ数と前記周期との積で定まる時間以内に、出力済みの計測値に続く次の計測タイミングに関する情報が付加された複数の計測値を取得した順序を保って前記最大データ数以下のデータ数である複数の計測値に区切り、その区切られたデータ数と前記周期との積で定まる時間よりも短い時間で一括してインターフェース部よりデジタル出力する第2のデジタル出力を実行し、その後第2のデジタル出力を繰り返す。   The measurement apparatus of the present invention stores a measurement value acquisition unit that acquires measurement values, a trigger signal input unit that receives an external trigger signal, a processing unit that processes the acquired measurement values, and processing condition data A measurement device having a data storage unit that performs processing and an interface unit that outputs the processed measurement value, wherein the measurement value acquisition unit periodically acquires the measurement value, and the data storage unit stores data as processing conditions Stores information that defines the maximum number of data when a plurality of processed measurement values are output in a batch, and the processing unit uses the timing when the trigger signal is input as a periodically acquired measurement value Information related to measurement timing is added, and a plurality of measurement values to which the measurement timing information is added are divided into a plurality of measurement values that are equal to or less than the maximum number of data in the acquired order, and the plurality of divided values After executing the first digital output in which the measured values are digitally output from the interface unit in a time shorter than the time determined by the product of the number of data and the period, the maximum number of data after the previous digital output The number of data is equal to or less than the maximum number of data while maintaining the order of acquiring a plurality of measurement values to which information related to the next measurement timing following the output measurement value is added within a time determined by the product of the period and the cycle. Dividing into a plurality of measurement values, executing the second digital output that is digitally output from the interface unit in a time shorter than the time determined by the product of the divided number of data and the period, and then executing the second digital output Repeat output.

本発明の実施形態においては、処理された複数の計測値を一括して出力する際の最大データ数は、あらかじめ設定しておいても良いし、インターフェース部を介して入力されるようにしても良い。   In the embodiment of the present invention, the maximum number of data when a plurality of processed measurement values are collectively output may be set in advance or may be input via the interface unit. good.

本発明の実施形態においては、トリガ信号が入力されたタイミングを基準とする計測タイミングに関する情報を付加するとは、トリガ信号が入力されたときのみに他と区別可能な識別標識を付加する場合や、トリガ信号が入力されたときから連続して他と区別可能な識別標識を付加し続ける場合、トリガ信号が入力されたときを基準にした並びの順序が判別可能な文字(例えばアルファベットなど)や数、記号などの標識を順に付加する場合を含む。計測値に計測タイミングに関する情報を常に付加する場合や、トリガ信号入力により開始させる場合、また、トリガ信号入力により開始させた後、再度のトリガ入力により停止するようにする場合も含む。   In the embodiment of the present invention, adding information related to the measurement timing based on the timing at which the trigger signal is input includes adding an identification mark that can be distinguished from the other only when the trigger signal is input, When you continue to add an identification mark that can be distinguished from others from the time when the trigger signal is input, characters (for example, alphabets) and numbers that can be distinguished from the sequence when the trigger signal is input This includes the case where signs such as symbols are added in order. This includes the case where information related to measurement timing is always added to the measurement value, the case where the measurement value is started by trigger signal input, and the case where the measurement value is started by trigger signal input and then stopped by another trigger input.

このような構成によれば、所定の周期で取得された計測値は、区切った単位ごとに一括して出力されるものの、トリガ信号が入力されたタイミングを基準とする計測タイミングに関する情報を取得した時間を対応させて付加され、計測値が取得された順序が保たれている。従って、PC等の制御用機器はUSB通信などの一括してデジタル出力を行う出力信号形態によってもトリガ信号が入力されたタイミングと関連付けられた連続した計測値を漏れなく得ることができる。またこの計測値により、計測値は所定期間内のものが一括して出力されるので、計測装置の計測速度と、出力側のPCなどの制御機器の処理速度に大きな隔たりがあっても差し支えなく、制御機器の処理負担を軽減させることができる。   According to such a configuration, the measurement values acquired at a predetermined cycle are output in batches for each divided unit, but information on measurement timing based on the timing at which the trigger signal is input is acquired. The order in which the measurement values are acquired by keeping corresponding times is maintained. Therefore, a control device such as a PC can obtain a continuous measurement value associated with the timing at which the trigger signal is input without omission even by an output signal form that performs digital output all at once, such as USB communication. In addition, because the measured values are output in batches within a predetermined period, there is no problem even if there is a large gap between the measurement speed of the measuring device and the processing speed of the control device such as the PC on the output side. The processing load on the control device can be reduced.

また、区切られた複数の計測値ごとにそのデータ数と計測値取得周期との積で定まる時間よりも短い時間で一括してインターフェース部よりデジタル出力する、というのは、USBなど、デジタル信号のシリアル伝送方式では一般に用いられる通信方法でデータを垂れ流し式に送るのではなく、複数のデータを高速に一括して伝送する方式を意味している。上記の積で定まる時間を越えない時間毎に伝送することで、取得し続ける計測値に対して未出力の計測値が累積することなく、全計測値を一定の時間範囲内で出力することができる。   In addition, for each of a plurality of divided measurement values, digital output from the interface unit in a time shorter than the time determined by the product of the number of data and the measurement value acquisition cycle is a digital signal such as USB. The serial transmission method means a method of transmitting a plurality of data at a time at a high speed, instead of sending data in a flow-down manner by a communication method generally used. By transmitting every time that does not exceed the time determined by the above product, all measurement values can be output within a certain time range without accumulating unmeasured measurement values for the measurement values that are continuously acquired. it can.

また、第2のデジタル出力がその前に行われたデジタル出力の後、最大データ数と周期との積で定まる時間以内に、出力済みの計測値に続く次の複数の計測値を、一括してインターフェース部よりデジタル出力するので、PCなどの制御機器側では、実際に計測値を取得したタイミングとそのデータを受け取るときまでの時間的な遅れが一定値を超えることがなく、連続した計測値を取得することができる。   In addition, after the digital output that was performed before the second digital output, within the time determined by the product of the maximum number of data and the period, the next multiple measured values following the output measurement value are batched. Because the digital data is output from the interface unit, the control device side such as a PC does not exceed a certain value because the timing of actual measurement value acquisition and the time delay until the data is received do not exceed a certain value. Can be obtained.

本発明の実施形態においては、計測値を取得する計測値取得部と、取得した計測値を処理する処理部と、処理条件のデータを記憶するデータ記憶部と、処理された計測値を出力するインターフェース部とを有する計測装置であって、計測値取得部は、計測値を周期的に取得し、データ記憶部は、前記処理条件のデータとして処理された複数の計測値を一括して出力する際の最大データ数を規定する情報と、計測値と比較されるタイミング判定閾値とを記憶し、処理部は、周期的に取得した測定値に、計測値が前記タイミング判定閾値をまたいで変化したタイミングを基準とする計測タイミングに関する情報を付加し、前記の計測タイミング情報が付加された複数の計測値を取得した順序を保って前記最大データ数以下である複数の計測値に区切り、その区切られた複数の計測値を当該データ数と前記周期との積で定まる時間よりも短い時間で一括してインターフェース部よりデジタル出力する第1のデジタル出力を実行した後、前回のデジタル出力の後、前記最大データ数と前記周期との積で定まる時間以内に、出力済みの計測値に続く次の計測タイミングに関する情報が付加された複数の計測値を取得した順序を保って前記最大データ数以下のデータ数である複数の計測値に区切り、その区切られたデータ数と前記周期との積で定まる時間よりも短い時間で一括してインターフェース部よりデジタル出力する第2のデジタル出力を実行し、その後第2のデジタル出力を繰り返す。   In the embodiment of the present invention, a measurement value acquisition unit that acquires measurement values, a processing unit that processes the acquired measurement values, a data storage unit that stores data of processing conditions, and a processed measurement value are output. A measurement device having an interface unit, wherein a measurement value acquisition unit periodically acquires measurement values, and a data storage unit collectively outputs a plurality of measurement values processed as data of the processing conditions Information for defining the maximum number of data at the time and a timing determination threshold value to be compared with the measured value, and the processing unit periodically changes the measured value across the timing determination threshold value to the measured value Information on the measurement timing based on the timing is added, and the plurality of measurement values to which the measurement timing information is added are maintained in the order in which the plurality of measurement values are not more than the maximum number of data. After the first digital output is performed, the plurality of divided measurement values are digitally output from the interface unit in a time shorter than the time determined by the product of the number of data and the period. After the output, within the time determined by the product of the maximum number of data and the period, the maximum number is maintained while maintaining the order in which a plurality of measurement values to which information on the next measurement timing following the output measurement value is added are added. A second digital output that is divided into a plurality of measurement values that are less than or equal to the number of data and is digitally output from the interface unit in a time that is shorter than the time determined by the product of the divided number of data and the period. And then repeat the second digital output.

本発明の実施形態においては、タイミング判定閾値は、予め設定するようにしても良いし、外部から設定するようにしても良い。   In the embodiment of the present invention, the timing determination threshold value may be set in advance or may be set from the outside.

このような構成によれば、計測値が計測タイミング判定閾値をまたいで変化する動作は例えばセルフトリガにより生じ、これにより、計測タイミングに関する情報を計測値に付加する操作の有無を制御することができる。   According to such a configuration, the operation in which the measurement value changes across the measurement timing determination threshold value is generated by, for example, a self-trigger, and thereby it is possible to control the presence or absence of an operation for adding information related to the measurement timing to the measurement value. .

本発明の実施形態においては、処理された複数の計測値を一括して出力する際の最大データ数を規定する情報として、最大データ量もしくは最大出力周期を記憶しても良い。最大データ量とすれば、出力する際の各データの大きさから許容できる最大データ数が規定されることになり、最大出力周期であれば、その中に含みうる計測周期の数から最大データ数が規定されることになる。   In the embodiment of the present invention, the maximum data amount or the maximum output cycle may be stored as information for defining the maximum number of data when a plurality of processed measurement values are collectively output. If the maximum data amount is specified, the maximum number of data that can be tolerated is specified from the size of each data at the time of output, and if it is the maximum output cycle, the maximum number of data is calculated from the number of measurement cycles that can be included in it. Will be specified.

本発明の実施形態においては、計測タイミングに関する情報は、計測開始タイミングであってもよい。このような構成によれば、複数の計測値が計測開始タイミングに対応させて順序を保ちながら出力される。   In the embodiment of the present invention, the information related to the measurement timing may be a measurement start timing. According to such a configuration, a plurality of measurement values are output while maintaining the order corresponding to the measurement start timing.

本発明の実施形態においては、計測タイミングに関する情報は、計測開始タイミングおよび計測終了タイミングであってもよい。このような構成によれば、複数の計測値が計測開始タイミングと計測終了タイミングの間の期間に対応させて順序を保ちながら出力される。   In the embodiment of the present invention, the information related to the measurement timing may be a measurement start timing and a measurement end timing. According to such a configuration, a plurality of measurement values are output while maintaining the order corresponding to the period between the measurement start timing and the measurement end timing.

本発明の実施形態においては、計測値を所定の周期で取得する計測値取得部と、計測タイミングに関する情報を取得する計測タイミング取得部とを備え、計測タイミングに関する情報は、計測開始タイミングであり、所定周期で取得した計測値に、計測開始タイミングを基準とする時系列情報を対応させて付加し、当該計測タイミング情報を付加した複数の計測値を、一括してデジタル出力するようにしてもよい。この場合、時系列情報は例えば通し番号であり、複数の計測値が計測開始タイミングに対応させて通し番号により出力される。従って、計測装置の外部に接続される制御機器等は、計測値と共に、計測値が取得された時間情報を容易に知ることができる。   In the embodiment of the present invention, a measurement value acquisition unit that acquires measurement values at a predetermined period and a measurement timing acquisition unit that acquires information about measurement timing, the information about measurement timing is a measurement start timing, Time series information based on the measurement start timing may be added to the measurement values acquired at a predetermined cycle in association with each other, and a plurality of measurement values to which the measurement timing information is added may be digitally output collectively. . In this case, the time series information is, for example, a serial number, and a plurality of measurement values are output by serial numbers in correspondence with the measurement start timing. Therefore, a control device or the like connected to the outside of the measuring apparatus can easily know the time information at which the measurement value is acquired together with the measurement value.

本発明の実施形態においては、計測値を所定の周期で取得する計測値取得部と、計測タイミングに関する情報を取得する計測タイミング取得部とを備え、計測タイミングに関する情報は、計測開始タイミングであり、所定周期で取得した計測値に、計測開始タイミングを基準とし、所定計測周期をもとに算出した経過時間情報を対応させて付加し、当該計測タイミング情報を付加した複数の計測値を、一括してデジタル出力するようにしてもよい。このような構成によれば、複数の計測値が計測開始タイミングに対応させて経過時間情報と共に出力される。さらに、経過時間情報は計測周期が何周期分なのかによって容易に求められる。また、外部に接続される制御機器では、計測値が取得された経過時間情報を実時間情報としてそのまま利用することができる。   In the embodiment of the present invention, a measurement value acquisition unit that acquires measurement values at a predetermined period and a measurement timing acquisition unit that acquires information about measurement timing, the information about measurement timing is a measurement start timing, To the measurement values acquired at a predetermined cycle, the elapsed time information calculated based on the predetermined measurement cycle is added in correspondence with the measurement start timing as a reference, and a plurality of measurement values to which the measurement timing information is added are added together. And digital output. According to such a configuration, a plurality of measurement values are output together with the elapsed time information in correspondence with the measurement start timing. Furthermore, the elapsed time information can be easily obtained depending on how many measurement cycles there are. Further, in the control device connected to the outside, the elapsed time information from which the measurement value is acquired can be used as it is as real time information.

本発明の実施形態においては、処理部は、トリガ信号が入力されるとともに前記第1の一括デジタル出力を開始し、トリガ信号の入力が継続している間、前記第2の一括デジタル出力を繰り返すものとしても良い。   In an embodiment of the present invention, the processing unit starts the first collective digital output when a trigger signal is input, and repeats the second collective digital output while the input of the trigger signal continues. It is good as a thing.

本発明の実施形態においては、計測値が前記判定タイミング判定閾値をまたいで変化したときに前記第1の一括デジタル出力を開始し、計測値が前記判定タイミング判定閾値を再度またいで変化するまでの間前記第2の一括デジタル出力を繰り返すようにしても良い。   In an embodiment of the present invention, when the measurement value changes across the determination timing determination threshold, the first batch digital output is started, and the measurement value is changed over the determination timing determination threshold again. In the meantime, the second batch digital output may be repeated.

本発明の実施形態においては、計測装置が有する当該計測装置の認識番号をさらに前記計測値に付加するようにしてもよい。これによれば、計測装置の外部に接続される制御機器に対して、複数の計測装置から入力がある場合に、制御機器は、受け取った計測値がどの計測装置のものなのかを容易に判別することができるので、使い勝手がよくなる。   In the embodiment of the present invention, an identification number of the measurement device included in the measurement device may be further added to the measurement value. According to this, when there is an input from a plurality of measurement devices to a control device connected to the outside of the measurement device, the control device can easily determine which measurement device the received measurement value belongs to. Can be used, so it is easy to use.

以上の説明で明らかなように、本発明によれば、計測対象物の計測値を、計測値が得られたタイミングに関する時間情報と共に、外部に接続される制御機器に一括出力することができる。従って、外部の制御機器が計測値に対して高精度な判定処理、制御処理を行い易くなり、また、制御機器の処理負担を軽減できるという利点を有する。   As is clear from the above description, according to the present invention, the measurement value of the measurement object can be collectively output to the control device connected to the outside together with the time information regarding the timing at which the measurement value was obtained. Therefore, it is easy for an external control device to perform highly accurate determination processing and control processing on the measurement value, and there is an advantage that the processing load on the control device can be reduced.

以下に、この発明の好適な実施の一形態を添付図面を参照しながら詳細に説明する。   In the following, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

本実施形態の計測装置の電気的ハードウェア構成を示すブロック図が図1に示されている。計測装置は、変位センサとして構成され、制御盤などへのコンパクトな収容を可能とするために、また狭小な計測環境への据え付けを容易とするために、センサヘッド部1と信号処理部2とを分離させてなり、外部の制御機器であるPC3に接続されて使用される。   FIG. 1 is a block diagram showing the electrical hardware configuration of the measuring apparatus according to the present embodiment. The measurement device is configured as a displacement sensor, and in order to enable compact accommodation in a control panel or the like, and to facilitate installation in a narrow measurement environment, the sensor head unit 1 and the signal processing unit 2 And is used by being connected to a PC 3 which is an external control device.

センサヘッド部1は、投光素子101と、受光素子102と、投光制御部103と、受光制御部104と、演算処理部105と、内部メモリ106と、通信制御部107とを備えている。   The sensor head unit 1 includes a light projecting element 101, a light receiving element 102, a light projecting control unit 103, a light reception control unit 104, an arithmetic processing unit 105, an internal memory 106, and a communication control unit 107. .

投光素子101は、例えばLD(レーザダイオード)から成り、受光素子102は、PD(フォトダイオード)から成る。投光制御部103は、投光素子101の駆動パルスを生成し、計測対象物へと向けて投光素子101によりパルス光を照射させる。受光制御部104は受光素子102の制御を行う。   The light projecting element 101 is made of, for example, an LD (laser diode), and the light receiving element 102 is made of a PD (photodiode). The light projecting control unit 103 generates a driving pulse for the light projecting element 101 and causes the light projecting element 101 to emit pulsed light toward the measurement target. The light receiving control unit 104 controls the light receiving element 102.

演算処理部105は、受光素子102から得られる受光量を取得して特徴量を算出する。内部メモリ106は、計測対象物の計測周期、処理された複数の計測値を一括して出力する際の最大データ数を規定する情報として最大データ数や最大データ量もしくは最大出力周期、センサヘッド部1のID番号(認識番号)などの情報を格納する。通信制御部107は、信号処理部2との通信を制御する。   The arithmetic processing unit 105 acquires the amount of received light obtained from the light receiving element 102 and calculates a feature amount. The internal memory 106 includes a maximum data number, a maximum data amount or a maximum output cycle as information for defining a measurement cycle of the measurement object, and a maximum number of data when a plurality of processed measurement values are collectively output. Information such as an ID number (recognition number) of 1 is stored. The communication control unit 107 controls communication with the signal processing unit 2.

本実施形態のセンサヘッド部1は、以上のような回路構成とされ、この例では、信号処理部2の指令に応じて投光処理を行い、受光処理による受光信号を適当なタイミングで信号処理部2に送る処理を行うべく使用される。   The sensor head unit 1 of the present embodiment has the circuit configuration as described above. In this example, the light projecting process is performed according to the command of the signal processing unit 2, and the received light signal by the light receiving process is processed at an appropriate timing. Used to perform processing to be sent to the unit 2.

信号処理部2は、通信制御部201と、計測制御部202と、外部信号検知部203と、SW検知部204と、表示部205と、内部メモリ206と、USBコントローラ207と、CPU208とを備えている。   The signal processing unit 2 includes a communication control unit 201, a measurement control unit 202, an external signal detection unit 203, a SW detection unit 204, a display unit 205, an internal memory 206, a USB controller 207, and a CPU 208. ing.

通信制御部201は、センサヘッド部1との通信制御を行い、センサヘッド部1から受光データなどを取得する。計測制御部202は、センサヘッド部1から取得したデータに基づいて、計測対象物までの距離を計測する処理を行う。外部信号検知部203は、外部トリガなどの外部信号を検知し、計測制御部202による計測結果を取得するタイミングをCPU208に入力する。   The communication control unit 201 performs communication control with the sensor head unit 1 and acquires received light data and the like from the sensor head unit 1. The measurement control unit 202 performs a process of measuring the distance to the measurement target based on the data acquired from the sensor head unit 1. The external signal detection unit 203 detects an external signal such as an external trigger, and inputs a timing for acquiring a measurement result by the measurement control unit 202 to the CPU 208.

SW検知部204は、信号処理部2に設けられた不図示のスイッチやボタンからの入力を検知する。表示部205は、計測値や設定条件を表示する液晶表示部や、動作状態等を示す表示灯LED等を備えている。内部メモリ206は、計測値などの計算結果を格納する。USBコントローラ207は、外部のPC等に接続するためのUSB通信を制御する。   The SW detection unit 204 detects an input from a switch or button (not shown) provided in the signal processing unit 2. The display unit 205 includes a liquid crystal display unit that displays measurement values and setting conditions, an indicator LED that indicates an operation state, and the like. The internal memory 206 stores calculation results such as measurement values. The USB controller 207 controls USB communication for connecting to an external PC or the like.

CPU208は、信号処理部2全体を統括制御する。CPU208は、SW検知部204から取得したスイッチ状態により計測条件の設定を反映させる。また、計測値取得部の機能を有し、計測制御部202から取得した計測値、計測条件の設定などを表示部205に表示させる。CPU208は、計測タイミング取得部の機能を有し、時間情報を生成するためのタイミングを検知し、時間情報を算出し、算出した時間情報を計測値に付加する。   The CPU 208 controls the signal processing unit 2 as a whole. The CPU 208 reflects the setting of the measurement condition based on the switch state acquired from the SW detection unit 204. Further, the display unit 205 has a function of a measurement value acquisition unit, and displays the measurement value acquired from the measurement control unit 202, the measurement condition setting, and the like. The CPU 208 has a function of a measurement timing acquisition unit, detects timing for generating time information, calculates time information, and adds the calculated time information to the measurement value.

信号処理部2の動作を示すフローチャートが図2に示されている。電源投入により処理が開始されると、信号処理部2は、センサヘッド部1に投光処理を指示する(ステップ201)。これにより、センサヘッド部1は、計測対象物に対してパルス光の照射を行う。信号処理部2は、センサヘッド部1から受光データを取得し(ステップ202)、受光データから計測値(距離値)を算出する(ステップ203)。   A flowchart showing the operation of the signal processing unit 2 is shown in FIG. When the process is started by turning on the power, the signal processing unit 2 instructs the sensor head unit 1 to perform a light projection process (step 201). Thereby, the sensor head unit 1 irradiates the measurement target with pulsed light. The signal processing unit 2 acquires light reception data from the sensor head unit 1 (step 202), and calculates a measurement value (distance value) from the light reception data (step 203).

続いて、時間情報を取得するためのタイミング検知を行う(ステップ204)。ここで、タイミング検知は、外部信号検知部203により外部信号(計測信号)がONであるかOFFであるかを判別することにより行われ、外部信号がONになったときに、計測開始タイミングであることが判定され、外部信号がOFFになったときに、計測終了タイミングであることが判定される。   Subsequently, timing detection for acquiring time information is performed (step 204). Here, the timing detection is performed by determining whether the external signal (measurement signal) is ON or OFF by the external signal detection unit 203, and at the measurement start timing when the external signal is turned ON. When it is determined that the external signal is turned off, it is determined that it is the measurement end timing.

ステップ204に続いて、計測値が計測されたときの時間情報を算出する(ステップ205)。CPU208は外部信号がONになってからの計測回数(カウント数)をカウントすると共に、外部信号がOFFの期間は計測回数をクリアする。算出される時間情報は、カウント数と、あらかじめセンサヘッド部1から取得しておいた計測周期との積として表される。   Subsequent to step 204, time information when the measured value is measured is calculated (step 205). The CPU 208 counts the number of times of measurement (count number) after the external signal is turned on, and clears the number of times of measurement when the external signal is off. The calculated time information is represented as the product of the count number and the measurement cycle acquired from the sensor head unit 1 in advance.

ステップ205に続いて、計測値に時間情報を付加し(ステップ206)、さらに、時間情報が付加された計測値に、あらかじめ取得しておいたセンサヘッド部1のID番号を付加する(ステップ207)。続いて、計測値の最終結果(時間情報およびID番号が付加された計測値)を内部メモリ206に格納する(ステップ208)。さらに、所定期間内に得られた計測値の最終結果をUSBコントローラ207に転送する(ステップ209)。USBコントローラ207は、PC3からの要求をトリガとして、予め設定された、もしくはPCにより設定された最大データ数内の得られた所定の複数の計測値の最終結果をまとめてPC3に一括でデジタル出力する。この一括デジタル出力は、それに続く計測値を所定の複数に区切って、先に行った一括デジタル出力の後、最大データ数と計測値取得周期との積で定まる時間以内に行われる(ステップ210)。また、この一括デジタル出力は、複数の計測値を取得した周期毎に垂れ流すのではなく、最大データ数内の所定の複数データ数を一度に一括して高速に出力することにより行われる。これにより、PC3は、計測値と時間情報とを一定のタイムラグを超えずに取得し、種々の判定、制御処理を円滑に行うことができる。また、受け取ったデータをセンサヘッド部1毎に仕分けして利用することができる。   Subsequent to step 205, time information is added to the measurement value (step 206), and the ID number of the sensor head unit 1 acquired in advance is added to the measurement value to which time information is added (step 207). ). Subsequently, the final result of the measurement value (measurement value to which the time information and ID number are added) is stored in the internal memory 206 (step 208). Further, the final result of the measurement value obtained within a predetermined period is transferred to the USB controller 207 (step 209). The USB controller 207 triggers a request from the PC 3 as a trigger, and collectively outputs the final results of a plurality of predetermined measured values obtained within a maximum number of data set in advance or set by the PC to the PC 3 collectively. To do. This batch digital output is performed within a time determined by the product of the maximum number of data and the measurement value acquisition cycle after the batch digital output previously performed by dividing the subsequent measurement values into a predetermined plurality (step 210). . In addition, the batch digital output is performed by outputting a predetermined plurality of data within the maximum number of data at a time at a high speed, instead of dripping at every cycle in which a plurality of measurement values are acquired. Thereby, PC3 can acquire a measured value and time information, without exceeding a fixed time lag, and can perform various determination and control processing smoothly. The received data can be sorted and used for each sensor head unit 1.

尚、上記ステップ204のタイミング検知は、外部信号がONになったときに計測開始タイミングであると判定し、外部信号がOFFになったときに計測終了タイミングであると判定したが、代わりに、計測値が所定値以上又は所定値以下となったときに、計測開始タイミング又は計測終了タイミングであると判定するように構成してもよい。また、ステップ205で算出される時間情報はカウント数そのものとしてもよい。この場合には、PC3に、信号処理部2から受け取ったデータを計測時間に沿って再配置する機能を持たせる。他に時間情報として、計測タイミングに対応する計測値にだけ識別標識を付加するようにしても良い。   The timing detection in step 204 is determined to be the measurement start timing when the external signal is turned on, and is determined to be the measurement end timing when the external signal is turned off. You may comprise so that it may be determined that it is a measurement start timing or a measurement end timing when a measurement value becomes more than predetermined value or below predetermined value. Further, the time information calculated in step 205 may be the count number itself. In this case, the PC 3 is provided with a function of rearranging the data received from the signal processing unit 2 along the measurement time. In addition, as time information, an identification mark may be added only to the measurement value corresponding to the measurement timing.

信号処理部2内における計測値に対する時間情報付加処理の流れを示すタイムチャートが図3に示されている。この例では、信号処理部2の計測制御部202は、図3に参照符号aで示されるタイミングで受光データ1と受光データ2とを取得し(ステップ202)、参照符号bで示されるタイミングで、計測値として距離値1と距離値2とを算出する(ステップ203)。   FIG. 3 shows a time chart showing the flow of the time information addition process for the measurement value in the signal processing unit 2. In this example, the measurement control unit 202 of the signal processing unit 2 acquires the light reception data 1 and the light reception data 2 at the timing indicated by the reference symbol a in FIG. 3 (step 202), and at the timing indicated by the reference symbol b. Then, distance value 1 and distance value 2 are calculated as measured values (step 203).

CPU208は、距離値1の時間情報と、距離値2の時間情報とを算出し(ステップ205)、参照符号cで示されるタイミングで、距離値1に時間情報を付加し、同様に、距離値2に時間情報を付加する(ステップ206)。さらに、CPU208は、時間情報が付加された距離値1および距離2に、参照符号dで示されるタイミングで、センサヘッド部1のID番号をそれぞれ付加する(ステップ207)。なお、受光データ1と、受光データ2との間隔(1周期)は数十μs以上である。   The CPU 208 calculates time information of the distance value 1 and time information of the distance value 2 (step 205), adds the time information to the distance value 1 at the timing indicated by the reference symbol c, and similarly, the distance value. Time information is added to 2 (step 206). Further, the CPU 208 adds the ID number of the sensor head unit 1 to the distance value 1 and the distance 2 to which the time information is added at the timing indicated by the reference symbol d (step 207). The interval (one cycle) between the light reception data 1 and the light reception data 2 is several tens of μs or more.

タイミング検知と、計測値に対する時間情報付加処理との関係を示す説明図が図4に示されている。この例では、信号処理部2が、受光データ1〜9を取得し、受光データ3を取得するときに外部信号がON(計測開始タイミング)となり、受光データ7を取得した後に外部信号がOFF(計測終了タイミング)となる場合を想定している。ここでは説明の便宜上1〜9の受光データを示すが、受光データ数は様々な数をとりうるのは言うまでもない。   FIG. 4 is an explanatory diagram showing the relationship between the timing detection and the time information addition processing for the measurement value. In this example, when the signal processing unit 2 acquires the received light data 1 to 9 and acquires the received light data 3, the external signal is turned ON (measurement start timing), and after the received light data 7 is acquired, the external signal is turned OFF ( The measurement end timing) is assumed. Here, for convenience of explanation, the received light data of 1 to 9 are shown, but it goes without saying that the number of received light data can take various numbers.

信号処理部2が受光データ1,2を取得するときには、外部信号がOFFであるので、この期間では計測回数がクリアされ、計測値(距離値1、距離値2)には、時間情報が付加されない。一方、信号処理部2が受光データ3〜7を取得するときには、外部信号がONであるので、計測値(距離値3〜距離値7)に経過時間情報(0ms〜40ms)が付加される。また、信号処理部2が受光データ8,9を取得するときには、外部信号がOFFであるので、この期間では計測回数がクリアされ、計測値(距離値8、距離値9)には時間情報が付加されない。   When the signal processing unit 2 acquires the received light data 1 and 2, since the external signal is OFF, the measurement count is cleared during this period, and time information is added to the measurement values (distance value 1, distance value 2). Not. On the other hand, when the signal processing unit 2 acquires the received light data 3 to 7, since the external signal is ON, the elapsed time information (0 ms to 40 ms) is added to the measurement value (distance value 3 to distance value 7). Further, when the signal processing unit 2 acquires the received light data 8 and 9, since the external signal is OFF, the number of measurements is cleared during this period, and time information is included in the measurement values (distance value 8, distance value 9). Not added.

尚、時間情報が付加される期間(計測開始タイミング〜計測終了タイミング)の検知動作は、外部信号のON/OFFによるもののほか、例えば所定の計測タイミング判定閾値をまたいで変化したタイミングでセルフトリガによって定めるようにしてもよい。   Note that the detection operation during the period in which time information is added (measurement start timing to measurement end timing) is based on ON / OFF of an external signal, for example, by self-triggering at a timing that changes across a predetermined measurement timing determination threshold. It may be determined.

信号処理部2からPC3に出力されるデータのデータ構造は、図5に示されるように、計測値(距離値)と、時間情報と、センサヘッド部ID番号とから成る。時間情報は、計測値が取得された時間を表す。これにより、計測値がいつ測定されたかを知ることができる。センサヘッド部ID番号は、受け取ったデータが、どのセンサヘッド部からのデータであるかを示すID番号である。これにより、PC3に対して複数の信号処理部(計測装置)からの入力がある場合に、PC3は受け取った計測値を判別できることとなる。   As shown in FIG. 5, the data structure of data output from the signal processing unit 2 to the PC 3 includes measurement values (distance values), time information, and sensor head unit ID numbers. The time information represents the time when the measurement value is acquired. Thereby, it is possible to know when the measurement value is measured. The sensor head part ID number is an ID number indicating which sensor head part the received data is from. Thereby, when there are inputs from a plurality of signal processing units (measuring devices) to the PC 3, the PC 3 can determine the received measurement value.

センサヘッド部1の内部メモリ106のメモリ構造は、図6に示されるように、センサヘッド部ID番号と、1周期あたりの実計測時間(計測周期)とから成る。信号処理部2は、起動時に、センサヘッド部1から計測周期とセンサヘッド部ID番号を取得し、取得した計測周期を時間情報算出のために利用する。また、計測周期を信号処理部2からPC3に送信すれば、PC3に対して複数の信号処理部(計測装置)からの入力がある場合に、計測装置によって計測周期が異なっていてもPC3が対応できることとなる。なお、センサヘッド部1の内部メモリ106には、この他、センサヘッド部1固有の情報も格納される。   As shown in FIG. 6, the memory structure of the internal memory 106 of the sensor head unit 1 includes a sensor head unit ID number and an actual measurement time (measurement cycle) per cycle. The signal processing unit 2 acquires a measurement cycle and a sensor head unit ID number from the sensor head unit 1 at the time of activation, and uses the acquired measurement cycle for calculating time information. In addition, if the measurement cycle is transmitted from the signal processing unit 2 to the PC 3, when there is an input from a plurality of signal processing units (measurement devices) to the PC 3, even if the measurement cycle differs depending on the measurement device, the PC 3 can handle It will be possible. In addition to this, information unique to the sensor head unit 1 is also stored in the internal memory 106 of the sensor head unit 1.

本発明計測装置の応用例を示す説明図が図7に示されている。この例では、ワーク801に液晶シール剤802を塗布するためのノズル803の制御を表している。ノズル803はセンサヘッド部1と一体に構成される。信号処理部2は、PC3にUSB接続されている。センサヘッド部1は、ワーク801表面の凹凸を計測する。PC3は、センサヘッド部1で計測されて信号処理部2から受け取った計測値データを用いて、ノズル803を上下に移動させるように制御する。信号処理部2は、センサヘッド部1で取得されたデータを所定期間蓄積し、間隔を置いて一括してPC3に出力する。センサヘッド部1が高速に計測したデータをPC3が取得することにより、PC3は様々な解析をすることができ、高精度な予測に基づくノズル制御を実現することができる。   An explanatory view showing an application example of the measuring apparatus of the present invention is shown in FIG. In this example, control of the nozzle 803 for applying the liquid crystal sealant 802 to the workpiece 801 is shown. The nozzle 803 is configured integrally with the sensor head unit 1. The signal processing unit 2 is USB connected to the PC 3. The sensor head unit 1 measures unevenness on the surface of the workpiece 801. The PC 3 controls the nozzle 803 to move up and down using the measurement value data measured by the sensor head unit 1 and received from the signal processing unit 2. The signal processing unit 2 accumulates the data acquired by the sensor head unit 1 for a predetermined period, and outputs the data to the PC 3 collectively at intervals. When the PC 3 acquires data measured at high speed by the sensor head unit 1, the PC 3 can perform various analyses, and can realize nozzle control based on highly accurate prediction.

本発明計測装置の作用説明図が図8に示されている。この例では、9個の一連の計測値(12345,12334,12342,12341,12115,12113,12122,12108,12105)に対して、開始トリガを計測開始タイミングとして、3番目の計測値(12342)から計測タイミング情報を付加している。そして、8番目の計測値(12108)に対して終了トリガを計測終了タイミングとしている。3番目の計測値(12342)から7番目の計測値(12112)まで、時間情報は、図示されるように、通し番号(時系列情報)である。データを受け取るPC3が、信号処理部2から受け取ったデータを計測時間に沿って再配置する機能を有している場合には、USB通信(デジタル通信)で、PCに、計測周期(この例では周期は2ms)も合わせて送ると、PCが受信データを実時間に配置し直すことができる。   FIG. 8 shows an operation explanatory diagram of the measuring apparatus of the present invention. In this example, for a series of nine measurement values (12345, 12334, 12342, 12341, 12115, 12113, 12122, 12108, and 12105), the third measurement value (12342) is set with the start trigger as the measurement start timing. Measurement timing information is added. An end trigger is set as a measurement end timing for the eighth measurement value (12108). The time information from the third measurement value (12342) to the seventh measurement value (12112) is a serial number (time-series information) as shown in the figure. When the PC 3 that receives the data has a function of rearranging the data received from the signal processing unit 2 according to the measurement time, the measurement cycle (in this example) is transmitted to the PC by USB communication (digital communication). If the period is also 2 ms), the PC can rearrange the received data in real time.

上記実施形態では、計測装置は変位センサとして説明したが、本発明の計測装置はこれに限定されず、温度センサや視覚センサとして構成するようにしてもよい。   In the above embodiment, the measurement device has been described as a displacement sensor. However, the measurement device of the present invention is not limited to this, and may be configured as a temperature sensor or a visual sensor.

計測装置の電気的ハードウェア構成を示すブロック図である。It is a block diagram which shows the electrical hardware constitutions of a measuring device. 信号処理部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a signal processing part. 信号処理部内における処理の流れを示すタイムチャートである。It is a time chart which shows the flow of the process in a signal processing part. 計測値に対する時間情報付加処理を示す説明図である。It is explanatory drawing which shows the time information addition process with respect to a measured value. 信号処理部から出力されるデータのデータ構造を示す説明図である。It is explanatory drawing which shows the data structure of the data output from a signal processing part. センサヘッド部のメモリ構造を示す説明図である。It is explanatory drawing which shows the memory structure of a sensor head part. 本発明計測装置の応用例を示す説明図である。It is explanatory drawing which shows the application example of this invention measuring device. 本発明計測装置の作用説明図である。It is operation | movement explanatory drawing of this invention measuring device.

符号の説明Explanation of symbols

1 センサヘッド部
2 信号処理部
3 PC
101 投光素子
102 受光素子
103 投光制御部
104 受光制御部
105 演算処理部
106 内部メモリ
107 通信制御部
201 通信制御部
202 計測制御部
203 外部信号検知部
204 SW検知部
205 表示部
206 内部メモリ
207 USBコントローラ
208 CPU
801 ワーク
802 液晶シール剤
803 ノズル
DESCRIPTION OF SYMBOLS 1 Sensor head part 2 Signal processing part 3 PC
101 Light Emitting Element 102 Light Receiving Element 103 Light Emitting Control Unit 104 Light Receiving Control Unit 105 Arithmetic Processing Unit 106 Internal Memory 107 Communication Control Unit
201 Communication Control Unit 202 Measurement Control Unit 203 External Signal Detection Unit 204 SW Detection Unit 205 Display Unit 206 Internal Memory 207 USB Controller 208 CPU
801 Workpiece 802 Liquid crystal sealant 803 Nozzle

Claims (10)

計測値を取得する計測値取得部と、外部からのトリガ信号が入力されるトリガ信号入力部と、取得した計測値を処理する処理部と、処理条件のデータを記憶するデータ記憶部と、処理された計測値を出力するインターフェース部とを有する計測装置であって、
計測値取得部は、計測値を周期的に取得し、
データ記憶部は、処理条件のデータとして処理された複数の計測値を一括して出力する際の最大データ数を規定する情報を記憶し、
処理部は、周期的に取得した測定値に、トリガ信号が入力されたタイミングを基準とする計測タイミングに関する情報を付加し、
前記の計測タイミング情報が付加された複数の計測値を、取得した順序を保って前記最大データ数以下である複数の計測値に区切り、その区切られた複数の計測値を当該データ数と前記周期との積で定まる時間よりも短い時間で一括してインターフェース部よりデジタル出力する第1のデジタル出力を実行した後、
前回のデジタル出力の後、前記最大データ数と前記周期との積で定まる時間以内に、出力済みの計測値に続く次の計測タイミングに関する情報が付加された複数の計測値を取得した順序を保って前記最大データ数以下のデータ数である複数の計測値に区切り、その区切られたデータ数と前記周期との積で定まる時間よりも短い時間で一括してインターフェース部よりデジタル出力する第2のデジタル出力を実行し、
その後第2のデジタル出力を繰り返すことを特徴とする計測装置。
A measurement value acquisition unit that acquires measurement values, a trigger signal input unit that receives an external trigger signal, a processing unit that processes the acquired measurement values, a data storage unit that stores processing condition data, and a process A measuring device having an interface unit for outputting the measured value,
The measurement value acquisition unit periodically acquires measurement values,
The data storage unit stores information defining the maximum number of data when a plurality of measurement values processed as processing condition data are collectively output,
The processing unit adds information related to the measurement timing based on the timing at which the trigger signal is input to the periodically acquired measurement value,
The plurality of measurement values to which the measurement timing information is added are divided into a plurality of measurement values that are equal to or less than the maximum number of data in the acquired order, and the plurality of divided measurement values are divided into the number of data and the period After executing the first digital output that is digitally output from the interface unit in a time shorter than the time determined by the product of
After the previous digital output, within the time determined by the product of the maximum number of data and the period, the order in which a plurality of measurement values to which information related to the next measurement timing following the output measurement value is added is acquired is maintained. The second data is divided into a plurality of measurement values that are equal to or less than the maximum number of data, and is digitally output from the interface unit in a time shorter than the time determined by the product of the divided number of data and the period. Perform digital output,
Thereafter, the second digital output is repeated.
計測値を取得する計測値取得部と、取得した計測値を処理する処理部と、処理条件のデータを記憶するデータ記憶部と、処理された計測値を出力するインターフェース部とを有する計測装置であって、
計測値取得部は、計測値を周期的に取得し、
データ記憶部は、前記処理条件のデータとして処理された複数の計測値を一括して出力する際の最大データ数を規定する情報と、計測値と比較されるタイミング判定閾値とを記憶し、
処理部は、周期的に取得した測定値に、計測値が前記タイミング判定閾値をまたいで変化したタイミングを基準とする計測タイミングに関する情報を付加し、
前記の計測タイミング情報が付加された複数の計測値を取得した順序を保って前記最大データ数以下である複数の計測値に区切り、その区切られた複数の計測値を当該データ数と前記周期との積で定まる時間よりも短い時間で一括してインターフェース部よりデジタル出力する第1のデジタル出力を実行した後、
前回のデジタル出力の後、前記最大データ数と前記周期との積で定まる時間以内に、出力済みの計測値に続く次の計測タイミングに関する情報が付加された複数の計測値を取得した順序を保って前記最大データ数以下のデータ数である複数の計測値に区切り、その区切られたデータ数と前記周期との積で定まる時間よりも短い時間で一括してインターフェース部よりデジタル出力する第2のデジタル出力を実行し、
その後第2のデジタル出力を繰り返すことを特徴とする計測装置。
A measurement device having a measurement value acquisition unit that acquires measurement values, a processing unit that processes the acquired measurement values, a data storage unit that stores data of processing conditions, and an interface unit that outputs the processed measurement values There,
The measurement value acquisition unit periodically acquires measurement values,
The data storage unit stores information defining a maximum number of data when collectively outputting a plurality of measurement values processed as data of the processing condition, and a timing determination threshold value to be compared with the measurement value,
The processing unit adds information related to the measurement timing based on the timing at which the measurement value changes across the timing determination threshold to the periodically acquired measurement value,
Maintaining the order in which the plurality of measurement values to which the measurement timing information is added is acquired and divided into a plurality of measurement values equal to or less than the maximum number of data, After executing the first digital output that performs digital output from the interface unit in a time shorter than the time determined by the product of
After the previous digital output, within the time determined by the product of the maximum number of data and the period, the order in which a plurality of measurement values to which information on the next measurement timing following the output measurement value is added is acquired is maintained. The second data is divided into a plurality of measurement values that are equal to or less than the maximum number of data, and is digitally output from the interface unit in a time shorter than the time determined by the product of the divided data number and the period Perform digital output,
Thereafter, the second digital output is repeated.
データ記憶部は、処理された複数の計測値を一括して出力する際の最大データ数を規定する情報として、最大データ量もしくは最大出力周期を記憶することを特徴とする請求項1または2に記載の計測装置。   The data storage unit stores a maximum data amount or a maximum output cycle as information for specifying a maximum number of data when a plurality of processed measurement values are collectively output. The measuring device described. 計測タイミングに関する情報は、計測開始タイミングであることを特徴とする請求項1または2に記載の計測装置。   The measurement apparatus according to claim 1, wherein the information related to the measurement timing is a measurement start timing. 計測タイミングに関する情報は、計測開始タイミングおよび計測終了タイミングであることを特徴とする請求項1または2に記載の計測装置。   The measurement apparatus according to claim 1, wherein the information related to the measurement timing is a measurement start timing and a measurement end timing. 計測タイミングに関する情報は、計測開始タイミングであり、
周期的に取得した計測値に、計測開始タイミングを基準とする時系列情報を対応させて付加することを特徴とする請求項1または2に記載の計測装置。
The information about the measurement timing is the measurement start timing,
The measurement apparatus according to claim 1, wherein time-series information with reference to the measurement start timing is added to the periodically acquired measurement value in association with the measurement value.
計測タイミングに関する情報は、計測開始タイミングであり、
所定周期で取得した計測値に、計測開始タイミングを基準とし、当該計測周期をもとに算出した経過時間情報を対応させて付加し、当該計測タイミング情報を付加することを特徴とする請求項1または2に記載の計測装置。
The information about the measurement timing is the measurement start timing,
2. The measurement value acquired at a predetermined cycle is added in association with elapsed time information calculated based on the measurement cycle based on the measurement start timing, and the measurement timing information is added. Or the measuring apparatus of 2.
処理部は、トリガ信号が入力されるとともに前記第1の一括デジタル出力を開始し、トリガ信号の入力が継続している間、前記第2の一括デジタル出力を繰り返すことを特徴とする請求項1に記載の計測装置。   The processing unit starts the first collective digital output when a trigger signal is input, and repeats the second collective digital output while the input of the trigger signal is continued. The measuring device described in 1. 処理部は、計測値が前記判定タイミング判定閾値をまたいで変化したときに前記第1の一括デジタル出力を開始し、計測値が前記判定タイミング判定閾値を再度またいで変化するまでの間前記第2の一括デジタル出力を繰り返すことを特徴とする請求項2に記載の計測装置。   The processing unit starts the first batch digital output when the measurement value changes across the determination timing determination threshold, and the second time until the measurement value changes over the determination timing determination threshold again. The measuring apparatus according to claim 2, wherein the batch digital output is repeated. 計測装置が有する当該計測装置の認識番号をさらに前記計測値に付加する、ことを特徴とする請求項1または2に記載の計測装置。   The measurement apparatus according to claim 1, wherein an identification number of the measurement apparatus included in the measurement apparatus is further added to the measurement value.
JP2005068554A 2004-03-12 2005-03-11 Measuring device Expired - Fee Related JP4650620B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005068554A JP4650620B2 (en) 2004-03-12 2005-03-11 Measuring device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004070769 2004-03-12
JP2005068554A JP4650620B2 (en) 2004-03-12 2005-03-11 Measuring device

Publications (2)

Publication Number Publication Date
JP2005293567A true JP2005293567A (en) 2005-10-20
JP4650620B2 JP4650620B2 (en) 2011-03-16

Family

ID=35326379

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005068554A Expired - Fee Related JP4650620B2 (en) 2004-03-12 2005-03-11 Measuring device

Country Status (1)

Country Link
JP (1) JP4650620B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012111173A1 (en) 2011-02-15 2012-08-23 オムロン株式会社 Image processing apparatus and image processing system
EP3282220A1 (en) 2016-08-09 2018-02-14 Omron Corporation Information processing system, information processing device, workpiece position identifying method, and workpiece position identifying program
EP3282219A1 (en) 2016-08-09 2018-02-14 Omron Corporation Information processing system, information processing device, workpiece position identifying method, and workpiece position identifying program
JP2018097445A (en) * 2016-12-09 2018-06-21 株式会社東京精密 Measurement system
JP2021036469A (en) * 2020-11-20 2021-03-04 株式会社東京精密 Measurement system and data transmission method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10221193A (en) * 1997-02-03 1998-08-21 Nitto Seiko Co Ltd Gas pressure totalizing system, gas pressure measuring device used therefor, and totalizing device
JP2002253516A (en) * 2001-03-06 2002-09-10 Matsushita Electric Ind Co Ltd Data processing device for health support services

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10221193A (en) * 1997-02-03 1998-08-21 Nitto Seiko Co Ltd Gas pressure totalizing system, gas pressure measuring device used therefor, and totalizing device
JP2002253516A (en) * 2001-03-06 2002-09-10 Matsushita Electric Ind Co Ltd Data processing device for health support services

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012111173A1 (en) 2011-02-15 2012-08-23 オムロン株式会社 Image processing apparatus and image processing system
US9741108B2 (en) 2011-02-15 2017-08-22 Omron Corporation Image processing apparatus and image processing system for conveyor tracking
EP3282220A1 (en) 2016-08-09 2018-02-14 Omron Corporation Information processing system, information processing device, workpiece position identifying method, and workpiece position identifying program
EP3282219A1 (en) 2016-08-09 2018-02-14 Omron Corporation Information processing system, information processing device, workpiece position identifying method, and workpiece position identifying program
US10155317B2 (en) 2016-08-09 2018-12-18 Omron Corporation Information processing system, information processing device, workpiece position identifying method, and workpiece position identifying program
JP2018097445A (en) * 2016-12-09 2018-06-21 株式会社東京精密 Measurement system
JP2021036469A (en) * 2020-11-20 2021-03-04 株式会社東京精密 Measurement system and data transmission method
JP7000538B2 (en) 2020-11-20 2022-01-19 株式会社東京精密 Measurement system and data transmission method

Also Published As

Publication number Publication date
JP4650620B2 (en) 2011-03-16

Similar Documents

Publication Publication Date Title
US9170095B1 (en) Distance detection device and method including dynamically adjusted frame rate
US20180052452A1 (en) Operating state acquisition apparatus, production management system, and production management method for manufacturing line
EP3890302B1 (en) Information processing apparatus, information processing system, device for position/attitude acquisition, and device information acquisition method
EP2363736B1 (en) Photoelectric sensor and method for aiding checking of threshold
JP4650620B2 (en) Measuring device
KR102522688B1 (en) Battery Residual Value Determination System
EP1569347A1 (en) Encoder and control apparatus for motor
JP2008033532A (en) Method and apparatus for detecting abnormality in equipment provided with movable part
KR102403252B1 (en) Grip-type blood pressure measuring device and method for operating thereof
US7337082B2 (en) Digital measurement instrument for acquiring measurement and time values
KR20180008748A (en) Method and apparatus for sensor synchronization
EP3732500B1 (en) Optical ranging system having multi-mode operation using short and long pulses
JP4139226B2 (en) Method for operating a position measuring device and a position measuring device suitable for this method
JP2009033861A (en) Power supply sequence measuring apparatus and power supply sequence measuring method
JP2013011566A (en) Displacement sensor system, sensor controller, and display control program
CN108994770B (en) Electric screwdriver control method and device
CN114072044A (en) Alarm system and alarm method
JP6417594B2 (en) Biological information measuring device
JP7110845B2 (en) Information processing device and information processing method
CN112219174B (en) Method for automatically generating a signed signature
JP2022180010A5 (en)
JP2007278743A (en) Ranging device
JP2009156790A (en) Displacement sensor
KR20180089423A (en) Method and apparatus for detecting impulse wrench rotation
KR102049291B1 (en) Measurement system, control apparatus, measurement method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071112

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101101

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: 20101117

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: 20101130

R150 Certificate of patent or registration of utility model

Ref document number: 4650620

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20131224

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees