JP2022177556A - Measuring instrument and measuring method - Google Patents

Measuring instrument and measuring method Download PDF

Info

Publication number
JP2022177556A
JP2022177556A JP2021083903A JP2021083903A JP2022177556A JP 2022177556 A JP2022177556 A JP 2022177556A JP 2021083903 A JP2021083903 A JP 2021083903A JP 2021083903 A JP2021083903 A JP 2021083903A JP 2022177556 A JP2022177556 A JP 2022177556A
Authority
JP
Japan
Prior art keywords
pattern
length
measure
row pattern
reading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2021083903A
Other languages
Japanese (ja)
Inventor
眞悟 山之内
Shingo Yamanouchi
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.)
Fujitsu Component Ltd
Original Assignee
Fujitsu Component Ltd
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 Fujitsu Component Ltd filed Critical Fujitsu Component Ltd
Priority to JP2021083903A priority Critical patent/JP2022177556A/en
Publication of JP2022177556A publication Critical patent/JP2022177556A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Tape Measures (AREA)

Abstract

To provide a measuring instrument and a measuring method which can reduce an error of a measurement result.SOLUTION: A measuring instrument 100 has a first array pattern 31 and a second array pattern 32 having a plurality of patterns arrayed in a length direction, wherein any one of binary values is allocated in each of the patterns, and the first array pattern includes a measure 7 having a longer pattern length having the continuous same binary values than the second array pattern, a photoreflector 5 (PR6 to PR9) for reading out the first array pattern, a photoreflector (PR1 to PR5) for reading out the second array pattern, a hall sensor 3 for detecting a traveling direction of the measure, and a microcomputer 1 for measuring a length of a measuring object based on the traveling direction of the measure, read-out values of the PR6 to PR9 and read-out values of the PR1 to PR5.SELECTED DRAWING: Figure 1

Description

本発明は、計測器及び計測方法に関する。 TECHNICAL FIELD The present invention relates to a measuring instrument and a measuring method.

巻き取りリール上の切り溝が回路基板上の接点と接触することによって電気的パルスを発生し、そのパルス数に基づいて小さな間隔変位を測定する技術と、テープ片上のバーコードと光学式読み取り器とを使ってより大きな間隔変位を測定する技術と組み合わせた測定装置が知られている(例えば、特許文献1参照)。また、主尺と、主尺とはスケールの異なる副尺とを有する副尺式エンコーダが知られている(例えば、特許文献2参照)。 A technique in which kerfs on a take-up reel contact contacts on a circuit board to generate electrical pulses and measure small spacing displacements based on the number of pulses, and bar codes and optical readers on strips of tape. There is known a measuring device that combines a technique of measuring a larger gap displacement using . Also known is a vernier scale encoder having a main scale and a vernier scale different from the scale of the main scale (see, for example, Patent Document 2).

特公平8-30644号公報Japanese Patent Publication No. 8-30644 特開2001-16591号公報JP-A-2001-16591

特許文献1の測定装置では、電気的パルスを使用するため、ノイズの影響を受けて測定結果に誤差が生じやすいという問題がある。また、切り溝と接点との接触不良により、測定結果に誤差が生じやすいという問題がある。 Since the measuring apparatus of Patent Document 1 uses electric pulses, there is a problem that errors are likely to occur in the measurement results due to the influence of noise. In addition, there is a problem that an error is likely to occur in the measurement result due to poor contact between the kerf and the contact.

本発明は上記課題に鑑みなされたものであり、測定結果の誤差を減らすことができる計測器及び計測方法を提供することを目的とする。 SUMMARY OF THE INVENTION It is an object of the present invention to provide a measuring instrument and a measuring method capable of reducing errors in measurement results.

本発明の計測器は、長さ方向に配列された複数のパターンを有する第1列パターン及び第2列パターンを有し、各パターンには二進値のいずれかが割り当てられており、前記第1列パターンは前記第2列パターンよりも同一の二進値が連続するパターン長が大きいメジャーと、前記第1列パターンを読み取る第1読取手段と、前記第2列パターンを読み取る第2読取手段と、前記メジャーの進行方向を検出する検出手段と、前記検出手段で検出された前記メジャーの進行方向と、前記第1読取手段の読取値と、前記第2読取手段の読取値とに基づいて、測定対象の長さを測定する制御手段とを備えることを特徴とする。 The meter of the present invention has a first row pattern and a second row pattern having a plurality of longitudinally arranged patterns, each pattern being assigned one of the binary values; The one-row pattern has a longer pattern length than the second-row pattern in which the same binary values continue, a first reading means for reading the first-row pattern, and a second reading means for reading the second-row pattern. and detection means for detecting the travel direction of the tape measure, the travel direction of the tape measure detected by the detection means, the reading value of the first reading device, and the reading value of the second reading device. and control means for measuring the length of the object to be measured.

本発明の計測方法は、長さ方向に配列された複数のパターンを有する第1列パターン及び第2列パターンを有し、各パターンには二進値のいずれかが割り当てられており、前記第1列パターンは前記第2列パターンよりも同一の二進値が連続するパターン長が大きいメジャーを備える計測器の計測方法であって、前記第1列パターンを読み取る第1工程と、前記第2列パターンを読み取る第2工程と、前記メジャーの進行方向を検出する第3工程と、前記メジャーの進行方向と、前記第1列パターンの読取値と、前記第2列パターンの読取値とに基づいて、測定対象の長さを測定する第4工程とを備えることを特徴とする。 The measurement method of the present invention has a first row pattern and a second row pattern having a plurality of patterns arranged in the length direction, each pattern being assigned one of binary values, A measuring method for a measuring instrument having a measure in which the one-row pattern has a longer pattern length than the second-row pattern in which the same binary values are consecutive, wherein a first step of reading the first-row pattern; Based on a second step of reading the row pattern, a third step of detecting the direction of travel of the measure, the direction of travel of the measure, the read value of the first row pattern, and the read value of the second row pattern and a fourth step of measuring the length of the object to be measured.

本発明によれば、測定結果の誤差を減らすことができる。 According to the present invention, errors in measurement results can be reduced.

本実施の形態に係る計測器の構成図である。1 is a configuration diagram of a measuring instrument according to an embodiment; FIG. 本実施の形態に係る計測器の内部状態を示す図である。It is a figure which shows the internal state of the measuring device which concerns on this Embodiment. (A)は、メジャーに印刷されたパターンの一例を示す図である。(B)は、フォトリフレクタの配置の一例を示す図である。(A) is a diagram showing an example of a pattern printed on a measure. (B) is a diagram showing an example of the arrangement of photoreflectors. 長さとパターンとの対応関係を示す情報の一例を示す図である。FIG. 10 is a diagram showing an example of information indicating correspondence between lengths and patterns; 計測器で実行される処理を示すフローチャートである。4 is a flow chart showing the processing performed by the measuring instrument; (A)及び(B)は、計測器の分解能を下げる場合のフォトリフレクタの配置の変形例を示す図である。(A) and (B) are diagrams showing a modification of the arrangement of photoreflectors when the resolution of the measuring instrument is lowered. (A)及び(B)は、計測器の分解能を下げる場合のフォトリフレクタの配置の変形例を示す図である。(A) and (B) are diagrams showing a modification of the arrangement of photoreflectors when the resolution of the measuring instrument is lowered.

以下、図面を参照しながら本発明の実施の形態を説明する。 BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本実施の形態に係る計測器の構成図である。図2は、本実施の形態に係る計測器の内部状態を示す図である。なお、図2では、筐体15の一部が省略されているものとする。 FIG. 1 is a configuration diagram of a measuring instrument according to this embodiment. FIG. 2 is a diagram showing the internal state of the measuring instrument according to this embodiment. It should be noted that part of the housing 15 is omitted in FIG.

計測器100は、例えば、測定対象の長さを測定する装置である。図1に示すように、計測器100は、測定対象の長さを算出するマイコン1と、算出された測定対象の長さのデータを無線で外部端末20に送信する無線通信部2と、リール8の回転角を測定するホールセンサ3と、測定の開始をマイコン1に指示するスイッチ4と、メジャー7に印刷されたパターンを光学的に読み取るフォトリフレクタ5と、マイコン1、無線通信部2、ホールセンサ3およびフォトリフレクタ5に電力を供給するバッテリ6と、複数のパターンが印刷されたメジャー7と、メジャー7が巻き付けられたリール8と、リール8の回転軸内に設けられた磁石9とを備えている。 The measuring instrument 100 is, for example, a device that measures the length of an object to be measured. As shown in FIG. 1, the measuring instrument 100 includes a microcomputer 1 that calculates the length of the object to be measured, a wireless communication unit 2 that wirelessly transmits data of the calculated length of the object to be measured to an external terminal 20, a reel 8, a switch 4 for instructing the start of measurement to the microcomputer 1, a photoreflector 5 for optically reading the pattern printed on the measure 7, the microcomputer 1, the wireless communication unit 2, A battery 6 that supplies power to the hall sensor 3 and the photoreflector 5, a measure 7 printed with a plurality of patterns, a reel 8 around which the measure 7 is wound, and a magnet 9 provided in the rotating shaft of the reel 8. It has

マイコン1、無線通信部2、ホールセンサ3及びスイッチ4は、基板11上に搭載されており、フォトリフレクタ5は基板12上に搭載されている。図2に示すように、計測器100は、リール8、基板11、基板12を覆う筐体15を備えている。基板11は、リール8の側面に対向する位置に設けられており、基板12はメジャー7のパターンに対向する位置に設けられている。基板11と基板12は不図示のFPC(Flexible Printed Circuit)で接続されている。 The microcomputer 1, wireless communication section 2, hall sensor 3 and switch 4 are mounted on the substrate 11, and the photoreflector 5 is mounted on the substrate 12. As shown in FIG. As shown in FIG. 2 , the measuring instrument 100 includes a housing 15 that covers the reel 8 , substrate 11 and substrate 12 . The substrate 11 is provided at a position facing the side surface of the reel 8 , and the substrate 12 is provided at a position facing the pattern of the measure 7 . The substrates 11 and 12 are connected by an FPC (Flexible Printed Circuit) (not shown).

図1に戻り、マイコン1は、無線通信部2、ホールセンサ3、スイッチ4及びフォトリフレクタ5と電気的に接続されている。無線通信部2は、Bluetooth(登録商標)又は無線LAN(Local Area Network)などの通信部である。 Returning to FIG. 1 , the microcomputer 1 is electrically connected to the wireless communication section 2 , Hall sensor 3 , switch 4 and photoreflector 5 . The wireless communication unit 2 is a communication unit such as Bluetooth (registered trademark) or wireless LAN (Local Area Network).

フォトリフレクタ(PR)5は、メジャー7に印刷されたパターンに光を照射する発光部5aと、パターンからの反射光を受光し、受光量に応じた値をもつ電流又は電圧に変換する受光部5bとを備えている。例えば、発光部5aは、赤外線、可視光線及び紫外線の少なくとも1つを照射するLED(Light Emitting Diode)であり、受光部5bはパターンで反射された赤外線、可視光線及び紫外線の少なくとも1つを受光するフォトトランジスタである。図1では1つのフォトリフレクタ5が図示されているが、フォトリフレクタ5の個数は1つに限定されるものではない。 A photoreflector (PR) 5 includes a light emitting portion 5a that irradiates light onto the pattern printed on the measure 7, and a light receiving portion that receives reflected light from the pattern and converts it into a current or voltage having a value corresponding to the amount of received light. 5b. For example, the light emitting portion 5a is an LED (Light Emitting Diode) that emits at least one of infrared rays, visible rays and ultraviolet rays, and the light receiving portion 5b receives at least one of the infrared rays, visible rays and ultraviolet rays reflected by the pattern. It is a phototransistor that Although one photoreflector 5 is illustrated in FIG. 1, the number of photoreflectors 5 is not limited to one.

ホールセンサ3は、リール8の回転軸内に設けられた磁石9の磁界に応じた電圧をマイコン1に出力する。磁石9は例えば円盤状であり、円盤の直径で2分割した一方がN極、他方がS極である。磁石9の円盤の中心がリール8の回転軸と同軸となるように設けられる。ホールセンサ3は例えば2つ設けられており、一方のホールセンサ3はリール回転軸を中心に他方のホールセンサ3が90°離れた位置に設けられる。ホールセンサ3の出力電圧は磁界強度に比例するので、マイコン1は2つのホールセンサ3からの出力電圧に基づいてリール8の回転角やメジャー7の進行方向(引き出し方向又は巻き取り方向)を検出することができる。例えば、一方のホールセンサ3の出力電圧と、一方の出力電圧に対して90°位相のずれた他方のホールセンサ3の出力電圧とに基づいてarctan計算することによって0°~360°の絶対角度を検出することができる。ホールセンサ3及びマイコン1はメジャー7の進行方向を検出する検出手段として機能する。メジャー7の進行方向やリール8の回転角を検出するセンサは、ホールセンサに限定されるものではない。例えば、リールの側面の外周縁にパターンを設けて、そのパターンを光学的に読み取るフォトリフレクタをリール8の回転角を検出するセンサとして使用してもよい。 The Hall sensor 3 outputs to the microcomputer 1 a voltage corresponding to the magnetic field of the magnet 9 provided within the rotating shaft of the reel 8 . The magnet 9 is, for example, disk-shaped, and one of the two parts divided by the diameter of the disk is the N pole, and the other is the S pole. The center of the disc of the magnet 9 is provided so as to be coaxial with the rotating shaft of the reel 8 . For example, two Hall sensors 3 are provided, and one Hall sensor 3 is provided at a position separated from the other Hall sensor 3 by 90° with respect to the reel rotating shaft. Since the output voltage of the hall sensor 3 is proportional to the magnetic field strength, the microcomputer 1 detects the rotation angle of the reel 8 and the traveling direction of the measure 7 (pull-out direction or winding direction) based on the output voltages from the two hall sensors 3. can do. For example, an absolute angle of 0° to 360° is calculated by arctan calculation based on the output voltage of one Hall sensor 3 and the output voltage of the other Hall sensor 3 which is 90° out of phase with respect to the one output voltage. can be detected. The Hall sensor 3 and the microcomputer 1 function as detection means for detecting the traveling direction of the measure 7 . Sensors for detecting the traveling direction of the measure 7 and the rotation angle of the reel 8 are not limited to Hall sensors. For example, a pattern may be provided on the outer peripheral edge of the side surface of the reel, and a photoreflector that optically reads the pattern may be used as the sensor for detecting the rotation angle of the reel 8 .

マイコン1(制御手段)は、CPU(Central Processing Unit)等のプロセッサである。マイコン1は、長さのデータとパターンとの対応関係を示す情報(図4参照)を格納するメモリ1aを備えている。マイコン1はフォトリフレクタ5のオン/オフを制御し、フォトリフレクタ5から出力される電流値又は電圧値を読み取る。パターンの色によって反射率が異なり、フォトリフレクタ5の受光量は反射率に応じて変動するため、マイコン1はフォトリフレクタ5から出力される電流値又は電圧値によって読み取ったパターンの色の判断が可能である。 The microcomputer 1 (control means) is a processor such as a CPU (Central Processing Unit). The microcomputer 1 includes a memory 1a that stores information (see FIG. 4) indicating the correspondence between length data and patterns. The microcomputer 1 controls on/off of the photoreflector 5 and reads the current value or voltage value output from the photoreflector 5 . Since the reflectance differs depending on the color of the pattern, and the amount of light received by the photoreflector 5 varies according to the reflectance, the microcomputer 1 can determine the color of the pattern read from the current value or voltage value output from the photoreflector 5. is.

また、マイコン1は、読み取られたパターンの色を、メモリ1aに格納された長さとパターンとの対応関係を示す情報に照合することによって、測定対象の長さを算出する。長さとパターンとの対応関係を示す情報は、例えば図4に示す、長さとパターンの色の組み合わせとを関連付けしたテーブルである。長さとパターンとの対応関係を示す情報は、メモリ1aに格納されているが、外部端末20に格納し、必要に応じてマイコン1が外部端末20から読み出してもよい。 Further, the microcomputer 1 compares the color of the read pattern with the information indicating the correspondence between the length and the pattern stored in the memory 1a to calculate the length of the object to be measured. The information indicating the correspondence relationship between the length and the pattern is, for example, the table shown in FIG. 4 that associates the length with the combination of pattern colors. Information indicating the correspondence between the length and the pattern is stored in the memory 1a, but may be stored in the external terminal 20 and read by the microcomputer 1 from the external terminal 20 as necessary.

メジャー7は、金属製のコンベックスメジャーである。図2に示すように、メジャー7の先端には、ストッパー7aが取り付けられている。メジャー7のおもて面はリール8の回転軸側であり、メジャー7のおもて面には、長さを示す目盛り及びパターンが印刷されており、裏面には何も印刷されていない。フォトリフレクタ5はメジャー7のおもて面に対向するように設けられている。目盛りはメジャーの幅方向の両端部に印刷されており、パターンは目盛りで長さを目測するとき妨げになりにくいよう、両端部に印刷された目盛りの間に配置されている。パターンは一定の長さ毎に印刷されている。パターンは白又は黒であり、二進値のいずれかに対応している。なお、パターンの色は白及び黒に限定されるものではなく、読み取り時に2種類のパターンが区別できるのであれば、他の色の組合せや、同一色相で濃度や明度の異なるパターン、反射率の異なる2種のパターンなどを用いてもよい。ここでは便宜上、これらも「異なる色」として扱う。 The measure 7 is a metal convex measure. As shown in FIG. 2, the tip of the measure 7 is attached with a stopper 7a. The front surface of the measure 7 is on the rotating shaft side of the reel 8, and scales and patterns indicating the length are printed on the front surface of the measure 7, and nothing is printed on the back surface. A photoreflector 5 is provided so as to face the front surface of the measure 7 . The scales are printed on both widthwise ends of the measure, and the pattern is placed between the scales printed on both ends so as not to interfere with the length measurement by the scales. The pattern is printed every fixed length. The patterns are white or black and correspond to either binary value. The color of the pattern is not limited to white and black. As long as the two types of patterns can be distinguished at the time of reading, other combinations of colors, patterns with the same hue but different densities and brightness, and patterns with different reflectances can be used. Two different patterns or the like may be used. Here, for convenience, these are also treated as "different colors".

外部端末20は、コンピュータ又はスマートホンのような無線の通信機能を有する通信端末であり、測定対象の長さのデータを無線通信部2から受信して管理する。 The external terminal 20 is a communication terminal having a wireless communication function such as a computer or a smart phone, and receives data on the length of the object to be measured from the wireless communication unit 2 and manages it.

図3(A)は、メジャー7に印刷されたパターンの一例を示す図である。図3(B)は、フォトリフレクタ5の配置の一例を示す図である。図3(B)では、フォトリフレクタ5は、PR1~PR9として示されている。黒色はハッチングで示されている。 FIG. 3A is a diagram showing an example of a pattern printed on the measure 7. FIG. FIG. 3B is a diagram showing an example of the arrangement of the photoreflectors 5. As shown in FIG. In FIG. 3B, the photoreflectors 5 are shown as PR1 to PR9. Black is indicated by hatching.

図3(A)に示すように、メジャー7に印刷されたパターンは、メジャー7の長さ方向に延びる第1列パターン31及び第2列パターン32を備えている。メジャー7に印刷されたパターンは、メジャー7の長さ方向に沿って複数の行パターン25を備えている。1つの行パターンは、同じ行に配置された第1列パターン31と第2列パターン32とを含む。第1列パターン31及び第2列パターン32の各々に含まれる1つのパターンはパターン21とする。メジャー7の長さ方向の各パターン21の長さは1mmである。各パターン21には二進値のいずれか(白又は黒)が割り当てられている。なお、図3(A)では理解を容易にするために各パターン21の境界に線を付しているが、メジャーには境界線を付さなくてもよい。 As shown in FIG. 3A, the pattern printed on the measure 7 has a first row pattern 31 and a second row pattern 32 extending in the length direction of the measure 7 . The pattern printed on measure 7 comprises a plurality of row patterns 25 along the length of measure 7 . One row pattern includes a first column pattern 31 and a second column pattern 32 arranged in the same row. One pattern included in each of the first row pattern 31 and the second row pattern 32 is pattern 21 . The length of each pattern 21 in the lengthwise direction of the measure 7 is 1 mm. Each pattern 21 is assigned one of the binary values (white or black). In FIG. 3A, the borders of each pattern 21 are marked with lines for easy understanding, but the borders do not have to be drawn on the major.

メジャー7には、図3(A)に示す40行の第1列パターン31及び第2列パターン32が繰り返し印刷されている。第1列パターン31は、白及び黒のパターンが4cm周期で配置されている。第2列パターン32は、白及び黒のパターンが10mm周期で配置されている。このように、第1列パターン31は、第2列パターン32よりも同一の二進値が連続するパターン長が大きい。好ましくは、長さ方向において、同一の二進値が連続する第1列パターン31のパターン長は、同一の二進値が連続する第2列パターン32のパターン長のN倍(N=2以上の整数)である。図3(A)の例では、長さ方向において、同一の二進値が連続する第1列パターン31のパターン長(2cm)は、同一の二進値が連続する第2列パターン32のパターン長(5mm)の4倍である。 40 rows of first column patterns 31 and second column patterns 32 shown in FIG. 3A are repeatedly printed on the measure 7 . In the first row pattern 31, white and black patterns are arranged at 4 cm intervals. The second row pattern 32 has white and black patterns arranged at intervals of 10 mm. In this way, the first row pattern 31 has a longer pattern length of consecutive identical binary values than the second row pattern 32 . Preferably, in the length direction, the pattern length of the first row pattern 31 in which the same binary values are consecutive is N times (N=2 or more) the pattern length of the second row pattern 32 in which the same binary values are consecutive. integer). In the example of FIG. 3A, the pattern length (2 cm) of the first row pattern 31 in which the same binary values are consecutive in the length direction is the pattern of the second row pattern 32 in which the same binary values are consecutive. 4 times the length (5 mm).

図3(B)に示すように、PR6~PR9(第1読取手段)は第1列パターン31に対向して配置されており、PR1~PR5(第2読取手段)は第2列パターン32に対向して配置されている。PR1~PR9の各々は対向する1つのパターン21の色を読み取る。PR6とPR7との間隔及びPR8とPR9との間隔は10mmであり、PR6とPR8との間隔及びPR7とPR9との間隔は4mmである。PR1とPR2との間隔、PR2とPR3との間隔、PR3とPR4との間隔及びPR4とPR5との間隔は2mmである。 As shown in FIG. 3B, PR6 to PR9 (first reading means) are arranged facing the first row pattern 31, and PR1 to PR5 (second reading means) are arranged in the second row pattern 32. They are arranged facing each other. Each of PR1 to PR9 reads the color of one opposing pattern 21 . The distance between PR6 and PR7 and between PR8 and PR9 is 10 mm, and the distance between PR6 and PR8 and between PR7 and PR9 is 4 mm. The distance between PR1 and PR2, the distance between PR2 and PR3, the distance between PR3 and PR4, and the distance between PR4 and PR5 is 2 mm.

図4は、長さとPR1~PR9の読取値との対応関係を示す情報の一例を示す図である。図4の左側に記載した0~39mmのスケールT1は図3(A)に示すメジャーに印刷されたパターンの長さを示しており、図4の右側に記載した0~19mmが繰り返すスケールT2は測定対象の長さを算出する際に利用する長さを示しており、PR1~PR9の読取値を基にスケールT2から算出に利用する0~19mmのいずれかの長さを特定することができる。図3(B)で示されるように配置されたフォトリフレクタによって図3(A)に示すパターンを読み取るため、同じ0~19mmのいずれかの長さに対応するPR1~PR9の読取値が2種類生じる。上述したように、図4の情報はメモリ1aに格納されている。 FIG. 4 is a diagram showing an example of information indicating the correspondence between the length and the read values of PR1 to PR9. A scale T1 of 0 to 39 mm shown on the left side of FIG. 4 indicates the length of the pattern printed on the measure shown in FIG. Indicates the length to be used when calculating the length of the object to be measured. Based on the read values of PR1 to PR9, any length from 0 to 19 mm to be used for calculation can be specified from the scale T2. . Since the pattern shown in FIG. 3A is read by the photoreflector arranged as shown in FIG. occur. As described above, the information in FIG. 4 is stored in memory 1a.

図4において、「1」は白を示し、「0」は黒を示すが、実際のパターンには「1」や「0」などの数値は記載されていない。パターンの反射率は、白が黒よりも高い。例えば、白及び黒のパターンを読み取った場合、PR1~PR9の各々から出力される電圧値は、例えばそれぞれ2.0V及び1.0Vである。 In FIG. 4, "1" indicates white and "0" indicates black, but the actual pattern does not include numerical values such as "1" and "0". The reflectance of the pattern is higher in white than in black. For example, when reading white and black patterns, the voltage values output from PR1 to PR9 are, for example, 2.0 V and 1.0 V, respectively.

例えば、PR4及びPR5で読み取った色が黒であり、PR1~PR3及びPR6~9で読み取った色が白である場合、PR1~PR9の値は、図4の1行目の0mmを示す。この場合、マイコン1は、測定対象の長さが図4の1行目の0mmとN×20mmとの合計値であると判断する。なお、NはPR6とホールセンサ3で読み取られる(後述)、測定対象の長さまでに存在する第1列パターン31の黒と白との変化の回数を示す。第1列パターン31では、2cm周期で黒と白との変化が生じるので、測定対象の長さまでに存在する第1列パターン31の黒と白との変化の回数Nに20mmを乗算した値と、PR1~PR9の色及び図4の情報から得られる値とを加算することで、測定対象の長さを測定することができる。 For example, if the color read by PR4 and PR5 is black and the color read by PR1 to PR3 and PR6 to 9 is white, the value of PR1 to PR9 indicates 0 mm on the first row in FIG. In this case, the microcomputer 1 determines that the length of the object to be measured is the sum of 0 mm and N×20 mm on the first line in FIG. It should be noted that N indicates the number of times the first row pattern 31 changes between black and white, which is read by the PR6 and the Hall sensor 3 (described later) and exists up to the length of the object to be measured. In the first row pattern 31, black and white changes occur at intervals of 2 cm. , PR1 to PR9 and the values obtained from the information in FIG. 4, the length of the object to be measured can be measured.

例えば、PR1~PR3で読み取った色が黒であり、PR4~PR9で読み取った色が白であり、変化の回数Nが4である場合には、マイコン1は、測定対象の長さが85mm(=4×20+5mm)であると判断する。またPR1~PR3及びPR6~PR9で読み取った色が黒であり、PR4及びPR5で読み取った色が白であり、変化の回数Nが1である場合には、マイコン1は、測定対象の長さが25mm(=1×20+5mm)であると判断する。 For example, if the color read by PR1 to PR3 is black, the color read by PR4 to PR9 is white, and the number of times of change N is 4, the microcomputer 1 determines that the length of the object to be measured is 85 mm ( = 4 x 20 + 5 mm). When the color read by PR1 to PR3 and PR6 to PR9 is black, the color read by PR4 and PR5 is white, and the number of changes N is 1, the microcomputer 1 determines the length of the object to be measured. is 25 mm (=1×20+5 mm).

次に、測定方法について説明する。 Next, the measuring method will be explained.

本実施の形態においては、計測器100は、常時監視モード(第1モード)と測定時監視モード(第2モード)の2つの動作モードを有する。 In the present embodiment, measuring instrument 100 has two operation modes, a constant monitoring mode (first mode) and a monitoring mode during measurement (second mode).

常時監視モードでは、電源投入後、スイッチ4が押下されていない場合に、マイコン1がホールセンサ3の出力電圧に基づくリール8の回転角(即ちメジャー7の進行方向)と、PR6による第1列パターン31の読取値とに基づいて、測定対象の長さを概測する。ここで、概測する長さは、第1列パターン31の周期に対応する2cm毎に増減する長さであり、粗い精度の長さである。 In the constant monitoring mode, when the switch 4 is not pressed after the power is turned on, the microcomputer 1 detects the rotation angle of the reel 8 based on the output voltage of the hall sensor 3 (that is, the traveling direction of the measure 7) and the first line by PR6. Based on the readings of the pattern 31, the length of the object to be measured is estimated. Here, the roughly measured length is a length that increases or decreases every 2 cm corresponding to the period of the first row pattern 31, and is a length with coarse accuracy.

測定時監視モードでは、スイッチ4が押下されてから所定期間(例えば3秒)が経過するまで、マイコン1が、PR6~PR9による第1列パターン31の読取値と、PR1~PR5による第2列パターン32の読取値とに基づいて、測定対象の長さを精測する。ここで、精測する長さは、長さ方向の各パターン21の長さに対応する1mm毎に増減する長さであり、常時監視モードで測定する長さよりも高い精度の長さである。 In the monitoring mode during measurement, the microcomputer 1 reads the first row pattern 31 by PR6 to PR9 and the second row pattern by PR1 to PR5 until a predetermined period (for example, 3 seconds) has passed since the switch 4 was pressed. Based on the readings of the pattern 32, the length of the object to be measured is precisely measured. Here, the length to be precisely measured is a length that increases or decreases by 1 mm corresponding to the length of each pattern 21 in the length direction, and is a length with higher accuracy than the length measured in the constant monitoring mode.

測定時監視モードにおいて、PR6による第1列パターン31の読取値を利用する理由は以下のとおりである。 The reason for using the read value of the first column pattern 31 by PR6 in the monitoring mode during measurement is as follows.

