[go: up one dir, main page]

JP5971028B2 - Rotation angle measuring device and method - Google Patents

Rotation angle measuring device and method Download PDF

Info

Publication number
JP5971028B2
JP5971028B2 JP2012183055A JP2012183055A JP5971028B2 JP 5971028 B2 JP5971028 B2 JP 5971028B2 JP 2012183055 A JP2012183055 A JP 2012183055A JP 2012183055 A JP2012183055 A JP 2012183055A JP 5971028 B2 JP5971028 B2 JP 5971028B2
Authority
JP
Japan
Prior art keywords
marker
rotation angle
boundary line
image
line
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.)
Expired - Fee Related
Application number
JP2012183055A
Other languages
Japanese (ja)
Other versions
JP2013092519A (en
Inventor
伸行 藤原
伸行 藤原
一隆 松原
一隆 松原
利道 高橋
利道 高橋
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.)
Meidensha Corp
Original Assignee
Meidensha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meidensha Corp filed Critical Meidensha Corp
Priority to JP2012183055A priority Critical patent/JP5971028B2/en
Publication of JP2013092519A publication Critical patent/JP2013092519A/en
Application granted granted Critical
Publication of JP5971028B2 publication Critical patent/JP5971028B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Optical Transform (AREA)

Description

本発明は、画像処理により、計測センサが非接触で回転体の回転角度を計測する、回転角度計測装置及び方法に関する。   The present invention relates to a rotation angle measurement apparatus and method in which a measurement sensor measures a rotation angle of a rotating body in a non-contact manner by image processing.

回転体の回転角度を計測する装置としては、ロータリエンコーダやポテンショメータのような計測センサを回転体の回転軸に設置して回転角度を計測するものが一般的である。   As a device for measuring the rotation angle of a rotating body, a device that measures a rotation angle by installing a measurement sensor such as a rotary encoder or a potentiometer on a rotating shaft of the rotating body is generally used.

また、回転軸に反射テープを貼り付け、照射した光の反射光を受けることで回転数を計測する装置もある(非特許文献1参照)。   There is also an apparatus for measuring the number of rotations by attaching a reflection tape to a rotating shaft and receiving reflected light of irradiated light (see Non-Patent Document 1).

さらに、画像処理により回転体の回転角度を計測する方法が提案されている。例えば、円筒缶の周面(全周)の画像を登録し、入力画像が登録画像の位置に当たるかを、2次元離散的フーリエ変換を用いた相関ピークを抽出することで求め、回転角度を算出する方法(特許文献1参照)や、モータ回転角度を計測するため、回転軸の近傍と回転軸より離れた位置にそれぞれマーカを配置し、2つのマーカの位置関係から回転角度を求める方法がある(特許文献2参照)。   Furthermore, a method for measuring the rotation angle of a rotating body by image processing has been proposed. For example, by registering an image of the circumferential surface (all circumferences) of a cylindrical can and finding out whether the input image hits the position of the registered image by extracting the correlation peak using two-dimensional discrete Fourier transform, the rotation angle is calculated. There is a method for measuring the rotation angle of the motor (see Patent Document 1) and a method for obtaining the rotation angle from the positional relationship between the two markers by arranging markers respectively in the vicinity of the rotation axis and at a position away from the rotation axis. (See Patent Document 2).

特開2002−163659号公報JP 2002-163659 A 特開平10−78311号公報Japanese Patent Laid-Open No. 10-78311

株式会社小野測器 ホームページ <URL:http://www.onosokki.co.jp/HP-WK/products/category/h_revo.htm>Ono Sokki Co., Ltd. <URL: http://www.onosokki.co.jp/HP-WK/products/category/h_revo.htm>

上述のロータリエンコーダやポテンショメータのようなセンサを回転体の回転軸に設置する方法では、計測センサが非接触での回転角度の計測ができない。   In the method of installing a sensor such as the rotary encoder or potentiometer described above on the rotating shaft of the rotating body, the measurement sensor cannot measure the rotation angle without contact.

非特許文献1のような、回転体に貼り付けた反射テープの反射光を検出する方法では、回転数を計測することはできるが、回転角度を計測することはできない。   In the method of detecting the reflected light of the reflective tape attached to the rotating body as in Non-Patent Document 1, the number of rotations can be measured, but the rotation angle cannot be measured.

特許文献1のような、登録した周面の画像と入力画像の照合により回転角度を算出する方法では、似通った模様の箇所が存在した場合は間違った回転角度を算出する可能性がある。また、入力画像と登録画像との相関を求める計算コストが大きい。   In the method of calculating the rotation angle by collating the registered peripheral surface image and the input image as in Patent Document 1, there is a possibility that the wrong rotation angle is calculated when there is a similar pattern portion. Moreover, the calculation cost for obtaining the correlation between the input image and the registered image is high.

特許文献2のような、2つのマーカの位置関係から回転角度を求める方法では、検出できる回転角度精度を向上させる場合は高解像度のCCDカメラを用いて大きな画像データを扱う必要があり、計算コストが増大してしまう。逆に通常のCCDカメラを用いて計算コストを抑えようとすると、高い検出角度精度が期待できない。   In the method of obtaining the rotation angle from the positional relationship between the two markers as in Patent Document 2, in order to improve the detectable rotation angle accuracy, it is necessary to handle large image data using a high-resolution CCD camera, and the calculation cost is high. Will increase. Conversely, if an attempt is made to reduce the calculation cost using a normal CCD camera, high detection angle accuracy cannot be expected.

本発明の目的は、上述の問題を解決するため、画像処理により、計億センサが非接触で、計算コストを抑え且つ高精度に回転体の回転角度を計測する回転角度計測装置及び方法を提供することである。   An object of the present invention is to provide a rotation angle measuring device and method for measuring the rotation angle of a rotating body with high accuracy while suppressing calculation cost by image processing so as to solve the above-mentioned problems without contact with a total of 100 million sensors. It is to be.

上記課題を解決する第1の発明に係る回転角度計測装置は、
計測対象の回転体に設置されたマーカと、
前記マーカのマーカ模様を撮影するラインセンサと、
前記マーカ模様を前記ラインセンサと同方向から高精細画像として撮影する高精細カメラと、
前記ラインセンサで撮影された画像を解析して前記回転体の回転角度を求める解析装置とを備え
前記解析装置は、前記高精細カメラで撮影した前記高精細画像より、前記マーカ模様の境界線の三次元的な位置である境界線三次元位置のデータを求め、当該データに基づき、前記ラインセンサによる撮影を行う場合の画像上の前記マーカ模様の境界線位置と前記回転角度の関係を予め導出しておいた上で、前記ラインセンサで撮影した画像から前記マーカ模様の境界線位置を求め、前記関係に基づき、前記マーカ模様の境界線位置を前記回転角度に換算することを特徴とする。
A rotation angle measuring device according to a first invention for solving the above-mentioned problems is as follows.
A marker installed on a rotating object to be measured;
A line sensor that images the marker pattern of the marker;
A high-definition camera that captures the marker pattern as a high-definition image from the same direction as the line sensor;
An analyzer for analyzing the image taken by the line sensor and obtaining the rotation angle of the rotating body ,
The analysis device obtains data of a three-dimensional boundary line that is a three-dimensional position of the boundary line of the marker pattern from the high-definition image photographed by the high-definition camera, and based on the data, the line sensor After deriving in advance the relationship between the rotation position and the marker pattern boundary line position on the image when shooting by obtaining the marker pattern boundary line position from the image captured by the line sensor, Based on the relationship, a boundary line position of the marker pattern is converted into the rotation angle .

上記課題を解決する第2の発明に係る回転角度計測装置は、
上記第1の発明に係る回転角度計測装置において、
前記マーカのマーカ模様の境界線位置は、前記回転体の回転角度との関係が一意的に対応することを特徴とする。
A rotation angle measuring device according to a second invention for solving the above-mentioned problems is as follows.
In the rotation angle measuring apparatus according to the first aspect of the invention,
The marker pattern boundary line position of the marker is uniquely associated with the rotation angle of the rotating body.

上記課題を解決する第3の発明に係る回転角度計測装置は、
上記第1または2の発明に係る回転角度計測装置において、
前記マーカのマーカ模様の境界線位置は、前記回転体の回転角度との関係が正比例であることを特徴とする。
A rotation angle measuring device according to a third invention for solving the above-mentioned problem is as follows.
In the rotation angle measuring device according to the first or second invention,
The marker pattern boundary line position of the marker is directly proportional to the rotation angle of the rotating body.

上記課題を解決する第4の発明に係る回転角度計測装置は、
上記第1乃至3いずれか1つに係る回転角度計測装置において、
前記マーカが上面または底面に設置された前記回転体に対し、前記ラインセンサは、前記回転体の回転軸と前記ラインセンサの光軸が平行且つ前記マーカと前記ラインセンサが向かい合う位置関係に配置されており、
前記マーカは、渦巻状のマーカ模様の境界線を有することを特徴とする。
A rotation angle measuring device according to a fourth invention for solving the above-mentioned problems is as follows.
In the rotation angle measurement apparatus according to any one of the first to third aspects,
The line sensor is arranged in a positional relationship in which the rotation axis of the rotating body and the optical axis of the line sensor are parallel and the marker and the line sensor face each other with respect to the rotating body on which the marker is installed on the upper surface or the bottom surface. And
The marker has a spiral marker pattern boundary line.

上記課題を解決する第5の発明に係る回転角度計測装置は、
上記第1乃至3いずれか1つに係る回転角度計測装置において、
前記マーカが側面に設置された前記回転体に対し、前記ラインセンサは、前記回転体の回転軸と前記ラインセンサの光軸が垂直且つ前記回転体の回転軸と前記ラインセンサの撮影ラインが平行な位置関係に配置されており、
前記マーカは、螺旋状のマーカ模様の境界線を有することを特徴とする。
A rotation angle measuring device according to a fifth invention for solving the above-mentioned problems is as follows.
In the rotation angle measurement apparatus according to any one of the first to third aspects,
The line sensor has a rotation axis of the rotation body and the optical axis of the line sensor perpendicular to each other and the imaging axis of the line sensor is parallel to the rotation body on which the marker is installed on the side surface. Are arranged in various positional relationships,
The marker has a boundary line of a spiral marker pattern.

