JP7025962B2 - Analog equipment meter reading system and method - Google Patents
Analog equipment meter reading system and method Download PDFInfo
- Publication number
- JP7025962B2 JP7025962B2 JP2018048125A JP2018048125A JP7025962B2 JP 7025962 B2 JP7025962 B2 JP 7025962B2 JP 2018048125 A JP2018048125 A JP 2018048125A JP 2018048125 A JP2018048125 A JP 2018048125A JP 7025962 B2 JP7025962 B2 JP 7025962B2
- Authority
- JP
- Japan
- Prior art keywords
- scale
- information
- analog
- value
- code
- 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.)
- Active
Links
Images
Landscapes
- Recording Measured Values (AREA)
Description
本発明は、アナログ計器や開閉弁などの各種アナログ機器における現在の状態を指し示す指針の指示位置を検針するアナログ機器検針システム及び方法に関するものである。 The present invention relates to an analog device meter reading system and a method for reading a meter reading position of a pointer indicating a current state in various analog devices such as an analog instrument and an on-off valve.
例えば工場プラント内に設置される圧力計や電圧計などのアナログ計器や開閉弁などのアナログ機器において、指針が指し示す指示値(測定値)や各種状態(開閉状態)を記録する場合、作業員が計器の指示値を目視で読み取り、その指示値を紙の点検シートに記録する又は携帯機器に入力する手法が一般的である。 For example, in analog instruments such as pressure gauges and voltmeters installed in factory plants and analog equipment such as on-off valves, when recording the indicated value (measured value) and various states (opening / closing state) indicated by the pointer, the worker A general method is to visually read the reading of the instrument and record the reading on a paper inspection sheet or input it to a portable device.
しかし、アナログ機器の設置位置が目線よりも高い場合や工場に設置された機器の隙間に配置されているような場合、作業員が指示値を読み取るのが難しく、また読み取った指示値の入力に時間がかかるなど検針に係る作業効率が悪いという問題があった。また、検針の際に、作業員が指針の指示値を読み間違えたり、読み取った数値の入力ミスをするなどのヒューマンエラーが起こってしまうという問題がある。 However, if the installation position of the analog equipment is higher than the line of sight or if it is placed in the gap of the equipment installed in the factory, it is difficult for the worker to read the indicated value, and the read instruction value can be input. There was a problem that the work efficiency related to meter reading was poor, such as taking time. Further, at the time of meter reading, there is a problem that a human error occurs such that the worker misreads the indicated value of the guideline or makes an input error of the read numerical value.
そこで、上記問題を解決するため、下記特許文献1には、事前に計器の形状パターンや種類を紐付けた状態で保存しておき、検査時に撮像した画像と予め記憶させた形状パターンとを重畳させて指示値を取得するシステムが提案されている。
Therefore, in order to solve the above problem, the following
しかしながら、生産ライン完成品検査のための特許文献1のシステムでは、予め撮像する形状パターンは計器の表示面(指針や目盛りが現れている面)を正面から撮像したものとなるが、実際に作業員が工場プラントの現場で点検する場合は、形状パターンと必ずしも同じ位置、同じ角度で計器が撮像できる保証がないため、撮像した画像と予め記憶する形状パターンとが一致しない場合は適切な指示値が取得できないという問題がある。
However, in the system of
そこで、本発明は、上記課題を鑑みてなされたものであり、アナログ機器の指針が指し示す指示値や各種状態を確実に読み取って作業効率化を図りつつ、ヒューマンエラーを防止することができるアナログ機器検針システム及び方法を提供することを目的としている。 Therefore, the present invention has been made in view of the above problems, and is an analog device capable of preventing human error while reliably reading the indicated values and various states indicated by the guidelines of the analog device to improve work efficiency. It is intended to provide a meter reading system and method.
上記した目的を達成するため、本発明の第1の態様は、測定対象のアナログ値を示す目盛り盤と、測定したアナログ値に応じて前記目盛り盤上を動く指示部とを有するアナログ機器を検針するアナログ機器検針システムであって、
前記アナログ機器を識別する機器情報と、前記アナログ機器の測定値の上下限の範囲を示す測定値範囲情報と、前記目盛り盤内に設定される目盛り領域の形状を特定する形状情報とを少なくとも含む機器特定情報と、矩形状のコードの3隅に位置検出パターンが配置されるQRコード(登録商標)が前記目盛り盤近傍に形成され、
前記目盛り盤と前記QRコード(登録商標)とが同一画像内に収まるように撮像する撮像手段と、
前記撮像手段で撮像された撮像画像を2値化処理した2値画像データを取得する2値化処理手段と、
前記撮像された撮像画像内のQRコード(登録商標)を解析して得られる機器特定情報に含まれる形状情報から前記2値画像データ内の目盛り領域の形状や配置位置を特定し、前記撮像画像上で前記位置検出パターンの2つのパターンの中心を通る一軸を基準として構成される直交座標系において、特定された前記目盛り領域内に存在する黒データの各ピクセルの相対座標を取得する座標取得手段と、
前記座標取得手段で取得した黒データの各ピクセルの相対座標を統計処理して前記目盛り領域内における前記指示部の位置を特定する位置特定手段と、
前記位置特定手段で特定された前記指示部の位置情報と、前記目盛り領域における上限値の位置情報及び下限値の位置情報に基づいて前記指示部が指示する目盛り盤上のアナログ値を数値に換算する換算手段と、
前記換算された数値を前記機器情報と関連付けして記憶する記憶手段と、
を備えたことを特徴とする、アナログ機器検針システムである。
In order to achieve the above object, the first aspect of the present invention is to read an analog device having a dial indicating an analog value to be measured and an indicator unit moving on the scale according to the measured analog value. It is an analog device meter reading system
It includes at least device information for identifying the analog device, measured value range information indicating a range of upper and lower limits of measured values of the analog device, and shape information for specifying the shape of a scale region set in the scale board. A device specific information and a QR code (registered trademark) in which position detection patterns are arranged at three corners of the rectangular code are formed in the vicinity of the dial.
An imaging means for imaging so that the scale and the QR code (registered trademark) fit within the same image.
A binarization processing means for acquiring binary image data obtained by binarizing an image captured by the imaging means, and a binarization processing means.
The shape and arrangement position of the scale region in the binary image data are specified from the shape information included in the device identification information obtained by analyzing the QR code (registered trademark) in the captured image, and the captured image is captured. Coordinate acquisition means for acquiring the relative coordinates of each pixel of the black data existing in the specified scale region in the Cartesian coordinate system configured above with reference to one axis passing through the center of the two patterns of the position detection pattern. When,
A position specifying means for statistically processing the relative coordinates of each pixel of the black data acquired by the coordinate acquiring means to specify the position of the indicating unit in the scale area, and a position specifying means.
The analog value on the scale board designated by the indicator is converted into a numerical value based on the position information of the indicator specified by the position specifying means, the position information of the upper limit value and the position information of the lower limit value in the scale area. Conversion means and
A storage means for storing the converted numerical value in association with the device information,
It is an analog device meter reading system characterized by being equipped with.
本発明に係る第2の態様は、測定対象のアナログ値を示す目盛り盤と、測定したアナログ値に応じて前記目盛り盤上を動く指示部とを有するアナログ機器を検針するアナログ機器検針方法であって、
前記アナログ機器を識別する機器情報と、前記アナログ機器における測定値の上下限の範囲を示す測定値範囲情報と、前記目盛り盤内に設定される目盛り領域の形状を特定する形状情報とを少なくとも含む機器特定情報と、矩形状のコードの3隅に位置検出パターンが配置されるQRコード(登録商標)を前記目盛り盤近傍に形成するステップと、
前記目盛り盤と前記QRコード(登録商標)とが同一画像内に収まるように撮像するステップと、
撮像された前記撮像画像を2値化処理した2値画像データを取得するステップと、
前記撮像された撮像画像内のQRコード(登録商標)を解析して得られる機器特定情報に含まれる形状情報から前記2値画像データ内の目盛り領域の形状や配置位置を特定し、前記撮像画像上で前記位置検出パターンの2つのパターンの中心を通る一軸を基準として構成される直交座標系において、特定された前記目盛り領域内に存在する黒データの各ピクセルの相対座標を取得するステップと、
前記取得した黒データの各ピクセルの相対座標を統計処理して前記目盛り領域内における前記指示部の位置を特定するステップと、
前記特定された前記指示部の位置情報と、前記目盛り領域における上限値の位置情報及び下限値の位置情報に基づいて前記指示部が指示する目盛り盤上のアナログ値を数値に換算するステップと、
前記換算された数値を前記機器情報と関連付けして記憶するステップと、
を有することを特徴とする、アナログ機器検針方法である。
A second aspect of the present invention is an analog device meter reading method for reading an analog device having a scale board showing an analog value to be measured and an instruction unit that moves on the scale board according to the measured analog value. hand,
It includes at least device information for identifying the analog device, measured value range information indicating a range of upper and lower limits of measured values in the analog device, and shape information for specifying the shape of a scale region set in the scale board. A step of forming device-specific information and a QR code (registered trademark) in which position detection patterns are arranged at three corners of a rectangular code in the vicinity of the dial.
A step of taking an image so that the scale and the QR code (registered trademark) fit in the same image.
A step of acquiring binary image data obtained by binarizing the captured image and
The shape and arrangement position of the scale region in the binary image data are specified from the shape information included in the device identification information obtained by analyzing the QR code (registered trademark) in the captured image, and the captured image is captured. In the Cartesian coordinate system configured above with reference to one axis passing through the center of the two patterns of the position detection pattern, the step of acquiring the relative coordinates of each pixel of the black data existing in the specified scale area, and
A step of statistically processing the relative coordinates of each pixel of the acquired black data to specify the position of the indicator in the scale area, and
A step of converting an analog value on a scale board designated by the instruction unit into a numerical value based on the position information of the specified instruction unit, the position information of the upper limit value and the position information of the lower limit value in the scale area. When,
A step of storing the converted numerical value in association with the device information,
It is an analog device meter reading method characterized by having.
本発明によれば、作業員が検針対象となるアナログ機器を撮像するだけで、自動的に指示部が指し示すアナログ値をデジタル化した測定値として取得することができるため、アナログ機器を検針する手間が省けるとともに、目視による測定値の読み間違いや点検ミス(記入漏れや機器識別の間違い)などのヒューマンエラーを未然に防止することができる。 According to the present invention, the worker can automatically acquire the analog value indicated by the indicator as a digitized measured value only by imaging the analog device to be meter-readed, so that it takes time and effort to read the analog device. It is possible to prevent human errors such as visual reading errors of measured values and inspection errors (missing entries and device identification errors).
以下、本発明を実施するための形態について、添付した図面を参照しながら詳細に説明する。 Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the attached drawings.
なお、本明細書に添付する図面は、図示と理解のしやすさの便宜上、適宜縮尺、縦横の寸法比、形状などについて、実物から変更し模式的に表現される場合があるが、あくまで一例であって、本発明の解釈を限定するものではない。従って、添付した図面を用いて説明する実施の形態により、本発明が限定されず、この形態に基づいて当業者などにより考え得る実施可能な他の形態、実施例及び運用技術などは全て本発明の範疇に含まれるものとする。 The drawings attached to this specification may be represented schematically by changing the scale, aspect ratio, shape, etc. from the actual product for convenience of illustration and comprehension. However, it does not limit the interpretation of the present invention. Therefore, the present invention is not limited to the embodiments described with reference to the attached drawings, and all other embodiments, examples, operational techniques, and the like that can be considered by those skilled in the art based on this embodiment are the present invention. It shall be included in the category of.
また、本明細書において、添付する各図を参照した以下の説明において、方向乃至位置を示すために上、下、左、右の語を使用した場合、これはユーザが各図を図示の通りに見た場合の上、下、左、右に一致する。 In addition, in the following description with reference to the attached figures in the present specification, when the terms up, down, left, and right are used to indicate directions or positions, this is as shown by the user as shown in each figure. Matches up, down, left, and right when viewed in.
本発明は、例えば工場プラントなどに設置される圧力計や電圧計などのアナログ計器、開閉弁や調節弁などの現在の状態を示す状態信号を外部出力する機能を備えていないアナログ機器100の検針を行うシステムであって、アナログ機器100の指針の位置を把握し、指針が指し示す状態情報(測定値や機器の状態を示す情報)を取得するシステムである。つまり、アナログ機器検針システム1は、作業員がアナログ機器100の設置箇所まで出向き、各機器に対する検針作業の効率化を図るための発明である。
The present invention is, for example, a meter reading of an
本発明の検針対象となるアナログ機器100とは、上述したように例えば工場プラントなどに設置される圧力計や電圧計などのアナログ計器や開閉弁などを指し、現在の状態を示す状態信号を外部出力する機能を備えていない機器である。また、アナログ機器100の指示部101とは、アナログ計器であれば目盛り盤上を測定量に応じて移動する指針であり、開閉弁であれば現在の状態(開放状態、閉塞状態)を示す指針片を指す。本実施形態では、アナログ機器100としてアナログ計器の例で説明する。
As described above, the
[システム構成]
まず、本実施形態のアナログ機器検針システム1の構成について説明する。
アナログ機器検針システム1は、撮像部10と、記憶部20と、画像処理部30とで構成され、アナログ機器100の表示領域である目盛り盤の近傍に形成された機器特定コード40を読み取り、この読み取った機器特定コード40を基に作成する仮想的な直交座標系から指示部101が指し示す現在の状態情報(指示値)を取得する。
[System configuration]
First, the configuration of the analog device
The analog device
<機器特定コード>
機器特定コード40は、アナログ機器100を特定するための機器特定情報がコード化されたものであり、アナログ機器100の目盛り盤近傍に形成されている。機器特定コード40は、アナログ機器100の目盛り盤近傍に形成されているため、指示部101が指し示している表示状態と一緒に撮像部10で撮像することができる。
<Device identification code>
The
機器特定コード40の形成方法としては、アナログ機器100を設置する際にシール状のものを貼着するのが効率的であるが、製造時に予め印刷処理を施して形成してもよい。機器特定コード40の形成位置としては、アナログ機器100の目盛り盤近傍であり、少なくとも指示部101が指し示す表示状態を撮像する際に同一画面上に収まる位置であればよい。よって、表示領域である目盛り盤に対するピントと機器特定コード40に対するピントが合うように、撮像される目盛り盤のサイズに合わせて機器特定コード40のサイズや形成位置が自ずと規定される。本実施形態では、目盛り盤に機器特定コード40を形成した構成とする。
As a method for forming the
また、機器特定コード40には、少なくとも3以上の位置検出パターン41が形成されている。この位置検出パターン41は、機器特定コード40の位置を特定して切り出すためのパターンであり、例えば機器特定コード40がQRコード(登録商標)の場合は、矩形状のコードの3隅に配置される四角形状の切り出しシンボルのことを指す。位置検出パターン41は、読み取ったどの位置からもセルの幅の比率(白セルと黒セルの比率)が規定されており、読み取り角度が正面ではなく回転してずれていたとしても、パターン位置の検出や位置関係から機器特定コード40の回転角度や傾きを認識することができる。
Further, at least three or more
本実施形態では、機器特定コード40として一般的に広く普及されているQRコード(登録商標)を使用する。
In this embodiment, a QR code (registered trademark) that is generally widely used as the
また、位置検出パターン41は、目盛り盤を撮像した際に目盛り盤上の目盛りの上下限位置や指示部101が指し示す位置を特定する相対座標を取得するための仮想的な直交座標系を作成する際に使用される。
Further, the
図2(a)には目盛り盤が円形のアナログ機器100を撮像した画像を模式的に示し、図2(b)には、撮像したアナログ機器100の撮像画像に画像処理部30が画像処理を施した模式図である。
図2(b)に示すように、画像処理部30は、この撮像画像に対して所定の画像処理を施して仮想的な直交座標系を作成する。図中に示すように、この撮像画像を平面視したときに、機器特定コード40における図中左右方向に並設される2つ位置検出パターン41の中心を通る座標軸をX軸(横軸)とし、図中上下方向に並設される2つの位置検出パターン41の中心を通る座標軸をY軸(縦軸)とし、X軸とY軸が直交する点を原点(0,0)とする直交座標系を作成する。画像処理部30は、この直交座標系における画像内の所定ピクセルの相対座標を取得する。
FIG. 2 (a) schematically shows an image obtained by capturing an image of an
As shown in FIG. 2B, the
機器特定コード40に含まれる機器特定情報は、アナログ機器100の種類や設置箇所に基づき設定された特定のタグ(機器情報)、アナログ機器100の測定値の上下限範囲を示す情報(測定値範囲情報)、目盛り盤内に設定される目盛り領域Eの形状が特定可能な情報(形状情報)、アナログ機器100の設置箇所を示す情報(設置箇所情報)などが含まれている。
The device identification information included in the
機器特定情報に含まれる形状情報は、目盛り盤上に設定される目盛り領域Eの形状を特定するための情報であり、位置検出パターン41から仮想的に作成した直交座標系に基づいて得られる相対座標により規定される。目盛り領域Eは、アナログ機器100毎に設定されるが、画像処理部30によって目盛り領域E内における指示部101が指し示す位置の特定が可能なように、目盛り領域E内に指示部101のような領域の幅方向に亘って連続する黒データが存在しない領域が設定される。
The shape information included in the device identification information is information for specifying the shape of the scale area E set on the scale board, and is relative obtained based on the Cartesian coordinate system virtually created from the
図2(b)に示すように、目盛り盤が円形のアナログ機器100の場合、目盛り盤が円形で目盛りが所定曲率の円弧に沿って所定間隔を空けて並列している構成であるため、撮像画像を平面視したときにその幅が目盛り盤上に配置される目盛りの基端から所定距離だけ内方に及ぶ略馬蹄形状の領域が目盛り領域E(図中のハッチング領域)となる。よって、図例では、目盛り領域Eの形状を特定するための情報として目盛り領域Eにおける円心座標(図中における座標(x1、y1)であり、指示部101の回転中心と同位置)、目盛り領域Eの外周半径r1と内周半径r2、目盛り領域Eの円心座標を水平方向(図中の左右方向)に通る仮想的な始線L1から目盛り領域Eの上下限値までの角度(つまり、指示部101の回転角に相当する始点角度θ0、終点角度θ1)などが形状特定に必要な情報となる。
As shown in FIG. 2B, in the case of the
また、図示しないが、目盛り盤が矩形状で目盛りが水平方向に並列している構成の場合、撮像画像を平面視したときにその幅が目盛り盤上に配置される目盛りの基端から所定距離下方に及ぶ横長の矩形状領域が目盛り領域Eとなる。よって、目盛り領域Eの形状を特定するための情報としては、上辺の座標(例えばY軸と上辺との交点の座標)、下辺の座標(例えばY軸と下辺との交点の座標)、目盛り領域Eにおける下限位置の相対座標(下限値の目盛りの基端位置の座標)及び目盛り領域Eにおける上限位置の相対座標(上限値の目盛りの基端位置の座標)などが形状特定に必要な情報となる。 Further, although not shown, when the scale is rectangular and the scales are arranged in parallel in the horizontal direction, the width thereof is a predetermined distance from the base end of the scale arranged on the scale when the captured image is viewed in a plane. The horizontally long rectangular area extending downward is the scale area E. Therefore, the information for specifying the shape of the scale area E includes the coordinates of the upper side (for example, the coordinates of the intersection of the Y axis and the upper side), the coordinates of the lower side (for example, the coordinates of the intersection of the Y axis and the lower side), and the scale area. The relative coordinates of the lower limit position in E (coordinates of the base end position of the scale of the lower limit value) and the relative coordinates of the upper limit position in the scale area E (coordinates of the base end position of the scale of the upper limit value) are the information necessary for shape identification. Become.
目盛り盤に作成される直交座標系から得られる相対座標は、撮像距離や撮像倍率、画像のピクセル数に応じてピクセル座標へのスケール変換の比率が決まる。そのため、例えばX軸上に並設される2つの位置検出パターン41の距離を「1.0」とし、X軸上に並設される2つの位置検出パターン41の距離を「1.0」とした場合、この距離をピクセル数に換算することで撮像画像上の取得対象となるピクセルの相対座標を求めることができる。
For the relative coordinates obtained from the Cartesian coordinate system created on the scale, the ratio of scale conversion to pixel coordinates is determined according to the imaging distance, imaging magnification, and the number of pixels in the image. Therefore, for example, the distance between the two
<撮像部>
撮像部10は、アナログ機器100の目盛り盤で指示部101が指し示した状態と、目盛り盤近傍に形成された機器特定コード40を撮像する手段である。撮像部10は、撮像した画像を加工処理するため、デジタルデータで取得する。そのため、撮像部10の構成として、移動端末(携帯電話、スマートフォン、ノートPC、タブレット端末など)に搭載されるカメラ機能やデジタルカメラなどを使用する。
<Image pickup unit>
The
撮像部10は、アナログ機器100の表示領域である目盛り盤と、機器特定コード40とが同一画面上に収まるように操作され、この撮像画像を画像処理部30に出力する。
The
本実施形態では、撮像部10として作業員が所持するスマートフォンのカメラ機能を使用する。
In the present embodiment, the camera function of the smartphone possessed by the worker is used as the
<記憶部>
記憶部20は、各種OS(オペレーティングシステム)やアナログ機器検針システム1用のアプリケーションソフトウェアなどのプログラムを記憶する主記憶装置(ROM、RAMなどの半導体メモリ)や補助記憶装置(フラッシュメモリやハードディスクドライブなど)で構成され、アナログ機器検針システム1を構成する各部に所定の処理を実行させるための各種情報を記憶する。
<Memory>
The
また、記憶部20は、アナログ機器100を撮像した撮像画像内の機器特定コード40を解析した機器特定情報や、画像処理部30で取得された検針対象であるアナログ機器100の撮像時の指示部101が指示する状態情報(測定値)を機器情報と関連付けした状態で記憶する。
Further, the
本実施形態では、記憶部20として作業員が所持するスマートフォンに搭載される内部メモリやSDカードなどの各種記憶装置を利用する。
In the present embodiment, various storage devices such as an internal memory and an SD card mounted on a smartphone owned by a worker are used as the
<画像処理部>
画像処理部30は、撮像部10で取得した撮像画像と、機器毎に予め設定された機器特定情報とに基づいて、撮像された指示部101が指し示すアナログ機器100の現在の状態情報を取得する。
画像処理部30は、コード解析手段31と、2値化処理手段32と、座標取得手段33と、位置特定手段34と、換算手段35とを備えている。
<Image processing unit>
The
The
本実施形態において、画像処理部30は、作業員が所持するスマートフォンにアナログ機器検針システム1用のアプリケーションソフトウェアがインストールされ、このアプリケーションソフトウェア(アプリ)をOS(オペレーティングシステム)によって実行し、スマートフォンに搭載されるCPUやメモリ(記憶部20)を協働させることでその機能が実現される。
In the present embodiment, the
コード解析手段31は、撮像部10で撮像した撮像画像内の機器特定コード40を解析し、このコードに含まれる機器特定情報を記憶部20に記憶させる。
The code analysis means 31 analyzes the
2値化処理手段32は、撮像部10で撮像された多値化画像を2値化処理する。2値化処理は、基準となる濃度値を2値化閾値として設定し、この2値化閾値を用いて撮像部10で撮像された撮像画像の各ピクセルを白データ、黒データの2値画像データに変換する濃度変換処理を行う2値化処理手段32は、2値化処理した2値画像データを座標取得手段33に出力する。
The binarization processing means 32 binarizes the multi-valued image captured by the
なお、2値化閾値は、少なくとも目盛り盤上の背景が白データに変換され、目盛りや指示部101が黒データに変換されるように濃度値が設定されている。
As for the binarization threshold, the density value is set so that at least the background on the scale board is converted into white data and the scale and the indicating
座標取得手段33は、記憶部20から読み出した機器特定情報に含まれる形状情報に基づいて2値画像データ内における目盛り領域Eの形状や配置位置を特定し、目盛り領域E内に存在する黒データの各ピクセルについての相対座標を取得する。この相対座標は、位置検出パターン41から作成される直交座標系を用いて取得される。座標取得手段33は、目盛り領域E内に存在する黒データに対応する各ピクセルの相対座標を取得すると、この座標情報を位置特定手段34に出力する。
The coordinate acquisition means 33 specifies the shape and arrangement position of the scale area E in the binary image data based on the shape information included in the device identification information read from the
座標取得手段33は、2値画像データにおける目盛り領域E内の黒データにのみ着目し、この領域内に存在する黒データの各ピクセルの相対座標を取得する。図3では、指示部101の先端の一部における黒データと白データを示しており、図中矢印が指示する黒データ(点線で囲われたピクセル)の相対座標(x2,y2)を取得している例である。
The coordinate acquisition means 33 pays attention only to the black data in the scale region E in the binary image data, and acquires the relative coordinates of each pixel of the black data existing in this region. FIG. 3 shows the black data and the white data at a part of the tip of the
位置特定手段34は、目盛り領域E内の全ての黒データに対応する各ピクセルの相対座標から、各ピクセルが目盛り領域Eのどの位置に存在しているかを特定する。本実施形態では、座標取得手段33で取得した目盛り領域E内の全ての黒データに対応する各ピクセルの座標情報の角度を求める。この角度は、目盛り領域Eの円心座標を水平方向に通る始線L1から円心座標と黒データの各ピクセルの相対座標とを結ぶ直線とで成す角度のことである。 The position specifying means 34 identifies the position of each pixel in the scale area E from the relative coordinates of each pixel corresponding to all the black data in the scale area E. In the present embodiment, the angle of the coordinate information of each pixel corresponding to all the black data in the scale area E acquired by the coordinate acquisition means 33 is obtained. This angle is an angle formed by a straight line connecting the center coordinates and the relative coordinates of each pixel of the black data from the start line L1 passing horizontally through the center coordinates of the scale area E.
次に、位置特定手段34は、目盛り領域E内の全黒データの相対座標に応じた角度の統計処理を行う。統計処理では、縦軸をピクセル数、横軸を目盛り領域Eにおける始点角度θ0と終点角度θ1の角度を上下限とした範囲のヒストグラムを作成して、指示部101が指し示す位置を角度情報から特定する。位置特定手段34は、特定した指示部101の位置に基づく位置情報(ここでは角度情報)を換算手段35に出力する。
Next, the position specifying means 34 performs statistical processing of the angle according to the relative coordinates of the all black data in the scale area E. In the statistical processing, a histogram is created in a range in which the vertical axis is the number of pixels and the horizontal axis is the upper and lower limits of the angle between the start point angle θ0 and the end point angle θ1 in the scale area E, and the position pointed to by the
上記統計処理によってピクセル数のヒストグラムを作成すると、ある角度付近に黒データが連続して存在することが確認されるため、この黒データが集中する部分を指示部101の位置と推定することができる。
When a histogram of the number of pixels is created by the above statistical processing, it is confirmed that black data continuously exists near a certain angle, so that the portion where the black data is concentrated can be estimated as the position of the indicating
また、作成したヒストグラムに所定ピクセル数以上連続する黒データのみを抽出する抽出用閾値を設けることで、抽出用閾値を越える黒データの分布にのみ着目することができる。これにより、目盛り領域E内における指示部101が指し示す位置情報を特定する処理負担を大幅に削減することができる。
Further, by providing an extraction threshold value for extracting only continuous black data of a predetermined number of pixels or more in the created histogram, it is possible to pay attention only to the distribution of black data exceeding the extraction threshold value. As a result, it is possible to significantly reduce the processing load of specifying the position information pointed to by the
図4は、図3に示した目盛り領域E内に存在する黒データの各ピクセルをヒストグラムにしたものである。
図4において、目盛りは測定値の下限を示す始点(225°)から測定値の上限を示す終点(-45°)の範囲とし、この角度範囲に存在する数値及び指示部101を構成する黒データのピクセルの位置が分布表示されている。位置特定手段34は、このヒストグラムによって指示部101の位置をある程度推定することも可能であるが、抽出用閾値を用いることで図中の30°付近にのみ黒データの分布が連続していることを容易に把握することができる。
FIG. 4 is a histogram of each pixel of the black data existing in the scale area E shown in FIG.
In FIG. 4, the scale is in the range from the start point (225 °) indicating the lower limit of the measured value to the end point (−45 °) indicating the upper limit of the measured value, and the numerical values existing in this angle range and the black data constituting the
なお、図4のように、指示部101として推定される黒データの分布が複数列固まって存在するときは、最もピクセル数の多い角度を指示部101の位置として特定することができる。
As shown in FIG. 4, when a plurality of rows of distributions of black data estimated as the
また、目盛り領域Eが横長の矩形状の場合は、縦軸をピクセル数、横軸を測定範囲における上下限値の範囲とし、黒データの各ピクセルの相対座標に応じた目盛り領域E内の位置に基づくヒストグラムを作成し、抽出用閾値を越える黒データの分布位置に着目することで、目盛り領域E内における指示部101の位置を特定することができる。なお、特定された指示部101の位置に応じた位置情報は相対座標として取得される。
When the scale area E has a horizontally long rectangular shape, the vertical axis is the number of pixels, the horizontal axis is the range of the upper and lower limit values in the measurement range, and the position in the scale area E according to the relative coordinates of each pixel of the black data. By creating a histogram based on the above and paying attention to the distribution position of the black data exceeding the extraction threshold, the position of the indicating
換算手段35は、位置特定手段34で特定された指示部101の位置情報と、目盛り領域Eにおける上限値の位置情報及び下限値の位置情報に基づいて指示部101が指示する状態情報(目盛り盤上のアナログ値)を数値(デジタル値)に換算する。つまり、アナログ機器100の目盛り盤上で割り振られた目盛りにおける上限値と下限値の間の距離を「1」としたときに、上限値と指示部101との間の距離と、下限値と指示部101との間の距離の比率を求め、この比率を測定値の上下限値の範囲に当てはめることで、目盛り盤上で指示部101が指し示す位置に対応する測定値を特定している。
The conversion means 35 is a state information (scale board) instructed by the
本実施形態において、換算手段35は、位置特定手段34から出力された角度情報と、目盛り領域Eにおける始点角度θ0及び終点角度θ1と、機器特定情報に含まれる測定値範囲情報における測定範囲の上限値と下限値を用いて、下記式から指示部101が指し示す値(測定値)を数値化する。
<式1>
測定値=(指示部101の角度-始点角度θ0)/(終点角度θ1-始点角度θ0)×(測定範囲の上限値-測定範囲の下限値)…式1
In the present embodiment, the conversion means 35 has the angle information output from the position specifying means 34, the start point angle θ0 and the end point angle θ1 in the scale area E, and the upper limit of the measurement range in the measured value range information included in the device identification information. The value (measured value) indicated by the
<
Measured value = (angle of indicator 101-start point angle θ0) / (end point angle θ1-start point angle θ0) × (upper limit value of measurement range-lower limit value of measurement range) ...
一例として、位置特定手段34で得られた指示部101の角度を30°、略馬蹄形状の目盛り領域Eの始点角度θ0を225°、終点角度θ1を-45°、検針対象であるアナログ機器100の測定範囲の下限値を0.0MPa、下限値を1.0MPaとすると、上記式1に各値を当てはめると測定値は、0.72Mpaとなる。
As an example, the angle of the indicating
なお、目盛り領域Eが横長の矩形状の場合は、目盛り領域Eにおける下限位置の相対座標と目盛り領域Eにおける上限位置の相対座標とを結ぶ距離を「1」とし、位置特定手段34で検出した指示部101の位置(相対座標)と下限値の目盛りの位置(相対座標)までの水平方向の距離と、指示部101の位置(相対座標)から上限値の目盛りの位置(相対座標)までの水平方向の距離との比率を求めて目盛り盤内における指示部101が指し示す位置を特定している。
When the scale area E has a horizontally long rectangular shape, the distance connecting the relative coordinates of the lower limit position in the scale area E and the relative coordinates of the upper limit position in the scale area E is set to "1" and detected by the
[処理動作]
次に、上述したアナログ機器検針システム1の処理動作について説明する。
ここでは、検針対象である圧力計の機器特定情報が読取可能な機器特定コード40が予め目盛り盤上に貼着されており、所持するスマートフォンで機器特定コード40を読み取って検針対象の圧力計の圧力値を取得するときの動作である。
[Processing operation]
Next, the processing operation of the analog device
Here, a
作業員は、所持するスマートフォンを操作してアナログ機器検針システム1用のアプリを起動した状態でカメラ機能を用いてアナログ機器100の目盛り盤と機器特定コード40が収まるように撮像する。
The worker operates the smartphone and activates the application for the analog device
次に、アプリの起動プログラムに従って撮像画像からアナログ機器100が測定した測定値(圧力値)を取得する処理を行う。
撮像画像の画像処理として、まず撮像画像内の機器特定コード40を解析して撮像したアナログ機器100の機器特定情報を記憶部20に記憶させる。
Next, a process of acquiring a measured value (pressure value) measured by the
As image processing of the captured image, first, the
次に、撮像画像を2値化処理して2値画像データを取得し、記憶部20から読み出した機器特定情報に含まれる形状情報から2値画像データ内における目盛り領域Eの形状や配置位置を特定する。
Next, the captured image is binarized to obtain binary image data, and the shape and arrangement position of the scale area E in the binary image data are determined from the shape information included in the device specific information read from the
次に、2値画像データに含まれる黒データのうち、目盛り領域E内に存在する黒データの各ピクセルの相対座標を取得する。これら相対座標は、機器特定コード40の位置検出パターン41から仮想的に作成される直交座標系に基づいて取得する。
Next, among the black data included in the binary image data, the relative coordinates of each pixel of the black data existing in the scale area E are acquired. These relative coordinates are acquired based on the Cartesian coordinate system virtually created from the
次に、目盛り領域E内の黒データに対応する各ピクセルの相対座標と、目盛り領域Eの円心座標との2点間の角度を、目盛り領域Eの円心座標を通る仮想的な始線L1を基準として求め、目盛り領域E内における全ての黒データの相対座標に応じた角度を統計処理する。統計処理では、縦軸をピクセル数、横軸を目盛り領域Eにおける始点角度θ0と終点角度θ1の角度範囲としたヒストグラムを作成し、指示部101が指し示す位置情報(角度情報)を取得する。
Next, the angle between the relative coordinates of each pixel corresponding to the black data in the scale area E and the center coordinates of the scale area E is set as a virtual start line passing through the center coordinates of the scale area E. Obtained with reference to L1, the angles corresponding to the relative coordinates of all the black data in the scale area E are statistically processed. In the statistical processing, a histogram is created in which the vertical axis is the number of pixels and the horizontal axis is the angle range of the start point angle θ0 and the end point angle θ1 in the scale area E, and the position information (angle information) pointed to by the indicating
次に、取得した指示部101の位置情報と、目盛り領域Eにおける始点角度θ0及び終点角度θ1と、機器特定情報に含まれる測定値範囲情報における測定範囲の上限値と下限値を用いて、指示部101が指し示す値(測定値)を数値化する。これにより、アナログ機器100で測定された現在のアナログ値を数値化した測定値(デジタル値)が取得される。
Next, the position information of the acquired
そして、取得した測定値は、撮像時に解析した機器特定コード40に含まれる機器情報と関連付けした状態で検針日時と合わせて記憶部20に記憶させる。
Then, the acquired measured value is stored in the
以上説明したように、上述したアナログ機器検針システム1は、アナログ機器100の機器特定情報と位置検出パターン41を含む機器特定コード40が予め目盛り盤近傍に形成され、撮像部10でアナログ機器100の目盛り盤と機器特定コード40が収まるように撮像する。撮像画像は、2値化処理により2値画像データとし、この2値化画像データにおける目盛り領域Eに相当する部分に存在する黒データの各ピクセルの相対座標を、位置検出パターン41から作成される直交座標系を用いて取得する。
As described above, in the analog device
そして、目盛り領域E内の黒データに対応する各ピクセルの相対座標を統計処理して目盛り領域E内で指示部101が指し示す位置情報を取得し、この位置情報と、目盛り領域Eにおける上限値の位置情報と下限値の位置情報を用いて、指示部101が指し示すアナログ値を数値化した測定値と機器情報とを関連付けした状態で検針日時と合わせて記憶部20に記憶させる。
Then, the relative coordinates of each pixel corresponding to the black data in the scale area E are statistically processed to acquire the position information pointed to by the indicating
これにより、作業員が検針対象となるアナログ機器100を撮像するだけで、自動的に指示部101が指し示すアナログ値をデジタル化した測定値として取得することができるため、アナログ機器100を検針する手間が省けるとともに、目視による測定値の読み間違いや点検ミス(記入漏れや機器識別の間違い)などのヒューマンエラーを未然に防止することができる。また、検針日時と合わせて測定値と機器情報とをログ情報として記憶部20に記憶させることで、プラント内に設置された全てのアナログ機器100の状態を一括して管理することができる。
As a result, the worker can automatically acquire the analog value indicated by the indicating
1…アナログ機器検針システム
10…撮像部
20…記憶部
30…画像処理部
31…コード解析手段
32…2値化処理手段
33…座標取得手段
34…位置特定手段
35…換算手段
40…機器特定コード
41…位置検出パターン
1 ... Analog device
Claims (2)
前記アナログ機器を識別する機器情報と、前記アナログ機器の測定値の上下限の範囲を示す測定値範囲情報と、前記目盛り盤内に設定される目盛り領域の形状を特定する形状情報とを少なくとも含む機器特定情報と、矩形状のコードの3隅に位置検出パターンが配置されるQRコード(登録商標)が前記目盛り盤近傍に形成され、
前記目盛り盤と前記QRコード(登録商標)とが同一画像内に収まるように撮像する撮像手段と、
前記撮像手段で撮像された撮像画像を2値化処理した2値画像データを取得する2値化処理手段と、
前記撮像された撮像画像内のQRコード(登録商標)を解析して得られる機器特定情報に含まれる形状情報から前記2値画像データ内の目盛り領域の形状や配置位置を特定し、前記撮像画像上で前記位置検出パターンの2つのパターンの中心を通る一軸を基準として構成される直交座標系において、特定された前記目盛り領域内に存在する黒データの各ピクセルの相対座標を取得する座標取得手段と、
前記座標取得手段で取得した黒データの各ピクセルの相対座標を統計処理して前記目盛り領域内における前記指示部の位置を特定する位置特定手段と、
前記位置特定手段で特定された前記指示部の位置情報と、前記目盛り領域における上限値の位置情報及び下限値の位置情報に基づいて前記指示部が指示する目盛り盤上のアナログ値を数値に換算する換算手段と、
前記換算された数値を前記機器情報と関連付けして記憶する記憶手段と、
を備えたことを特徴とするアナログ機器検針システム。 An analog device meter reading system that reads an analog device having a scale board showing an analog value to be measured and an instruction unit that moves on the scale board according to the measured analog value.
It includes at least device information for identifying the analog device, measured value range information indicating a range of upper and lower limits of measured values of the analog device, and shape information for specifying the shape of a scale region set in the scale board. A device specific information and a QR code (registered trademark) in which position detection patterns are arranged at three corners of the rectangular code are formed in the vicinity of the dial.
An imaging means for imaging so that the scale and the QR code (registered trademark) fit within the same image.
A binarization processing means for acquiring binary image data obtained by binarizing an image captured by the imaging means, and a binarization processing means.
The shape and arrangement position of the scale region in the binary image data are specified from the shape information included in the device identification information obtained by analyzing the QR code (registered trademark) in the captured image, and the captured image is captured. Coordinate acquisition means for acquiring the relative coordinates of each pixel of the black data existing in the specified scale region in the Cartesian coordinate system configured above with reference to one axis passing through the center of the two patterns of the position detection pattern. When,
A position specifying means for statistically processing the relative coordinates of each pixel of the black data acquired by the coordinate acquiring means to specify the position of the indicating unit in the scale area, and a position specifying means.
The analog value on the scale board designated by the indicator is converted into a numerical value based on the position information of the indicator specified by the position specifying means, the position information of the upper limit value and the position information of the lower limit value in the scale area. Conversion means and
A storage means for storing the converted numerical value in association with the device information,
An analog device meter reading system characterized by being equipped with.
前記アナログ機器を識別する機器情報と、前記アナログ機器における測定値の上下限の範囲を示す測定値範囲情報と、前記目盛り盤内に設定される目盛り領域の形状を特定する形状情報とを少なくとも含む機器特定情報と、矩形状のコードの3隅に位置検出パターンが配置されるQRコード(登録商標)を前記目盛り盤近傍に形成するステップと、
前記目盛り盤と前記QRコード(登録商標)とが同一画像内に収まるように撮像するステップと、
撮像された前記撮像画像を2値化処理した2値画像データを取得するステップと、
前記撮像された撮像画像内のQRコード(登録商標)を解析して得られる機器特定情報に含まれる形状情報から前記2値画像データ内の目盛り領域の形状や配置位置を特定し、前記撮像画像上で前記位置検出パターンの2つのパターンの中心を通る一軸を基準として構成される直交座標系において、特定された前記目盛り領域内に存在する黒データの各ピクセルの相対座標を取得するステップと、
前記取得した黒データの各ピクセルの相対座標を統計処理して前記目盛り領域内における前記指示部の位置を特定するステップと、
前記特定された前記指示部の位置情報と、前記目盛り領域における上限値の位置情報及び下限値の位置情報に基づいて前記指示部が指示する目盛り盤上のアナログ値を数値に換算するステップと、
前記換算された数値を前記機器情報と関連付けして記憶するステップと、
を有することを特徴とするアナログ機器検針方法。 It is an analog device meter reading method for reading an analog device having a scale board showing an analog value to be measured and an instruction unit that moves on the scale board according to the measured analog value.
It includes at least device information for identifying the analog device, measured value range information indicating a range of upper and lower limits of measured values in the analog device, and shape information for specifying the shape of a scale region set in the scale board. A step of forming device-specific information and a QR code (registered trademark) in which position detection patterns are arranged at three corners of a rectangular code in the vicinity of the dial.
A step of taking an image so that the scale and the QR code (registered trademark) fit in the same image.
A step of acquiring binary image data obtained by binarizing the captured image and
The shape and arrangement position of the scale region in the binary image data are specified from the shape information included in the device identification information obtained by analyzing the QR code (registered trademark) in the captured image, and the captured image is captured. In the Cartesian coordinate system configured above with reference to one axis passing through the center of the two patterns of the position detection pattern, the step of acquiring the relative coordinates of each pixel of the black data existing in the specified scale area, and
A step of statistically processing the relative coordinates of each pixel of the acquired black data to specify the position of the indicator in the scale area, and
A step of converting an analog value on a scale board designated by the instruction unit into a numerical value based on the position information of the specified instruction unit, the position information of the upper limit value and the position information of the lower limit value in the scale area. When,
A step of storing the converted numerical value in association with the device information,
An analog device meter reading method characterized by having.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018048125A JP7025962B2 (en) | 2018-03-15 | 2018-03-15 | Analog equipment meter reading system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018048125A JP7025962B2 (en) | 2018-03-15 | 2018-03-15 | Analog equipment meter reading system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019158748A JP2019158748A (en) | 2019-09-19 |
JP7025962B2 true JP7025962B2 (en) | 2022-02-25 |
Family
ID=67993909
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018048125A Active JP7025962B2 (en) | 2018-03-15 | 2018-03-15 | Analog equipment meter reading system and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7025962B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102089498B1 (en) * | 2019-09-23 | 2020-03-19 | (주)씨앤에스아이 | Measuring apparatus for analogue gauge and method thereof |
CN110686822A (en) * | 2019-10-21 | 2020-01-14 | 徐州宝美工程机械有限公司 | Self-reminding mechanical pressure gauge for hydraulic pump station |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002056387A (en) | 2000-08-07 | 2002-02-20 | Toko Electric Corp | Recognition processing device and recognition processing method for state indicator |
JP2006285303A (en) | 2005-03-31 | 2006-10-19 | Fuji Electric Systems Co Ltd | System for reading indicator value of meter |
JP2011112626A (en) | 2009-11-30 | 2011-06-09 | Nippon Water Solution:Kk | Portable meter-reading device |
JP2012146154A (en) | 2011-01-13 | 2012-08-02 | Metawater Co Ltd | Indicated value measurement system |
JP2016162412A (en) | 2015-03-05 | 2016-09-05 | 株式会社正興電機製作所 | Indication needle type meter image analyzer, indication needle type meter image analysis method, and program |
US20170178329A1 (en) | 2015-12-22 | 2017-06-22 | Rita Chattopadhyay | Determining values of angular gauges |
-
2018
- 2018-03-15 JP JP2018048125A patent/JP7025962B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002056387A (en) | 2000-08-07 | 2002-02-20 | Toko Electric Corp | Recognition processing device and recognition processing method for state indicator |
JP2006285303A (en) | 2005-03-31 | 2006-10-19 | Fuji Electric Systems Co Ltd | System for reading indicator value of meter |
JP2011112626A (en) | 2009-11-30 | 2011-06-09 | Nippon Water Solution:Kk | Portable meter-reading device |
JP2012146154A (en) | 2011-01-13 | 2012-08-02 | Metawater Co Ltd | Indicated value measurement system |
JP2016162412A (en) | 2015-03-05 | 2016-09-05 | 株式会社正興電機製作所 | Indication needle type meter image analyzer, indication needle type meter image analysis method, and program |
US20170178329A1 (en) | 2015-12-22 | 2017-06-22 | Rita Chattopadhyay | Determining values of angular gauges |
Also Published As
Publication number | Publication date |
---|---|
JP2019158748A (en) | 2019-09-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5701262B2 (en) | Inspection support system and method | |
CN103207987B (en) | A kind of registration recognition methods of pointer instrument | |
US20120145779A1 (en) | Two-dimensional symbol code and method for reading the symbol code | |
TW201629909A (en) | Three dimensional object recognition | |
CN109558871B (en) | Pointer instrument reading identification method and device | |
JP6786874B2 (en) | Needle meter detector, method and program | |
JP7025962B2 (en) | Analog equipment meter reading system and method | |
JP2017075893A (en) | Water supply meter reading device | |
JP6055228B2 (en) | Shape measuring device | |
TW201415010A (en) | Inspection device, inspection method, and inspection program | |
JP2017126187A (en) | Meter reading device | |
JP2013108933A (en) | Information terminal device | |
CN111784674B (en) | Element detection method, device, computer equipment and storage medium | |
CN113837159A (en) | Instrument reading identification method and device based on machine vision | |
JP2006285303A (en) | System for reading indicator value of meter | |
JP2014093870A (en) | Distribution board cable connection confirmation device, and image processing system | |
CN114581442A (en) | Product detection method and device for MES system | |
CN202267464U (en) | Mobile phone based device for rapidly detecting blade area | |
CN104123516A (en) | Gold label card detection method and reader based cloud computation network platform | |
JP2008152555A (en) | Image recognition method and image recognition device | |
JP2017075892A (en) | Water leakage detector | |
JP6803940B2 (en) | Remote meter reading computer, its method and program | |
US11728056B2 (en) | Method for detecting thicknesses of coating layers of nuclear fuel particles | |
JP5445064B2 (en) | Image processing apparatus and image processing program | |
JP2021124330A (en) | Method and device for detecting liquid surface |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210114 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20211119 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20211207 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220106 |
|
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: 20220201 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220214 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7025962 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |