JP2014002034A - Displacement measuring device and displacement measuring method - Google Patents
Displacement measuring device and displacement measuring method Download PDFInfo
- Publication number
- JP2014002034A JP2014002034A JP2012137316A JP2012137316A JP2014002034A JP 2014002034 A JP2014002034 A JP 2014002034A JP 2012137316 A JP2012137316 A JP 2012137316A JP 2012137316 A JP2012137316 A JP 2012137316A JP 2014002034 A JP2014002034 A JP 2014002034A
- Authority
- JP
- Japan
- Prior art keywords
- displacement
- output
- data
- shift register
- sensor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Transmission And Conversion Of Sensor Element Output (AREA)
Abstract
Description
本発明の実施形態は、変位測定装置および変位測定方法に関する。 Embodiments described herein relate generally to a displacement measuring apparatus and a displacement measuring method.
従来の変位測定装置の設置形態の一例を図8に示す。
従来、タービンなどの大型回転機械は筐体の重量が非常に重いので、この機械の組み立て時には回転機械の回転軸とケーシング(筐体)との相対位置(変位)はケーシングを搭載した際に自重により変化する。このことから、回転軸各部の変位を計測し、変位変化量を監視する必要がある。
An example of the installation form of the conventional displacement measuring apparatus is shown in FIG.
Conventionally, a large rotating machine such as a turbine has a very heavy casing. Therefore, when the machine is assembled, the relative position (displacement) between the rotating shaft of the rotating machine and the casing (housing) is determined by the weight of the casing. It depends on. For this reason, it is necessary to measure the displacement of each part of the rotating shaft and monitor the displacement change amount.
図8(a)に示した例では、上部ケーシング101aと下部ケーシング101bとでなるケーシングの内部に回転軸102が設けられ、この回転軸102と下部ケーシング101bの底部や側部との間に、回転軸102の変位を計測するための変位センサ103が複数設けられる。
これらの変位センサは、図8(b)に示すように、回転軸102の軸方向に沿って複数設けられる。
In the example shown in FIG. 8 (a), a
A plurality of these displacement sensors are provided along the axial direction of the
変位はケーシングの着脱時だけでなく、経時変化によっても生じうるため、変位の計測は定期的に実施する必要がある。
回転軸の変位の検出には、例えばデジタル出力型の変位センサが使用される。この変位センサでは測定結果の信号がデジタル信号で出力されることから、アナログ出力型の変位センサに比べてデータ伝送時における精度の劣化がないという利点がある。
Since the displacement can be caused not only when the casing is attached / detached but also due to a change with time, the displacement must be measured periodically.
For example, a digital output type displacement sensor is used to detect the displacement of the rotating shaft. Since this displacement sensor outputs a measurement result signal as a digital signal, there is an advantage that there is no deterioration in accuracy during data transmission compared to an analog output type displacement sensor.
また、この変位センサは、測定した変位量を、この測定元の変位センサからのクロック信号に同期させたシリアルデジタル信号として変位測定装置に出力する。 The displacement sensor outputs the measured displacement amount to the displacement measuring device as a serial digital signal synchronized with the clock signal from the measuring source displacement sensor.
従来の変位測定装置の構成例を図9に示す。
図9に示すように、従来の変位測定装置は、マルチプレクサ104、MPU105を備える。
マルチプレクサ104aは、MPU105からのクロック信号であるシリアルクロック信号に同期して変位センサのいずれかを選択する。マルチプレクサ104は、複数の変位センサのそれぞれからの変位量の測定データ(変位データ信号)を示すセンサデータ信号を、選択したセンサからのセンサクロック信号に同期してシリアルデータとして入力して、MPU105へ出力する。
A configuration example of a conventional displacement measuring apparatus is shown in FIG.
As shown in FIG. 9, the conventional displacement measuring device includes a
The multiplexer 104 a selects one of the displacement sensors in synchronization with the serial clock signal that is the clock signal from the
従来の変位表示器の構成例を図10に示す。
図10に示すように、従来の変位表示器は、変位センサからのセンサデータ信号を入力するシフトレジスタ111a〜111g、3−8デコーダドライバ112、BCD−7セグメントデコーダドライバ113、ドライバ114、LED表示器115、7セグメントLED表示器116a〜116dを有する。
A configuration example of a conventional displacement indicator is shown in FIG.
As shown in FIG. 10, the conventional displacement indicator includes
シフトレジスタ111a〜111gは、変位センサからの入力側からみてシフトレジスタ111a,111b,111c,…,111d,111e,111f,111gの順に縦続接続される。以下、必要に応じて、シフトレジスタ111a〜111gを単にシフトレジスタ111と称する。
The
シフトレジスタ111aは、測定データの小数点位置を格納するためのシフトレジスタである。
また、シフトレジスタ111b,111c,…,111d,111eは、測定データの各桁を格納するためのシフトレジスタである。
シフトレジスタ111fは、符号を格納するためのシフトレジスタである。
シフトレジスタ111gは、ヘッダデータを格納するためのシフトレジスタである。
The
Further, the
The
The
また、測定データの各桁に対応するBCD−7セグメントデコーダドライバ113は、BCD−7セグメントデコーダドライバ113a,113b,…,113c,113dでなり、測定データの各桁に対応するシフトレジスタに1対1で設けられる。
Further, the BCD-7 segment decoder driver 113 corresponding to each digit of the measurement data is composed of BCD-7
また、測定データの各桁に対応する7セグメントLED表示器116は、116a,116b,…,116c,116dでなり、測定データの各桁に対応するシフトレジスタ111や測定データの各桁に対応するBCD−7セグメントデコーダドライバ113に1対1で設けられる。 The 7-segment LED display 116 corresponding to each digit of the measurement data includes 116a, 116b,..., 116c, 116d, and corresponds to the shift register 111 corresponding to each digit of the measurement data and each digit of the measurement data. The BCD-7 segment decoder driver 113 is provided on a one-to-one basis.
ここで示した例では、センサデータ信号はBCD(Binary Coded Decimal)コード(二進化十進表現)で表現される。このBDCコードでは、十進表現での1桁を、0から9までを表す4桁の二進数(4bit)で表す方法が使用されている。例えば、センサデータ信号は、4bitを1デジットとして13デジット(52bit)で出力される。 In the example shown here, the sensor data signal is represented by a BCD (Binary Coded Decimal) code (binary decimal representation). In this BDC code, a method is used in which one digit in decimal representation is represented by a 4-digit binary number (4 bits) representing 0 to 9. For example, the sensor data signal is output in 13 digits (52 bits) with 4 bits as 1 digit.
具体的には、例えば、センサデータ信号は、ヘッダ、符号、測定データ第1桁(BCDコード)、測定データ第2桁(BCDコード)、…、測定データ第5桁(BCDコード)、測定データ第6桁(BCDコード)、測定データ小数点位置(BCDコード)の順で変位表示器のシフトレジスタ111に入力される。 Specifically, for example, the sensor data signal includes a header, a sign, a measurement data first digit (BCD code), a measurement data second digit (BCD code), ..., a measurement data fifth digit (BCD code), and measurement data. The sixth digit (BCD code) and the measurement data decimal point position (BCD code) are input to the shift register 111 of the displacement indicator in this order.
図10に示した変位表示器のシフトレジスタ111へのセンサデータ信号の入力が完了すると、ヘッダはシフトレジスタ111gへ格納され、符号はシフトレジスタ111fへ格納される。また、測定データ第1桁(BCDコード)はシフトレジスタ111eへ格納され、測定データ第2桁(BCDコード)はシフトレジスタ111dへ格納され、測定データ第5桁(BCDコード)はシフトレジスタ111cへ格納され、測定データ第6桁(BCDコード)はシフトレジスタ111bへ格納される。また、測定データ小数点位置(BCDコード)はシフトレジスタ111aへ格納される。
シフトレジスタ111fへ格納された符号は、ドライバ114を介して符号表示用のLED表示器115に表示される。
When the input of the sensor data signal to the shift register 111 of the displacement indicator shown in FIG. 10 is completed, the header is stored in the
The code stored in the
測定データの各桁に対応するシフトレジスタ111へ格納された測定データの各桁は、この各桁に対応するBCD−7セグメントデコーダドライバ113により7ビットに変換されて、測定データの各桁に対応する7セグメントLED表示器116に表示される。 Each digit of the measurement data stored in the shift register 111 corresponding to each digit of the measurement data is converted into 7 bits by the BCD-7 segment decoder driver 113 corresponding to each digit and corresponds to each digit of the measurement data. Is displayed on the 7-segment LED display 116.
シフトレジスタ111aへ格納された測定データ小数点位置は、3−8デコーダドライバ112を介して、7セグメントLED表示器116は、116a,116b,…,116c,116dのいずれかに表示される。
The measured data decimal point position stored in the
つまり、この変位表示器は、変位センサから出力されるクロック信号に同期して出力されるセンサデータ信号を変位表示器のシフトレジスタ111に取り込み、BCD−7セグメントデコーダドライバ113を用いることにより、容易に7セグメントLED表示器115,116で表示することができる。
In other words, this displacement indicator can be easily obtained by fetching the sensor data signal output in synchronization with the clock signal output from the displacement sensor into the shift register 111 of the displacement indicator and using the BCD-7 segment decoder driver 113. 7-
前述した変位センサを回転機械の変位変化量の計測に用いるにあたっては、変位を変位表示器に表示するだけではなく、計測結果を電子媒体に記録したりプリンタに印刷したりする必要がある。このような用途には前述したBCD形式のデータは取扱いになじまないので、例えばASCII(American Standard Code for Information Interchange)などの文字コードで取扱えることが望ましい。 When the above-described displacement sensor is used for measuring the displacement change amount of the rotating machine, it is necessary not only to display the displacement on a displacement indicator but also to record the measurement result on an electronic medium or print it on a printer. For such applications, the above-mentioned BCD format data is unsuitable for handling, so it is desirable to handle it with a character code such as ASCII (American Standard Code for Information Interchange).
また、図8に示すように変位の計測箇所が多いと多数の変位センサを用いる必要があるが、この場合、センサデータ信号の同期をとるためのセンサクロック信号は各センサのそれぞれから任意のタイミングで出力される。この信号を例えばMPUに取り込もうとすると、図10に示したような変位表示器にて、同時に多数のセンサからのセンサデータ信号であるシリアル信号を、センサ間でタイミングが非同期であるセンサクロック信号のタイミングで変位表示器に適切に取り込むことは困難である。 In addition, as shown in FIG. 8, when there are a lot of displacement measurement points, it is necessary to use a large number of displacement sensors. In this case, the sensor clock signal for synchronizing the sensor data signal has an arbitrary timing from each sensor. Is output. For example, when this signal is taken into the MPU, a serial signal which is a sensor data signal from a large number of sensors is simultaneously converted into a sensor clock signal whose timing is asynchronous between the sensors by a displacement indicator as shown in FIG. It is difficult to properly capture the displacement indicator at the timing.
本発明が解決しようとする課題は、複数の変位センサのそれぞれからの変位データ信号を入力して適切に出力することが可能になる変位測定装置および変位測定方法を提供することにある。 The problem to be solved by the present invention is to provide a displacement measuring apparatus and a displacement measuring method that can input displacement data signals from each of a plurality of displacement sensors and appropriately output them.
実施形態によれば、変位測定装置は、複数の変位センサのそれぞれに対応して設けられ、前記変位センサのそれぞれから出力される変位データ信号を前記変位データ信号の出力元の変位センサからのクロック信号に同期してシリアルデータとして入力して一時保存する一時保存装置と、前記一時保存装置のいずれかを順次選択し、前記選択した一時保存装置に保存された変位データ信号を所定のクロック信号に同期してシリアルデータとして出力する出力手段とをもつ。 According to the embodiment, the displacement measuring device is provided corresponding to each of the plurality of displacement sensors, and the displacement data signal output from each of the displacement sensors is converted to a clock from the displacement sensor from which the displacement data signal is output. A temporary storage device that inputs serial data in synchronism with a signal and temporarily stores it, and selects one of the temporary storage devices in order, and uses a displacement data signal stored in the selected temporary storage device as a predetermined clock signal Output means for synchronously outputting serial data.
本発明によれば、複数の変位センサのそれぞれからの変位データ信号を入力して適切に出力することが可能となる。 According to the present invention, displacement data signals from each of a plurality of displacement sensors can be input and output appropriately.
以下、実施の形態について、図面を参照して説明する。
(第1の実施形態)
まず、第1の実施形態について説明する。
図1は、第1の実施形態における変位測定装置の構成例を示す図である。
図1に示すように、第1の実施形態における変位測定装置は、シリアルデータバッファ11a〜11h、マルチプレクサ12a,12b、MPU13、シリアルプリンタ14、メモリカード15を有する。
Hereinafter, embodiments will be described with reference to the drawings.
(First embodiment)
First, the first embodiment will be described.
FIG. 1 is a diagram illustrating a configuration example of a displacement measuring apparatus according to the first embodiment.
As shown in FIG. 1, the displacement measuring apparatus in the first embodiment includes serial data buffers 11a to 11h,
この例では、変位測定装置に接続されて、この変位測定装置にセンサデータ信号やセンサクロック信号を出力する変位センサは8つである。以下、必要に応じて、変位センサを単にセンサと称する。 In this example, there are eight displacement sensors connected to the displacement measuring device and outputting sensor data signals and sensor clock signals to the displacement measuring device. Hereinafter, the displacement sensor is simply referred to as a sensor as necessary.
これらのセンサのそれぞれには、シリアルデータバッファ11a〜11hが1対1で対応して設けられる。以下、必要に応じて、シリアルデータバッファ11a〜11hを単にシリアルデータバッファ11と称する。
Each of these sensors is provided with serial data buffers 11a to 11h in a one-to-one correspondence. Hereinafter, the
変位測定装置のシリアルデータバッファ11は、対応するセンサのそれぞれから出力されたセンサデータ信号を、このセンサデータ信号の出力元のセンサからのセンサクロック信号に同期してシリアルデータとして入力して、センサの測定データとして一時保存する。 The serial data buffer 11 of the displacement measuring device inputs the sensor data signal output from each of the corresponding sensors as serial data in synchronization with the sensor clock signal from the sensor from which the sensor data signal is output. Temporarily save as measurement data.
マルチプレクサ12aは、所定のタイミングでのMPU13からシリアルクロック信号を入力すると、各センサのいずれかに対応するシリアルデータバッファ11を選択して、この選択したシリアルデータバッファ11に対して、MPU13からのシリアルクロック信号をそのまま再出力し、以後、MPU13からシリアルクロック信号を入力するたびに、選択した選択したシリアルデータバッファ11に対して、MPU13からのシリアルクロック信号を再出力する。この出力したクロック信号をホストクロック信号と称する。本実施形態において、あるセンサに対応するシリアルデータバッファ11を選択することを、この対応するセンサを選択することとして説明することがある。
When the
また、マルチプレクサ12bは、前述した所定のタイミングでMPU13からシリアルクロック信号を入力すると、マルチプレクサ12aと同じシリアルデータバッファ11を選択し、この選択したシリアルデータバッファ11に一時保存されたセンサデータ信号をマルチプレクサ12aからシリアルデータバッファ11へのホストクロック信号に同期してホストデータ信号として入力し、MPU13に出力する。
In addition, when the serial clock signal is input from the
マルチプレクサ12a,12bによる選択対象のシリアルデータバッファ11の切り替えの周期は、選択したシリアルデータバッファ11に入力されたセンサデータ信号についてMPU13への出力が開始してから完了するまでにかかる時間を少なくとも含む周期であり、この間のホストクロック信号の出力数は、シリアルデータバッファ11からのセンサデータ信号のビット数以上となる。
The switching period of the serial data buffer 11 to be selected by the
つまり、各センサに対応するシリアルデータバッファ11のいずれかが選択され、この選択されたシリアルデータバッファ11に対し、このシリアルデータバッファ11に一時保存されるセンサデータ信号のビット数に対応する数のホストクロック信号が出力され、このホストクロック信号に同期して、前述した一時保存されるセンサデータ信号の各ビットがマルチプレクサ12bを介してMPU13に出力される。
That is, one of the serial data buffers 11 corresponding to each sensor is selected, and the selected serial data buffer 11 has a number corresponding to the number of bits of the sensor data signal temporarily stored in the serial data buffer 11. A host clock signal is output, and in synchronization with the host clock signal, each bit of the temporarily stored sensor data signal is output to the
マルチプレクサ12a,12bは、このデータ信号の各ビットの出力が完了したタイミングでMPU13からシリアルクロック信号を入力すると、各センサに対応するシリアルデータバッファ11のいずれかを新たに選択し、この選択したシリアルデータバッファ11とマルチプレクサ12a,12bの間で、前述したホストクロック信号とホストデータ信号の入出力がなされる。
When the
MPU13は、入力したホストデータ信号で示される測定データを文字コードに変換して、MPU13内のカードインタフェース13bを介してメモリカード15へ書き込んだり、MPU13内のシリアルポート13aを介してシリアルプリンタ14へ送信して印刷を行なわせたりする。
The
図2は、第1の実施形態における変位測定装置のシリアルデータバッファ内の構成例を示す図である。
図2に示すように、複数のシリアルデータバッファ11のそれぞれは、シフトレジスタ21、マルチプレクサ22、ヘッダデータメモリ23、比較器24、カウンタ25、レジスタ26、判定回路27を有する。
FIG. 2 is a diagram illustrating a configuration example in the serial data buffer of the displacement measuring apparatus according to the first embodiment.
As shown in FIG. 2, each of the plurality of serial data buffers 11 includes a
シフトレジスタ21は4bit構成であり、センサからの入力側からMPU13への出力側に向かって、測定データ小数点位置(BCDコード)を格納するためのシフトレジスタ21a、測定データの各桁を格納するためのシフトレジスタ21b,21c,…,21d,21e、符号を格納するためのシフトレジスタ21f、ヘッダデータを格納するためのシフトレジスタ21gが縦続接続されてなる。また、シフトレジスタ21fにはシフトレジスタ21hが縦続接続される。
The
シフトレジスタ21a,21b,21c,…,21d,21e,21fには、マルチプレクサ22が1対1で設けられる。このマルチプレクサ22は、対応するセンサからのシリアルクロック信号であるセンサクロック信号、およびMPU13側からのシリアルクロック信号であるホストクロック信号のいずれかを選択して、対応するシフトレジスタ21へ出力する。
The
マルチプレクサ22は、センサデータ信号をMPU13の出力する期間以外で、測定データ小数点位置(BCDコード)がシフトレジスタ21aに格納され、測定データの各桁がシフトレジスタ21b,21c,…,21d,21eに格納され、符号がシフトレジスタ21fへ格納され、ヘッダデータがシフトレジスタ21gに格納する期間ではセンサ側を選択して、この選択したセンサ側からのセンサクロック信号を入力して、対応するシフトレジスタ21に対して出力する。
The
これにより、センサ側から出力されたセンサデータ信号の各ビットは、センサクロック信号に同期してマルチプレクサ22を介してシフトレジスタ21に入力されて、シフトレジスタ21a,21b,21c,…,21d,21e,21f,21gの順でシフトされる。
Accordingly, each bit of the sensor data signal output from the sensor side is input to the
また、マルチプレクサ22は、センサデータ信号の最上位ビットから最下位ビットまでについてシフトレジスタ21への入力が完了した後でMPU13へ出力するべき所定の期間の開始タイミングとなるとMPU13側を選択してホストクロック信号を入力して、このホストクロック信号を、対応するシフトレジスタであるシフトレジスタ21a,21b,21c,…,21d,21e,21fに出力する。ホストクロック信号はシフトレジスタ21hにも入力される。
Further, the
これにより、シフトレジスタ21a,21b,21c,…,21d,21e,21fへ格納されたセンサデータ信号の各ビットは、ホストクロック信号に同期して、シフトレジスタ21a,21b,21c,…,21d,21e,21f,21hの順で、センサからの入力側からMPU13への出力側のシフトレジスタ21に向かってシフトされ、ホストデータ信号としてマルチプレクサ12bを介してMPU13へ出力される。
Thereby, each bit of the sensor data signal stored in the
比較器24は、センサデータ信号の最上位ビットから最下位ビットまでについてシフトレジスタ21からMPU13への出力を開始するべき所定のタイミングで、シフトレジスタ21gに格納されたヘッダデータとヘッダデータメモリ23に保存された所定のヘッダデータとを比較し、これらが一致したか否かの結果をフラグ情報としてシフトレジスタ21hに格納する。この格納されたフラグ情報は、ホストクロック信号に同期してマルチプレクサ12bを介してMPU13へ出力される。
The
また、センサ側から入力されたセンサクロック信号はカウンタ25によってカウントされる。判定回路27は、センサデータ信号の最上位ビットから最下位ビットまでについてシフトレジスタ21からMPU13への出力を開始するべき所定のタイミングで、カウンタ25によりカウントしたカウント数とレジスタ26に格納された所定のカウント数とを比較し、これらが一致したか否かの結果をフラグ情報としてシフトレジスタ21hに格納する。この格納されたフラグ情報は、ホストクロック信号に同期してマルチプレクサ12bを介してMPU13へ出力される。この所定のカウント数とは、センサデータ信号の最上位ビットから最下位ビットまでが正常に入力された場合にカウンタ25によりカウントされるべきカウント数である。
The sensor clock signal input from the sensor side is counted by the
また、判定回路27は、センサデータ信号の最上位ビットから最下位ビットまでについてシフトレジスタ21からMPU13への出力を開始するべき所定のタイミングで、カウンタ25によりカウントしたカウント数が0であるかどうか、つまりセンサが接続されていない状態で、信号が入力されない状態かどうかを判定した結果をフラグ情報としてシフトレジスタ21hに格納する。この格納されたフラグ情報は、ホストクロック信号に同期してマルチプレクサ12bを介してMPU13へ出力される。
In addition, the
図3は、第1の実施形態における変位測定装置による動作手順の一例を示すフローチャートである。
初期状態として、図1に示したマルチプレクサ12a,12bは、MPU13から所定のタイミングで入力したシリアルクロック信号に応じて、8つのセンサのいずれかに対応するシリアルデータバッファ11を選択しているとする。マルチプレクサ12aは、この選択したシリアルデータバッファ11に対し、ホストクロック信号を出力する。
FIG. 3 is a flowchart illustrating an example of an operation procedure performed by the displacement measuring apparatus according to the first embodiment.
As an initial state, the
選択されたセンサに対応するシリアルデータバッファ11のマルチプレクサ22は、センサデータ信号の最上位ビットから最下位ビットまでがシフトレジスタ21へ入力が完了するまではセンサ側を選択している。この選択された状態では、センサ側から出力されたセンサデータ信号の各ビットは、センサクロック信号に同期してシフトレジスタ21に入力されて、シフトレジスタ21a,21b,21c,…,21d,21e,21f,21gの順で、センサからの入力側からMPU13への出力側のシフトレジスタ21に向かってシフトされて格納されている(ステップS1)。
The
センサデータ信号の最上位ビットから最下位ビットまでについてシフトレジスタ21からMPU13への出力を開始するべき所定のタイミングとなると、選択されたセンサに対応するシリアルデータバッファ11のマルチプレクサ22は、MPU13側を選択する。これにより、縦続接続された21a,21b,21c,…,21d,21e,21fおよびシフトレジスタ21hはホストクロック信号を入力することができるようになる。
When the predetermined timing at which output from the
センサデータ信号の最上位ビットから最下位ビットまでシフトレジスタ21からMPU13への出力を開始するべき所定のタイミングとなると、比較器24は、シフトレジスタ21gに格納されたヘッダデータとヘッダデータメモリ23に保存された所定のヘッダデータとを比較する(ステップS2)。比較器24は、これらが一致していなければ(ステップS3のNO)、この結果を示すフラグ情報を生成して(ステップS8)、このフラグ情報をシフトレジスタ21hに格納する。この格納されたフラグ情報は、ホストクロック信号に同期してマルチプレクサ12bを介してMPU13へ出力される。
When it is time to start the output from the
比較器24による比較結果が一致している状態で(ステップS3のYES)、カウンタ25は、センサデータ信号の各ビットの入力を開始してからのカウント数を判定回路27に出力する(ステップS4)。判定回路27は、センサデータ信号の最上位ビットから最下位ビットまでについてシフトレジスタ21からMPU13への出力を開始するべき所定のタイミングとなっても、カウンタ25からのカウント数が0である場合(ステップS5のYES)、カウントなしを示すフラグ情報を生成して(ステップS9)、このフラグ情報をシフトレジスタ21hに格納する。この格納されたフラグ情報は、ホストクロック信号に同期してマルチプレクサ12bを介してMPU13へ出力される。
In a state where the comparison results by the
カウンタ25からのカウント数が0でない場合で(ステップS5のNO)、判定回路27は、カウンタ25からのカウント数が、レジスタ26に格納される所定のカウント数と一致しない場合(ステップS6のYES)、カウント数不一致を示すフラグ情報を生成して(ステップS10)、このフラグ情報をシフトレジスタ21hに格納する。
When the count number from the
この格納されたフラグ情報は、ホストクロック信号に同期してマルチプレクサ12bを介してMPU13へ出力される。ステップS3からS10までのヘッダデータ比較、カウントの有無の判定、カウント数の不一致の判定は、順番が前後しても差し支えない。
The stored flag information is output to the
また、カウンタ25からのカウント数が前述した所定のカウント数と一致している場合には(ステップS6のYES)、シフトレジスタ21a,21b,21c,…,21d,21e,21fへ格納されたセンサデータ信号の各ビットは、ホストクロック信号に同期して、シフトレジスタ21a,21b,21c,…,21d,21e,21f,21hの順でシフトされ、ホストデータ信号としてマルチプレクサ12bを介してMPU13へ出力される(ステップS7)。
If the count number from the counter 25 matches the above-mentioned predetermined count number (YES in step S6), the sensors stored in the
この出力が完了すると、図1に示したマルチプレクサ12a,12bは、MPU13からの所定のタイミングでのシリアルクロック信号に同期して、別のセンサのいずれかに対応するシリアルデータバッファ11を改めて選択する。マルチプレクサ12aは、この選択したシリアルデータバッファ11に対してホストクロック信号を出力する。この出力後は前述したS1以降の動作に移る。このようにして、8つのセンサのそれぞれについてのS1からS10の動作がなされ、一巡すると、再び各センサについてのS1からS10の動作がなされる。
When this output is completed, the
以上説明したように、第1の実施形態における変位測定装置では、各センサからのセンサデータ信号を、他のセンサのセンサクロック信号の出力タイミングとは関係なく、各センサに対応するシリアルデータバッファ11に独立して格納する構成としている。また、この格納された後で、マルチプレクサ12により、各センサに対応するシリアルデータバッファ11を選択して、この選択したシリアルデータバッファ11に格納されるデータをホストデータ信号としてMPU13に出力する構成としている。
As described above, in the displacement measuring apparatus according to the first embodiment, the sensor data signal from each sensor is sent to the serial data buffer 11 corresponding to each sensor regardless of the output timing of the sensor clock signal of the other sensor. Are stored independently. Further, after the storage, the multiplexer 12 selects the serial data buffer 11 corresponding to each sensor, and outputs the data stored in the selected serial data buffer 11 to the
よって、各センサ間でクロック信号の出力タイミングが非同期である多数のセンサによる変位計測を同時に行なって、変位計測結果を適切にMPUに取り込み、この変位計測結果を電子媒体に記録したり印刷したりすることが容易に実現できるという優れた効果を奏する。 Therefore, displacement measurement by multiple sensors whose clock signal output timings are asynchronous between the sensors is simultaneously performed, the displacement measurement result is appropriately captured in the MPU, and the displacement measurement result is recorded or printed on an electronic medium. There is an excellent effect that it can be easily realized.
また、シリアルデータバッファ11においては、各センサからのデータ信号を確実に格納することができるだけでなく、各センサから出力されたデータ信号が異常な状態を検出したり、センサが接続されていない状態であることを検出したりすることができる。 In the serial data buffer 11, not only can the data signal from each sensor be stored reliably, but the data signal output from each sensor detects an abnormal state or the sensor is not connected. It can be detected.
(第2の実施形態)
次に、第2の実施形態について説明する。なお、以下の各実施形態における変位測定装置の構成のうち第1の実施形態で説明した部分と同一部分の説明は省略する。
本実施形態では、各センサに対応するシリアルデータバッファ11内のシフトレジスタをセンサ側とMPU出力側にそれぞれ具備し、センサ側のシフトレジスタはセンサクロック信号に同期してセンサデータ信号を入力して格納する。
(Second Embodiment)
Next, a second embodiment will be described. In addition, the description of the same part as the part demonstrated in 1st Embodiment among the structures of the displacement measuring apparatus in each following embodiment is abbreviate | omitted.
In this embodiment, the shift register in the serial data buffer 11 corresponding to each sensor is provided on the sensor side and the MPU output side, respectively, and the sensor side shift register inputs the sensor data signal in synchronization with the sensor clock signal. Store.
センサ側のシフトレジスタへのセンサデータ信号の格納が完了した後、この格納されたデータはロード信号の入力に伴ってMPU側のシフトレジスタにロードされる。そして、この格納されたセンサデータ信号は、ホストクロック信号に同期してMPU13に出力される。
After storing the sensor data signal in the sensor-side shift register is completed, the stored data is loaded into the MPU-side shift register in accordance with the input of the load signal. The stored sensor data signal is output to the
図4は、第2の実施形態における変位測定装置のシリアルデータバッファ内の構成例を示す図である。
第2の実施形態における変位測定装置の複数のシリアルデータバッファ11のそれぞれは、センサ側のシフトレジスタ21、ヘッダデータメモリ23、比較器24、カウンタ25、レジスタ26、判定回路27、MPU側のシフトレジスタ31を有する。
FIG. 4 is a diagram illustrating a configuration example in the serial data buffer of the displacement measuring apparatus according to the second embodiment.
Each of the plurality of serial data buffers 11 of the displacement measuring apparatus according to the second embodiment includes a
センサ側のシフトレジスタ21の構成は、第1の実施形態と同様である。また、MPU側のシフトレジスタ31は、センサ側のシフトレジスタ21と同じく4bit構成であり、センサからの入力側からMPU13への出力側に向かって、測定データ小数点位置(BCDコード)を格納するためのシフトレジスタ31a、測定データの各桁を格納するためのシフトレジスタ31b,31c,…,31d,31e、符号を格納するためのシフトレジスタ31fが縦続接続される。また、シフトレジスタ31fにはシフトレジスタ31gが縦続接続され、シフトレジスタ21hはシフトレジスタ31gに縦続接続される。
The configuration of the
センサ側のシフトレジスタ21a,21b,21c,…,21d,21e,21fには、MPU側のシフトレジスタ31a,31b,31c,…,31d,31e,31fが1対1で縦続接続される。
The sensor-
本実施形態では、センサデータ信号の最上位ビットから最下位ビットまでがセンサ側のシフトレジスタ21からMPU13への出力を開始するべき所定のタイミングになると、MPU13は、MPU側のシフトレジスタ31a,31b,31c,…,31d,31e,31fおよびシフトレジスタ31gにロード信号を出力する。このロード信号は、センサ側のシフトレジスタ21a,21b,21c,…,21d,21e,21fに格納されるデータを、MPU側のシフトレジスタ31a,31b,31c,…,31d,31e,31fにロードするための信号である。
In the present embodiment, when the most significant bit to the least significant bit of the sensor data signal comes to a predetermined timing at which output from the
このロード信号は、マルチプレクサ12aが、センサデータ信号の最上位ビットから最下位ビットまでがセンサ側のシフトレジスタ21からMPU13への出力を開始するべき所定のタイミングでMPU13からシリアルクロック信号を入力したことにともなって、マルチプレクサ12aが出力するようにしてもよい。
As for this load signal, the
これにより、対応するシフトレジスタ21a,21b,21c,…,21d,21e,21fへ格納されたセンサデータ信号の各ビットは、MPU側のシフトレジスタ31a,31b,31c,…,31d,31e,31fによりロードされて格納される。
Thereby, each bit of the sensor data signal stored in the
このようにMPU側のシフトレジスタ31に格納されたセンサデータ信号は、ホストクロック信号に同期して、シフトレジスタ31a,31b,31c,…,31d,31e,31f,31gの順でシフトされ、ホストデータ信号としてマルチプレクサ12bを介してMPU13へ出力される。比較器24や判定回路27の動作は、第1の実施形態と同様である。
Thus, the sensor data signal stored in the
図5は、第2の実施形態における変位測定装置による動作手順の一例を示すフローチャートである。
初期状態として、図1に示したマルチプレクサ12a,12bは、MPU13から所定のタイミングで入力したシリアルクロック信号に応じて、8つのセンサのいずれかに対応するシリアルデータバッファ11を選択しているとする。マルチプレクサ12aは、この選択したシリアルデータバッファ11に対し、ホストクロック信号を出力する。
FIG. 5 is a flowchart illustrating an example of an operation procedure performed by the displacement measuring apparatus according to the second embodiment.
As an initial state, the
選択されたセンサ側から出力されたセンサデータ信号の各ビットは、センサクロック信号に同期してシフトレジスタ21に入力されて、シフトレジスタ21a,21b,21c,…,21d,21e,21f,21gの順で、センサからの入力側からMPU13への出力側のシフトレジスタ21に向かってシフトされる(ステップS21)。
Each bit of the sensor data signal output from the selected sensor side is input to the
センサデータ信号の最上位ビットから最下位ビットまでについてシフトレジスタ21からMPU13への出力を開始するべき所定のタイミングとなると、比較器24は、シフトレジスタ21gに格納されたヘッダデータとヘッダデータメモリ23に保存された所定のヘッダデータとを比較する(ステップS22)。比較器24は、これらが一致していなければ(ステップS23のNO)、この結果を示すフラグ情報を生成して(ステップS30)、このフラグ情報を、シフトレジスタ21hを介してシフトレジスタ31gに格納する。この格納されたフラグ情報は、ホストクロック信号に同期してマルチプレクサ12bを介してMPU13へ出力される。
When it is time to start output from the
比較器24による比較結果が一致している状態で(ステップS23のYES)、カウンタ25は、センサデータ信号の各ビットについてのシフトレジスタ21への入力を開始してからのカウント数を判定回路27に出力する(ステップS24)。判定回路27は、センサデータ信号の最上位ビットから最下位ビットまでについてのシフトレジスタ21からMPU13への出力を開始するべき所定のタイミングとなってもカウンタ25からのカウント数が0である場合(ステップS25のYES)、カウントなしを示すフラグ情報を生成して(ステップS31)、このフラグ情報を、シフトレジスタ21hを介してシフトレジスタ31gに格納する。この格納されたフラグ情報は、ホストクロック信号に同期してマルチプレクサ12bを介してMPU13へ出力される。
In a state in which the comparison results by the
カウンタ25からのカウント数が0でない場合で(ステップS25のNO)、判定回路27は、カウンタ25からのカウント数が、レジスタ26に格納される所定のカウント数と一致しない場合(ステップS26のYES)、カウント数不一致を示すフラグ情報を生成して(ステップS32)、このフラグ情報を、シフトレジスタ21hを介してシフトレジスタ31gに格納する。この格納されたフラグ情報は、ホストクロック信号に同期してマルチプレクサ12bを介してMPU13へ出力される。以上説明したヘッダデータ比較、カウントの有無の判定、カウント数の不一致の判定は、順番が前後しても差し支えない。
When the count number from the
また、カウンタ25からのカウント数がレジスタ26に格納される所定のカウント数と一致している場合には(ステップS26のYES)、シフトレジスタ31a,31b,31c,…,31d,31e,31fは、ロード信号の入力にともない(ステップS27)、対応するシフトレジスタ21a,21b,21c,…,21d,21e,21fに格納されたセンサデータ信号の各ビットをホストクロック信号に同期してパラレルにてロードして、対応するシフトレジスタ31a,31b,31c,…,31d,31e,31fに格納する(ステップS28)。
When the count number from the counter 25 matches the predetermined count number stored in the register 26 (YES in step S26), the
シフトレジスタ31a,31b,31c,…,31d,31e,31fに格納されたセンサデータ信号は、ホストクロック信号に同期して、シフトレジスタ31a,31b,31c,…,31d,31e,31f,31gの順に沿ってシフトされ、ホストデータ信号としてマルチプレクサ12bを介してMPU13へ出力される(ステップS29)。
The sensor data signals stored in the
この出力が完了すると、図1に示したマルチプレクサ12a,12bは、MPU13からの所定のタイミングでのシリアルクロック信号に同期して、別のセンサのいずれかに対応するシリアルデータバッファ11を改めて選択する。マルチプレクサ12aは、この選択したシリアルデータバッファ11に対してホストクロック信号を出力する。この出力後は前述したS21以降の動作に移る。このようにして、8つのセンサのそれぞれについてのS21からS32の動作がなされ、一巡すると、再び各センサについてのS21からS32の動作がなされる。
When this output is completed, the
以上説明したように、第2の実施形態における変位測定装置では、第1の実施形態で説明した特徴に加え、センサからセンサ側のシフトレジスタ21に格納したセンサデータ信号をMPU側のシフトレジスタ31にロードする構成としたことを特徴としている。このような構成とすれば、シフトレジスタ31に格納されたセンサデータ信号をMPU13に出力しながら、別のセンサからのセンサデータ信号をシフトレジスタ21に格納する事ができるようになる。
As described above, in the displacement measuring apparatus according to the second embodiment, in addition to the features described in the first embodiment, the sensor data signal stored in the sensor-
第1の実施形態では、シフトレジスタ21に、別のセンサからのセンサデータ信号を格納するには、シフトレジスタ21に既に格納されているセンサデータ信号の各ビットをシフトさせてMPU13へ出力する必要があったが、本実施形態では、シフトレジスタ21に既に格納されているセンサデータ信号をパラレルにてシフトレジスタ31へロードすれば、このシフトレジスタ21に対し、別のセンサからのセンサデータ信号を格納することができるようになる。
In the first embodiment, in order to store a sensor data signal from another sensor in the
したがって、第1の実施形態と比較して、マルチプレクサ12a,12bによる各センサに対応するシリアルデータバッファ11の選択の間隔を半分にすることができるので、センサからMPU13へのセンサデータ信号の出力のスループットが向上し、より多数のセンサのそれぞれからのセンサデータ信号をシフトレジスタに格納してMPU13に出力することが可能となる。
Therefore, compared with the first embodiment, the selection interval of the serial data buffer 11 corresponding to each sensor by the
(第3の実施形態)
次に、第3の実施形態について説明する。
図6は、第3の実施形態における変位測定装置のシリアルデータバッファ内の構成例を示す図である。
第3の実施形態における変位測定装置は、第2の実施形態で説明した4bit構成のシフトレジスタ31a,31b,31c,…,31d,31e,31f,31gに替えて、8bit構成のシフトレジスタ41a,41b,41c,…,41d,41e,41f,41gを備える。また、本実施形態では、4bitの固定データを格納する固定データレジスタ42を備える。
(Third embodiment)
Next, a third embodiment will be described.
FIG. 6 is a diagram illustrating a configuration example in the serial data buffer of the displacement measuring apparatus according to the third embodiment.
The displacement measuring apparatus according to the third embodiment replaces the 4-
固定データレジスタ42は、4bitの固定データをシフトレジスタ41a,41b,41c,…,41d,41e,41f,41gにより格納するための上位4bitのデータとして出力する。以下、必要に応じて、シフトレジスタ41a,41b,41c,…,41d,41e,41f,41gを単にシフトレジスタ41と称する。
The fixed data register 42 outputs 4-bit fixed data as upper 4-bit data to be stored by the
本実施形態では、シフトレジスタ41は、シフトレジスタ21に格納されたセンサデータ信号を、このシフトレジスタ41に格納するための下位4bitのデータとしてロードする。また、シフトレジスタ41は、固定データレジスタ42に格納された固定データ(0011)をロードし、この固定データを、このシフトレジスタ41に格納するための上位4bitのデータとし、このデータに対し前述した下位4bitのデータをあわせた計8bitの信号をMPU13に出力する。このような出力を行なえば、シフトレジスタ41は、出力データをASCII形式のキャラクタコードとして出力することができる。
In the present embodiment, the
図7は、第3の実施形態における変位測定装置による動作手順の一例を示すフローチャートである。
初期状態として、図1に示したマルチプレクサ12a,12bは、MPU13から所定のタイミングで入力したシリアルクロック信号に応じて、8つのセンサのいずれかに対応するシリアルデータバッファ11を選択しているとする。マルチプレクサ12aは、この選択したシリアルデータバッファ11に対し、ホストクロック信号を出力する。
FIG. 7 is a flowchart illustrating an example of an operation procedure performed by the displacement measuring apparatus according to the third embodiment.
As an initial state, the
選択されたセンサ側から出力されたセンサデータ信号の各ビットは、センサクロック信号に同期してシフトレジスタ21に入力されて、シフトレジスタ21a,21b,21c,…,21d,21e,21f,21gの順で、センサからの入力側からMPU13への出力側のシフトレジスタ21に向かってシフトされる(ステップS41)。
Each bit of the sensor data signal output from the selected sensor side is input to the
センサデータ信号の最上位ビットから最下位ビットまでについてシフトレジスタ21からMPU13への出力を開始するべき所定のタイミングとなると、比較器24は、シフトレジスタ21gに格納されたヘッダデータとヘッダデータメモリ23に保存された所定のヘッダデータとを比較する(ステップS42)。比較器24は、これらが一致していなければ(ステップS43のNO)、この結果を示すフラグ情報を生成して(ステップS51)、このフラグ情報を、シフトレジスタ21hを介してシフトレジスタ41gに下位4bitのデータとして格納する。
When it is time to start output from the
この格納されたフラグ情報に対して、固定データレジスタ42に格納された固定データを上位4bitのデータとしてあわせた8bitのデータは、ホストクロック信号に同期してマルチプレクサ12bを介してMPU13へ出力される。
The 8-bit data obtained by combining the stored flag information with the fixed data stored in the fixed data register 42 as the upper 4-bit data is output to the
比較器24による比較結果が一致している状態で(ステップS43のYES)、カウンタ25は、センサデータ信号の各ビットの入力を開始してからのカウント数を判定回路27に出力する(ステップS44)。判定回路27は、センサデータ信号の最上位ビットから最下位ビットまでについてシフトレジスタ21からMPU13への出力を開始するべき所定のタイミングとなっても、カウンタ25からのカウント数が0である場合(ステップS45のYES)、カウントなしを示すフラグ情報を生成して(ステップS52)、このフラグ情報を、シフトレジスタ21hを介してシフトレジスタ41gに下位4bitのデータとして格納する。
In a state where the comparison results by the
この格納されたフラグ情報に対して、固定データレジスタ42に格納された固定データを上位4bitのデータとしてあわせた8bitのデータは、ホストクロック信号に同期してマルチプレクサ12bを介してMPU13へ出力される。
The 8-bit data obtained by combining the stored flag information with the fixed data stored in the fixed data register 42 as the upper 4-bit data is output to the
カウンタ25からのカウント数が0でない場合で(ステップS45のNO)、判定回路27は、カウンタ25からのカウント数が、レジスタ26に格納される所定のカウント数と一致しない場合(ステップS46のYES)、カウント数不一致を示すフラグ情報を生成して(ステップS53)、このフラグ情報を、シフトレジスタ21hを介してシフトレジスタ41gに下位4bitのデータとして格納する。
If the count number from the
この格納されたフラグ情報に対して、固定データレジスタ42に格納された固定データを上位4bitのデータとしてあわせた8bitのデータは、ホストクロック信号に同期してマルチプレクサ12bを介してMPU13へ出力される。以上説明したヘッダデータ比較、カウントの有無の判定、カウント数の不一致の判定は、順番が前後しても差し支えない。
The 8-bit data obtained by combining the stored flag information with the fixed data stored in the fixed data register 42 as the upper 4-bit data is output to the
また、カウンタ25からのカウント数が所定のカウント数と一致している場合には(ステップS46のYES)、シフトレジスタ41a,41b,41c,…,41d,41e,41fは、ロード信号の入力にともない(ステップS47)、対応するシフトレジスタ21a,21b,21c,…,21d,21e,21fへ格納されたセンサデータ信号の各ビットをホストクロック信号に同期してパラレルにてロードして、対応するシフトレジスタ41a,41b,41c,…,41d,41e,41fに下位4bitのデータとして格納する(ステップS48)。
If the count number from the
シフトレジスタ21a,21b,21c,…,21d,21e,21fからシフトレジスタ41a,41b,41c,…,41d,41e,41fに格納された下位4bitのデータおよび固定データレジスタ42に格納された固定データを上位4bitのデータとしてあわせた8bitのデータは、ホストクロック信号に同期して、シフトレジスタ41a,41b,41c,…,41d,41e,41f,41gの順に沿ってシフトされ、ホストデータ信号としてマルチプレクサ12bを介してMPU13へ出力される(ステップS49)。
.., 21d, 21e, 21f to shift
この出力が完了すると、図1に示したマルチプレクサ12a,12bは、MPU13からの所定のタイミングでのシリアルクロック信号に同期して、別のセンサのいずれかに対応するシリアルデータバッファ11を改めて選択する。マルチプレクサ12aは、この選択したシリアルデータバッファ11に対してホストクロック信号を出力する。この出力後は前述したS41以降の動作に移る。このようにして、8つのセンサのそれぞれについてのS41からS53の動作がなされ、一巡すると、再び各センサについてのS41からS53の動作がなされる。
When this output is completed, the
以上説明したように、第3の実施形態における変位測定装置では、第2の実施形態で説明した特徴に加え、MPU側のシフトレジスタ41は、シフトレジスタ21に格納されたセンサデータ信号を、シフトレジスタ41の下位4bitのデータとしてロードする。また、シフトレジスタ41は、固定データレジスタ42に格納された固定データをロードし、これらをあわせた8bitの信号をMPU13に出力する。このような出力を行なうと、出力データはASCII形式のキャラクタコードとして出力でき、MPUにデータが出力される時点でASCII形式のキャラクタコードの状態とすることができる。
As described above, in the displacement measuring apparatus according to the third embodiment, in addition to the features described in the second embodiment, the
このことから、MPU13からメモリカード15へのデータ書き込みやシリアルプリンタ14への出力が、従来のように、MPU13内のソフトウェアによる処理で動作させるよりも高速に処理することができるため、より多数のセンサを接続した変位計測が可能となる。
As a result, data writing from the
これらの各実施形態によれば、複数の変位センサのそれぞれからの変位データ信号を入力して適切に出力することが可能になる変位測定装置を提供することができる。
発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。
According to each of these embodiments, it is possible to provide a displacement measuring device that can input and appropriately output displacement data signals from each of a plurality of displacement sensors.
Although several embodiments of the invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.
11…シリアルデータバッファ、12,22,104…マルチプレクサ、13,105…MPU、14…シリアルプリンタ、15…メモリカード、21,31,41,111…シフトレジスタ、23…ヘッダデータメモリ、24…比較器、25…カウンタ、26…レジスタ、27…判定回路、42…固定データレジスタ。
DESCRIPTION OF SYMBOLS 11 ... Serial data buffer, 12, 22, 104 ... Multiplexer, 13, 105 ... MPU, 14 ... Serial printer, 15 ... Memory card, 21, 31, 41, 111 ... Shift register, 23 ... Header data memory, 24 ...
Claims (7)
前記一時保存装置のいずれかを順次選択し、前記選択した一時保存装置に保存された変位データ信号を所定のクロック信号に同期してシリアルデータとして出力する出力手段と
を備えたことを特徴とする変位測定装置。 Provided corresponding to each of the plurality of displacement sensors, the displacement data signal output from each of the displacement sensors is input as serial data in synchronization with the clock signal from the displacement sensor from which the displacement data signal is output. A temporary storage device for temporary storage;
Output means for sequentially selecting any one of the temporary storage devices and outputting the displacement data signal stored in the selected temporary storage device as serial data in synchronization with a predetermined clock signal; Displacement measuring device.
前記変位センサからの変位データ信号を前記変位データ信号の出力元の変位センサからのクロック信号に同期してシリアルデータとして入力して一時保存するために前記変位データ信号のビット数に応じて設けられる第1のシフトレジスタと、
前記第1のシフトレジスタに一時保存された変位データ信号を読み出して一時保存するために前記変位データ信号のビット数に応じて設けられる第2のシフトレジスタとを有し、
前記出力手段は、
前記選択した一時保存装置の前記第2のシフトレジスタに保存された変位データ信号を前記所定のクロック信号に同期してシリアルデータとして出力する
ことを特徴とする請求項1に記載の変位測定装置。 The temporary storage device is:
The displacement data signal from the displacement sensor is provided in accordance with the number of bits of the displacement data signal to be temporarily stored as serial data in synchronization with a clock signal from the displacement sensor that is the output source of the displacement data signal. A first shift register;
A second shift register provided in accordance with the number of bits of the displacement data signal to read out and temporarily store the displacement data signal temporarily stored in the first shift register;
The output means includes
The displacement measuring device according to claim 1, wherein the displacement data signal stored in the second shift register of the selected temporary storage device is output as serial data in synchronization with the predetermined clock signal.
前記変位センサからの変位データ信号を前記変位データ信号の出力元の変位センサからのクロック信号に同期してシリアルデータとして入力して一時保存するために前記変位データ信号のビット数に応じて設けられる第1のシフトレジスタと、
前記第1のシフトレジスタに一時保存された変位データ信号を読み出して一時保存するために前記変位データ信号のビット数に応じて設けられる第2のシフトレジスタと、
所定の値の所定のビット数のデータを保存するデータ保存手段とを有し、
前記出力手段は、
前記選択した一時保存装置の前記第2のシフトレジスタに保存された変位データ信号をシリアルデータの下位ビットとして、かつ、前記前記データ保存手段に保存されたデータを前記シリアルデータの上位ビットとしたデータをシリアルデータとして出力する
ことを特徴とする請求項1に記載の変位測定装置。 The temporary storage device is:
The displacement data signal from the displacement sensor is provided in accordance with the number of bits of the displacement data signal to be temporarily stored as serial data in synchronization with a clock signal from the displacement sensor that is the output source of the displacement data signal. A first shift register;
A second shift register provided according to the number of bits of the displacement data signal to read out and temporarily store the displacement data signal temporarily stored in the first shift register;
Data storage means for storing data of a predetermined number of bits of a predetermined value,
The output means includes
Data with the displacement data signal stored in the second shift register of the selected temporary storage device as the lower bits of serial data and the data stored in the data storage means as the upper bits of the serial data The displacement measuring device according to claim 1, wherein the data is output as serial data.
前記変位センサからのクロック信号が入力されていない際に、前記変位センサからのクロック信号の出力状態が異常である旨を示す信号を出力する
ことを特徴とする請求項1に記載の変位測定装置。 The temporary storage device is:
2. The displacement measuring apparatus according to claim 1, wherein when the clock signal from the displacement sensor is not input, a signal indicating that the output state of the clock signal from the displacement sensor is abnormal is output. .
前記変位センサからの変位データ信号で示されるヘッダ情報が正常でない際に、前記変位センサからの変位データ信号の出力状態が異常である旨を示す信号を出力する
ことを特徴とする請求項1に記載の変位測定装置。 The temporary storage device is:
The signal indicating that the output state of the displacement data signal from the displacement sensor is abnormal is output when the header information indicated by the displacement data signal from the displacement sensor is not normal. The displacement measuring device described.
前記変位センサからの変位データ信号の最上位ビットから最下位ビットまでを入力しても、前記変位センサからのクロック信号の入力数が所定の条件を満たしていない際に、前記変位センサからの信号の出力状態が異常である旨を示す信号を出力する
ことを特徴とする請求項1に記載の変位測定装置。 The temporary storage device is:
Even when the most significant bit to the least significant bit of the displacement data signal from the displacement sensor is input, when the number of clock signals input from the displacement sensor does not satisfy a predetermined condition, the signal from the displacement sensor The displacement measuring apparatus according to claim 1, wherein a signal indicating that the output state is abnormal is output.
前記一時保存装置のいずれかを順次選択し、前記選択した一時保存装置に保存された変位データ信号を所定のクロック信号に同期してシリアルデータとして出力する
ことを特徴とする変位測定方法。 In a temporary storage device provided corresponding to each of the plurality of displacement sensors, the displacement data signal output from each of the displacement sensors is serialized in synchronization with the clock signal from the displacement sensor from which the displacement data signal is output. As a temporary save,
One of the temporary storage devices is sequentially selected, and a displacement data signal stored in the selected temporary storage device is output as serial data in synchronization with a predetermined clock signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012137316A JP2014002034A (en) | 2012-06-18 | 2012-06-18 | Displacement measuring device and displacement measuring method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012137316A JP2014002034A (en) | 2012-06-18 | 2012-06-18 | Displacement measuring device and displacement measuring method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2014002034A true JP2014002034A (en) | 2014-01-09 |
Family
ID=50035341
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012137316A Pending JP2014002034A (en) | 2012-06-18 | 2012-06-18 | Displacement measuring device and displacement measuring method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2014002034A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017150854A (en) * | 2016-02-22 | 2017-08-31 | 三菱日立パワーシステムズ株式会社 | Displacement measurement system, turbine facility, and displacement measurement method |
KR20180097118A (en) * | 2017-02-22 | 2018-08-30 | 오므론 가부시키가이샤 | Optical displacement sensor and system indluding the same |
-
2012
- 2012-06-18 JP JP2012137316A patent/JP2014002034A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017150854A (en) * | 2016-02-22 | 2017-08-31 | 三菱日立パワーシステムズ株式会社 | Displacement measurement system, turbine facility, and displacement measurement method |
KR20180097118A (en) * | 2017-02-22 | 2018-08-30 | 오므론 가부시키가이샤 | Optical displacement sensor and system indluding the same |
KR102124099B1 (en) * | 2017-02-22 | 2020-06-17 | 오므론 가부시키가이샤 | Optical displacement sensor and system indluding the same |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2012026824A (en) | Sensing device and electronic apparatus | |
US9438837B2 (en) | Image sensor and image sensing system with redundant data | |
US9654716B2 (en) | Image pickup apparatus, image pickup system, driving method for the image pickup apparatus, and inspection method for the image pickup apparatus | |
JP2005233720A (en) | Encoder and control device of motor | |
JP2014002034A (en) | Displacement measuring device and displacement measuring method | |
KR101787824B1 (en) | Operating a fifo memory | |
JP5097973B2 (en) | Data processing device | |
JP6113691B2 (en) | Sensor device, processing device, sensor system, and physical quantity output method | |
JP2012023564A (en) | Image processing apparatus | |
US20080111715A1 (en) | Serial data receiving circuit and serial data receiving method | |
US20120249345A1 (en) | Data processing device and data processing method | |
JP4679230B2 (en) | Digital phasing ultrasonic equipment | |
US8285695B2 (en) | Catalog page generation system, digital camera, computer program product, and method for catalog page generation | |
JP2009128080A (en) | Waveform measuring device | |
CN107734366B (en) | Receiving apparatus and transmitting/receiving system | |
JP5494702B2 (en) | Cell voltage monitoring device | |
JP4773262B2 (en) | Weighing device | |
JP5423071B2 (en) | Data transfer device and imaging device | |
JP2020046363A (en) | Waveform display device and waveform display program | |
JP2015080123A (en) | Imaging apparatus, imaging system, method for controlling imaging apparatus, program, and recording medium | |
JP4423280B2 (en) | Analog output signal holding device | |
KR100715561B1 (en) | Data transfer device using dual port ram | |
JP2007147405A (en) | Anomaly monitoring apparatus | |
JP2009239954A (en) | Cycle shift detection device between serial data | |
JP2009010532A (en) | Color conversion processor and color conversion method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20131219 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20131226 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20140109 |