上記課題を解決する第の発明に係る回転角度計測装置は、
上記第1乃至5いずれか1つの発明に係る回転角度計測装置において、
前記解析装置は、
前記マーカ模様の境界線位置の検出に用いる閾値と、前記高精細カメラのレンズ焦点距離と、画像素子サイズと、前記ラインセンサ及び前記高精細カメラの位置と、前記マーカの設置表面の形状データとを処理パラメータとして設定する処理設定部と、
前記ラインセンサまたは前記高精細カメラで撮影した輝度情報を入力する画像入力部と、
前記高精細カメラで撮影した画像上の前記マーカ模様の境界線位置を第1の境界線位置データとして検出する高精細カメラ画像用境界線位置検出部と、
前記第1の境界線位置データと前記処理パラメータを基に、前記高精細カメラで撮影した前記境界線三次元位置のデータを作成する境界線三次元位置計算部と、
前記処理パラメータと、前記回転体の回転角度を変えていき前記高精細カメラで撮影した複数の前記境界線三次元位置データとを基に、当該境界線三次元位置データを合成し、前記回転体の全周に渡る前記境界線三次元位置データを作成する境界線三次元位置合成部と、
前記処理パラメータと、前記回転体の全周に渡る前記境界線三次元位置データとを基に、前記関係を導出する画素‐角度グラフ作成部と、
前記ラインセンサで撮影した画像上の前記マーカ模様の境界線位置を第2の境界線位置データとして検出する境界位置検出部と、
前記第2の境界線位置データを基に、前記関係を参照し、前記ラインセンサの画像上の前記マーカ模様の境界線位置を回転角度に換算する回転角度換算部とを備えることを特徴とする。
A rotation angle measuring device according to a sixth invention for solving the above-described problem is as follows.
In the rotation angle measurement device according to any one of the first to fifth inventions,
The analysis device includes:
A threshold value used for detecting a boundary position of the marker pattern, a lens focal length of the high-definition camera, an image element size, a position of the line sensor and the high-definition camera, and shape data of an installation surface of the marker; A process setting unit for setting as a process parameter;
An image input unit for inputting luminance information photographed by the line sensor or the high-definition camera;
A high-definition camera image boundary line position detection unit that detects a boundary line position of the marker pattern on the image captured by the high-definition camera as first boundary line position data;
Based on the first boundary line position data and the processing parameters, a boundary line three-dimensional position calculation unit that creates data of the boundary line three-dimensional position photographed by the high-definition camera;
Based on the processing parameter and the plurality of boundary line 3D position data photographed by the high-definition camera while changing the rotation angle of the rotating body, the boundary line 3D position data is synthesized, and the rotating body A boundary line three-dimensional position synthesis unit that creates the boundary line three-dimensional position data over the entire circumference,
A pixel-angle graph creating unit for deriving the relationship based on the processing parameters and the boundary line three-dimensional position data over the entire circumference of the rotating body;
A boundary position detection unit for detecting a boundary line position of the marker pattern on the image captured by the line sensor as second boundary line position data;
A rotation angle conversion unit that converts the boundary line position of the marker pattern on the image of the line sensor into a rotation angle with reference to the relationship based on the second boundary line position data. .

上記課題を解決する第の発明に係る回転角度計測方法は、
計測対象の回転体にマーカを設置し、ラインセンサで前記マーカのマーカ模様を撮影した画像を、解析装置で解析することで、前記回転体の回転角度を求める回転角度計測方法であって、
高精細カメラによって、前記マーカ模様を前記ラインセンサと同方向から高精細画像として撮影し、前記解析装置にて、前記高精細画像より、前記マーカ模様の境界線の三次元的な位置である境界線三次元位置のデータを求め、当該データに基づき、前記ラインセンサによる撮影を行う場合の画像上の前記マーカ模様の境界線位置と前記回転角度の関係を予め導出しておいた上で、前記ラインセンサで撮影した画像から前記マーカ模様の境界線位置を求め、前記関係に基づき、前記マーカ模様の境界線位置を前記回転角度に換算することを特徴とする。
A rotation angle measurement method according to a seventh invention for solving the above-described problem is as follows.
The marker was placed on the rotating body to be measured, an image obtained by photographing the marker pattern of the marker in the line sensor, by analyzing with the analysis apparatus, a rotational angle measuring method asking you to rotation angle of the rotating body,
The marker pattern is photographed as a high-definition image from the same direction as the line sensor by a high-definition camera, and the boundary that is a three-dimensional position of the boundary line of the marker pattern from the high-definition image by the analyzer Obtaining the data of the line three-dimensional position, and based on the data, after deriving in advance the relationship between the position of the marker pattern boundary line on the image when the image is taken by the line sensor and the rotation angle, A boundary line position of the marker pattern is obtained from an image captured by a line sensor, and the boundary line position of the marker pattern is converted into the rotation angle based on the relationship .

上記課題を解決する第の発明に係る回転角度計測方法は、
上記第の発明に係る回転角度計測方法において、
前記マーカのマーカ模様の境界線位置と前記回転体の回転角度との関係を一意的に対応させることを特徴とする。
A rotation angle measuring method according to an eighth invention for solving the above-mentioned problem is as follows.
In the rotation angle measurement method according to the seventh invention,
The relationship between the marker pattern boundary line position of the marker and the rotation angle of the rotating body is uniquely associated.

上記課題を解決する第の発明に係る回転角度計測方法は、
上記第またはの発明に係る回転角度計測方法において、
前記マーカのマーカ模様の境界線位置と前記回転体の回転角度との関係を正比例させることを特徴とする。
A rotation angle measuring method according to a ninth invention for solving the above-described problem is
In the rotation angle measurement method according to the seventh or eighth invention,
The relationship between the marker pattern boundary line position of the marker and the rotation angle of the rotator is directly proportional.

上記課題を解決する第1の発明に係る回転角度計測方法は、
上記第乃至いずれか1つの発明に係る回転角度計測方法において、
前記マーカが上面または底面に設置された前記回転体に対し、前記ラインセンサは、前記回転体の回転軸と前記ラインセンサの光軸が平行且つ前記マーカと前記ラインセンサが向かい合う位置関係となるように配置し、
前記マーカは、渦巻状のマーカ模様の境界線を有することを特徴とする。
Rotation angle measuring method according to the invention of the first 0 for solving the above-
In the rotation angle measurement method according to any one of the seventh to ninth inventions,
The line sensor is positioned so that the rotation axis of the rotating body and the optical axis of the line sensor are parallel to each other and the marker and the line sensor face each other with respect to the rotating body on which the marker is installed on the upper surface or the bottom surface. Placed in
The marker has a spiral marker pattern boundary line.

上記課題を解決する第1の発明に係る回転角度計測方法は、
上記第乃至いずれか1つの発明に係る回転角度計測方法において、
前記マーカが側面に設置された前記回転体に対し、前記ラインセンサは、前記回転体の回転軸と前記ラインセンサの光軸が垂直且つ前記回転体の回転軸と前記ラインセンサの撮影ラインが平行な位置関係となるように配置し、
前記マーカは、螺旋状のマーカ模様の境界線を有することを特徴とする。
Rotation angle measuring method according to the first aspect of the present invention for solving the above-
In the rotation angle measurement method according to any one of the seventh to ninth inventions,
The line sensor has a rotation axis of the rotation body and the optical axis of the line sensor perpendicular to each other and the imaging axis of the line sensor is parallel to the rotation body on which the marker is installed on the side surface. Arranged so that the position
The marker has a boundary line of a spiral marker pattern.

上記第1,6,7の発明に係る回転角度計測装置または方法によれば、回転体に設置されたマーカのマーカ模様をラインセンサで撮影した画像を、解析装置により解析することで、回転体の回転角度を求めることができる。さらに、高精細画像を基に、マーカ模様の境界線位置と前記回転角度の関係を予め導出しておくことにより、マーカの設置に高精度な加工を必要とせずに回転角度が計測でき、作業の簡略化を図ることができる。 According to the rotation angle measuring device or method according to the first, sixth, and seventh aspects of the present invention, an analysis device is used to analyze an image obtained by photographing a marker pattern of a marker installed on a rotating body with a line sensor. Can be obtained. Furthermore, by deriving in advance the relationship between the position of the marker pattern boundary line and the rotation angle based on the high-definition image, the rotation angle can be measured without requiring high-precision processing for marker installation. Can be simplified.

上記第2,の発明に係る回転角度計測装置または方法によれば、さらに、マーカ模様の境界線位置から回転体の回転角度を一意的に求めることができる。 According to the rotation angle measuring apparatus or method according to the second and eighth aspects of the invention, the rotation angle of the rotating body can be uniquely obtained from the boundary line position of the marker pattern.

上記第3,4,5,9,10,11の発明に係る回転角度計測装置または方法によれば、さらに、マーカ模様の境界線位置の検出が単純な方法であるため、計算コストを抑えることができる。 According to the rotation angle measuring apparatus or method according to the third, fourth, fifth, ninth, tenth, and eleventh aspects of the present invention, since the detection of the marker pattern boundary line position is a simple method, the calculation cost can be reduced. Can do.

本発明の実施例1における螺旋状マーカを設置した回転体の側面図である。It is a side view of the rotary body which installed the helical marker in Example 1 of this invention. 本発明の実施例2における渦巻状マーカを設置した回転体をマーカ設置面から見た正面図である。It is the front view which looked at the rotary body which installed the spiral marker in Example 2 of this invention from the marker installation surface. 本発明の実施例1における螺旋状マーカを設置した回転体とラインセンサの位置関係を示す模式図である。It is a schematic diagram which shows the positional relationship of the rotary body and line sensor which installed the helical marker in Example 1 of this invention. 本発明の実施例2における渦巻状マーカを設置した回転体とラインセンサの位置関係を示す模式図である。It is a schematic diagram which shows the positional relationship of the rotary body and line sensor which installed the spiral marker in Example 2 of this invention. 本発明の実施例1,2に係る回転角度計測装置による、回転体の回転角度とマーカ模様の境界線位置の関係を表すグラフである。It is a graph showing the relationship between the rotation angle of a rotary body, and the boundary line position of a marker pattern by the rotation angle measuring device which concerns on Example 1, 2 of this invention. 回転体に設置した螺旋状マーカをラインセンサで撮影した際の、画像上位置とマーカ模様の輝度信号の関係を示すグラフである。It is a graph which shows the relationship between the position on an image, and the luminance signal of a marker pattern when the spiral marker installed in the rotary body is image | photographed with the line sensor. 本発明の実施例1,2に係る回転角度計測装置による、回転体を数回転させた際の、時系列画像からマーカ模様の境界線位置を求めて得た時間と、ラインセンサで撮影した画像上のマーカ模様の境界線位置の関係を示すグラフである。The time obtained by obtaining the boundary position of the marker pattern from the time-series image when the rotating body is rotated several times by the rotation angle measuring device according to the first and second embodiments of the present invention, and the image taken by the line sensor It is a graph which shows the relationship of the boundary line position of an upper marker pattern. 本発明の実施例1,2に係る回転角度計測装置の作動を説明するフローチャートである。It is a flowchart explaining the action | operation of the rotation angle measuring device which concerns on Example 1, 2 of this invention. 本発明の実施例1,2における解析装置の構成図である。It is a block diagram of the analyzer in Example 1, 2 of this invention. 本発明の実施例3に係る回転角度計測装置を示す模式図である。It is a schematic diagram which shows the rotation angle measuring device which concerns on Example 3 of this invention. 本発明の実施例3における解析装置の構成図である。It is a block diagram of the analyzer in Example 3 of this invention. 本発明の実施例3に係る回転角度計測装置による、回転体の回転角度とマーカ模様の境界線位置の関係を表すグラフである。It is a graph showing the relationship between the rotation angle of a rotary body, and the boundary line position of a marker pattern by the rotation angle measuring device which concerns on Example 3 of this invention. 本発明の実施例3に係る回転角度計測装置の作動を説明するフローチャートである。It is a flowchart explaining the action | operation of the rotation angle measuring device which concerns on Example 3 of this invention. 本発明の実施例3に係る回転角度計測装置による、マーカ模様の境界線三次元位置を求める方法を示す模式図である。It is a schematic diagram which shows the method of calculating | requiring the boundary line three-dimensional position of a marker pattern by the rotation angle measuring device which concerns on Example 3 of this invention. 本発明の実施例3に係る回転角度計測装置による、回転体に対して部分的なマーカ模様の境界線三次元位置を求めた例を示す模式図である。It is a schematic diagram which shows the example which calculated | required the boundary line three-dimensional position of the partial marker pattern with respect to a rotary body by the rotation angle measuring device which concerns on Example 3 of this invention. 本発明の実施例3に係る回転角度計測装置による、マーカ模様の境界線三次元位置からラインセンサの撮像ライン上の位置を求める方法を示す模式図である。It is a schematic diagram which shows the method of calculating | requiring the position on the imaging line of a line sensor from the boundary line three-dimensional position of a marker pattern by the rotation angle measuring device which concerns on Example 3 of this invention.