例えば、PR6による第1列パターン31の読取値を利用しない場合には、マイコン1は、リール8の回転角(即ちメジャー7の進行方向)および回転数に応じて算出された回転量と、PR1~PR5による第2列パターン32の読取値に応じて算出された長さとに基づいて測定対象の長さを測定することになる。第2列パターン32では、5mm周期で白又は黒のパターンが交互に配置されているので、ある位置でのPR1~PR5の読取値は、その位置から±Qcm(Q=1以上の整数)ずれた位置でのPR1~PR5の読取値と同一になってしまう。このため、実際の測定対象の長さから数センチ以上の誤差が生じる場合がある。特に、コンベックスメジャーは、テープ状のメジャーよりも厚くて硬いため、リール8へ緩く巻かれてリール8の回転量とコンベックスメジャーの引き出し量又は巻き取り量が合致しない場合があり、誤差が生じやすい。本実施の形態では、PR6により第1列パターン31における白と黒とのパターン変化をカウントしてN値とし、PR1~PR5から得られる情報とを組み合わせて長さを算出している。このようにメジャー7に印刷された第1列パターン31に基づいてメジャーの引き出し量又は巻き取り量を測定しているため、メジャー7がリール8に緩く巻かれていても測定誤差が生じない。 For example, when the read value of the first row pattern 31 by PR6 is not used, the microcomputer 1 calculates the rotation amount calculated according to the rotation angle of the reel 8 (that is, the traveling direction of the measure 7) and the number of rotations, and the PR1 The length of the object to be measured is measured based on the length calculated according to the read value of the second row pattern 32 by PR5. In the second row pattern 32, white and black patterns are alternately arranged at 5 mm intervals, so the read values of PR1 to PR5 at a certain position deviate by ±Q cm (where Q is an integer equal to or greater than 1) from that position. It will be the same as the read values of PR1 to PR5 at the other position. For this reason, an error of several centimeters or more may occur from the actual length of the object to be measured. In particular, since the convex measure is thicker and harder than the tape-shaped measure, it may be loosely wound around the reel 8 and the amount of rotation of the reel 8 may not match the amount of withdrawal or winding of the convex measure, which is likely to cause an error. . In the present embodiment, PR6 counts pattern changes between white and black in the first row pattern 31 to obtain N values, and the length is calculated by combining information obtained from PR1 to PR5. Since the pull-out amount or winding amount of the measure is measured based on the first row pattern 31 printed on the measure 7 in this manner, no measurement error occurs even if the measure 7 is loosely wound around the reel 8. - 特許庁

PR6~PR9を設けている理由は、以下の通りである。PR1~PR5による第2列パターン32の読取値は10mm周期で同じ読取値となる。PR6~PR9による第1列パターン31の読取値を測定時監視モードの長さ測定に利用しない場合、第1列パターン31は10mm周期で白又は黒のパターンを交互に配置することになる。本実施の形態では、PR6~PR9の読取値を測定時監視モードの長さ測定に利用しており、第1列パターン31の白又は黒の周期を20mmとすることができる。第1列パターン31の白又は黒の周期を20mmとすることにより常時監視モードにおける第1列パターン31の読み飛ばしを抑制でき、リール8の回転角の増減を容易に検出できるようになり測定誤差が減少する。 The reason why PR6 to PR9 are provided is as follows. The read values of the second row pattern 32 by PR1 to PR5 are the same read values at 10 mm intervals. When the read values of the first row pattern 31 by PR6 to PR9 are not used for length measurement in the monitoring mode during measurement, the first row pattern 31 alternately arranges white and black patterns at intervals of 10 mm. In this embodiment, the read values of PR6 to PR9 are used for length measurement in the monitoring mode during measurement, and the white or black period of the first row pattern 31 can be set to 20 mm. By setting the white or black period of the first row pattern 31 to 20 mm, skipping of the first row pattern 31 in the constant monitoring mode can be suppressed, and the increase or decrease in the rotation angle of the reel 8 can be easily detected, resulting in a measurement error. decreases.

2つの監視モードを設けている理由は、以下の通りである。測定対象の長さを精測するためには9個のフォトリフレクタ(PR1~PR9)を使用する必要がある。9個のフォトリフレクタ5を常時使用する場合、消費電力が大きくなるという問題がある。本実施形態においては、9個のフォトリフレクタ5のうちPR6のみを用いる常時監視モードと、9個のフォトリフレクタ5を使用する測定時監視モードの2つの動作モードを設けている。常時監視モードでは、電源投入後、スイッチ4が押下されていない場合に、測定対象の長さを概則するので、測定時監視モードよりも長い期間測定が行われる。常時監視モードで使用されるフォトリフレクタ5はPR6のみであるので、9個のフォトリフレクタ5を使用する場合に比べて消費電力を抑制することができる。また、測定時監視モードでは、9個のフォトリフレクタ5(PR1~PR9)を使用するが、本実施形態においては、使用期間をスイッチ4が押下されてから所定期間(例えば3秒)が経過するまでの短期間に制限されているので、消費電力を更に抑制することができる。 The reason for providing two monitoring modes is as follows. Nine photoreflectors (PR1 to PR9) must be used to precisely measure the length of the object to be measured. When nine photoreflectors 5 are used all the time, there is a problem that power consumption increases. In this embodiment, two operation modes are provided: a constant monitoring mode using only PR6 out of nine photoreflectors 5 and a monitoring mode during measurement using nine photoreflectors 5 . In the constant monitoring mode, when the switch 4 is not pressed after the power is turned on, the length of the object to be measured is approximated, so the measurement is performed for a longer period than in the monitoring mode during measurement. Since the photoreflector 5 used in the constant monitoring mode is only PR6, power consumption can be suppressed compared to the case where nine photoreflectors 5 are used. In the monitoring mode during measurement, nine photoreflectors 5 (PR1 to PR9) are used. Since it is limited to a short period of time up to, power consumption can be further suppressed.

また、図3(B)では、PR1~PR9の9個のフォトリフレクタ5が設けられているが、図3(A)のパターンに対してフォトリフレクタ5はPR1~PR7の7個で測定可能である。PR8~PR9は、測定誤差を抑制し、測定精度を向上させるために設けられている。例えば、図3(B)に示すように、PR1~PR9がパターン同士の境界上に位置せず、それぞれのパターン上に位置する場合には、PR1~PR7のみで正確に測定対象の長さを測定することができる。 In FIG. 3B, nine photoreflectors 5 PR1 to PR9 are provided, but the pattern of FIG. 3A can be measured with seven photoreflectors PR1 to PR7. be. PR8 and PR9 are provided to suppress measurement errors and improve measurement accuracy. For example, as shown in FIG. 3B, when PR1 to PR9 are not located on the boundary between patterns but are located on each pattern, the length of the object to be measured can be accurately determined only by PR1 to PR7. can be measured.

一方、PR1~PR7がパターン同士の境界上に位置した場合には、測定誤差が生じる可能性があるので、このような測定誤差を抑制するためにPR8~PR9が設けられている。以下、PR8~PR9が設けられている理由を詳細に説明する。 On the other hand, if PR1 to PR7 are positioned on the boundary between patterns, there is a possibility that a measurement error will occur, so PR8 to PR9 are provided to suppress such a measurement error. The reason why PR8 and PR9 are provided will be described in detail below.