本発明に係る回転角度計測装置では、計測対象の回転体にマーカを設置し、当該マーカのマーカ模様をラインセンサで撮影した画像を解析装置によって解析することで、回転角度を求める。以下、本発明に係る回転角度計測装置を、実施例により図面を用いて説明する。   In the rotation angle measurement apparatus according to the present invention, a rotation angle is obtained by installing a marker on a rotating object to be measured and analyzing an image obtained by capturing a marker pattern of the marker with a line sensor. Hereinafter, a rotation angle measuring device according to the present invention will be described with reference to the drawings by way of examples.

本発明の実施例1に係る回転角度計測装置は、図3のように、計測対象の回転体1に設置されたマーカ2と、ラインセンサ4と、解析装置5とを備える。ここで、マーカ2の設置してある計測対象の回転体1の回転軸とラインセンサ4の光軸が垂直且つ回転体1の回転軸とラインセンサ4の撮影ラインが平行な位置関係となっている。   As shown in FIG. 3, the rotation angle measurement device according to the first embodiment of the present invention includes a marker 2, a line sensor 4, and an analysis device 5 that are installed on a rotating body 1 to be measured. Here, the rotation axis of the rotating body 1 to be measured and the optical axis of the line sensor 4 are perpendicular to each other, and the rotation axis of the rotating body 1 and the imaging line of the line sensor 4 are parallel to each other. Yes.

本装置の計測センサとして用いるラインセンサ4は、1ライン分を高解像度で撮影できるカメラである。1ライン分の画素数は通常のCCDカメラと比較して高解像度であるが、1ライン分しか撮影しないため画像全体のデータ量としてはCCDカメラよりも非常に小さい。   The line sensor 4 used as a measurement sensor of this apparatus is a camera that can photograph one line with high resolution. The number of pixels for one line is higher than that of a normal CCD camera, but since only one line is photographed, the data amount of the entire image is much smaller than that of the CCD camera.

マーカは図1に示すように、マーカ模様の境界線が螺旋状に描かれている螺旋状マーカ2を用いる。このマーカ模様は、螺旋状マーカ2を設置した回転体1の回転角度θとマーカ模様の境界線位置Lの関係が次式になるように設計されている。   As shown in FIG. 1, the marker uses a spiral marker 2 in which the boundary line of the marker pattern is drawn in a spiral shape. This marker pattern is designed so that the relationship between the rotation angle θ of the rotating body 1 on which the spiral marker 2 is installed and the boundary line position L of the marker pattern is as follows.

L={(L2‐L1)/2π}θ+L1   L = {(L2-L1) / 2π} θ + L1

このような螺旋状マーカ2を回転体1に設置すると、回転体1の回転角度とマーカ模様の境界線は図5に示すような正比例の関係となる。つまり、回転体1の回転角度とマーカ模様の境界線とが一意的に対応する。   When such a spiral marker 2 is installed on the rotator 1, the rotation angle of the rotator 1 and the boundary line of the marker pattern have a direct proportional relationship as shown in FIG. That is, the rotation angle of the rotator 1 and the boundary line of the marker pattern uniquely correspond to each other.

また、マーカの下地とマーカ模様の明暗差を大きく取れば、ラインセンサ4で撮影した画像上ではマーカ模様の境界線位置での輝度差が急激に変化する。図6に示すように、画像上でのマーカ模様の境界線位置は、閾値以上の輝度差が存在する位置、もしくは二階微分画像がゼロ交差する位置として求めることができる。   Also, if the difference in brightness between the marker base and the marker pattern is made large, the brightness difference at the boundary line position of the marker pattern changes abruptly on the image captured by the line sensor 4. As shown in FIG. 6, the marker pattern boundary line position on the image can be obtained as a position where a luminance difference equal to or greater than a threshold exists or a position where the second-order differential image crosses zero.

そこで、解析装置5は、ラインセンサ4で撮影した画像から輝度差が急激に変化する画像位置を検出し、その画像位置を回転体1の回転角度に換算することで回転角度を算出する。解析装置5は、図9に示すように、画像入力部12、時系列画像作成部13、境界線位置検出部14、回転角度計算部17、処理設定部11、境界線位置移動範囲計測部15、回転角度計算式設定部16、データ出力部19、記憶部18を備える。   Therefore, the analysis device 5 detects the image position where the luminance difference changes abruptly from the image captured by the line sensor 4, and calculates the rotation angle by converting the image position to the rotation angle of the rotating body 1. As shown in FIG. 9, the analysis device 5 includes an image input unit 12, a time-series image creation unit 13, a boundary line position detection unit 14, a rotation angle calculation unit 17, a processing setting unit 11, and a boundary line position movement range measurement unit 15. A rotation angle calculation formula setting unit 16, a data output unit 19, and a storage unit 18.

上述の処理設定部11では、マーカ模様の境界線位置の検出に用いる輝度差の閾値を、処理パラメータとして設定する。   In the process setting unit 11 described above, the threshold value of the luminance difference used for detecting the border line position of the marker pattern is set as a process parameter.

上述の画像入力部12では、ラインセンサ4で撮影した1ライン分の画像データを入力する。   In the image input unit 12 described above, image data for one line captured by the line sensor 4 is input.

上述の時系列画像作成部13では、画像入力部12から入力された画像データを時系列に並べて纏めた時系列画像データを作成する。   The above-described time-series image creation unit 13 creates time-series image data in which the image data input from the image input unit 12 are arranged in time series.

上述の境界線位置検出部14では、処理設定部11で設定した閾値を基に、時系列画像データのマーカ模様の境界線位置を検出し、境界線位置データを作成する。   The above-described boundary line position detection unit 14 detects the boundary line position of the marker pattern of the time-series image data based on the threshold set by the process setting unit 11, and creates boundary line position data.

上述の境界線位置移動範囲計測部15では、回転体1を数回転させた際の境界線位置データから、マーカ模様の境界線位置の移動範囲を求め、境界線位置移動範囲データを作成する。   The above-described boundary line position movement range measurement unit 15 obtains the movement range of the boundary line position of the marker pattern from the boundary line position data when the rotator 1 is rotated several times, and creates boundary line position movement range data.

上述の回転角度計算式設定部16では、境界線位置移動範囲データから、回転体1の回転角度を計算する式(以下、回転角度計算式と記載)を決定する。   The rotation angle calculation formula setting unit 16 determines a formula for calculating the rotation angle of the rotating body 1 (hereinafter referred to as a rotation angle calculation formula) from the boundary line position movement range data.

上述の回転角度計算部17では、マーカ模様の境界線位置データから回転体1の回転角度を計算し、回転角度データを作成する。   The rotation angle calculation unit 17 described above calculates the rotation angle of the rotating body 1 from the boundary line position data of the marker pattern and creates rotation angle data.

上述の記憶部18では、上述の各データ(境界線位置移動範囲データは除く)と各処理パラメータ(回転角度計算式を含む)を保管する。   The storage unit 18 stores the above-described data (excluding boundary line position movement range data) and processing parameters (including the rotation angle calculation formula).

上述のデータ出力部19では、回転体1の回転角度データを出力する。   The data output unit 19 outputs the rotation angle data of the rotating body 1.

以下、本発明の実施例1に係る回転角度計測装置の計測手順を図8に従って説明する。   Hereinafter, the measurement procedure of the rotation angle measurement apparatus according to the first embodiment of the present invention will be described with reference to FIG.

ステップS1では、画像上でのマーカ模様の境界線位置の移動範囲を予め計測する。   In step S1, the movement range of the boundary position of the marker pattern on the image is measured in advance.

まず、処理設定部11において、マーカ模様の境界線位置の検出に用いる輝度差の閾値を設定する。その後、計測対象の回転体1をラインセンサ4で撮影しながら数回転させ、画像入力部12から画像データを取り込み、時系列画像作成部13にて時系列画像データを作成する。   First, the process setting unit 11 sets a threshold value of a luminance difference used for detecting the border line position of the marker pattern. Thereafter, the rotating object 1 to be measured is rotated several times while being photographed by the line sensor 4, the image data is taken in from the image input unit 12, and the time-series image creating unit 13 creates time-series image data.

そして、処理設定部11で設定した閾値を基に、時系列画像データからマーカ模様の境界線位置を求めると、図7に示すような鋸刃上の時間に対する画像上のマーカ模様の境界線位置データのグラフ(以下、境界線位置時系列グラフと記載)を得ることができる。このグラフでP1からP2までの範囲がマーカ模様の境界線位置の移動範囲(以下、境界線位置移動範囲と記載)である。   Then, when the boundary position of the marker pattern is obtained from the time-series image data based on the threshold set by the processing setting unit 11, the boundary position of the marker pattern on the image with respect to the time on the saw blade as shown in FIG. A graph of data (hereinafter referred to as a boundary line time series graph) can be obtained. In this graph, the range from P1 to P2 is the movement range of the boundary position of the marker pattern (hereinafter referred to as the boundary position movement range).

そこで、境界線位置検出部14において境界線位置時系列グラフを作成し、境界線位置移動範囲計測部15において、境界線位置時系列グラフの、マーカ模様の境界線位置が0に最も近い点をP1とし、また、マーカ模様の境界線位置が0から最も遠い点をP2として求める。P1,P2を求める方法としては、鋸刃上のグラフの上下のピークをそれぞれ求め、下側のピークの平均をP1とし、上側のピークの平均をP2として求めても良い。こうして求めたP1,P2が、実際には螺旋状マーカ2のL1の位置,L2の位置となる。   Therefore, the boundary line position detection unit 14 creates a boundary line position time series graph, and the boundary line position movement range measurement unit 15 determines the point where the boundary line position of the marker pattern in the boundary line position time series graph is closest to zero. P1 is obtained, and a point at which the boundary line position of the marker pattern is farthest from 0 is obtained as P2. As a method of obtaining P1 and P2, the upper and lower peaks of the graph on the saw blade may be obtained, the average of the lower peak may be P1, and the average of the upper peak may be P2. P1 and P2 thus obtained are actually the positions L1 and L2 of the spiral marker 2.

ステップS2では、回転角度計算式設定部16によって回転角度計算式を予め求める。   In step S2, the rotation angle calculation formula setting unit 16 obtains a rotation angle calculation formula in advance.

まず、上述のステップ1においてマーカ模様の境界線位置の移動範囲が計算できれば、画像上でのマーカ模様の境界線位置Pと回転角度θは次式の関係となる。   First, if the movement range of the marker pattern boundary line position can be calculated in step 1 described above, the marker pattern boundary line position P on the image and the rotation angle θ have the following relationship.

P={(P2‐P1)/2π}θ+P1   P = {(P2-P1) / 2π} θ + P1

よって、回転角度計算式は次式のように求まる。   Therefore, the rotation angle calculation formula is obtained as follows.

θ=aP‐b
a={2π/(P2‐P1)}
b={2π/(P2‐P1)}P1
θ = aP−b
a = {2π / (P2-P1)}
b = {2π / (P2-P1)} P1

ステップ3から実際の回転角度の計測を開始する。まず、ステップS3では、計測対象の回転体1の撮影を行う。   From step 3, measurement of the actual rotation angle is started. First, in step S3, the rotating object 1 to be measured is photographed.

図6に示すように回転体1に設置されたマーカ2のマーカ模様をラインセンサ4で撮影し、画像入力部12から撮影した画像データを取り込み、時系列画像作成部13にて1ライン分の画像データを時系列に保存して時系列画像データを作成する。   As shown in FIG. 6, the marker pattern of the marker 2 installed on the rotator 1 is photographed by the line sensor 4, the image data photographed from the image input unit 12 is taken in, and the time-series image creation unit 13 captures one line. Save the image data in time series to create time series image data.

ステップS4では、境界線位置検出部14において、ステップ3で作成した時系列画像データからマーカ模様の境界線位置を求める。   In step S4, the boundary line position detection unit 14 obtains the boundary line position of the marker pattern from the time-series image data created in step 3.

手順としては、上述のように、画像上でのマーカ模様の境界線位置は、閾値以上の輝度が存在する位置、もしくは二階微分画像がゼロ交差する位置として求められる。そこで、時系列画像から順次1ライン分の輝度情報を読み出し、上述の方法により画像上のマーカ模様の境界線位置を求める。   As a procedure, as described above, the border line position of the marker pattern on the image is obtained as a position where the luminance equal to or higher than the threshold exists or a position where the second-order differential image crosses zero. Therefore, luminance information for one line is sequentially read from the time-series image, and the boundary line position of the marker pattern on the image is obtained by the above-described method.

ステップS5では、画像上のマーカ模様の境界線位置データから回転体1の回転角度を求める。   In step S5, the rotation angle of the rotating body 1 is obtained from the boundary line position data of the marker pattern on the image.

回転角度計算部17において、画像上でのマーカ模様の境界線位置データを上述の式 θ=aP‐b に代入し、回転角度を求める。算出された結果は、回転角度データとしてデータ出力部19から出力される。   In the rotation angle calculation unit 17, the boundary line position data of the marker pattern on the image is substituted into the above-described equation θ = aP−b to obtain the rotation angle. The calculated result is output from the data output unit 19 as rotation angle data.

ちなみに、上述のステップS1乃至S5において、各データ(境界線位置移動範囲データは除く)と各処理パラメータ(回転角度計算式を含む)は都度、記憶部18に保管される。   Incidentally, in the above-described steps S1 to S5, each data (excluding boundary line position movement range data) and each processing parameter (including a rotation angle calculation formula) are stored in the storage unit 18 each time.

本発明の実施例1に係る装置では、計測対象の回転体1に対し、ラインセンサ4が、回転体1の回転軸とラインセンサ4の光軸が垂直且つ回転体1の回転軸とラインセンサ4の撮影するラインが平行な位置関係に配置されており、計測センサが非接触での回転体1の回転角度の計測を行うことができる。また、計測センサにラインセンサ4を用いることにより、計算コストを抑えた上で高い検出角度精度を得ることができる。さらに、輝度差のはっきりしたマーカ模様の境界線位置を、解析装置5により回転角度に換算することで、複雑な処理を用いることなく高速な計算ができる。   In the apparatus according to the first embodiment of the present invention, the line sensor 4 is perpendicular to the rotating body 1 to be measured and the optical axis of the line sensor 4 is perpendicular to the rotating axis of the rotating body 1 and the line sensor. The lines to be photographed 4 are arranged in a parallel positional relationship, and the measurement sensor can measure the rotation angle of the rotating body 1 without contact. Further, by using the line sensor 4 as a measurement sensor, it is possible to obtain high detection angle accuracy while suppressing calculation cost. Further, by converting the boundary line position of the marker pattern with a clear luminance difference into a rotation angle by the analysis device 5, high-speed calculation can be performed without using complicated processing.

本発明の実施例2に係る回転角度計測装置は、図4のように、計測対象の回転体1に設置されたマーカ3と、ラインセンサ4と、解析装置5とを備える。ここで、マーカ3の設置してある計測対象の回転体1の回転軸とラインセンサ4の光軸が平行且つマーカ3とラインセンサ4が向かい合う位置関係となっている。   As illustrated in FIG. 4, the rotation angle measurement device according to the second embodiment of the present invention includes a marker 3, a line sensor 4, and an analysis device 5 that are installed on a rotating body 1 to be measured. Here, the rotation axis of the rotating body 1 to be measured and the optical axis of the line sensor 4 are parallel and the marker 3 and the line sensor 4 face each other.

ラインセンサ4は、実施例1と同一であるため説明は省略する。   Since the line sensor 4 is the same as that of the first embodiment, the description thereof is omitted.

図2に示すようにマーカは、マーカ模様の境界線が渦巻状に描かれている渦巻状マーカ3を用いる。このマーカ模様は、渦巻状マーカ3を設置した回転体1の回転角度θとマーカ模様の境界線位置Rの関係が次式になるように設計されている。   As shown in FIG. 2, the marker uses a spiral marker 3 in which the boundary line of the marker pattern is drawn in a spiral shape. This marker pattern is designed so that the relationship between the rotation angle θ of the rotating body 1 on which the spiral marker 3 is installed and the boundary line position R of the marker pattern is as follows.

R={(R2‐R1)/2π}θ+R1   R = {(R2-R1) / 2π} θ + R1

このような渦巻状マーカ3を回転体1に設置すると、回転角度とマーカ模様の境界線は図5に示すような正比例の関係となる。つまり、マーカ模様の境界線と回転角度が一意的に対応する。   When such a spiral marker 3 is installed on the rotating body 1, the rotation angle and the boundary line of the marker pattern have a direct proportional relationship as shown in FIG. That is, the boundary line of the marker pattern uniquely corresponds to the rotation angle.

また、マーカの下地とマーカ模様の明暗差を大きく取れば、ラインセンサ4で撮影した画像上ではマーカ模様の境界線位置での輝度差が急激に変化する。画像上でのマーカ模様の境界線位置は、閾値以上の輝度差が存在する位置、もしくは二階微分画像がゼロ交差する位置として求めることができる。   Also, if the difference in brightness between the marker base and the marker pattern is made large, the brightness difference at the boundary line position of the marker pattern changes abruptly on the image captured by the line sensor 4. The border line position of the marker pattern on the image can be obtained as a position where a luminance difference equal to or greater than a threshold exists or a position where the second-order differential image crosses zero.

そこで、解析装置5は、ラインセンサ4で撮影した画像から輝度差が急激に変化する画像位置を検出し、その画像位置を回転体1の回転角度に換算することで回転角度を算出する。解析装置5は、図9に示すように、画像入力部12、時系列画像作成部13、境界線位置検出部14、回転角度計算部17、処理設定部11、境界線位置移動範囲計測部15、回転角度計算式設定部16、データ出力部19、記憶部18を備える。   Therefore, the analysis device 5 detects the image position where the luminance difference changes abruptly from the image captured by the line sensor 4, and calculates the rotation angle by converting the image position to the rotation angle of the rotating body 1. As shown in FIG. 9, the analysis device 5 includes an image input unit 12, a time-series image creation unit 13, a boundary line position detection unit 14, a rotation angle calculation unit 17, a processing setting unit 11, and a boundary line position movement range measurement unit 15. A rotation angle calculation formula setting unit 16, a data output unit 19, and a storage unit 18.

上述の処理設定部11では、マーカ模様の境界線位置の検出に用いる輝度差の閾値を、処理パラメータとして設定する。   In the process setting unit 11 described above, the threshold value of the luminance difference used for detecting the border line position of the marker pattern is set as a process parameter.

上述の画像入力部12では、ラインセンサ4で撮影した1ライン分の画像データを入力する。   In the image input unit 12 described above, image data for one line captured by the line sensor 4 is input.

上述の時系列画像作成部13では、画像入力部12から入力された画像データを時系列に並べて纏めた時系列画像データを作成する。   The above-described time-series image creation unit 13 creates time-series image data in which the image data input from the image input unit 12 are arranged in time series.

上述の境界線位置検出部14では、処理設定部11で設定した閾値を基に、時系列画像データのマーカ模様の境界線位置を検出し、境界線位置データを作成する。   The above-described boundary line position detection unit 14 detects the boundary line position of the marker pattern of the time-series image data based on the threshold set by the process setting unit 11, and creates boundary line position data.

上述の境界線位置移動範囲計測部15では、回転体1を数回転させた際の境界線位置データから、マーカ模様の境界線位置の移動範囲を求め、境界線位置移動範囲データを作成する。   The above-described boundary line position movement range measurement unit 15 obtains the movement range of the boundary line position of the marker pattern from the boundary line position data when the rotator 1 is rotated several times, and creates boundary line position movement range data.

上述の回転角度計算式設定部16では、境界線位置移動範囲データから、回転体1の回転角度を計算する回転角度計算式を決定する。   The above-described rotation angle calculation formula setting unit 16 determines a rotation angle calculation formula for calculating the rotation angle of the rotator 1 from the boundary line position movement range data.

上述の回転角度計算部17では、マーカ模様の境界線位置データから回転体1の回転角度を計算し、回転角度データを作成する。   The rotation angle calculation unit 17 described above calculates the rotation angle of the rotating body 1 from the boundary line position data of the marker pattern and creates rotation angle data.

上述の記憶部18では、上述の各データ(境界線位置移動範囲データは除く)と各処理パラメータ(回転角度計算式を含む)を保管する。   The storage unit 18 stores the above-described data (excluding boundary line position movement range data) and processing parameters (including the rotation angle calculation formula).

上述のデータ出力部19では、回転体1の回転角度データを出力する。   The data output unit 19 outputs the rotation angle data of the rotating body 1.

以下、本発明の実施例2に係る回転角度計測装置の計測手順を図8に従って説明する。   Hereinafter, the measurement procedure of the rotation angle measurement apparatus according to the second embodiment of the present invention will be described with reference to FIG.