図4に示すように、長さとパターンとの対応関係は一対一の対応であり、PR1~PR5は長さが1mmずれると、1つのフォトリフレクタ5の値が変化する。色の読み取りを間違える可能性があるのは色が変化している個所であるため、1つのフォトリフレクタ5が色を読み間違えても、最大誤差は±1mmである。 As shown in FIG. 4, the correspondence between the length and the pattern is one-to-one correspondence, and the value of one photoreflector 5 changes when the length of PR1 to PR5 shifts by 1 mm. Since there is a possibility of erroneous reading of color at the portion where the color changes, even if one photoreflector 5 misreads the color, the maximum error is ±1 mm.

しかし、図4のスケールT1の9mmと10mmのPR1~PR7の値は、PR7とPR1の値が同時に変化している。図4のスケールT1の19mmと20mmのPR1~PR7の値は、PR6とPR1の値が同時に変化している。図4のスケールT1の29mmと30mmのPR1~PR7の値は、PR7とPR1の値が同時に変化している。図4のスケールT1の39mmと0mm(40mm)のPR1~PR7の値は、PR6とPR1の値が同時に変化している。 However, the values of PR1 to PR7 at 9 mm and 10 mm on the scale T1 in FIG. 4 change at the same time. As for the values of PR1 to PR7 at 19 mm and 20 mm on the scale T1 in FIG. 4, the values of PR6 and PR1 change at the same time. The values of PR1 to PR7 at 29 mm and 30 mm on the scale T1 in FIG. 4 change at the same time. As for the values of PR1 to PR7 at 39 mm and 0 mm (40 mm) on the scale T1 in FIG. 4, the values of PR6 and PR1 change at the same time.

上記の複数の境界では、両方のフォトリフレクタ5の値が同時に変化するとは限らないため、一方のフォトリフレクタ5の値のみが変化し、他方のフォトリフレクタ5の値は変化しない可能性がある。この場合、PR1~PR7から出力される値が、読み取り位置とは異なる位置のパターンと一致してしまい、大きな測定誤差が生じる。 Since the values of both photoreflectors 5 do not always change at the same time, it is possible that only one photoreflector 5 will change and the other photoreflector 5 will not change. In this case, the values output from PR1 to PR7 match the pattern at a position different from the reading position, resulting in a large measurement error.

例えば、図4のスケールT1の9mmと10mmとの境界を読み取った際のPR1~PR6の出力が「011001」であるときにPR7からの出力が「1」ではなく「0」となってしまうと、PR1~PR7から出力される値はスケールT1の19mmの位置のパターンと同一になってしまう。そのため、マイコン1は19mmの位置を読み取っていると判断してしまい、約10mmの誤差が生じることになる。 For example, if the output from PR1 to PR6 is "011001" when reading the boundary between 9 mm and 10 mm on the scale T1 in FIG. , PR1 to PR7 will be the same as the pattern at the position of 19 mm on the scale T1. Therefore, the microcomputer 1 determines that the position of 19 mm is being read, resulting in an error of about 10 mm.

このような測定誤差を抑制するために、PR8~PR9が設けられている。スケールT1の19mmの位置を読み取っているときにはPR8とPR9の読み取り結果が「10」とはならないため、上記例でPR1~PR7の読み取り結果が「0110010」のときにPR8とPR9の値が「1」と「0」の場合には、マイコン1は読み取り位置が図4のスケールT1の9mmと10mmの境界であると判断できる。同様に、PR8とPR9の値が「0」と「0」の場合には、マイコン1は読み取り位置が図4の19mmと20mmの境界であると判断できる。 PR8 to PR9 are provided to suppress such measurement errors. Since the reading result of PR8 and PR9 does not become "10" when reading the position of 19 mm on the scale T1, the value of PR8 and PR9 is "1" when the reading result of PR1 to PR7 is "0110010" in the above example. and "0", the microcomputer 1 can determine that the reading position is the boundary between 9 mm and 10 mm on the scale T1 in FIG. Similarly, when the values of PR8 and PR9 are "0" and "0", the microcomputer 1 can determine that the reading position is the boundary between 19 mm and 20 mm in FIG.

次に、計測器100で実行される処理を説明する。 Next, processing executed by the measuring instrument 100 will be described.

図5は、計測器100で実行される処理を示すフローチャートである。計測器100は、電源投入後、スイッチ4が押下される前は、常時監視モードであるとする。 FIG. 5 is a flow chart showing the processing performed by the measuring instrument 100. As shown in FIG. Assume that the measuring instrument 100 is in the constant monitoring mode after the power is turned on and before the switch 4 is pressed.

まず、マイコン1は、スイッチ4が押下されたか否かを判別する(S1)。スイッチ4が押下されてない場合には(S1でNO)、常時監視モードで、PR6が常時動作し、第1列パターン31の色を読み取り、マイコン1に読み取り色に対応する電流値又は電圧値を出力する(S2)。マイコン1は、PR6の電流値又は電圧値に基づいて、黒と白との変化を判定する(S3)。マイコン1は、黒と白との変化の回数Nをカウントしている。黒と白との変化がない場合には(S3でNO)、手順はS1に戻る。 First, the microcomputer 1 determines whether or not the switch 4 has been pressed (S1). When the switch 4 is not pressed (NO in S1), the PR6 always operates in the constant monitoring mode, reads the color of the first row pattern 31, and sends the microcomputer 1 the current value or voltage value corresponding to the read color. is output (S2). The microcomputer 1 determines the change between black and white based on the current value or voltage value of PR6 (S3). The microcomputer 1 counts the number of times N of changes between black and white. If there is no change between black and white (NO in S3), the procedure returns to S1.

黒と白との変化がある場合には(S3でYES)、マイコン1はホールセンサ3からの出力電圧に基づいてリール8の回転角やメジャー7の進行方向を検出する(S4)。なお、メジャー7が引き出される又はメジャー7が巻き取られると、ホールセンサ3がリール8の回転軸内に設けられた磁石9の磁界に応じた電圧をマイコン1に出力する。これにより、マイコン1はホールセンサ3からの出力電圧に基づいてリール8の回転角やメジャー7の進行方向を検出することができる。例えば、メジャー7が引き出されているとリール8の回転角が増加し、メジャー7が巻き取られているとリール8の回転角は減少する。 If there is a change between black and white (YES at S3), the microcomputer 1 detects the rotation angle of the reel 8 and the traveling direction of the measure 7 based on the output voltage from the hall sensor 3 (S4). When the measure 7 is pulled out or wound up, the hall sensor 3 outputs to the microcomputer 1 a voltage corresponding to the magnetic field of the magnet 9 provided within the rotating shaft of the reel 8 . As a result, the microcomputer 1 can detect the rotation angle of the reel 8 and the traveling direction of the measure 7 based on the output voltage from the Hall sensor 3 . For example, when the measure 7 is pulled out, the rotation angle of the reel 8 increases, and when the measure 7 is wound up, the rotation angle of the reel 8 decreases.

マイコン1は、メジャー7の進行方向が引き出し方向ならば、黒と白との変化の回数Nのカウント値を1増加し(S5)、手順はS1に戻る。マイコン1は、メジャー7の進行方向が巻き取り方向ならば、変化の回数Nのカウント値を1減少し(S6)、手順はS1に戻る。 If the travel direction of the measure 7 is the pull-out direction, the microcomputer 1 increments the count value of the number of times N of changes between black and white by 1 (S5), and the procedure returns to S1. If the traveling direction of the tape measure 7 is the winding direction, the microcomputer 1 decrements the count value of the number N of changes by 1 (S6), and the procedure returns to S1.

スイッチ4が押下された場合には(S1でYES)、マイコン1は動作モードを測定時監視モードに切替え、スイッチ4が押下されてから所定期間(例えば3秒)が経過するまで、PR1~PR9を動作させる(S7)。PR1~PR9は第1列パターン31及び第2列パターン32の色を読み取り、マイコン1に読み取り色に対応する電流値又は電圧値を出力する(S7)。 When the switch 4 is pressed (YES in S1), the microcomputer 1 switches the operation mode to the monitoring mode during measurement, and PR1 to PR9 are switched until a predetermined period (for example, 3 seconds) elapses after the switch 4 is pressed. is operated (S7). PR1 to PR9 read the colors of the first row pattern 31 and the second row pattern 32, and output current values or voltage values corresponding to the read colors to the microcomputer 1 (S7).

マイコン1は、図4の情報を参照して、PR1~PR9の読み取り色に対応する値を算出し(S8)、S5又はS6でカウントされた変化の回数Nに20mmを乗算した値と、S8で算出された値とを加算することで、測定対象の長さを測定する(S9)。測定された長さは、メモリ1aに格納され、外部端末20に出力される(S10)。以上により、本処理を終了する。 The microcomputer 1 refers to the information in FIG. 4 to calculate the values corresponding to the read colors of PR1 to PR9 (S8), and the value obtained by multiplying the number of times of change N counted in S5 or S6 by 20 mm and The length of the object to be measured is measured by adding the value calculated in (S9). The measured length is stored in the memory 1a and output to the external terminal 20 (S10). With the above, the present processing ends.

以下、計測器100の分解能を下げる場合のセンサの個数と各パターン21の長さについて説明する。 The number of sensors and the length of each pattern 21 when the resolution of the measuring instrument 100 is lowered will be described below.

計測器100が測定可能な最小単位の長さ、すなわち計測器100の分解能を1つのパターン21の長さである1mmとする場合、図3(B)に示すように、PR1~PR5が2mm間隔で第2列パターン32に対向するように配列される。 When the minimum unit length that can be measured by the measuring instrument 100, that is, the resolution of the measuring instrument 100 is 1 mm, which is the length of one pattern 21, as shown in FIG. are arranged so as to face the second row pattern 32 at .

図6(A)、(B)及び図7(A)、(B)は、計測器100の分解能を下げる場合のフォトリフレクタ5の配置の変形例を示す図である。なお、図6(A)、(B)及び図7(A)、(B)の第1列パターン31に対向するフォトリフレクタ5の最小個数(PR6及びPR7)は、図3(B)の第1列パターン31に対向するフォトリフレクタ5の最小個数と同じである。なお、図6(A)、(B)及び図7(A)、(B)では、PR8及びPR9を省略しているが、PR8及びPR9が設けられていてもよい。 FIGS. 6A, 6B, 7A, and 7B are diagrams showing modifications of the arrangement of the photoreflector 5 when the resolution of the measuring instrument 100 is lowered. The minimum number of photoreflectors 5 (PR6 and PR7) facing the first row pattern 31 in FIGS. 6A, 6B and 7A, 7B is the number It is the same as the minimum number of photoreflectors 5 facing one row pattern 31 . Although PR8 and PR9 are omitted in FIGS. 6A and 6B and FIGS. 7A and 7B, PR8 and PR9 may be provided.

図6(A)では、4つのフォトリフレクタ5(PR1~PR4)が2.5mm間隔で第2列パターン32に対向するように配列される。この場合、計測器100の分解能及び1つのパターン21の長さは1.25mmである。図6(B)では、3つのフォトリフレクタ5(PR1~PR3)が10/3mm間隔で第2列パターン32に対向するように配列される。この場合、計測器100の分解能及び1つのパターン21の長さは5/3mmである。図7(A)では、2つのフォトリフレクタ5(PR1~PR2)が2.5mm間隔で第2列パターン32に対向するように配列される。この場合、計測器100の分解能及び1つのパターン21の長さは2.5mmである。図7(B)では、PR1のみが第2列パターン32に対向するように配列される。この場合、計測器100の分解能及び1つのパターン21の長さは5mmである。 In FIG. 6A, four photoreflectors 5 (PR1 to PR4) are arranged to face the second row pattern 32 at intervals of 2.5 mm. In this case, the resolution of the measuring instrument 100 and the length of one pattern 21 are 1.25 mm. In FIG. 6B, three photoreflectors 5 (PR1 to PR3) are arranged to face the second row pattern 32 at intervals of 10/3 mm. In this case, the resolution of the measuring instrument 100 and the length of one pattern 21 are 5/3 mm. In FIG. 7A, two photoreflectors 5 (PR1 and PR2) are arranged to face the second row pattern 32 at intervals of 2.5 mm. In this case, the resolution of the measuring instrument 100 and the length of one pattern 21 are 2.5 mm. In FIG. 7B, only PR1 is arranged to face the second row pattern 32. In FIG. In this case, the resolution of the measuring instrument 100 and the length of one pattern 21 are 5 mm.

このように、計測器100の分解能を下げる場合には、第2列パターン32に対向するフォトリフレクタ5の個数を減らすことができる。図7(B)のように、計測器100の分解能を5mmにする場合には、必要なフォトリフレクタ5の個数を3個(PR1、PR6及びPR7)に減らすことができる。 Thus, when the resolution of the measuring instrument 100 is lowered, the number of photoreflectors 5 facing the second row pattern 32 can be reduced. As shown in FIG. 7B, when the resolution of the measuring instrument 100 is set to 5 mm, the required number of photoreflectors 5 can be reduced to three (PR1, PR6 and PR7).

以上説明したように、本実施の形態によれば、計測器100は、メジャー7の進行方向と、PR6の読取値とに基づいて、測定対象の長さを概測し、PR6~PR9の読取値と、PR1~PR5の読取値とに基づいて、測定対象の長さを精測し、概測した長さと精測した長さとに基づいて、誤差の少ない測定対象の長さを測定することができる。より具体的には、計測器100は、第1列パターン31の連続する白又は黒の長さを大きくし分解能を低下させる代わりにPR6による読取精度を向上させ、第2列パターン32を使ってより短い間隔の長さを読み取ることで低下した分解能を補うので、測定結果の誤差を減らすことができる。また、特許文献1に記載されている切り溝と接点との接触により生じる電気的パルスを使用しないので、ノイズの影響を受けて測定結果に誤差が生じることを回避できる。また、切り溝と接点との接触不良により、測定結果に誤差が生じることを回避できる。 As described above, according to the present embodiment, the measuring instrument 100 roughly measures the length of the object to be measured based on the traveling direction of the measure 7 and the read value of PR6, and reads PR6 to PR9. and the read values of PR1 to PR5, and measure the length of the object to be measured with little error based on the roughly measured length and the precisely measured length. can be done. More specifically, the measuring instrument 100 increases the length of continuous white or black in the first row pattern 31 and lowers the resolution, but improves the reading accuracy by PR6, and uses the second row pattern 32 Reading shorter interval lengths compensates for the reduced resolution, thus reducing error in the measurement results. In addition, since the electrical pulse generated by contact between the groove and the contact, which is described in Patent Document 1, is not used, it is possible to avoid errors in measurement results due to the influence of noise. In addition, it is possible to avoid errors in measurement results due to poor contact between the grooves and the contacts.

尚、本発明は、上述した実施の形態に限定されるものではなく、その要旨を逸脱しない範囲内で種々変形して実施することが可能である。 It should be noted that the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the gist of the present invention.