ステップS1では、画像上でのマーカ模様の境界線位置の移動範囲を予め計測する。   In step S1, the movement range of the boundary position of the marker pattern on the image is measured in advance.

まず、処理設定部11において、マーカ模様の境界線位置の検出に用いる輝度差の閾値を設定する。その後、計測対象の回転体1をラインセンサ4で撮影しながら数回転させ、画像入力部12から画像データを取り込み、時系列画像作成部13にて時系列画像データを作成、保管する。   First, the process setting unit 11 sets a threshold value of a luminance difference used for detecting the border line position of the marker pattern. Thereafter, the rotating object 1 to be measured is rotated several times while being photographed by the line sensor 4, the image data is taken in from the image input unit 12, and the time-series image creating unit 13 creates and stores the time-series image data.

そして処理設定部11で設定した閾値を基に、時系列画像データからマーカ模様の境界線位置を求めると、図7に示すような境界線位置時系列グラフを得ることができる。このグラフでP1からP2までの範囲がマーカ模様の境界線位置移動範囲である。   Then, when the boundary line position of the marker pattern is obtained from the time series image data based on the threshold set by the process setting unit 11, a boundary line position time series graph as shown in FIG. 7 can be obtained. In this graph, the range from P1 to P2 is the boundary line position movement range of the marker pattern.

そこで境界線位置検出部14において境界線位置時系列グラフを作成し、境界線位置移動範囲計測部15において、境界線位置時系列グラフの、マーカ模様の境界線位置が0に最も近い点をP1とし、また、マーカ模様の境界線位置が0から最も遠い点をP2として求める。P1,P2を求める方法としては、鋸刃上のグラフの上下のピークをそれぞれ求め、下側のピークの平均をP1とし、上側のピークの平均をP2として求めても良い。こうして求めたP1,P2が、実際には渦巻状マーカのR1の位置,R2の位置となる。   Therefore, the boundary line position detection unit 14 creates a boundary line position time series graph, and the boundary line position movement range measurement unit 15 determines the point of the boundary line position time series graph where the boundary line position of the marker pattern is closest to 0 P1. In addition, a point where the boundary line position of the marker pattern is farthest from 0 is obtained as P2. As a method of obtaining P1 and P2, the upper and lower peaks of the graph on the saw blade may be obtained, the average of the lower peak may be P1, and the average of the upper peak may be P2. P1 and P2 thus determined are actually the positions of R1 and R2 of the spiral marker.

ステップS2では、回転角度計算式設定部16によって回転角度計算式を予め求める。   In step S2, the rotation angle calculation formula setting unit 16 obtains a rotation angle calculation formula in advance.

まず、上述のステップ1においてマーカ模様の境界線位置移動範囲が計算できれば、画像上でのマーカ模様の境界線位置Pと回転角度θは次式の関係となる。   First, if the boundary position movement range of the marker pattern can be calculated in step 1 described above, the boundary position P of the marker pattern on the image and the rotation angle θ have the following relationship.

P={(P2‐P1)/2π}θ+P1   P = {(P2-P1) / 2π} θ + P1

よって、回転角度計算式は次式のように求まる。   Therefore, the rotation angle calculation formula is obtained as follows.

θ=aP‐b
a={2π/(P2‐P1)}
b={2π/(P2‐P1)}P1
θ = aP−b
a = {2π / (P2-P1)}
b = {2π / (P2-P1)} P1

ステップ3から実際の回転角度の計測を開始する。まず、ステップS3では、計測対象の回転体1の撮影を行う。   From step 3, measurement of the actual rotation angle is started. First, in step S3, the rotating object 1 to be measured is photographed.

図6に示すように回転体1に設置されたマーカ2のマーカ模様をラインセンサ4で撮影し、画像入力部12から撮影した画像データを取り込み、時系列画像作成部13にて1ライン分の画像データを時系列に保存して時系列画像データを作成する。   As shown in FIG. 6, the marker pattern of the marker 2 installed on the rotator 1 is photographed by the line sensor 4, the image data photographed from the image input unit 12 is taken in, and the time-series image creation unit 13 captures one line. Save the image data in time series to create time series image data.

ステップS4では、境界線位置検出部14において、ステップ3で作成した時系列画像データからマーカ模様の境界線位置を求める。   In step S4, the boundary line position detection unit 14 obtains the boundary line position of the marker pattern from the time-series image data created in step 3.

手順としては、上述のように、画像上でのマーカ模様の境界線位置は、閾値以上の輝度が存在する位置、もしくは二階微分画像がゼロ交差する位置として求められる。そこで、時系列画像から順次1ライン分の輝度情報を読み出し、上述の方法により画像上のマーカ模様の境界線位置を求める。   As a procedure, as described above, the border line position of the marker pattern on the image is obtained as a position where the luminance equal to or higher than the threshold exists or a position where the second-order differential image crosses zero. Therefore, luminance information for one line is sequentially read from the time-series image, and the boundary line position of the marker pattern on the image is obtained by the above-described method.

ステップS5では、画像上のマーカ模様の境界線位置データから回転体1の回転角度を求める。   In step S5, the rotation angle of the rotating body 1 is obtained from the boundary line position data of the marker pattern on the image.

回転角度計算部17において、画像上でのマーカ模様の境界線位置データを上述の式 θ=aP‐b に代入し、回転角度を求める。算出された結果は、回転角度データとしてデータ出力部19から出力される。   In the rotation angle calculation unit 17, the boundary line position data of the marker pattern on the image is substituted into the above-described equation θ = aP−b to obtain the rotation angle. The calculated result is output from the data output unit 19 as rotation angle data.

ちなみに、上述のステップS1乃至S5において、各データ(境界線位置移動範囲データは除く)と各処理パラメータ(回転角度計算式を含む)は都度、記憶部18に保管される。   Incidentally, in the above-described steps S1 to S5, each data (excluding boundary line position movement range data) and each processing parameter (including a rotation angle calculation formula) are stored in the storage unit 18 each time.

本発明の実施例2に係る装置では、計測対象の回転体1に対し、ラインセンサ4が、回転体1の回転軸とラインセンサ4の光軸が平行且つ渦巻状マーカ3とラインセンサ4が向かい合う位置関係に設置されており、計測センサが非接触での回転体1の回転角度の計測を行うことができる。また、計測センサにラインセンサ4を用いることにより、計算コストを抑えた上で高い検出角度精度を得ることができる。さらに、輝度差のはっきりしたマーカ模様の境界線位置を、解析装置5により回転角度に換算することで、複雑な処理を用いることなく高速な計算ができる。   In the apparatus according to the second embodiment of the present invention, the line sensor 4 is parallel to the rotating body 1 to be measured, the rotational axis of the rotating body 1 is parallel to the optical axis of the line sensor 4, and the spiral marker 3 and the line sensor 4 are connected. It is installed in a positional relationship facing each other, and the measurement sensor can measure the rotation angle of the rotating body 1 without contact. Further, by using the line sensor 4 as a measurement sensor, it is possible to obtain high detection angle accuracy while suppressing calculation cost. Further, by converting the boundary line position of the marker pattern with a clear luminance difference into a rotation angle by the analysis device 5, high-speed calculation can be performed without using complicated processing.

本発明の実施例1,2に係る回転角度計測装置では、マーカが精度よく回転体に設置されている必要がある。機械加工したマーカを回転体に設置する場合は良いが、既存の回転軸等に手作業でマーカを後付けするような場合はマーカの設置に高い精度は望めず、境界線位置の歪みに起因する回転角度の検出精度が低下する。   In the rotation angle measuring device according to the first and second embodiments of the present invention, the marker needs to be installed on the rotating body with high accuracy. It is good to place a machined marker on a rotating body, but if the marker is manually attached to an existing rotating shaft, etc., high accuracy cannot be expected for marker placement, resulting from distortion of the boundary line position. The detection accuracy of the rotation angle is lowered.

そこで、本発明の実施例3に係る回転角度計測装置は、マーカの位置校正を行う機能を有する。   Therefore, the rotation angle measuring device according to the third embodiment of the present invention has a function of calibrating the marker position.

即ち、実施例1,2に係る回転角度計測装置では、マーカが正確に設置されていることを前提として、段落[005],[008]の関係式によりマーカ模様の境界線位置から回転角度を換算しているが、マーカ設置に歪みがあるような場合は直線ではなく曲線のグラフとなってしまう。実施例3に係る回転角度計測装置では、マーカの設置に歪みがあることを考慮して、マーカ模様の境界線の三次元的な位置(以下、マーカ模様の境界線三次元位置と記載)の計測を予め行うことで、画像上のマーカ模様の境界線位置と回転角度の関係を表したグラフ(以下、画素‐角度グラフと記載)を作成し、当該グラフを参照することによりラインセンサで計測したマーカ模様の境界線位置から回転角度を求める。画素‐角度グラフの作成方法については後述する。 That is, in the rotation angle measuring apparatus according to the first and second embodiments, the rotation is performed from the boundary position of the marker pattern according to the relational expressions in paragraphs [005 1 ] and [008 5 ] on the assumption that the marker is accurately installed. Although the angle is converted, if there is distortion in the marker installation, the graph is not a straight line but a curve. In the rotation angle measuring apparatus according to the third embodiment, the three-dimensional position of the boundary line of the marker pattern (hereinafter referred to as the three-dimensional position of the boundary line of the marker pattern) is considered in consideration of distortion in the marker installation. By performing measurement in advance, a graph (hereinafter referred to as pixel-angle graph) showing the relationship between the position of the boundary line of the marker pattern on the image and the rotation angle is created, and measurement is performed with a line sensor by referring to the graph. The rotation angle is obtained from the boundary line position of the marker pattern. A method for creating the pixel-angle graph will be described later.

本発明の実施例3に係る回転角度計測装置は、図10のように、計測対象の回転体1に設置された螺旋状マーカ2と、ラインセンサ4と、解析装置20と、高精細カメラ31とを備える。   As shown in FIG. 10, the rotation angle measurement apparatus according to the third embodiment of the present invention includes a spiral marker 2, a line sensor 4, an analysis apparatus 20, and a high-definition camera 31 that are installed on a rotating body 1 to be measured. With.

上述の螺旋状マーカ2及びラインセンサ4については、実施例1と同一のため説明は省略する。   The helical marker 2 and the line sensor 4 described above are the same as those in the first embodiment, and thus description thereof is omitted.

高精細カメラ31は、マーカ模様をラインセンサ4と同方向から高精細画像として撮影するものである。ここでの高精細とは、ラインセンサ4に比べて高精細で、マーカ模様の境界線位置を求められる程度の精度を示している(例えば200万画素程度)。   The high definition camera 31 captures the marker pattern as a high definition image from the same direction as the line sensor 4. Here, the high definition indicates a high definition as compared with the line sensor 4 and an accuracy with which the boundary line position of the marker pattern can be obtained (for example, about 2 million pixels).