1 マイコン、2 無線通信部、3 ホールセンサ、4 スイッチ、5 フォトリフレクタ、 6 バッテリ、7 メジャー、8 リール、9 磁石、20 外部端末、100 計測器
1 microcomputer, 2 wireless communication unit, 3 hall sensor, 4 switch, 5 photo reflector, 6 battery, 7 measure, 8 reel, 9 magnet, 20 external terminal, 100 measuring instrument

Claims (8)

長さ方向に配列された複数のパターンを有する第1列パターン及び第2列パターンを有し、各パターンには二進値のいずれかが割り当てられており、前記第1列パターンは前記第2列パターンよりも同一の二進値が連続するパターン長が大きいメジャーと、
前記第1列パターンを読み取る第1読取手段と、
前記第2列パターンを読み取る第2読取手段と、
前記メジャーの進行方向を検出する検出手段と、
前記検出手段で検出された前記メジャーの進行方向と、前記第1読取手段の読取値と、前記第2読取手段の読取値とに基づいて、測定対象の長さを測定する制御手段と
を備えることを特徴とする計測器。
a first row pattern and a second row pattern having a plurality of patterns arranged lengthwise, each pattern being assigned one of binary values, said first row pattern being associated with said second row pattern; a measure whose pattern length of consecutive identical binary values is greater than the column pattern;
a first reading means for reading the first row pattern;
a second reading means for reading the second row pattern;
detection means for detecting the traveling direction of the measure;
control means for measuring the length of the object to be measured based on the traveling direction of the measure detected by the detection means, the reading value of the first reading means, and the reading value of the second reading means; A measuring instrument characterized by:
前記制御手段は、前記検出手段で検出された前記メジャーの進行方向と、前記第1読取手段の読取値とに基づいて、前記測定対象の長さを測定する第1モードと、
前記制御手段が、前記第1読取手段の読取値と、前記第2読取手段の読取値とに基づいて、前記測定対象の長さを測定する第2モードと、を有することを特徴とする請求項1に記載の計測器。
a first mode in which the control means measures the length of the object to be measured based on the traveling direction of the measure detected by the detection means and the read value of the first reading means;
The control means has a second mode for measuring the length of the object based on the reading value of the first reading means and the reading value of the second reading means. Item 1. The measuring instrument according to item 1.
前記検出手段は、前記メジャーを巻き取るリールの角度を検出するセンサであることを特徴とする請求項1又は2に記載の計測器。 3. The measuring instrument according to claim 1, wherein said detecting means is a sensor for detecting an angle of a reel on which said measure is wound. 前記第1読取手段は前記第1列パターンに対向する少なくとも2つの読取器を備え、前記第2読取手段は前記第2列パターンに対向する少なくとも1つの読取器を備えていることを特徴とする請求項1乃至3のいずれか1項に記載の計測器。 The first reading means comprises at least two readers facing the first row pattern, and the second reading means comprises at least one reader facing the second row pattern. 4. A measuring instrument according to any one of claims 1-3. 前記第1読取手段は前記第1列パターンに対向する少なくとも2つの読取器を備え、
前記第1モードでは、前記第1読取手段が備える読取器のうち一つが使用され、前記第2モードでは、前記第1読取手段が備える読取器の全てが使用されることを特徴とする請求項2に記載の計測器。
said first reading means comprises at least two readers facing said first row pattern;
3. The first mode uses one of the readers of the first reading means, and the second mode uses all of the readers of the first reading means. 2. The measuring instrument according to 2.
前記第1読取手段は、前記2つの読取器から長さ方向に所定距離だけそれぞれ離れた別の2つの読取器を備えていることを特徴とする請求項4に記載の計測器。 5. A meter according to claim 4, wherein said first reading means comprises two further readers each longitudinally separated from said two readers by a predetermined distance. 長さ方向に配列された複数のパターンを有する第1列パターン及び第2列パターンを有し、各パターンには二進値のいずれかが割り当てられており、前記第1列パターンは前記第2列パターンよりも同一の二進値が連続するパターン長が大きいメジャーを備える計測器の計測方法であって、
前記第1列パターンを読み取る第1工程と、
前記第2列パターンを読み取る第2工程と、
前記メジャーの進行方向を検出する第3工程と、
前記メジャーの進行方向と、前記第1列パターンの読取値と、前記第2列パターンの読取値とに基づいて、測定対象の長さを測定する第4工程と
を備えることを特徴とする計測方法。
a first row pattern and a second row pattern having a plurality of patterns arranged lengthwise, each pattern being assigned one of binary values, said first row pattern being associated with said second row pattern; A measuring method for a measuring instrument having a measure having a pattern length of consecutive identical binary values longer than a row pattern,
a first step of reading the first column pattern;
a second step of reading the second column pattern;
a third step of detecting the traveling direction of the measure;
and a fourth step of measuring the length of the object to be measured based on the traveling direction of the measure, the read value of the first row pattern, and the read value of the second row pattern. Method.
前記計測器の動作モードは、
前記メジャーの進行方向と、前記第1列パターンの読取値とに基づいて、前記測定対象の長さを測定する第1モードと、
前記第1列パターンの読取値と、前記第2列パターンの読取値とに基づいて、前記測定対象の長さを測定する第2モードと、
を備えることを特徴とする請求項7に記載の計測方法。
The mode of operation of the instrument is
a first mode for measuring the length of the object based on the traveling direction of the measure and the read value of the first row pattern;
a second mode for measuring the length of the measurement object based on the read value of the first row pattern and the read value of the second row pattern;
The measuring method according to claim 7, comprising:
JP2021083903A 2021-05-18 2021-05-18 Measuring instrument and measuring method Pending JP2022177556A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021083903A JP2022177556A (en) 2021-05-18 2021-05-18 Measuring instrument and measuring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021083903A JP2022177556A (en) 2021-05-18 2021-05-18 Measuring instrument and measuring method

Publications (1)

Publication Number Publication Date
JP2022177556A true JP2022177556A (en) 2022-12-01

Family

ID=84237598

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021083903A Pending JP2022177556A (en) 2021-05-18 2021-05-18 Measuring instrument and measuring method

Country Status (1)

Country Link
JP (1) JP2022177556A (en)

Similar Documents

Publication Publication Date Title
CA2057884C (en) Digitial linear measuring device
US7432497B2 (en) Absolute linear encoder
JP2592387B2 (en) Tape measure
CN101888962B (en) Elevator cabin position detection system and method of determining a position of an elevator cabin in an elevator shaft
EP3575749B1 (en) Optical measuring instrument
JP4885670B2 (en) Absolute type linear encoder
GB2169399A (en) A digital tape measure
US7903263B2 (en) Position detection sensor
US20190162672A1 (en) Image forming apparatus and determination method
EP3500433B1 (en) Printer
JP2005075469A (en) Distinguishing device for type of recording medium, recording device, and distinguishing method
JP2022177556A (en) Measuring instrument and measuring method
US20210216837A1 (en) Measuring instrument and measure
CN111336884B (en) Measuring tape
US6712273B1 (en) Versatile method and system for VCSEL-based bar code scanner
CN220250869U (en) Tape measure device
WO2020046242A2 (en) A sensor and safety system operated with this sensor
US20240090858A1 (en) Position determination system, medical imaging system, method for position determination and reference arrangement
JPH07159121A (en) Optical position sensor
JPS59178281A (en) Position detector
JPH05258355A (en) Optical card and method and device for reading the same
CN115406471A (en) Optical encoder and electronic apparatus
JPH0560575A (en) Position detection unit
JPH06129880A (en) Recorder
JPH11272415A (en) Digitizer