解析装置20は、図11のように、処理設定部21と、画像入力部22と、高精細カメラ画像用境界線位置検出部23と、境界線三次元位置計算部24と、境界線三次元位置合成部25と、画素‐角度グラフ作成部26と、境界線位置検出部27と、回転角度換算部28と、記憶部29と、データ出力部30とを備える。   As shown in FIG. 11, the analysis device 20 includes a process setting unit 21, an image input unit 22, a high-definition camera image boundary line position detection unit 23, a boundary line three-dimensional position calculation unit 24, and a boundary line three-dimensional image. The position synthesis unit 25, the pixel-angle graph creation unit 26, the boundary line position detection unit 27, the rotation angle conversion unit 28, the storage unit 29, and the data output unit 30 are provided.

上述の処理設定部21は、マーカ模様の境界線位置の検出に用いる閾値、高精細カメラ31のレンズ焦点距離、画像素子サイズ、ラインセンサ4及び高精細カメラ31の位置、螺旋状マーカ2の設置表面の形状(円柱側面)データ等を処理パラメータとして設定する。   The above-described processing setting unit 21 is configured to detect the threshold value used for detecting the border line position of the marker pattern, the lens focal length of the high-definition camera 31, the image element size, the position of the line sensor 4 and the high-definition camera 31, and the installation of the spiral marker 2. Surface shape (cylinder side surface) data and the like are set as processing parameters.

上述の画像入力部22は、ラインセンサ4または高精細カメラ31で撮影した輝度情報を画像データとして入力する。   The image input unit 22 described above inputs luminance information captured by the line sensor 4 or the high-definition camera 31 as image data.

上述の高精細カメラ画像用境界線位置検出部23は、高精細カメラ31で撮影した画像上のマーカ模様の境界線位置を境界線位置データとして検出する。   The high-definition camera image boundary line position detection unit 23 detects the boundary line position of the marker pattern on the image captured by the high-definition camera 31 as boundary line position data.

上述の境界線三次元位置計算部24は、境界線位置データと処理パラメータを基に、高精細カメラ31で撮影したマーカ模様の境界線三次元位置データを作成する。   The above-described boundary line three-dimensional position calculation unit 24 creates boundary line three-dimensional position data of the marker pattern photographed by the high-definition camera 31 based on the boundary line position data and the processing parameters.

上述の境界線三次元位置合成部25は、処理パラメータと、回転体1の回転角度を変えていき高精細カメラ31で撮影した複数の画像上のマーカ模様の境界線三次元位置データとを基に、マーカ模様の境界線三次元位置データを合成し、回転体1の全周に渡るマーカ模様の境界線三次元位置データを作成する。   The boundary line three-dimensional position synthesis unit 25 described above is based on processing parameters and boundary line three-dimensional position data of marker patterns on a plurality of images taken by the high-definition camera 31 while changing the rotation angle of the rotating body 1. Then, the boundary pattern three-dimensional position data of the marker pattern is synthesized, and the boundary line three-dimensional position data of the marker pattern over the entire circumference of the rotating body 1 is created.

上述の画素‐角度グラフ作成部26は、処理パラメータと、回転体1の全周に渡るマーカ模様の境界線三次元位置データとを基に画素‐角度グラフデータを作成する。   The pixel-angle graph creating unit 26 described above creates pixel-angle graph data based on the processing parameters and the boundary pattern three-dimensional position data of the marker pattern over the entire circumference of the rotating body 1.

上述の境界位置検出部27は、ラインセンサ4で撮影した画像上のマーカ模様の境界線位置を境界線位置データとして検出する。   The boundary position detection unit 27 described above detects the boundary line position of the marker pattern on the image captured by the line sensor 4 as boundary line position data.

上述の回転角度換算部28は、境界線位置データを基に、画素‐角度グラフを参照し、ラインセンサ4の画像上のマーカ模様の境界線位置を回転角度に換算して回転角度データを作成する。   The rotation angle conversion unit 28 described above creates rotation angle data by referring to the pixel-angle graph based on the boundary line position data and converting the boundary line position of the marker pattern on the image of the line sensor 4 into a rotation angle. To do.

上述の記憶部29は、上述の各データ及び各処理パラメータを保管する。   The above-described storage unit 29 stores the above-described data and processing parameters.

上述のデータ出力部30は、回転角度データを出力する。   The data output unit 30 described above outputs rotation angle data.

換言すれば、解析装置20は、マーカ模様の境界線位置の検出に用いる閾値と、高精細カメラ31のレンズ焦点距離と、画像素子サイズと、ラインセンサ4及び高精細カメラ31の位置と、マーカの設置表面の形状データとを処理パラメータとして設定する処理設定部21と、ラインセンサ4または高精細カメラ31で撮影した輝度情報を入力する画像入力部22と、高精細カメラ31で撮影した画像上のマーカ模様の境界線位置を第1の境界線位置データとして検出する高精細カメラ画像用境界線位置検出部23と、第1の境界線位置データと処理パラメータを基に、高精細カメラ31で撮影した境界線三次元位置のデータを作成する境界線三次元位置計算部24と、処理パラメータと、回転体1の回転角度を変えていき高精細カメラ31で撮影した複数の境界線三次元位置データとを基に、当該境界線三次元位置データを合成し、回転体1の全周に渡る境界線三次元位置データを作成する境界線三次元位置合成部25と、処理パラメータと、回転体1の全周に渡る境界線三次元位置データとを基に、ラインセンサ4による撮影を行う場合の画像上のマーカ模様の境界線位置と回転体1の回転角度の関係を導出する画素‐角度グラフ作成部26と、ラインセンサ4で撮影した画像上のマーカ模様の境界線位置を第2の境界線位置データとして検出する境界位置検出部と、第2の境界線位置データを基に、上記関係を参照し、ラインセンサ4の画像上のマーカ模様の境界線位置を回転体1の回転角度に換算する回転角度換算部とを備えるというものである。   In other words, the analysis device 20 uses the threshold value used for detecting the border line position of the marker pattern, the lens focal length of the high-definition camera 31, the image element size, the positions of the line sensor 4 and the high-definition camera 31, and the marker. A processing setting unit 21 that sets the shape data of the installation surface of the image as processing parameters, an image input unit 22 that inputs luminance information captured by the line sensor 4 or the high-definition camera 31, and an image captured by the high-definition camera 31 A high-definition camera image boundary line position detection unit 23 that detects the boundary line position of the marker pattern as first boundary line position data, and the high-definition camera 31 based on the first boundary line position data and processing parameters. A boundary 3D position calculation unit 24 that creates data of the captured 3D position of the boundary line, a high-definition camera 31 that changes processing parameters and the rotation angle of the rotating body 1 Boundary line 3D position synthesis unit that synthesizes the boundary line 3D position data based on a plurality of captured boundary line 3D position data and creates boundary 3D position data over the entire circumference of the rotating body 1 25, the processing parameter, and the boundary line position of the marker pattern on the image and the rotation of the rotating body 1 when the image is captured by the line sensor 4 based on the processing parameter and the boundary three-dimensional position data over the entire circumference of the rotating body 1. A pixel-angle graph creation unit 26 for deriving an angle relationship; a boundary position detection unit that detects a boundary line position of a marker pattern on an image captured by the line sensor 4 as second boundary line position data; A rotation angle conversion unit that converts the boundary line position of the marker pattern on the image of the line sensor 4 into the rotation angle of the rotator 1 with reference to the above relationship based on the boundary line position data.

以下、本発明の実施例3に係る回転角度計測装置の計測手順を図13に従って説明する。   Hereinafter, the measurement procedure of the rotation angle measurement apparatus according to the third embodiment of the present invention will be described with reference to FIG.

ステップS11では、下記段落[0116]〜[0124]により、画素‐角度グラフを作成する。 In step S11, a pixel-angle graph is created according to the following paragraphs [01 16 ] to [01 24 ].

計測対象である回転体1の螺旋状マーカ2の設置部分の形状(円柱側面)、及びラインセンサ4から計測対象の回転体1までの距離は、予め分かっているものとする。この条件下で、マーカ模様の境界線三次元位置を求めることで、画素‐角度グラフを作成する。マーカ模様の境界線三次元位置計測は以下の手順で行う。   It is assumed that the shape (cylindrical side surface) of the installation portion of the spiral marker 2 of the rotator 1 to be measured and the distance from the line sensor 4 to the rotator 1 to be measured are known in advance. Under this condition, a pixel-angle graph is created by obtaining the three-dimensional position of the boundary line of the marker pattern. The marker pattern boundary line three-dimensional position measurement is performed by the following procedure.

まず第1の手順として、図10に示すように、ラインセンサ4ではなく高精細カメラ31を解析装置20に接続する。   First, as a first procedure, as shown in FIG. 10, not the line sensor 4 but the high-definition camera 31 is connected to the analysis device 20.

第2の手順として、高精細カメラ31において、回転体1に設けられた螺旋状マーカ2の高精細画像を撮影し、高精細カメラ画像用境界線位置検出部23において、画像上でのマーカ模様の境界線位置を求める。画像上での境界線位置の求め方は、実施例1において説明したラインセンサ4で撮影した場合と同様の方法を用いる。 As a second procedure, the high-definition camera 31 takes a high-definition image of the spiral marker 2 provided on the rotating body 1 and the high-definition camera image boundary position detection unit 23 performs a marker pattern on the image. Find the boundary position of. Determination of the boundary line position on the image, Ru using the same method as taken by the line sensor 4 described in the first embodiment.

第3の手順として、境界線三次元位置計算部24において、高精細カメラ画像用境界線位置検出部23から境界線位置データを入力し、図14に示すように、マーカ模様の境界線三次元位置を、高精細カメラ31のレンズ焦点cから撮像面bでの境界線位置を通って回転体1の螺旋状マーカ2の設置位置に交差する点aとして求める。これにより、図15に示すように、回転体1に対して部分的なマーカ模様の境界線三次元位置(図中の曲線部分)が求められる(図中の直線は回転体1の回転軸dを示している)。   As a third procedure, the boundary line three-dimensional position calculation unit 24 inputs boundary line position data from the boundary line position detection unit 23 for high-definition camera images, and as shown in FIG. The position is obtained as a point a that intersects the installation position of the spiral marker 2 of the rotator 1 from the lens focus c of the high-definition camera 31 through the boundary position on the imaging surface b. As a result, as shown in FIG. 15, the boundary pattern three-dimensional position (curved portion in the figure) of the partial marker pattern is obtained with respect to the rotator 1 (the straight line in the figure is the rotation axis d of the rotator 1). Is shown).

第4の手順として、回転体1を回転軸d中心に回転させ、角度を変えて第3の手順を順次行い、マーカ模様の境界線三次元位置を回転体1の側面全周に渡り計測する。   As a fourth procedure, the rotating body 1 is rotated about the rotation axis d, the angle is changed, the third procedure is sequentially performed, and the boundary line three-dimensional position of the marker pattern is measured over the entire side surface of the rotating body 1. .

第5の手順として、境界線三次元位置合成部25により、第4の手順にて複数回に分割して得たマーカ模様の境界線三次元位置データを境界線三次元位置計算部24から入力して合成し、回転体1の側面全周に渡るマーカ模様の境界線三次元位置データを作成する。   As a fifth procedure, the boundary line three-dimensional position calculation unit 24 inputs the boundary line three-dimensional position data of the marker pattern obtained by dividing the plurality of times in the fourth procedure by the boundary line three-dimensional position synthesis unit 25. Then, the boundary pattern three-dimensional position data of the marker pattern over the entire circumference of the side surface of the rotating body 1 is created.

第6の手順として、高精細カメラ31をラインセンサ4に取り換える。   As a sixth procedure, the high-definition camera 31 is replaced with the line sensor 4.

次に、画素‐角度グラフ作成部26により、境界線三次元位置合成部25から入力した、回転体1の側面全周に渡るマーカ模様の境界線三次元位置データを用いて、画素‐角度グラフを作成する。   Next, the pixel-angle graph creation unit 26 uses the marker-pattern boundary line three-dimensional position data that is input from the boundary line three-dimensional position synthesis unit 25 and covers the entire circumference of the side surface of the rotating body 1. Create

即ち、ラインセンサ4で撮影すると仮定して、図16のように、マーカ模様の境界線三次元位置とラインセンサ4のレンズ焦点c´を結ぶ直線がラインセンサ4の撮像ラインeと交差する点f,gを求める。これがラインセンサ4の画像上でのマーカ模様の境界線位置となる。これを側面全周に渡り行うことで、画素‐角度グラフを作成する。手作業で螺旋状マーカ2を回転体1に後付けしたような場合、作成した画素‐角度グラフは例えば図12のようになる。以上がステップS11である。   That is, assuming that the image is taken by the line sensor 4, a point where the straight line connecting the three-dimensional position of the boundary line of the marker pattern and the lens focal point c ′ of the line sensor 4 intersects the imaging line e of the line sensor 4 as shown in FIG. Find f and g. This becomes the boundary line position of the marker pattern on the image of the line sensor 4. By doing this over the entire circumference of the side surface, a pixel-angle graph is created. When the spiral marker 2 is attached to the rotating body 1 manually, the created pixel-angle graph is as shown in FIG. The above is step S11.

ステップS12では、ラインセンサ4で図6に示すように計測対象の回転体1を撮影する。   In step S12, the rotating object 1 to be measured is photographed by the line sensor 4 as shown in FIG.

ステップS13では、ラインセンサ4で撮影した画像からマーカ模様の境界線位置を求める。即ち、境界線位置検出部27において、画像上での閾値以上の輝度差が存在する位置、もしくは、二階微分画像がゼロ交差する位置を、画像上のマーカ模様の境界線位置として求める。   In step S13, the position of the boundary line of the marker pattern is obtained from the image captured by the line sensor 4. That is, the boundary line position detection unit 27 obtains a position where a luminance difference equal to or larger than a threshold value on the image or a position where the second-order differential image crosses zero as the boundary line position of the marker pattern on the image.

ステップS14では、画像上のマーカ模様の境界線位置から回転角度を求める。   In step S14, the rotation angle is obtained from the boundary line position of the marker pattern on the image.

即ち、回転角度換算部28において、画像上での境界線位置を基に画素‐角度グラフを参照し、画像上のマーカ模様の境界線位置を回転角度に換算して回転角度を求める。   That is, the rotation angle conversion unit 28 refers to the pixel-angle graph based on the boundary line position on the image, converts the marker line boundary line position on the image into a rotation angle, and obtains the rotation angle.

このようにして実施例3に係る回転角度計測装置では、マーカの設置に歪みがあることを考慮して、マーカ模様の境界線三次元位置計測を予め行うことで、画素‐角度グラフを作成し、ラインセンサで計測したマーカ模様の境界線位置から画素‐角度グラフを参照することで回転角度を求めるものである。   In this way, in the rotation angle measurement apparatus according to the third embodiment, in consideration of the distortion in the marker installation, a pixel-angle graph is created by measuring the boundary line three-dimensional position of the marker pattern in advance. The rotation angle is obtained by referring to the pixel-angle graph from the boundary position of the marker pattern measured by the line sensor.

実施例3に係る回転角度計測装置では、実施例1,2に係る回転角度計測装置に比べて、高精細画像を基に、マーカ模様の境界線位置と回転角度の関係を予め導出しておくことにより、さらに、マーカの設置に高精度な加工を必要とせずに回転角度が計測でき、作業の簡略化を図ることができる。   In the rotation angle measurement device according to the third embodiment, the relationship between the marker pattern boundary line position and the rotation angle is derived in advance based on the high-definition image as compared with the rotation angle measurement devices according to the first and second embodiments. Thus, the rotation angle can be measured without requiring high-precision processing for installing the marker, and the work can be simplified.

本実施例では、実施例1で用いた螺旋状マーカ2を例に挙げて説明したが、実施例2で用いた渦巻状マーカ3を適用することも可能である。但し、渦巻状マーカ3では、マーカ設置表面の形状を回転体1の上面または底面の平面としてマーカ模様の境界線三次元位置を求めることになる。さらに言えば、回転体1の回転角度との関係が一意的に対応するマーカ模様の境界線位置を有するマーカであれば形状を問わず適用可能である。   In the present embodiment, the spiral marker 2 used in the first embodiment has been described as an example, but the spiral marker 3 used in the second embodiment can also be applied. However, in the spiral marker 3, the three-dimensional position of the boundary line of the marker pattern is obtained with the shape of the marker installation surface as the plane of the upper surface or the bottom surface of the rotating body 1. Furthermore, any marker can be applied as long as it has a marker pattern boundary line position that uniquely corresponds to the rotation angle of the rotating body 1.

本発明は、画像処理により、計測センサが非接触で回転体の回転角度を計測する、回転角度計測装置及び方法に装置及び方法として好適である。   INDUSTRIAL APPLICABILITY The present invention is suitable as an apparatus and method for a rotation angle measurement apparatus and method in which a measurement sensor measures the rotation angle of a rotating body in a non-contact manner through image processing.

1 回転体
2 螺旋状マーカ
3 渦巻状マーカ
4 ラインセンサ
5,20 解析装置
11,21 処理設定部
12,22 画像入力部
13 時系列画像作成部
14 境界線位置検出部
15 境界線位置移動範囲計測部
16 回転角度計算式設定
17 回転角度計算部
18,29 記憶部
19,30 データ出力部
23 高精細カメラ画像用境界線位置検出部
24 境界線三次元位置計算部
25 境界線三次元位置合成部
26 画素‐角度グラフ作成部
27 境界線位置検出部
28 回転角度換算部
31 高精細カメラ
DESCRIPTION OF SYMBOLS 1 Rotating body 2 Spiral marker 3 Spiral marker 4 Line sensor 5, 20 Analysis apparatus 11, 21 Process setting part 12, 22 Image input part 13 Time series image creation part 14 Boundary line position detection part 15 Boundary line position movement range measurement Unit 16 rotation angle calculation formula setting 17 rotation angle calculation unit 18, 29 storage unit 19, 30 data output unit 23 boundary line position detection unit for high-definition camera image 24 boundary line 3D position calculation unit 25 boundary line 3D position synthesis unit 26 Pixel-angle graph creation unit 27 Boundary line position detection unit 28 Rotation angle conversion unit 31 High-definition camera

Claims (11)

計測対象の回転体に設置されたマーカと、
前記マーカのマーカ模様を撮影するラインセンサと、
前記マーカ模様を前記ラインセンサと同方向から高精細画像として撮影する高精細カメラと、
前記ラインセンサで撮影された画像を解析して前記回転体の回転角度を求める解析装置とを備え
前記解析装置は、前記高精細カメラで撮影した前記高精細画像より、前記マーカ模様の境界線の三次元的な位置である境界線三次元位置のデータを求め、当該データに基づき、前記ラインセンサによる撮影を行う場合の画像上の前記マーカ模様の境界線位置と前記回転角度の関係を予め導出しておいた上で、前記ラインセンサで撮影した画像から前記マーカ模様の境界線位置を求め、前記関係に基づき、前記マーカ模様の境界線位置を前記回転角度に換算することを特徴とする回転角度計測装置。
A marker installed on a rotating object to be measured;
A line sensor that images the marker pattern of the marker;
A high-definition camera that captures the marker pattern as a high-definition image from the same direction as the line sensor;
An analyzer for analyzing the image taken by the line sensor and obtaining the rotation angle of the rotating body ,
The analysis device obtains data of a three-dimensional boundary line that is a three-dimensional position of the boundary line of the marker pattern from the high-definition image photographed by the high-definition camera, and based on the data, the line sensor After deriving in advance the relationship between the rotation position and the marker pattern boundary line position on the image when shooting by obtaining the marker pattern boundary line position from the image captured by the line sensor, A rotation angle measuring device that converts a boundary line position of the marker pattern into the rotation angle based on the relationship .
前記マーカのマーカ模様の境界線位置は、前記回転体の回転角度との関係が一意的に対応することを特徴とする請求項1に記載の回転角度計測装置。   The rotation angle measuring device according to claim 1, wherein the marker line boundary position of the marker uniquely corresponds to the rotation angle of the rotating body. 前記マーカのマーカ模様の境界線位置は、前記回転体の回転角度との関係が正比例であることを特徴とする請求項1または2に記載の回転角度計測装置。   The rotation angle measuring device according to claim 1, wherein the marker line boundary position of the marker is directly proportional to the rotation angle of the rotating body. 前記マーカが上面または底面に設置された前記回転体に対し、前記ラインセンサは、前記回転体の回転軸と前記ラインセンサの光軸が平行且つ前記マーカと前記ラインセンサが向かい合う位置関係に配置されており、
前記マーカは、渦巻状のマーカ模様の境界線を有することを特徴とする請求項1乃至3いずれか1項に記載の回転角度計測装置。
The line sensor is arranged in a positional relationship in which the rotation axis of the rotating body and the optical axis of the line sensor are parallel and the marker and the line sensor face each other with respect to the rotating body on which the marker is installed on the upper surface or the bottom surface. And
The rotation angle measuring device according to any one of claims 1 to 3, wherein the marker has a spiral marker pattern boundary line.
前記マーカが側面に設置された前記回転体に対し、前記ラインセンサは、前記回転体の回転軸と前記ラインセンサの光軸が垂直且つ前記回転体の回転軸と前記ラインセンサの撮影ラインが平行な位置関係に配置されており、
前記マーカは、螺旋状のマーカ模様の境界線を有することを特徴とする請求項1乃至3いずれか1項に記載の回転角度計測装置。
The line sensor has a rotation axis of the rotation body and the optical axis of the line sensor perpendicular to each other and the imaging axis of the line sensor is parallel to the rotation body on which the marker is installed on the side surface. Are arranged in various positional relationships,
The rotation angle measuring device according to any one of claims 1 to 3, wherein the marker has a boundary line of a spiral marker pattern.
前記解析装置は、
前記マーカ模様の境界線位置の検出に用いる閾値と、前記高精細カメラのレンズ焦点距離と、画像素子サイズと、前記ラインセンサ及び前記高精細カメラの位置と、前記マーカの設置表面の形状データとを処理パラメータとして設定する処理設定部と、
前記ラインセンサまたは前記高精細カメラで撮影した輝度情報を入力する画像入力部と、
前記高精細カメラで撮影した画像上の前記マーカ模様の境界線位置を第1の境界線位置データとして検出する高精細カメラ画像用境界線位置検出部と、
前記第1の境界線位置データと前記処理パラメータを基に、前記高精細カメラで撮影した前記境界線三次元位置のデータを作成する境界線三次元位置計算部と、
前記処理パラメータと、前記回転体の回転角度を変えていき前記高精細カメラで撮影した複数の前記境界線三次元位置データとを基に、当該境界線三次元位置データを合成し、前記回転体の全周に渡る前記境界線三次元位置データを作成する境界線三次元位置合成部と、
前記処理パラメータと、前記回転体の全周に渡る前記境界線三次元位置データとを基に、前記関係を導出する画素‐角度グラフ作成部と、
前記ラインセンサで撮影した画像上の前記マーカ模様の境界線位置を第2の境界線位置データとして検出する境界位置検出部と、
前記第2の境界線位置データを基に、前記関係を参照し、前記ラインセンサの画像上の前記マーカ模様の境界線位置を回転角度に換算する回転角度換算部とを備えることを特徴とする請求項1乃至5いずれか1項に記載の回転角度計測装置。
The analysis device includes:
A threshold value used for detecting a boundary position of the marker pattern, a lens focal length of the high-definition camera, an image element size, a position of the line sensor and the high-definition camera, and shape data of an installation surface of the marker; A process setting unit for setting as a process parameter;
An image input unit for inputting luminance information photographed by the line sensor or the high-definition camera;
A high-definition camera image boundary line position detection unit that detects a boundary line position of the marker pattern on the image captured by the high-definition camera as first boundary line position data;
Based on the first boundary line position data and the processing parameters, a boundary line three-dimensional position calculation unit that creates data of the boundary line three-dimensional position photographed by the high-definition camera;
Based on the processing parameter and the plurality of boundary line 3D position data photographed by the high-definition camera while changing the rotation angle of the rotating body, the boundary line 3D position data is synthesized, and the rotating body A boundary line three-dimensional position synthesis unit that creates the boundary line three-dimensional position data over the entire circumference,
A pixel-angle graph creating unit for deriving the relationship based on the processing parameters and the boundary line three-dimensional position data over the entire circumference of the rotating body;
A boundary position detection unit for detecting a boundary line position of the marker pattern on the image captured by the line sensor as second boundary line position data;
A rotation angle conversion unit that converts the boundary line position of the marker pattern on the image of the line sensor into a rotation angle with reference to the relationship based on the second boundary line position data. The rotation angle measuring device according to any one of claims 1 to 5 .
計測対象の回転体にマーカを設置し、ラインセンサで前記マーカのマーカ模様を撮影した画像を、解析装置で解析することで、前記回転体の回転角度を求める回転角度計測方法であって、
高精細カメラによって、前記マーカ模様を前記ラインセンサと同方向から高精細画像として撮影し、前記解析装置にて、前記高精細画像より、前記マーカ模様の境界線の三次元的な位置である境界線三次元位置のデータを求め、当該データに基づき、前記ラインセンサによる撮影を行う場合の画像上の前記マーカ模様の境界線位置と前記回転角度の関係を予め導出しておいた上で、前記ラインセンサで撮影した画像から前記マーカ模様の境界線位置を求め、前記関係に基づき、前記マーカ模様の境界線位置を前記回転角度に換算することを特徴とする回転角度計測方法。
The marker was placed on the rotating body to be measured, an image obtained by photographing the marker pattern of the marker in the line sensor, by analyzing with the analysis apparatus, a rotational angle measuring method asking you to rotation angle of the rotating body,
The marker pattern is photographed as a high-definition image from the same direction as the line sensor by a high-definition camera, and the boundary that is a three-dimensional position of the boundary line of the marker pattern from the high-definition image by the analyzer Obtaining the data of the line three-dimensional position, and based on the data, after deriving in advance the relationship between the position of the marker pattern boundary line on the image when the image is taken by the line sensor and the rotation angle, A rotation angle measurement method comprising: obtaining a boundary line position of the marker pattern from an image photographed by a line sensor; and converting the boundary line position of the marker pattern into the rotation angle based on the relationship .
前記マーカのマーカ模様の境界線位置と前記回転体の回転角度との関係を一意的に対応させることを特徴とする請求項に記載の回転角度計測方法。 The rotation angle measurement method according to claim 7 , wherein a relationship between a marker pattern boundary line position of the marker and a rotation angle of the rotating body is uniquely associated. 前記マーカのマーカ模様の境界線位置と前記回転体の回転角度との関係を正比例させることを特徴とする請求項またはに記載の回転角度計測方法。 The rotation angle measurement method according to claim 7 or 8 , wherein a relationship between a marker line boundary line position of the marker and a rotation angle of the rotating body is directly proportional. 前記マーカが上面または底面に設置された前記回転体に対し、前記ラインセンサを、前記回転体の回転軸と前記ラインセンサの光軸が平行且つ前記マーカと前記ラインセンサが向かい合う位置関係となるように配置し、
前記マーカは、渦巻状のマーカ模様の境界線を有することを特徴とする請求項乃至いずれか1項に記載の回転角度計測方法。
The line sensor is positioned so that the rotation axis of the rotation body and the optical axis of the line sensor are parallel to each other and the marker and the line sensor face each other with respect to the rotation body on which the marker is installed on the upper surface or the bottom surface. Placed in
The marker is the rotational angle measuring method according to any one of claims 7 to 9, characterized in that it has a boundary line of the spiral marker pattern.
前記マーカが側面に設置された前記回転体に対し、前記ラインセンサを、前記回転体の回転軸と前記ラインセンサの光軸が垂直且つ前記回転体の回転軸と前記ラインセンサの撮影ラインが平行な位置関係となるように配置し、
前記マーカは、螺旋状のマーカ模様の境界線を有することを特徴とする請求項乃至いずれか1項に記載の回転角度計測方法。
With respect to the rotating body on which the marker is installed on the side surface, the line sensor is arranged such that the rotation axis of the rotating body and the optical axis of the line sensor are perpendicular, and the rotation axis of the rotating body and the imaging line of the line sensor are parallel. Arranged so that the position
The marker is the rotational angle measuring method according to any one of claims 7 to 9, characterized in that it has a boundary line of the helical marker pattern.
JP2012183055A 2011-10-04 2012-08-22 Rotation angle measuring device and method Expired - Fee Related JP5971028B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012183055A JP5971028B2 (en) 2011-10-04 2012-08-22 Rotation angle measuring device and method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2011219697 2011-10-04
JP2011219697 2011-10-04
JP2012183055A JP5971028B2 (en) 2011-10-04 2012-08-22 Rotation angle measuring device and method

Publications (2)

Publication Number Publication Date
JP2013092519A JP2013092519A (en) 2013-05-16
JP5971028B2 true JP5971028B2 (en) 2016-08-17

Family

ID=48615726

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012183055A Expired - Fee Related JP5971028B2 (en) 2011-10-04 2012-08-22 Rotation angle measuring device and method

Country Status (1)

Country Link
JP (1) JP5971028B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109238177A (en) * 2018-10-16 2019-01-18 大连探索者科技有限公司 Combined type angle sensor with measure many rings of angle functions

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3458169B2 (en) * 1995-07-14 2003-10-20 株式会社リコー Electrophotographic photoreceptor
JP6420041B2 (en) * 2014-02-04 2018-11-07 Ckd日機電装株式会社 Absolute angle error calculation using image processing
JP6114371B1 (en) * 2015-12-24 2017-04-12 國家中山科學研究院 Accuracy calibration method of high-precision encoder
JP6878908B2 (en) 2017-01-23 2021-06-02 セイコーエプソン株式会社 Encoders, robots and printers
JP7211788B2 (en) * 2018-12-12 2023-01-24 東海旅客鉄道株式会社 Shape measuring device for railroad vehicle wheelsets and railroad wheels
CN111006614A (en) * 2019-12-30 2020-04-14 四川云盾光电科技有限公司 Method and equipment for measuring absolute rotation position of planar CCD
CN112066914B (en) * 2020-08-14 2021-12-21 常州机电职业技术学院 3362 potentiometer mechanical angle reset system and reset method based on machine vision

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57197422A (en) * 1981-05-29 1982-12-03 Matsushita Electric Ind Co Ltd Detector for rotating angle
JP3252976B2 (en) * 1992-04-22 2002-02-04 株式会社リコー Document reading device
JPH0743176A (en) * 1993-07-27 1995-02-10 Copal Co Ltd Optical noncontact potentiometer
JPH0914941A (en) * 1995-06-27 1997-01-17 Tsubakimoto Chain Co Detection device for rotary angle of rotary shaft

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109238177A (en) * 2018-10-16 2019-01-18 大连探索者科技有限公司 Combined type angle sensor with measure many rings of angle functions
CN109238177B (en) * 2018-10-16 2020-05-05 大连探索者科技有限公司 A compound angle sensor with the function of measuring multi-turn angle

Also Published As

Publication number Publication date
JP2013092519A (en) 2013-05-16

Similar Documents

Publication Publication Date Title
JP5971028B2 (en) Rotation angle measuring device and method
CN106524934B (en) A high-precision visual measurement method for small modulus gears
TWI296324B (en)
JP5388921B2 (en) Three-dimensional distance measuring apparatus and method
JP5418176B2 (en) Pantograph height measuring device and calibration method thereof
CN110268221B (en) Cord measuring device and cord measuring method
JP5923054B2 (en) Shape inspection device
JP7597946B2 (en) Machine vision detection method, detection device, and detection system
EP2851650A1 (en) Tire shape inspection method and tire shape inspection device
JP5611022B2 (en) Three-dimensional measuring apparatus and three-dimensional measuring method
JP5222430B1 (en) Dimension measuring apparatus, dimension measuring method and program for dimension measuring apparatus
JP5481862B2 (en) Pantograph height measuring device and calibration method thereof
JP2008292278A (en) Optical deviation detection method of distance detection device, and distance detection device
JP2005004391A (en) Image data processor, image data correcting method, image measuring instrument, image data processing program, and recording medium recorded with this program
CN104036518A (en) Camera calibration method based on vector method and three collinear points
JP2013162394A5 (en)
JPWO2021070415A5 (en)
JP2007303994A (en) Visual inspecting device and method
JP2018112476A (en) Minute displacement measuring device and minute displacement measuring method
JP2012013592A (en) Calibration method for three-dimensional shape measuring machine, and three-dimensional shape measuring machine
JP2008241609A (en) Distance measuring system and distance measuring method
JP6241083B2 (en) Imaging apparatus and parallax detection method
JP2020193820A5 (en)
JP2013170829A (en) Strain measuring device and strain measuring method
JP5098714B2 (en) Ranging device and imaging device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150708

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160512

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160517

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160525

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160627

R150 Certificate of patent or registration of utility model

Ref document number: 5971028

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees