JP5710809B2 - Dimension measurement terminal - Google Patents

Dimension measurement terminal Download PDF

Info

Publication number
JP5710809B2
JP5710809B2 JP2014018666A JP2014018666A JP5710809B2 JP 5710809 B2 JP5710809 B2 JP 5710809B2 JP 2014018666 A JP2014018666 A JP 2014018666A JP 2014018666 A JP2014018666 A JP 2014018666A JP 5710809 B2 JP5710809 B2 JP 5710809B2
Authority
JP
Japan
Prior art keywords
dimension
mobile terminal
rotation angle
processing unit
angle
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
JP2014018666A
Other languages
Japanese (ja)
Other versions
JP2014122912A (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.)
Biglobe Inc
Original Assignee
Biglobe Inc
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 Biglobe Inc filed Critical Biglobe Inc
Priority to JP2014018666A priority Critical patent/JP5710809B2/en
Publication of JP2014122912A publication Critical patent/JP2014122912A/en
Application granted granted Critical
Publication of JP5710809B2 publication Critical patent/JP5710809B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Length Measuring Devices With Unspecified Measuring Means (AREA)
  • Telephone Function (AREA)

Description

本発明は、携帯端末を用いて物体の寸法を測定する技術に関する。   The present invention relates to a technique for measuring the size of an object using a mobile terminal.

非特許文献1は、携帯端末の画面上に物差しの画像を表示させるアプリケーションプログラムを開示している。画面上に表示された物差しを使って長さを測ることができる。   Non-Patent Document 1 discloses an application program that displays an image of a ruler on the screen of a mobile terminal. You can measure the length using a ruler displayed on the screen.

特許文献1は、物体の長さを計測することができるように構成された携帯電子機器を開示している。携帯電子機器は、表示部と、筐体とを備える。表示部は、画像を表示させていない状態で透明となる画像表示領域を備える。表示部は筐体の内部に配置される。筐体は、画像表示領域に対応する箇所が透明材料で形成されている。表示部は、画像表示領域に物差しの画像を表示する。   Patent document 1 is disclosing the portable electronic device comprised so that the length of an object could be measured. The portable electronic device includes a display unit and a housing. The display unit includes an image display area that is transparent when an image is not displayed. The display unit is disposed inside the housing. In the case, a portion corresponding to the image display area is formed of a transparent material. The display unit displays an image of the ruler in the image display area.

上記技術では画面サイズを上回る大きさの被測定物の寸法を測定することができない。   With the above technique, it is impossible to measure the dimension of an object to be measured that is larger than the screen size.

非特許文献2は、携帯端末で撮影された被測定物の写真と、撮影時の携帯端末の角度と、撮影者の身長とから、三角測量の原理に基づいて被測定物の寸法を測定するアプリケーションプログラムを開示している。   Non-Patent Document 2 measures the dimension of a measurement object based on the principle of triangulation from the photograph of the measurement object photographed with a portable terminal, the angle of the portable terminal at the time of photographing, and the height of the photographer. An application program is disclosed.

上記技術によれば、画面サイズを上回る大きさの被測定物の寸法を測定することができる。しかし、身長は時間とともに変化するため、上記技術では常に最新の身長を設定しなければ寸法を高精度で測定することができない。   According to the above technique, it is possible to measure the dimension of an object to be measured that is larger than the screen size. However, since the height changes with time, the above technique cannot measure the dimensions with high accuracy unless the latest height is always set.

特許文献2は、簡易に物の寸法を測ることができるように構成された携帯電話機を開示している。携帯電話機は、移動検出用センサと、相対位置関連処理部と、表示部とを備える。移動検出用センサとして3軸加速度センサが用いられる。3軸加速度センサは、携帯電話機を移動させると、水平方向であるX軸方向及びY軸方向だけでなく、水平方向に垂直なZ軸方向の移動量を検出する。相対位置関連処理部は、ユーザが携帯電話機を移動させるとこれに伴う現在の位置座標を演算する。表示部は位置座標を表示する。   Patent Document 2 discloses a cellular phone configured to be able to easily measure the dimensions of an object. The mobile phone includes a movement detection sensor, a relative position related processing unit, and a display unit. A triaxial acceleration sensor is used as the movement detection sensor. When the mobile phone is moved, the triaxial acceleration sensor detects not only the horizontal X-axis direction and the Y-axis direction but also the movement amount in the Z-axis direction perpendicular to the horizontal direction. When the user moves the mobile phone, the relative position related processing unit calculates a current position coordinate associated therewith. The display unit displays position coordinates.

上記技術によれば、画面サイズを上回る大きさの被測定物の寸法を測定することができる。更に、上記技術では撮影者の身長を用いないため、寸法を高精度で測定することができると考えられる。   According to the above technique, it is possible to measure the dimension of an object to be measured that is larger than the screen size. Furthermore, since the above technique does not use the height of the photographer, it is considered that the dimensions can be measured with high accuracy.

画面サイズを上回る大きさの被測定物の寸法を高精度で測定することができる他の技術が必要とされる。   There is a need for another technique that can measure the dimension of an object to be measured larger than the screen size with high accuracy.

一方、重力センサを備えた携帯端末に関して下記技術が知られている。下記技術では重力センサを寸法測定に利用していない。   On the other hand, the following technology is known for a portable terminal equipped with a gravity sensor. The following technology does not use a gravity sensor for dimension measurement.

特許文献3は、携帯電話機を開示している。携帯電話機は、上部筐体と、下部筐体と、それらを開閉可能に接続するヒンジ機構と、上部筐体に設けられたタッチパッドと、上部筐体に設けられた重力センサとを備える。重力センサが出力する検出信号に基づいて、上部筐体の姿勢が判定される。上部筐体の姿勢に基づいて、タッチパッドの複数の位置に対して割り当てられる機能の位置が変更される。   Patent Document 3 discloses a mobile phone. The mobile phone includes an upper housing, a lower housing, a hinge mechanism that connects the doors to be openable, a touch pad provided in the upper housing, and a gravity sensor provided in the upper housing. Based on the detection signal output from the gravity sensor, the attitude of the upper housing is determined. Based on the posture of the upper housing, the position of the function assigned to the plurality of positions of the touch pad is changed.

特許文献4は、携帯端末装置を開示している。携帯端末装置は、上部筐体と、下部筐体と、それらを折り畳み可能に連結するヒンジと、正面ディスプレイと、正面バックライトと、背面ディスプレイと、背面バックライトと、重力センサと、制御回路とを備える。正面ディスプレイ、正面バックライト、背面ディスプレイ、背面バックライト、及び重力センサは、上部筐体に設けられる。上部筐体及び下部筐体は、正面ディスプレイ及び正面バックライトが内側になるように折り畳まれる。背面ディスプレイ及び背面バックライトは上部筐体の外側に設けられる。重力センサは、重力方向に対する携帯端末装置の角度を検知し、その角度情報を制御回路に送る。制御回路は、角度情報に基づいて、正面ディスプレイ、正面バックライト、背面ディスプレイ、及び背面バックライトの動作のオン/オフを制御する。   Patent document 4 is disclosing the portable terminal device. The mobile terminal device includes an upper casing, a lower casing, a hinge that connects the casings in a foldable manner, a front display, a front backlight, a rear display, a rear backlight, a gravity sensor, and a control circuit. Is provided. The front display, the front backlight, the rear display, the rear backlight, and the gravity sensor are provided in the upper casing. The upper housing and the lower housing are folded so that the front display and the front backlight are inside. The rear display and the rear backlight are provided outside the upper housing. The gravity sensor detects the angle of the mobile terminal device with respect to the direction of gravity and sends the angle information to the control circuit. The control circuit controls on / off of operations of the front display, the front backlight, the rear display, and the rear backlight based on the angle information.

特許文献5は、携帯情報端末を開示している。携帯情報端末は、表示装置と、複数の操作キーと、重力の方向を検出する重力センサと、各操作キーへのキーコードの割り当てを行う制御部とを備える。複数の操作キーは、表示装置の表示面が設けられた面とは反対側の面に設けられる。制御部は、重力センサからの入力信号に基づいて、表示面を上にした第1の状態と反対側の面を上にした第2の状態のいずれの状態にあるかを判定する。制御部は、判定結果に応じて、各操作キーへのキーコードの割り当てを切り替える。   Patent Document 5 discloses a portable information terminal. The portable information terminal includes a display device, a plurality of operation keys, a gravity sensor that detects the direction of gravity, and a control unit that assigns a key code to each operation key. The plurality of operation keys are provided on a surface opposite to the surface on which the display surface of the display device is provided. Based on the input signal from the gravity sensor, the control unit determines whether the display surface is in the first state with the display surface facing up or the second state with the surface on the opposite side facing up. The control unit switches the assignment of the key code to each operation key according to the determination result.

特許文献6は、カメラ付き携帯端末を開示している。カメラ付き携帯端末は、カメラモジュールと、第1回動軸部と、第2回動軸部と、重力センサとを備える。第1回動軸部は、カメラモジュールの光軸を第1回動軸まわりに回動する第1回動アクチュエータを備える。第2回動軸部は、カメラモジュールの光軸を第2回動軸まわりに回動する第2回動アクチュエータを備える。重力センサにより検知された重力方向に基づいて、カメラモジュールの光軸方向の水平方向に対する傾き角が求められる。傾き角に基づいて第1及び第2回動アクチュエータを制御して、カメラモジュールの光軸方向を水平方向に概ね平行にする。   Patent document 6 is disclosing the portable terminal with a camera. The camera-equipped mobile terminal includes a camera module, a first rotation shaft portion, a second rotation shaft portion, and a gravity sensor. The first rotation shaft portion includes a first rotation actuator that rotates the optical axis of the camera module about the first rotation axis. The second rotation shaft portion includes a second rotation actuator that rotates the optical axis of the camera module about the second rotation axis. Based on the gravity direction detected by the gravity sensor, the tilt angle of the camera module with respect to the horizontal direction in the optical axis direction is obtained. Based on the tilt angle, the first and second rotating actuators are controlled to make the optical axis direction of the camera module substantially parallel to the horizontal direction.

特開2011−166629号公報JP 2011-166629 A 特開2008−97144号公報JP 2008-97144 A 特開2006−350814号公報JP 2006-350814 A 特開2007−281864号公報JP 2007-281864 A 特開2010−27090号公報JP 2010-27090 A 特開2011−19094号公報JP 2011-19094 A

iScale、[online]、[2011年10月14日検索]、インターネット<URL:http://pcf.axisdesign.org/blog/iphoneapp>iScale, [online], [October 14, 2011 search], Internet <URL: http: // pcf. axisdesign. org / blog / phonephone> RoomRuler、[online]、[2011年10月14日検索]、インターネット<URL:http://www.shusaku.co.jp/ip/sub1.html>Room Ruler, [online], [October 14, 2011 search], Internet <URL: http: // www. Shusaku. co. jp / ip / sub1. html>

本発明の目的は、画面サイズを上回る大きさの被測定物の寸法を高精度で測定する用途に好適な携帯端末、寸法測定システム、寸法測定方法、及び寸法測定プログラムを提供することである。   An object of the present invention is to provide a portable terminal, a dimension measuring system, a dimension measuring method, and a dimension measuring program that are suitable for use in measuring the dimension of a measurement object having a size larger than the screen size with high accuracy.

本発明の一の観点において、携帯端末は、本携帯端末の姿勢情報を検出する姿勢センサと、基準寸法を保持する記憶部と、前記姿勢情報及び前記基準寸法に基づいて被測定物の寸法を計算する処理部と、前記寸法を表示画面に表示する表示部とを含み、前記姿勢情報は、携帯端末の回転角を含み、前記表示画面の法線を水平にした状態で本携帯端末を前記法線に垂直な面内で回転させたときに前記回転角が変化し、前記処理部は、前記回転角を用いた三角関数及び前記基準寸法に基づいて、前記寸法を計算するIn one aspect of the present invention, the mobile terminal includes a posture sensor that detects posture information of the mobile terminal, a storage unit that holds a reference dimension, and the size of the object to be measured based on the posture information and the reference dimension. a processing unit for calculations, and a display unit for displaying the dimensions on the display screen, the posture information includes rotation angle of the mobile terminal, the present portable terminal while the horizontal normals of the display screen wherein the rotation angle is changed when rotating in a plane perpendicular to the normal, the processing unit, based on the trigonometric function and the reference dimension using the rotation angle to calculate the dimensions.

本発明の他の観点において、寸法測定システムは、上記携帯端末と、矩形ケースとを含み、前記基準寸法は、前記矩形ケースの縦方向の長さと、前記矩形ケースの横方向の長さとを含み、前記矩形ケースは、前記縦方向、前記横方向、及び前記法線が互いに垂直になるように前記携帯端末を格納する。 In another aspect of the present invention, the dimension measurement system, and the mobile terminal, and a rectangular case, the reference dimension, including the length of the longitudinal direction of the rectangular case, and a length in the horizontal direction of the rectangular case seen, the rectangular case, the longitudinal direction, the transverse direction, and the normal to store the portable terminal so as to be perpendicular to each other.

本発明の他の観点において、寸法測定方法は、携帯端末による寸法測定方法であって、前記携帯端末は、記憶部に基準寸法を保持し、前記携帯端末の姿勢センサが前記携帯端末の姿勢情報を検出する検出ステップと、前記携帯端末の処理部が前記姿勢情報及び前記基準寸法に基づいて被測定物の寸法を計算する処理ステップと、前記携帯端末の表示部が前記寸法を表示画面に表示する表示ステップとを含み、前記姿勢情報は、前記携帯端末の回転角を含み、前記表示画面の法線を水平にした状態で前記携帯端末を前記法線に垂直な面内で回転させたときに前記回転角が変化し、前記処理ステップは、前記回転角を用いた三角関数及び前記基準寸法に基づいて、前記寸法を計算する計算ステップを含むIn another aspect of the present invention, the dimension measuring method is a dimension measuring method by a portable terminal , the portable terminal holds a reference dimension in a storage unit, and the attitude sensor of the portable terminal is attitude information of the portable terminal. A detecting step for detecting the object, a processing step for the processing unit of the portable terminal to calculate a dimension of the object to be measured based on the posture information and the reference dimension, and a display unit for the portable terminal displaying the dimension on the display screen The posture information includes a rotation angle of the mobile terminal, and the mobile terminal is rotated in a plane perpendicular to the normal while the normal of the display screen is horizontal. And the processing step includes a calculation step of calculating the dimension based on a trigonometric function using the rotation angle and the reference dimension .

本発明の他の観点において、寸法測定プログラムは、携帯端末に寸法測定を実行させる寸法測定プログラムであって、前記携帯端末は、記憶部に基準寸法を保持し、前記携帯端末の姿勢センサが前記携帯端末の姿勢情報を検出する検出ステップと、前記携帯端末の処理部が前記姿勢情報及び前記基準寸法に基づいて被測定物の寸法を計算する処理ステップと、前記携帯端末の表示部が前記寸法を表示画面に表示する表示ステップとを含み、前記姿勢情報は、前記携帯端末の回転角を含み、前記表示画面の法線を水平にした状態で前記携帯端末を前記法線に垂直な面内で回転させたときに前記回転角が変化し、前記処理ステップは、前記回転角を用いた三角関数及び前記基準寸法に基づいて、前記寸法を計算する計算ステップを含むIn another aspect of the present invention, the dimension measurement program is a dimension measurement program that causes a portable terminal to perform dimension measurement, the portable terminal holds a reference dimension in a storage unit, and the attitude sensor of the portable terminal A detecting step for detecting posture information of the mobile terminal; a processing step in which a processing unit of the mobile terminal calculates a dimension of the object to be measured based on the posture information and the reference dimension; and a display unit of the mobile terminal Display on a display screen, and the posture information includes a rotation angle of the mobile terminal, and the mobile terminal is placed in a plane perpendicular to the normal with the normal of the display screen horizontal. And the processing step includes a calculation step of calculating the dimension based on a trigonometric function using the rotation angle and the reference dimension .

本発明によれば、画面サイズを上回る大きさの被測定物の寸法を高精度で測定する用途に好適な携帯端末、寸法測定システム、寸法測定方法、及び寸法測定プログラムが提供される。   ADVANTAGE OF THE INVENTION According to this invention, the portable terminal suitable for the use which measures the dimension of the to-be-measured object larger than a screen size with high precision, a dimension measuring system, the dimension measuring method, and a dimension measuring program are provided.

図1は、本発明の第1の実施形態に係る携帯端末のブロック図である。FIG. 1 is a block diagram of a mobile terminal according to the first embodiment of the present invention. 図2は、携帯端末の正面図である。FIG. 2 is a front view of the mobile terminal. 図3は、携帯端末の表示画面に表示される内容を示す。FIG. 3 shows the contents displayed on the display screen of the mobile terminal. 図4は、携帯端末の回転角の定義を示す。FIG. 4 shows the definition of the rotation angle of the mobile terminal. 図5は、携帯端末の姿勢と回転角の関係を示す。FIG. 5 shows the relationship between the attitude of the mobile terminal and the rotation angle. 図6は、携帯端末が実行する処理のフローチャートである。FIG. 6 is a flowchart of processing executed by the mobile terminal. 図7は、携帯端末が実行する測定処理のフローチャートである。FIG. 7 is a flowchart of a measurement process executed by the mobile terminal. 図8は、測定処理に含まれる処理のフローチャートである。FIG. 8 is a flowchart of processes included in the measurement process. 図9は、測定処理に含まれる処理のフローチャートである。FIG. 9 is a flowchart of processes included in the measurement process. 図10は、測定処理に含まれる処理のフローチャートである。FIG. 10 is a flowchart of processes included in the measurement process. 図11は、測定処理に含まれる処理のフローチャートである。FIG. 11 is a flowchart of processes included in the measurement process. 図12は、第1の実施形態に係る寸法測定方法を説明する概念図である。FIG. 12 is a conceptual diagram illustrating the dimension measuring method according to the first embodiment. 図13は、本発明の第2の実施形態に係る寸法測定システムの斜視図である。FIG. 13 is a perspective view of a dimension measuring system according to the second embodiment of the present invention. 図14は、本発明の第3の実施形態に係る寸法測定システムの斜視図である。FIG. 14 is a perspective view of a dimension measuring system according to the third embodiment of the present invention. 図15は、第3の実施形態に係る寸法測定システムが備える携帯端末の表示画面に表示される内容を示す。FIG. 15 shows the contents displayed on the display screen of the portable terminal provided in the dimension measuring system according to the third embodiment. 図16は、第3の実施形態に係る携帯端末が実行する測定処理のフローチャートである。FIG. 16 is a flowchart of measurement processing executed by the mobile terminal according to the third embodiment. 図17は、第3の実施形態に係る寸法測定方法を説明する概念図である。FIG. 17 is a conceptual diagram illustrating a dimension measuring method according to the third embodiment. 図18は、本発明の第4の実施形態に係る携帯端末の表示画面に表示される内容を示す。FIG. 18 shows the contents displayed on the display screen of the mobile terminal according to the fourth embodiment of the present invention. 図19は、携帯端末の傾斜角の定義を示す。FIG. 19 shows the definition of the tilt angle of the mobile terminal. 図20は、携帯端末の姿勢と傾斜角の関係を示す。FIG. 20 shows the relationship between the attitude of the mobile terminal and the tilt angle. 図21は、第4の実施形態に係る携帯端末が実行する処理のフローチャートである。FIG. 21 is a flowchart of processing executed by the mobile terminal according to the fourth embodiment. 図22は、携帯端末を用いて水平方向の寸法を測定する方法を説明する概念図である。FIG. 22 is a conceptual diagram illustrating a method of measuring the horizontal dimension using a mobile terminal.

添付図面を参照して、本発明による携帯端末、寸法測定システム、寸法測定方法、及び寸法測定プログラムを実施するための形態を以下に説明する。   With reference to the attached drawings, a portable terminal, a dimension measuring system, a dimension measuring method, and a dimension measuring program according to the present invention will be described below.

(第1の実施形態)
図1を参照して、本発明の第1の実施形態に係る携帯端末1を説明する。携帯端末1の具体例として、スマートフォン(高機能携帯電話機)やタブレット端末が挙げられる。携帯端末1は、表示部11、入力部12、姿勢センサ13、処理部14、記憶部15を備える。入力部12は、例えば、タッチセンサを備える。ユーザは入力部12を用いて携帯端末1を操作する。入力部12は、ユーザによる指示を示す信号を生成して処理部14に出力する。記憶部15は、データやコンピュータプログラムを保持する。記憶部15は、電力が供給されなくても情報を保持可能なように、フラッシュメモリのような不揮発性記憶装置を備えることが好ましい。姿勢センサ13は、地磁気の方向、重力加速度の方向、又はこれらの両者に基づいて携帯端末1の姿勢情報を検出し、姿勢情報を処理部14に出力する。姿勢センサ13は重力加速度センサ及び地磁気センサを備えてもよい。処理部14は、記憶部15に保持されたコンピュータプログラムに従って処理を実行する。このコンピュータプログラムは、インターネットを介して提供されてもよく、光ディスクや磁気ディスクのような記録媒体に記録されて提供されてもよい。表示部11は、例えば、液晶表示装置を備える。表示部11は、処理部14による処理状況や処理結果をユーザに表示する。
(First embodiment)
With reference to FIG. 1, the portable terminal 1 which concerns on the 1st Embodiment of this invention is demonstrated. Specific examples of the mobile terminal 1 include a smartphone (high function mobile phone) and a tablet terminal. The mobile terminal 1 includes a display unit 11, an input unit 12, a posture sensor 13, a processing unit 14, and a storage unit 15. The input unit 12 includes, for example, a touch sensor. The user operates the mobile terminal 1 using the input unit 12. The input unit 12 generates a signal indicating a user instruction and outputs the signal to the processing unit 14. The storage unit 15 holds data and computer programs. The storage unit 15 preferably includes a non-volatile storage device such as a flash memory so that information can be retained even when power is not supplied. The posture sensor 13 detects the posture information of the mobile terminal 1 based on the direction of geomagnetism, the direction of gravitational acceleration, or both, and outputs the posture information to the processing unit 14. The attitude sensor 13 may include a gravitational acceleration sensor and a geomagnetic sensor. The processing unit 14 executes processing according to a computer program held in the storage unit 15. This computer program may be provided via the Internet or may be provided by being recorded on a recording medium such as an optical disk or a magnetic disk. The display unit 11 includes, for example, a liquid crystal display device. The display unit 11 displays the processing status and processing result by the processing unit 14 to the user.

図2を参照して、携帯端末1の形状は直方体である。表示部11は、矩形形状の表示画面110を備える。表示画面110及び入力部12は、タッチパネルを形成する。表示画面110の法線ベクトルN、縦ベクトルX、横ベクトルYが示されている。法線ベクトルN、縦ベクトルX、横ベクトルYは携帯端末1に対して固定されている。法線ベクトルN、縦ベクトルX、横ベクトルYは互いに垂直である。法線ベクトルNは、表示画面110に垂直な外向きのベクトルである。縦ベクトルXは、表示画面110の縦辺110a及び携帯端末1の縦辺1aに平行である。縦ベクトルXは、表示画面110の上を向く。横ベクトルYは、表示画面110の横辺110b及び携帯端末1の横辺1bに平行である。横ベクトルYは、表示画面110の左を向く。携帯端末1の縦方向の長さaは縦辺1aの長さに等しく、携帯端末1の横方向の長さbは横辺1bの長さに等しい。携帯端末1の縦方向及び横方向はそれぞれ縦ベクトルX及び横ベクトルYに平行である。図2に示されるように、縦辺110aは横辺110bより長く、縦辺1aは横辺1bより長い。   With reference to FIG. 2, the shape of the portable terminal 1 is a rectangular parallelepiped. The display unit 11 includes a rectangular display screen 110. The display screen 110 and the input unit 12 form a touch panel. A normal vector N, a vertical vector X, and a horizontal vector Y of the display screen 110 are shown. The normal vector N, the vertical vector X, and the horizontal vector Y are fixed with respect to the mobile terminal 1. The normal vector N, the vertical vector X, and the horizontal vector Y are perpendicular to each other. The normal vector N is an outward vector perpendicular to the display screen 110. The vertical vector X is parallel to the vertical side 110 a of the display screen 110 and the vertical side 1 a of the mobile terminal 1. The vertical vector X faces upward on the display screen 110. The horizontal vector Y is parallel to the horizontal side 110 b of the display screen 110 and the horizontal side 1 b of the mobile terminal 1. The horizontal vector Y faces the left side of the display screen 110. The length a in the vertical direction of the mobile terminal 1 is equal to the length of the vertical side 1a, and the length b in the horizontal direction of the mobile terminal 1 is equal to the length of the horizontal side 1b. The vertical direction and the horizontal direction of the mobile terminal 1 are parallel to the vertical vector X and the horizontal vector Y, respectively. As shown in FIG. 2, the vertical side 110a is longer than the horizontal side 110b, and the vertical side 1a is longer than the horizontal side 1b.

図3は、表示画面110が表示する内容を示す。表示画面110は、寸法表示領域111と、測定開始ボタン112と、基準寸法設定領域113と、設定ボタン115とを表示する。寸法表示領域111は、携帯端末1が測定した寸法を表示するための領域である。寸法はミリメートルの単位で表示される。測定開始ボタン112は、寸法の測定処理を開始するためのボタンである。基準寸法設定領域113は、測定処理に用いられる基準寸法を設定するための領域である。ユーザは、携帯端末1の縦方向の長さa及び横方向の長さbを基準寸法として基準寸法設定領域113に設定する。携帯端末1の縦方向の長さa及び横方向の長さbの単位はミリメートルである。尚、過去に設定された携帯端末1の縦方向の長さa及び横方向の長さbが記憶部15に保持されている場合、基準寸法設定領域113は記憶装置15に保持されている携帯端末1の縦方向の長さa及び横方向の長さbを初期値として表示してもよい。ユーザが設定ボタン115をタッチ又は押下すると、入力部12は設定ボタン115が操作されたことを処理部14に伝える。処理部14は、基準寸法設定領域113に設定された携帯端末1の縦方向の長さa及び横方向の長さbを記憶部15に保存して保持する。   FIG. 3 shows the contents displayed on the display screen 110. The display screen 110 displays a dimension display area 111, a measurement start button 112, a reference dimension setting area 113, and a setting button 115. The dimension display area 111 is an area for displaying dimensions measured by the mobile terminal 1. Dimensions are displayed in millimeters. The measurement start button 112 is a button for starting a dimension measurement process. The reference dimension setting area 113 is an area for setting a reference dimension used for the measurement process. The user sets the vertical length a and the horizontal length b of the mobile terminal 1 in the reference dimension setting region 113 as reference dimensions. The unit of the length a in the vertical direction and the length b in the horizontal direction of the mobile terminal 1 is millimeters. When the vertical length a and the horizontal length b of the portable terminal 1 set in the past are held in the storage unit 15, the reference dimension setting area 113 is held in the storage device 15. The vertical length a and the horizontal length b of the terminal 1 may be displayed as initial values. When the user touches or presses the setting button 115, the input unit 12 notifies the processing unit 14 that the setting button 115 has been operated. The processing unit 14 stores the vertical length “a” and the horizontal length “b” of the mobile terminal 1 set in the reference dimension setting region 113 in the storage unit 15 and holds them.

図4を参照して、携帯端末1の回転角(roll)θを説明する。回転角θは、鉛直上向きベクトルVと縦ベクトルXの間の角度である。法線ベクトルNを水平にした状態で携帯端末1を法線ベクトルNに垂直な面内で回転させると回転角θが変化する。姿勢センサ13が検出する姿勢情報は、回転角θを含む。姿勢センサ13は、回転角θを検出して処理部14に出力する。   With reference to FIG. 4, the rotation angle (roll) θ of the mobile terminal 1 will be described. The rotation angle θ is an angle between the vertically upward vector V and the vertical vector X. When the mobile terminal 1 is rotated in a plane perpendicular to the normal vector N in a state where the normal vector N is horizontal, the rotation angle θ changes. The posture information detected by the posture sensor 13 includes a rotation angle θ. The attitude sensor 13 detects the rotation angle θ and outputs it to the processing unit 14.

図5を参照して、法線ベクトルNを水平にした状態で携帯端末1を法線ベクトルNに垂直な面内で回転させたときの回転角θの変化を説明する。縦ベクトルXが鉛直上向きとなる姿勢を携帯端末1がとるとき、回転角θは0である。この姿勢から横ベクトルYが上を向くように携帯端末1を回転させると回転角θが増加する。横ベクトルYが鉛直上向きとなる姿勢を携帯端末1がとるとき、回転角θは+90である。この姿勢から縦ベクトルXが下を向くように携帯端末1を回転させると回転角θが増加する。縦ベクトルXが鉛直下向きとなる姿勢を携帯端末1がとるとき、回転角θは+180である。一方、縦ベクトルXが鉛直上向きとなる姿勢(回転角θが0となる姿勢)から横ベクトルYが下を向くように携帯端末1を回転させると回転角θが減少する。横ベクトルYが鉛直下向きとなる姿勢を携帯端末1がとるとき、回転角θは−90である。この姿勢から縦ベクトルXが下を向くように携帯端末1を回転させると回転角θが減少する。縦ベクトルXが鉛直下向きとなる姿勢を携帯端末1がとるとき、回転角θは−180である。縦ベクトルXが鉛直下向きとなる姿勢を超えて携帯端末1を回転させると、回転角θの正負が逆転する。   With reference to FIG. 5, a change in the rotation angle θ when the mobile terminal 1 is rotated in a plane perpendicular to the normal vector N while the normal vector N is horizontal will be described. When the mobile terminal 1 takes a posture in which the vertical vector X is vertically upward, the rotation angle θ is zero. When the portable terminal 1 is rotated so that the horizontal vector Y faces upward from this posture, the rotation angle θ increases. When the mobile terminal 1 takes a posture in which the horizontal vector Y is vertically upward, the rotation angle θ is +90. When the portable terminal 1 is rotated so that the vertical vector X faces downward from this posture, the rotation angle θ increases. When the mobile terminal 1 takes a posture in which the vertical vector X is vertically downward, the rotation angle θ is +180. On the other hand, when the mobile terminal 1 is rotated so that the horizontal vector Y faces downward from the posture in which the vertical vector X is vertically upward (the posture in which the rotation angle θ is 0), the rotation angle θ is decreased. When the mobile terminal 1 takes a posture in which the horizontal vector Y is vertically downward, the rotation angle θ is −90. When the portable terminal 1 is rotated from this posture so that the vertical vector X faces downward, the rotation angle θ decreases. When the mobile terminal 1 takes a posture in which the vertical vector X is vertically downward, the rotation angle θ is −180. When the mobile terminal 1 is rotated beyond the posture in which the vertical vector X is vertically downward, the sign of the rotation angle θ is reversed.

図6は、携帯端末1が実行する処理のフローチャートである。この処理はステップS10、S20を含む。ステップS10において、処理部14が入力部12から測定開始ボタン112が押下されたとの通知を受けるとステップS20に移る。ステップS20において、携帯端末1は、被測定物の寸法を測定するための測定処理を実行する。測定処理の実行中、姿勢センサ13は、携帯端末1の姿勢情報をリアルタイムで検出し、処理部14に出力する。   FIG. 6 is a flowchart of processing executed by the mobile terminal 1. This process includes steps S10 and S20. In step S10, when the processing unit 14 receives a notification from the input unit 12 that the measurement start button 112 has been pressed, the process proceeds to step S20. In step S <b> 20, the mobile terminal 1 executes a measurement process for measuring the dimension of the object to be measured. During the execution of the measurement process, the posture sensor 13 detects the posture information of the mobile terminal 1 in real time and outputs it to the processing unit 14.

図7は、ステップS20のフローチャートである。ステップS20は、ステップS21乃至S29を含む。ステップS21において、処理部14は、記憶部15から基準寸法a及びb(携帯端末1の縦方向の長さa及び横方向の長さb)を読み込む。ステップS22において、処理部14は、被測定物の寸法を計算するために利用する一時記憶変数zの値を0にリセットする。   FIG. 7 is a flowchart of step S20. Step S20 includes steps S21 to S29. In step S <b> 21, the processing unit 14 reads the reference dimensions a and b (the vertical length a and the horizontal length b of the mobile terminal 1) from the storage unit 15. In step S <b> 22, the processing unit 14 resets the value of the temporary storage variable z used for calculating the dimension of the device under test to 0.

ステップS23において、処理部14は、姿勢センサ13から得られる回転角θに基づいて携帯端末1の現在の姿勢を判定する。−10<θ<10である場合、すなわち|θ|<10である場合、処理部14は縦ベクトルXが概ね鉛直上向きの状態で測定開始ボタン112が押下されたと判定し、ステップS26に移る。ここで、|θ|は回転角θの大きさを示す。|θ|<10でない場合、ステップS24に移る。   In step S <b> 23, the processing unit 14 determines the current posture of the mobile terminal 1 based on the rotation angle θ obtained from the posture sensor 13. When −10 <θ <10, that is, when | θ | <10, the processing unit 14 determines that the measurement start button 112 is pressed while the vertical vector X is substantially vertically upward, and proceeds to step S26. Here, | θ | indicates the magnitude of the rotation angle θ. If | θ | <10 is not satisfied, the process proceeds to step S24.

ステップS24において、処理部14は、姿勢センサ13から得られる回転角θに基づいて携帯端末1の現在の姿勢を判定する。80<|θ|<100である場合、処理部14は、縦ベクトルXが概ね水平且つ横ベクトルYが概ね鉛直上向きの状態、又は、縦ベクトルXが概ね水平且つ横ベクトルYが概ね鉛直下向きの状態で測定開始ボタン112が押下されたと判定し、ステップS27に移る。80<|θ|<100でない場合、ステップS25に移る。   In step S <b> 24, the processing unit 14 determines the current posture of the mobile terminal 1 based on the rotation angle θ obtained from the posture sensor 13. When 80 <| θ | <100, the processing unit 14 is in a state where the vertical vector X is substantially horizontal and the horizontal vector Y is generally vertically upward, or the vertical vector X is generally horizontal and the horizontal vector Y is generally vertically downward. In this state, it is determined that the measurement start button 112 has been pressed, and the process proceeds to step S27. If not 80 <| θ | <100, the process proceeds to step S25.

ステップS25において、処理部14は、姿勢センサ13から得られる回転角θに基づいて携帯端末1の現在の姿勢を判定する。170<|θ|である場合、処理部14は、縦ベクトルXが概ね鉛直下向きの状態で測定開始ボタン112が押下されたと判定し、ステップS28に移る。170<|θ|でない場合、ステップS23に移る。   In step S <b> 25, the processing unit 14 determines the current posture of the mobile terminal 1 based on the rotation angle θ obtained from the posture sensor 13. If 170 <| θ |, the processing unit 14 determines that the measurement start button 112 is pressed while the vertical vector X is substantially vertically downward, and proceeds to step S28. If not 170 <| θ |, the process proceeds to step S23.

図8は、ステップS26のフローチャートである。ステップS26は、ステップS261乃至S263を含む。ステップS261において、処理部14は一時記憶変数zに基準寸法aを加算する。ステップS262において、処理部14は、下記式:
h=z+b|sinθ|
に基づいて被測定物の寸法hを計算し、表示部11は計算結果を寸法表示領域111に表示する。ここで、θはステップS262の実行時点で姿勢センサ13から得られる回転角θであり、bはステップS21で取得した基準寸法bである。ステップS263において、処理部14は、姿勢センサ13から得られる回転角θに基づいて、|θ|≧90か否かを判定する。|θ|≧90である場合、携帯端末1の回転が1/4回転を超えたと判定し、ステップS27に移る。|θ|≧90でない場合、ステップS262に戻る。
FIG. 8 is a flowchart of step S26. Step S26 includes steps S261 to S263. In step S261, the processing unit 14 adds the reference dimension a to the temporary storage variable z. In step S262, the processing unit 14 uses the following formula:
h = z + b | sin θ |
And the display unit 11 displays the calculation result in the dimension display area 111. Here, θ is the rotation angle θ obtained from the attitude sensor 13 at the time of execution of step S262, and b is the reference dimension b acquired in step S21. In step S <b> 263, the processing unit 14 determines whether or not | θ | ≧ 90 based on the rotation angle θ obtained from the attitude sensor 13. When | θ | ≧ 90, it is determined that the rotation of the mobile terminal 1 has exceeded ¼ rotation, and the process proceeds to step S27. If | θ | ≧ 90 is not satisfied, the process returns to step S262.

図9は、ステップS27のフローチャートである。ステップS27は、ステップS271乃至S273を含む。ステップS271において、処理部14は一時記憶変数zに基準寸法bを加算する。ステップS272において、処理部14は、下記式:
h=z+a×sin(|θ|−90)
に基づいて被測定物の寸法hを計算し、表示部11は計算結果を寸法表示領域111に表示する。ここで、θはステップS272の実行時点で姿勢センサ13から得られる回転角θであり、aはステップS21で取得した基準寸法aである。ステップS273において、処理部14は、姿勢センサ13から得られる回転角θの正負が逆転したか否かを判定する。θの正負が逆転した場合、携帯端末1の回転が1/2回転を超えたと判定し、ステップS28に移る。θの正負が逆転していない場合、ステップS272に戻る。
FIG. 9 is a flowchart of step S27. Step S27 includes steps S271 to S273. In step S271, the processing unit 14 adds the reference dimension b to the temporary storage variable z. In step S272, the processing unit 14 uses the following formula:
h = z + a × sin (| θ | −90)
And the display unit 11 displays the calculation result in the dimension display area 111. Here, θ is the rotation angle θ obtained from the attitude sensor 13 at the time of execution of step S272, and a is the reference dimension a acquired in step S21. In step S273, the processing unit 14 determines whether the sign of the rotation angle θ obtained from the attitude sensor 13 is reversed. When the sign of θ is reversed, it is determined that the rotation of the mobile terminal 1 has exceeded 1/2 rotation, and the process proceeds to step S28. If the sign of θ is not reversed, the process returns to step S272.

図10は、ステップS28のフローチャートである。ステップS28は、ステップS281乃至S283を含む。ステップS281において、処理部14は、一時記憶変数zに基準寸法aを加算する。ステップS282において、処理部14は、下記式:
h=z+b×sin(180−|θ|)
に基づいて被測定物の寸法hを計算し、表示部11は計算結果を寸法表示領域111に表示する。ここで、θはステップS282の実行時点で姿勢センサ13から得られる回転角θであり、bはステップS21で取得した基準寸法bである。ステップS283において、処理部14は、姿勢センサ13から得られる回転角θに基づいて、|θ|≦90か否かを判定する。|θ|≦90である場合、携帯端末1の回転が3/4回転を超えたと判定し、ステップS29に移る。|θ|≦90でない場合、ステップS282に戻る。
FIG. 10 is a flowchart of step S28. Step S28 includes steps S281 to S283. In step S281, the processing unit 14 adds the reference dimension a to the temporary storage variable z. In step S282, the processing unit 14 uses the following formula:
h = z + b × sin (180− | θ |)
And the display unit 11 displays the calculation result in the dimension display area 111. Here, θ is the rotation angle θ obtained from the attitude sensor 13 at the time of execution of step S282, and b is the reference dimension b acquired in step S21. In step S283, the processing unit 14 determines whether or not | θ | ≦ 90 based on the rotation angle θ obtained from the attitude sensor 13. If | θ | ≦ 90, it is determined that the rotation of the mobile terminal 1 has exceeded 3/4 rotation, and the process proceeds to step S29. If | θ | ≦ 90 is not satisfied, the process returns to step S282.

図11は、ステップS29のフローチャートである。ステップS29は、ステップS291乃至S293を含む。
ステップS291において、処理部14は一時記憶変数zに基準寸法bを加算する。ステップS292において、処理部14は、下記式:
h=z+a×sin(90−|θ|)
に基づいて被測定物の寸法hを計算し、表示部11は計算結果を寸法表示領域111に表示する。ここで、θはステップS292の実行時点で姿勢センサ13から得られる回転角θであり、aはステップS21で取得した基準寸法aである。ステップS293において、処理部14は、姿勢センサ13から得られる回転角θの正負が逆転したか否かを判定する。θの正負が逆転した場合、携帯端末1の回転が1回転を超えたと判定し、ステップS26に移る。θの正負が逆転していない場合、ステップS292に戻る。
FIG. 11 is a flowchart of step S29. Step S29 includes steps S291 to S293.
In step S291, the processing unit 14 adds the reference dimension b to the temporary storage variable z. In step S292, the processing unit 14 uses the following formula:
h = z + a × sin (90− | θ |)
And the display unit 11 displays the calculation result in the dimension display area 111. Here, θ is the rotation angle θ obtained from the attitude sensor 13 at the time of execution of step S292, and a is the reference dimension a acquired in step S21. In step S293, the processing unit 14 determines whether the sign of the rotation angle θ obtained from the attitude sensor 13 is reversed. When the sign of θ is reversed, it is determined that the rotation of the mobile terminal 1 has exceeded one rotation, and the process proceeds to step S26. If the sign of θ is not reversed, the process returns to step S292.

以下、携帯端末1を用いた寸法測定方法を具体的に説明する。   Hereinafter, the dimension measuring method using the portable terminal 1 will be specifically described.

(基準寸法の設定)
図3を参照して、基準寸法の設定(初期設定)を説明する。ここでは、携帯端末1の縦方向の長さaが120mm、携帯端末1の横方向の長さbが60mmである場合を例として用いる。携帯端末1を起動すると、表示部11は表示画面110に寸法表示領域111、測定開始ボタン112、基準寸法設定領域113、及び設定ボタン115を表示する。ここで、携帯端末1が初めて起動される場合、記憶部15に縦方向の長さa及び横方向の長さbが基準寸法として記録されていないため、基準寸法設定領域113は何も入力されていない空欄の状態で表示される。ユーザは、入力部12を操作して、基準寸法設定領域113に携帯端末1の縦方向の長さaの値である120と携帯端末1の横方向の長さbの値である60を入力する。ユーザは入力完了後に設定ボタン115を押下する。設定ボタン115が押下されると、記憶部15は基準寸法設定領域113に入力された携帯端末1の縦方向の長さa(=120)と携帯端末1の横方向の長さb(=60)を保存する。基準寸法a及びbの設定(初期設定)が完了する。
(Standard dimension setting)
With reference to FIG. 3, the setting (initial setting) of the reference dimension will be described. Here, the case where the longitudinal length a of the mobile terminal 1 is 120 mm and the lateral length b of the mobile terminal 1 is 60 mm is used as an example. When the mobile terminal 1 is activated, the display unit 11 displays a dimension display area 111, a measurement start button 112, a reference dimension setting area 113, and a setting button 115 on the display screen 110. Here, when the mobile terminal 1 is activated for the first time, since the vertical length a and the horizontal length b are not recorded as the reference dimensions in the storage unit 15, nothing is input in the reference dimension setting area 113. It is displayed in a blank state. The user operates the input unit 12 to input 120 which is the value of the length a in the vertical direction of the mobile terminal 1 and 60 which is the value of the length b in the horizontal direction of the mobile terminal 1 in the reference dimension setting region 113. To do. The user presses the setting button 115 after completing the input. When the setting button 115 is pressed, the storage unit 15 stores the vertical length a (= 120) of the mobile terminal 1 and the horizontal length b (= 60) of the mobile terminal 1 input to the reference dimension setting area 113. ). Setting (initial setting) of the reference dimensions a and b is completed.

(測定処理)
図3、6乃至12を参照して、携帯端末1を用いて被測定物の寸法hを測定する測定処理を説明する。ここでは、携帯端末1の縦方向の長さaが120mm、携帯端末1の横方向の長さbが60mm、寸法hが被測定物2の高さである場合を例として用いる。被測定物2の高さは240mmであるとする。携帯端末1の縦方向の長さa及び横方向の長さbは、既に基準寸法a及びbとして記憶部15に設定されているものとする。
(Measurement process)
A measurement process for measuring the dimension h of the object to be measured using the mobile terminal 1 will be described with reference to FIGS. Here, a case where the longitudinal length a of the mobile terminal 1 is 120 mm, the lateral length b of the mobile terminal 1 is 60 mm, and the dimension h is the height of the DUT 2 is used as an example. It is assumed that the height of the DUT 2 is 240 mm. It is assumed that the length a in the vertical direction and the length b in the horizontal direction of the mobile terminal 1 are already set in the storage unit 15 as the reference dimensions a and b.

図12を参照して、ユーザは、被測定物2の測定対象となる辺が鉛直になるように被測定物2を水平表面3の上に設置する。水平表面3は、地面、床面、テーブルの上面などである。   Referring to FIG. 12, the user installs device under test 2 on horizontal surface 3 such that the side to be measured of device under test 2 is vertical. The horizontal surface 3 is the ground surface, the floor surface, the upper surface of the table, or the like.

図3を参照して、ユーザが携帯端末1を起動すると、表示部11の表示画面110に寸法表示領域111、測定開始ボタン112、基準寸法設定領域113、及び設定ボタン115が表示される。ここで、処理部14は記憶部15から基準寸法a及びbを読み出し、これらが初期値として基準寸法設定領域113に表示される。   Referring to FIG. 3, when the user activates portable terminal 1, dimension display area 111, measurement start button 112, reference dimension setting area 113, and setting button 115 are displayed on display screen 110 of display unit 11. Here, the processing unit 14 reads the reference dimensions a and b from the storage unit 15 and displays them in the reference dimension setting area 113 as initial values.

図12を参照して、次に、ユーザは被測定物2の測定対象となる辺の上端部に携帯端末1の縦辺1a又は横辺1bをあわせた状態に携帯端末1を手で保持しながら、測定開始ボタン112を押下する。以下、携帯端末1を位置P101で保持した状態(すなわち、被測定物2の測定対象となる辺の上端部に携帯端末1の縦辺1aをあわせた状態)で測定開始ボタン112が押下された場合を説明する。   Referring to FIG. 12, next, the user holds the mobile terminal 1 by hand with the vertical side 1a or the horizontal side 1b of the mobile terminal 1 aligned with the upper end of the side to be measured of the device under test 2. Then, the measurement start button 112 is pressed. Hereinafter, the measurement start button 112 is pressed in a state where the portable terminal 1 is held at the position P101 (that is, a state where the vertical side 1a of the portable terminal 1 is aligned with the upper end of the side to be measured of the DUT 2). Explain the case.

測定開始ボタン112が押下されると(ステップS10においてYES)、携帯端末1は測定処理(ステップS20)を開始する。測定処理の実行中、姿勢センサ13は、携帯端末1の姿勢情報をリアルタイムで検出し、処理部14に出力する。   When measurement start button 112 is pressed (YES in step S10), portable terminal 1 starts measurement processing (step S20). During the execution of the measurement process, the posture sensor 13 detects the posture information of the mobile terminal 1 in real time and outputs it to the processing unit 14.

処理部14は、記憶部15から基準寸法a及びbを読み込む(ステップS21)。すなわち、携帯端末1の縦方向の長さa(=120)及び横方向の長さb(=60)が読み込まれる。   The processing unit 14 reads the reference dimensions a and b from the storage unit 15 (step S21). That is, the length a (= 120) in the vertical direction and the length b (= 60) in the horizontal direction of the mobile terminal 1 are read.

処理部14は、被測定物2の寸法hを計算するために利用する一時記憶変数zの値を0にリセットする(ステップS22)。   The processing unit 14 resets the value of the temporary storage variable z used for calculating the dimension h of the DUT 2 to 0 (step S22).

処理部14は、姿勢センサ13から得られる回転角θに基づいて携帯端末1の現在の姿勢を判定する(ステップS23〜S25)。携帯端末1を図12に示す位置P101で保持した状態(被測定物2の測定対象となる辺の上端部に携帯端末1の縦辺1aをあわせた状態)で測定開始ボタン112が押下されたため、姿勢センサ13から得られる回転角θは0である。したがって、ステップS26に進む(ステップS23においてYES)。   The processing unit 14 determines the current posture of the mobile terminal 1 based on the rotation angle θ obtained from the posture sensor 13 (steps S23 to S25). The measurement start button 112 is pressed in a state where the portable terminal 1 is held at the position P101 shown in FIG. 12 (a state in which the vertical side 1a of the portable terminal 1 is aligned with the upper end of the side to be measured of the DUT 2). The rotation angle θ obtained from the attitude sensor 13 is zero. Therefore, the process proceeds to step S26 (YES in step S23).

処理部14は、ステップS22において0に設定された一時記憶変数zに基準寸法aを加算する(ステップS261)。その結果、z=120となる。   The processing unit 14 adds the reference dimension a to the temporary storage variable z set to 0 in step S22 (step S261). As a result, z = 120.

処理部14は、下記式:
h=z+b|sinθ|
に基づいて被測定物2の寸法hを計算し、表示部11は計算結果を寸法表示領域111に表示する(S262)。測定開始ボタン112が押下された直後はθ=0なので、h=zである。したがって、寸法表示領域111に「120」が表示される。
The processing unit 14 has the following formula:
h = z + b | sin θ |
Based on the above, the dimension h of the DUT 2 is calculated, and the display unit 11 displays the calculation result in the dimension display area 111 (S262). Since θ = 0 immediately after the measurement start button 112 is pressed, h = z. Therefore, “120” is displayed in the dimension display area 111.

図12を参照して、ユーザは、携帯端末1を回転させながら被測定物2の測定対象となる辺に沿って位置P102に向かって移動する。ユーザは、携帯端末1が被測定物2に対してすべらないように携帯端末1を被測定物2に沿って転がす。このとき、姿勢センサ13から得られる回転角θの大きさ|θ|が増加し、これに伴いステップS262で表示される寸法hの値も増加する(ステップS262、ステップS263においてNO)。   Referring to FIG. 12, the user moves toward position P <b> 102 along the side to be measured of measurement object 2 while rotating portable terminal 1. The user rolls the mobile terminal 1 along the device under test 2 so that the mobile terminal 1 does not slide against the device under test 2. At this time, the magnitude | θ | of the rotation angle θ obtained from the attitude sensor 13 increases, and accordingly, the value of the dimension h displayed in step S262 also increases (NO in step S262 and step S263).

携帯端末1が位置P102に到達すると、|θ|=90となる。すると、処理部14は、携帯端末1の回転が1/4回転を超えたと判定し、ステップS27に移る(ステップS263においてYES)。   When the mobile terminal 1 reaches the position P102, | θ | = 90. Then, the process part 14 determines with rotation of the portable terminal 1 having exceeded 1/4 rotation, and moves to step S27 (in step S263 YES).

処理部14は、ステップS261において設定された一時記憶変数zに基準寸法bを加算する(ステップS271)。その結果、z=180となる。   The processing unit 14 adds the reference dimension b to the temporary storage variable z set in step S261 (step S271). As a result, z = 180.

処理部14は、下記式:
h=z+a×sin(|θ|−90)
に基づいて被測定物2の寸法hを計算し、表示部11は計算結果を寸法表示領域111に表示する(ステップS272)。位置P102では、|θ|=90なので、h=zである。したがって、寸法表示領域111に「180」が表示される。
The processing unit 14 has the following formula:
h = z + a × sin (| θ | −90)
Based on the above, the dimension h of the DUT 2 is calculated, and the display unit 11 displays the calculation result in the dimension display area 111 (step S272). Since | θ | = 90 at the position P102, h = z. Therefore, “180” is displayed in the dimension display area 111.

図12を参照して、ユーザは、位置P102から水平面3に向かって(すなわち位置P103に向かって)携帯端末1を回転させながら被測定物2の測定対象となる辺に沿って移動する。このとき、姿勢センサ13から得られる回転角θの大きさ|θ|が増加し、これに伴いステップS272で表示される寸法hの値も増加する(ステップS272、ステップS273においてNO)。   Referring to FIG. 12, the user moves along the side to be measured of measurement object 2 while rotating portable terminal 1 from position P102 toward horizontal plane 3 (that is, toward position P103). At this time, the magnitude | θ | of the rotation angle θ obtained from the attitude sensor 13 increases, and accordingly, the value of the dimension h displayed in step S272 also increases (NO in steps S272 and S273).

図12を参照して、携帯端末1が位置P103に到達した状態(携帯端末1の一部が水平面3と接触する状態)において寸法表示領域111に表示される寸法hの値は、被測定物2の高さhを示す。このとき、|θ|=120であるとすると、被測定物2の高さhは、下記式:
h=180+120×sin(120−90)
により、h=240と求まる。以上により、被測定物2の鉛直方向の寸法hを測定することができた。
Referring to FIG. 12, the value of dimension h displayed in dimension display area 111 in a state where mobile terminal 1 has reached position P103 (a part of mobile terminal 1 is in contact with horizontal surface 3) A height h of 2 is indicated. At this time, if | θ | = 120, the height h of the DUT 2 is expressed by the following formula:
h = 180 + 120 × sin (120−90)
Thus, h = 240 is obtained. As described above, the vertical dimension h of the DUT 2 could be measured.

以上、携帯端末1を起動すると表示部11の表示画面110に寸法表示領域111、測定開始ボタン112、基準寸法設定領域113、及び設定ボタン115が表示される場合を説明したが、上記コンピュータプログラムをアプリケーションソフトウエアとして実装し、アプリケーションソフトウエアを起動することで表示部11の表示画面110に寸法表示領域111、測定開始ボタン112、基準寸法設定領域113、及び設定ボタン115が表示されるようにしてもよい。   The case where the dimension display area 111, the measurement start button 112, the reference dimension setting area 113, and the setting button 115 are displayed on the display screen 110 of the display unit 11 when the mobile terminal 1 is activated has been described above. It is implemented as application software, and when the application software is started, the dimension display area 111, the measurement start button 112, the reference dimension setting area 113, and the setting button 115 are displayed on the display screen 110 of the display unit 11. Also good.

本実施形態によれば、携帯端末1の姿勢情報(回転角θ)と基準寸法(携帯端末1の縦方向の長さa及び横方向の長さb)とに基づいて被測定物2の寸法hを計算する。したがって、携帯端末1の表示画面110のサイズを上回る大きさの被測定物2の寸法hを、携帯端末1を用いて高精度で測定することができる。   According to this embodiment, the dimension of the DUT 2 based on the posture information (rotation angle θ) of the mobile terminal 1 and the reference dimensions (the vertical length a and the horizontal length b of the mobile terminal 1). Calculate h. Therefore, the dimension h of the DUT 2 that is larger than the size of the display screen 110 of the mobile terminal 1 can be measured with high accuracy using the mobile terminal 1.

(第2の実施形態)
図13は、本発明の第2の実施形態に係る寸法測定システム10を示す。寸法測定システム10は、携帯端末1と、補助ケース21とを備える。本実施形態に係る携帯端末1は、形状が直方体ではない、例えば、四隅に丸みを帯びた形状を有する。本実施形態に係る携帯端末1は、この点と以下に述べる点を除いて、第1の実施形態に係る携帯端末1と同様に構成されて同様の動作を行う。補助ケース21は、直方体ではない形状の携帯端末1を直方体に変換する変換器具である。したがって、補助ケース21を矩形ケースと称する場合がある。補助ケース21に携帯端末1を格納することで、携帯端末1の形状が直方体でない場合であっても、被測定物の寸法を正確に測定することができる。補助ケース21の縦辺21aが表示画面110の縦辺110aと平行になり、補助ケース21の横辺21bが表示画面110の横辺110bと平行になるように、携帯端末1を補助ケース21に格納する。したがって、縦辺21a及び横辺21bは、表示画面110の法線ベクトルNに垂直になる。補助ケース21の縦方向の長さaは、縦辺21aの長さに等しい。補助ケース21の横方向の長さbは、横辺21bの長さに等しい。
(Second Embodiment)
FIG. 13 shows a dimension measurement system 10 according to a second embodiment of the present invention. The dimension measuring system 10 includes a mobile terminal 1 and an auxiliary case 21. The mobile terminal 1 according to the present embodiment has a shape that is not a rectangular parallelepiped, for example, rounded corners. The portable terminal 1 according to the present embodiment is configured in the same manner as the portable terminal 1 according to the first embodiment and performs the same operation except for this point and the points described below. The auxiliary case 21 is a conversion device that converts the mobile terminal 1 having a shape that is not a rectangular parallelepiped into a rectangular parallelepiped. Therefore, the auxiliary case 21 may be referred to as a rectangular case. By storing the portable terminal 1 in the auxiliary case 21, the dimension of the object to be measured can be accurately measured even when the shape of the portable terminal 1 is not a rectangular parallelepiped. The portable terminal 1 is placed in the auxiliary case 21 so that the vertical side 21a of the auxiliary case 21 is parallel to the vertical side 110a of the display screen 110 and the horizontal side 21b of the auxiliary case 21 is parallel to the horizontal side 110b of the display screen 110. Store. Therefore, the vertical side 21 a and the horizontal side 21 b are perpendicular to the normal vector N of the display screen 110. The length a of the auxiliary case 21 in the vertical direction is equal to the length of the vertical side 21a. The length b of the auxiliary case 21 in the horizontal direction is equal to the length of the horizontal side 21b.

本実施形態においては、補助ケース21に格納された状態の携帯端末1を用いて被測定物の寸法を測定する。ここで、補助ケース21の縦方向の長さa及び横方向の長さbが基準寸法として用いられる。また、補助ケース21をゴムなどの摩擦の大きい材料で形成することで補助ケース21と被測定物とのすべりを防止し、測定精度を向上することができる。   In the present embodiment, the dimensions of the object to be measured are measured using the mobile terminal 1 stored in the auxiliary case 21. Here, the vertical length a and the horizontal length b of the auxiliary case 21 are used as reference dimensions. In addition, by forming the auxiliary case 21 with a material having high friction such as rubber, it is possible to prevent the auxiliary case 21 and the object to be measured from slipping and to improve the measurement accuracy.

(第3の実施形態)
図14は、本発明の第3の実施形態に係る寸法測定システム10を示す。寸法測定システム10は、携帯端末1と、補助ケース22とを備える。本実施形態に係る携帯端末1は、形状が直方体ではない、例えば、四隅に丸みを帯びた形状を有する。本実施形態に係る携帯端末1は、この点と以下に述べる点を除いて、第1の実施形態に係る携帯端末1と同様に構成されて同様の動作を行う。補助ケース22は、直方体ではない形状の携帯端末1を円柱に変換する変換器具である。したがって、補助ケース22を円形ケースと称する場合がある。補助ケース22に携帯端末1を格納することで、携帯端末1の形状が直方体でない場合であっても、被測定物の寸法を正確に測定することができる。補助ケース22の直径cの方向が表示画面110の法線ベクトルNと垂直になるように携帯端末1を補助ケース22に格納する。
(Third embodiment)
FIG. 14 shows a dimension measurement system 10 according to the third embodiment of the present invention. The dimension measurement system 10 includes a mobile terminal 1 and an auxiliary case 22. The mobile terminal 1 according to the present embodiment has a shape that is not a rectangular parallelepiped, for example, rounded corners. The portable terminal 1 according to the present embodiment is configured in the same manner as the portable terminal 1 according to the first embodiment and performs the same operation except for this point and the points described below. The auxiliary case 22 is a conversion device that converts the mobile terminal 1 having a shape that is not a rectangular parallelepiped into a cylinder. Therefore, the auxiliary case 22 may be referred to as a circular case. By storing the portable terminal 1 in the auxiliary case 22, even when the shape of the portable terminal 1 is not a rectangular parallelepiped, the dimension of the object to be measured can be accurately measured. The portable terminal 1 is stored in the auxiliary case 22 so that the direction of the diameter c of the auxiliary case 22 is perpendicular to the normal vector N of the display screen 110.

本実施形態においては、補助ケース22に格納された状態の携帯端末1を用いて被測定物の寸法を測定する。ここで、補助ケース22の直径cが基準寸法として用いられる。また、補助ケース22をゴムなどの摩擦の大きい材料で形成することで補助ケース22と被測定物とのすべりを防止し、測定精度を向上することができる。   In the present embodiment, the dimensions of the object to be measured are measured using the mobile terminal 1 stored in the auxiliary case 22. Here, the diameter c of the auxiliary case 22 is used as a reference dimension. In addition, by forming the auxiliary case 22 with a material having high friction such as rubber, it is possible to prevent the auxiliary case 22 and the object to be measured from slipping and to improve the measurement accuracy.

以下、本実施形態に係る寸法測定方法を詳細に説明する。   Hereinafter, the dimension measuring method according to the present embodiment will be described in detail.

図15は、本実施形態において、表示画面110が表示する内容を示す。表示画面110は、寸法表示領域111と、測定開始ボタン112と、基準寸法設定領域113と、設定ボタン115とを表示する。寸法表示領域111は、携帯端末1が測定した寸法を表示するための領域である。寸法はミリメートルの単位で表示される。測定開始ボタン112は、寸法の測定処理を開始するためのボタンである。基準寸法設定領域113は、測定処理に用いられる基準寸法を設定するための領域である。ユーザは、補助ケース22の直径cを基準寸法として基準寸法設定領域113に設定する。補助ケース22の直径cの単位はミリメートルである。尚、過去に設定された補助ケース22の直径cが記憶部15に保持されている場合、基準寸法設定領域113は記憶装置15に保持されている補助ケース22の直径cを初期値として表示してもよい。ユーザが設定ボタン115をタッチ又は押下すると、入力部12は設定ボタン115が操作されたことを処理部14に伝える。処理部14は、基準寸法設定領域113に設定された補助ケース22の直径cを記憶部15に保存して保持する。   FIG. 15 shows the contents displayed on the display screen 110 in the present embodiment. The display screen 110 displays a dimension display area 111, a measurement start button 112, a reference dimension setting area 113, and a setting button 115. The dimension display area 111 is an area for displaying dimensions measured by the mobile terminal 1. Dimensions are displayed in millimeters. The measurement start button 112 is a button for starting a dimension measurement process. The reference dimension setting area 113 is an area for setting a reference dimension used for the measurement process. The user sets the diameter c of the auxiliary case 22 in the reference dimension setting region 113 as a reference dimension. The unit of the diameter c of the auxiliary case 22 is millimeter. When the diameter c of the auxiliary case 22 set in the past is held in the storage unit 15, the reference dimension setting area 113 displays the diameter c of the auxiliary case 22 held in the storage device 15 as an initial value. May be. When the user touches or presses the setting button 115, the input unit 12 notifies the processing unit 14 that the setting button 115 has been operated. The processing unit 14 stores the diameter c of the auxiliary case 22 set in the reference dimension setting region 113 in the storage unit 15 and holds it.

図16は、本実施形態に係る携帯端末1が実行するステップS30のフローチャートである。本実施形態に係る携帯端末1は、ステップS20のかわりにステップS30を実行する。ステップ30において、携帯端末1は、被測定物の寸法を測定するための測定処理を実行する。測定処理の実行中、姿勢センサ13は、携帯端末1の姿勢情報をリアルタイムで検出し、処理部14に出力する。   FIG. 16 is a flowchart of step S30 executed by the mobile terminal 1 according to the present embodiment. The mobile terminal 1 according to the present embodiment executes step S30 instead of step S20. In step 30, the mobile terminal 1 executes a measurement process for measuring the dimension of the object to be measured. During the execution of the measurement process, the posture sensor 13 detects the posture information of the mobile terminal 1 in real time and outputs it to the processing unit 14.

ステップS30は、ステップS31乃至S36を含む。ステップS31において、処理部14は、記憶部15から基準寸法c(補助ケース22の直径c)を読み込む。ステップS32において、処理部14は、被測定物の寸法を計算するために利用する一時記憶変数defdegの値に、姿勢センサ13から得られる回転角θの絶対値(大きさ)|θ|を設定する。測定処理開始時(測定開始ボタン112が押下された時)の|θ|を一時記憶変数defdegに設定することで、回転角θがどのような値のときに測定処理を開始しても、被測定物の寸法を正確に測定できる。ステップS33において、処理部14は、被測定物の寸法を計算するために利用する一時記憶変数degの値を0にリセットする。   Step S30 includes steps S31 to S36. In step S <b> 31, the processing unit 14 reads the reference dimension c (the diameter c of the auxiliary case 22) from the storage unit 15. In step S <b> 32, the processing unit 14 sets the absolute value (magnitude) | θ | of the rotation angle θ obtained from the attitude sensor 13 as the value of the temporary storage variable defdeg used for calculating the dimension of the object to be measured. To do. By setting | θ | at the start of the measurement process (when the measurement start button 112 is pressed) to the temporary storage variable defdeg, no matter what value the rotation angle θ starts, The dimensions of the measurement object can be measured accurately. In step S33, the processing unit 14 resets the value of the temporary storage variable deg used for calculating the dimension of the device under test to 0.

ステップS34において、処理部14は、下記式:
h=c×π×(|θ|+deg−defdeg)/360+c
に基づいて被測定物の寸法hを計算し、表示部11は計算結果を寸法表示領域111に表示する。ここで、θはステップS34の実行時点で姿勢センサ13から得られる回転角θであり、cはステップS31で取得した基準寸法cであり、πは円周率である。ステップS35において、処理部14は、姿勢センサ13から得られる回転角θの正負が逆転したか否かを判定する。θの正負が逆転した場合(ステップS35においてYES)、携帯端末1の回転が1/2回転を超えたと判定し、ステップS36に移る。θの正負が逆転していない場合(ステップS35においてNO)、ステップS34に戻る。ステップS36において、処理部14は、一時記憶変数degに180を加算する。ステップS36の後、ステップS34に戻る。したがって、携帯端末1が半回転するごとに一時記憶変数degに180が加算される。
In step S34, the processing unit 14 uses the following formula:
h = c × π × (| θ | + deg−defdeg) / 360 + c
And the display unit 11 displays the calculation result in the dimension display area 111. Here, θ is the rotation angle θ obtained from the attitude sensor 13 at the time of execution of step S34, c is the reference dimension c acquired in step S31, and π is the circumference. In step S <b> 35, the processing unit 14 determines whether the sign of the rotation angle θ obtained from the attitude sensor 13 is reversed. When the sign of θ is reversed (YES in step S35), it is determined that the rotation of the mobile terminal 1 has exceeded 1/2 rotation, and the process proceeds to step S36. If the sign of θ is not reversed (NO in step S35), the process returns to step S34. In step S36, the processing unit 14 adds 180 to the temporary storage variable deg. After step S36, the process returns to step S34. Therefore, 180 is added to the temporary storage variable deg every time the mobile terminal 1 makes a half rotation.

以下、本実施形態に係る寸法測定システム10を用いた寸法測定方法を具体的に説明する。   Hereinafter, a dimension measuring method using the dimension measuring system 10 according to the present embodiment will be specifically described.

(基準寸法の設定)
図15を参照して、基準寸法の設定(初期設定)を説明する。ここでは、補助ケース22の直径cが160mmである場合を例として用いる。携帯端末1を起動すると、表示部11は表示画面110に寸法表示領域111、測定開始ボタン112、基準寸法設定領域113、及び設定ボタン115を表示する。ここで、携帯端末1が初めて起動される場合、記憶部15に直径cが基準寸法として記録されていないため、基準寸法設定領域113は何も入力されていない空欄の状態で表示される。ユーザは、入力部12を操作して、基準寸法設定領域113に補助ケース22の直径cの値である160を入力する。ユーザは入力完了後に設定ボタン115を押下する。設定ボタン115が押下されると、記憶部15は基準寸法設定領域113に入力された補助ケース22の直径c(=160)を保存する。基準寸法cの設定(初期設定)が完了する。
(Standard dimension setting)
With reference to FIG. 15, reference dimension setting (initial setting) will be described. Here, the case where the diameter c of the auxiliary case 22 is 160 mm is used as an example. When the mobile terminal 1 is activated, the display unit 11 displays a dimension display area 111, a measurement start button 112, a reference dimension setting area 113, and a setting button 115 on the display screen 110. Here, when the portable terminal 1 is activated for the first time, since the diameter c is not recorded as the reference dimension in the storage unit 15, the reference dimension setting area 113 is displayed in a blank state where nothing is input. The user operates the input unit 12 to input 160 which is the value of the diameter c of the auxiliary case 22 in the reference dimension setting region 113. The user presses the setting button 115 after completing the input. When the setting button 115 is pressed, the storage unit 15 stores the diameter c (= 160) of the auxiliary case 22 input to the reference dimension setting area 113. The setting (initial setting) of the reference dimension c is completed.

(測定処理)
図6、15乃至17を参照して、本実施形態に係る寸法測定システム10を用いて被測定物の寸法hを測定する測定処理を説明する。ここでは、補助ケース22の直径cが160mm、寸法hが被測定物2の高さである場合を例として用いる。被測定物2の高さは480mmであるとする。補助ケース22の直径cは、既に基準寸法cとして記憶部15に設定されているものとする。
(Measurement process)
A measurement process for measuring the dimension h of the object to be measured using the dimension measurement system 10 according to the present embodiment will be described with reference to FIGS. Here, a case where the diameter c of the auxiliary case 22 is 160 mm and the dimension h is the height of the DUT 2 is used as an example. The height of the DUT 2 is assumed to be 480 mm. It is assumed that the diameter c of the auxiliary case 22 is already set in the storage unit 15 as the reference dimension c.

図17を参照して、ユーザは、被測定物2の測定対象となる辺が鉛直になるように被測定物2を水平表面3の上に設置する。水平表面3は、地面、床面、テーブルの上面などである。   Referring to FIG. 17, the user installs device under test 2 on horizontal surface 3 such that the side to be measured of device under test 2 is vertical. The horizontal surface 3 is the ground surface, the floor surface, the upper surface of the table, or the like.

ユーザが携帯端末1を起動すると、表示部11の表示画面110に寸法表示領域111、測定開始ボタン112、基準寸法設定領域113、及び設定ボタン115が表示される。ここで、処理部14は記憶部15から基準寸法c(=160)を読み出し、これが初期値として基準寸法設定領域113に表示される。   When the user activates the portable terminal 1, a dimension display area 111, a measurement start button 112, a reference dimension setting area 113, and a setting button 115 are displayed on the display screen 110 of the display unit 11. Here, the processing unit 14 reads the reference dimension c (= 160) from the storage unit 15 and displays it in the reference dimension setting area 113 as an initial value.

図17を参照して、次に、ユーザは被測定物2の測定対象となる辺の上端の高さに補助ケース22の最も高い点が揃う状態に寸法測定システム10を手で保持しながら、測定開始ボタン112を押下する。以下、寸法測定システム10を位置P201で保持した状態(被測定物2の測定対象となる辺の上端の高さに補助ケース22の最も高い点が揃う状態)で測定開始ボタン112が押下された場合を説明する。   Referring to FIG. 17, next, the user holds the dimension measuring system 10 by hand so that the highest point of the auxiliary case 22 is aligned with the height of the upper end of the side to be measured 2. The measurement start button 112 is pressed. Hereinafter, the measurement start button 112 is pressed in a state where the dimension measurement system 10 is held at the position P201 (a state where the highest point of the auxiliary case 22 is aligned with the height of the upper end of the side to be measured of the DUT 2). Explain the case.

測定開始ボタン112が押下されると(ステップS10においてYES)、携帯端末1は測定処理(ステップS30)を開始する。測定処理の実行中、姿勢センサ13は、携帯端末1の姿勢情報をリアルタイムで検出し、処理部14に出力する。   When measurement start button 112 is pressed (YES in step S10), portable terminal 1 starts measurement processing (step S30). During the execution of the measurement process, the posture sensor 13 detects the posture information of the mobile terminal 1 in real time and outputs it to the processing unit 14.

処理部14は、記憶部15から基準寸法cを読み込む(ステップS31)。すなわち、補助ケース22の直径c(=160)が読み込まれる。   The processing unit 14 reads the reference dimension c from the storage unit 15 (step S31). That is, the diameter c (= 160) of the auxiliary case 22 is read.

処理部14は、被測定物2の寸法hを計算するために利用する一時記憶変数defdegの値に、姿勢センサ13から得られる回転角θの絶対値(大きさ)|θ|を設定する(ステップS32)。ここでは、測定開始ボタン112が押下された際にθ=0であり、defdegには0が設定されるものとする。   The processing unit 14 sets the absolute value (magnitude) | θ | of the rotation angle θ obtained from the attitude sensor 13 as the value of the temporary storage variable defdeg used to calculate the dimension h of the DUT 2 ( Step S32). Here, it is assumed that θ = 0 when the measurement start button 112 is pressed, and 0 is set to defdeg.

処理部14は、被測定物2の寸法hを計算するために利用する一時記憶変数degの値を0にリセットする(ステップS33)。   The processing unit 14 resets the value of the temporary storage variable deg used for calculating the dimension h of the DUT 2 to 0 (step S33).

処理部14は、下記式:
h=c×π×(|θ|+deg−defdeg)/360+c/2+c/2
に基づいて被測定物2の寸法hを計算し、表示部11は計算結果を寸法表示領域111に表示する(ステップS34)。測定開始ボタン112が押下された直後は、θ=0、deg=0、defdeg=0なので、寸法h=cである。したがって、寸法表示領域111に「160」が表示される。
The processing unit 14 has the following formula:
h = c × π × (| θ | + deg−defdeg) / 360 + c / 2 + c / 2
Based on the above, the dimension h of the DUT 2 is calculated, and the display unit 11 displays the calculation result in the dimension display area 111 (step S34). Immediately after the measurement start button 112 is pressed, since θ = 0, deg = 0, and defdeg = 0, the dimension h = c. Therefore, “160” is displayed in the dimension display area 111.

図17を参照して、ユーザは、寸法測定システム10を回転させながら被測定物2の測定対象となる辺に沿って位置P202に向かって移動する。ユーザは、寸法測定システム10が被測定物2に対してすべらないように携帯端末1を被測定物2に沿って転がす。このとき、姿勢センサ13から得られる回転角θの大きさ|θ|が増加し、これに伴いステップS34で表示される寸法hの値も増加する(ステップS34、ステップS35においてNO)。   Referring to FIG. 17, the user moves toward position P202 along the side to be measured of measurement object 2 while rotating dimension measurement system 10. The user rolls the portable terminal 1 along the device under test 2 so that the dimension measurement system 10 does not slide with respect to the device under test 2. At this time, the magnitude | θ | of the rotation angle θ obtained from the attitude sensor 13 increases, and accordingly, the value of the dimension h displayed in step S34 also increases (NO in steps S34 and S35).

寸法測定システム10の回転によりθの正負が逆転すると、処理部14は寸法測定システム10の回転が1/2回転を越えたと判定し、ステップS36に移る(ステップS35においてYES)。   When the sign of θ is reversed by the rotation of the dimension measurement system 10, the processing unit 14 determines that the rotation of the dimension measurement system 10 has exceeded 1/2 rotation, and proceeds to step S36 (YES in step S35).

処理部14は、ステップS33において0に設定された一時記憶変数degに半回転に対応する180を加算する(ステップS36)。その結果、deg=180となる。   The processing unit 14 adds 180 corresponding to half rotation to the temporary storage variable deg set to 0 in step S33 (step S36). As a result, deg = 180.

図17を参照して、寸法測定システム10が位置P202に到達した状態(補助ケース22の一部が水平面3と接触する状態)において寸法表示領域111に表示される寸法hの値は、被測定物2の高さhを示す。このとき、|θ|=49であるとすると、被測定物2の高さhは、下記式:
h=160×3.14×(49+180−0)/360+160
により、h=480と求まる。以上により、被測定物2の鉛直方向の寸法hを測定することができた。
Referring to FIG. 17, the value of dimension h displayed in dimension display area 111 in a state where dimension measurement system 10 has reached position P202 (a part of auxiliary case 22 is in contact with horizontal surface 3) The height h of the object 2 is shown. At this time, if | θ | = 49, the height h of the DUT 2 is expressed by the following formula:
h = 160 × 3.14 × (49 + 180-0) / 360 + 160
Thus, h = 480 is obtained. As described above, the vertical dimension h of the DUT 2 could be measured.

(第4の実施形態)
以下、本発明の第4の実施形態に係る携帯端末1を説明する。本実施形態に係る携帯端末1は、表示部11(表示画面110)の傾斜角に基づいて測定処理の開始及び停止と入力部12の一時動作停止を自動的に行う機能が追加されている点が第1の実施形態に係る携帯端末1と異なる。本実施形態によれば、携帯端末1の操作が簡略化され、測定精度が向上する。
(Fourth embodiment)
Hereinafter, the portable terminal 1 which concerns on the 4th Embodiment of this invention is demonstrated. The mobile terminal 1 according to the present embodiment is added with a function of automatically starting and stopping the measurement process and stopping the temporary operation of the input unit 12 based on the inclination angle of the display unit 11 (display screen 110). Is different from the mobile terminal 1 according to the first embodiment. According to the present embodiment, the operation of the mobile terminal 1 is simplified and the measurement accuracy is improved.

図18は、表示画面110が表示する内容を示す。表示画面110は、寸法表示領域111と、基準寸法設定領域113と、設定ボタン115とを表示する。寸法表示領域111は、携帯端末1が測定した寸法を表示するための領域である。寸法はミリメートルの単位で表示される。基準寸法設定領域113は、測定処理に用いられる基準寸法を設定するための領域である。ユーザは、携帯端末1の縦方向の長さa及び横方向の長さbを基準寸法として基準寸法設定領域113に設定する。携帯端末1の縦方向の長さa及び横方向の長さbの単位はミリメートルである。尚、過去に設定された携帯端末1の縦方向の長さa及び横方向の長さbが記憶部15に保持されている場合、基準寸法設定領域113は記憶装置15に保持されている携帯端末1の縦方向の長さa及び横方向の長さbを初期値として表示してもよい。ユーザが設定ボタン115をタッチ又は押下すると、入力部12は設定ボタン115が操作されたことを処理部14に伝える。処理部14は、基準寸法設定領域113に設定された携帯端末1の縦方向の長さa及び横方向の長さbを記憶部15に保存して保持する。   FIG. 18 shows the contents displayed on the display screen 110. The display screen 110 displays a dimension display area 111, a reference dimension setting area 113, and a setting button 115. The dimension display area 111 is an area for displaying dimensions measured by the mobile terminal 1. Dimensions are displayed in millimeters. The reference dimension setting area 113 is an area for setting a reference dimension used for the measurement process. The user sets the vertical length a and the horizontal length b of the mobile terminal 1 in the reference dimension setting region 113 as reference dimensions. The unit of the length a in the vertical direction and the length b in the horizontal direction of the mobile terminal 1 is millimeters. When the vertical length a and the horizontal length b of the portable terminal 1 set in the past are held in the storage unit 15, the reference dimension setting area 113 is held in the storage device 15. The vertical length a and the horizontal length b of the terminal 1 may be displayed as initial values. When the user touches or presses the setting button 115, the input unit 12 notifies the processing unit 14 that the setting button 115 has been operated. The processing unit 14 stores the vertical length “a” and the horizontal length “b” of the mobile terminal 1 set in the reference dimension setting region 113 in the storage unit 15 and holds them.

図19を参照して、携帯端末1(表示画面110)の傾斜角(pitch)γを説明する。傾斜角γは、表示画面110の法線ベクトルNと水平面HPとの間の角度である。姿勢センサ13が検出する姿勢情報は、傾斜角γを含む。姿勢センサ13は回転角θ及び傾斜角γを検出して処理部14に出力する。   The inclination angle (pitch) γ of the mobile terminal 1 (display screen 110) will be described with reference to FIG. The inclination angle γ is an angle between the normal vector N of the display screen 110 and the horizontal plane HP. The posture information detected by the posture sensor 13 includes an inclination angle γ. The attitude sensor 13 detects the rotation angle θ and the inclination angle γ and outputs them to the processing unit 14.

図20を参照して、携帯端末1の姿勢と傾斜角γの関係を説明する。法線ベクトルNが水平になる姿勢を携帯端末1がとるとき、傾斜角γは0である。この姿勢から法線ベクトルNが上を向くように携帯端末1を傾斜させると傾斜角γが増加する。法線ベクトルNが鉛直上向きとなる姿勢を携帯端末1がとるとき、傾斜角γは+90である。法線ベクトルNが水平になる姿勢から法線ベクトルNが下を向くように携帯端末1を傾斜させると傾斜角γが減少する。法線ベクトルNが鉛直下向きとなる姿勢を携帯端末1がとるとき、傾斜角γは−90である。したがって、表示画面110が鉛直面に平行なとき傾斜角γは0であり、表示画面110が上向きのとき傾斜角γは正の値をとり、表示画面110が下向きのとき傾斜角γは負の値をとる。   With reference to FIG. 20, the relationship between the attitude | position of the portable terminal 1 and inclination-angle (gamma) is demonstrated. When the mobile terminal 1 takes a posture in which the normal vector N is horizontal, the inclination angle γ is zero. When the mobile terminal 1 is tilted so that the normal vector N faces upward from this posture, the tilt angle γ increases. When the mobile terminal 1 takes a posture in which the normal vector N is vertically upward, the inclination angle γ is +90. When the mobile terminal 1 is tilted so that the normal vector N faces downward from a posture in which the normal vector N is horizontal, the tilt angle γ decreases. When the mobile terminal 1 takes a posture in which the normal vector N is vertically downward, the inclination angle γ is −90. Therefore, the inclination angle γ is 0 when the display screen 110 is parallel to the vertical plane, the inclination angle γ takes a positive value when the display screen 110 is upward, and the inclination angle γ is negative when the display screen 110 is downward. Takes a value.

図21は、携帯端末1が実行する処理のフローチャートである。この処理はステップS41乃至48を含む。ステップS41において、ユーザが携帯端末1を起動すると、表示部11は、表示画面110に寸法表示領域111、基準寸法設定領域113、及び設定ボタン115を表示する。姿勢センサ13は、携帯端末1の姿勢情報をリアルタイムで検出し、処理部14に出力することを開始する。ステップS42において、処理部14は、姿勢センサ13から得られる傾斜角γを監視し、傾斜角γの大きさ|γ|が第1基準角度より小さいか否かを判定する。例えば、|γ|<15である場合(ステップS42においてYES)、ステップS43に移る。|γ|<15でない場合(ステップS42においてNO)、再びステップS42を実行する。   FIG. 21 is a flowchart of processing executed by the mobile terminal 1. This process includes steps S41 to S48. In step S <b> 41, when the user activates the mobile terminal 1, the display unit 11 displays a dimension display area 111, a reference dimension setting area 113, and a setting button 115 on the display screen 110. The attitude sensor 13 starts detecting the attitude information of the mobile terminal 1 in real time and outputting it to the processing unit 14. In step S42, the processing unit 14 monitors the inclination angle γ obtained from the attitude sensor 13, and determines whether or not the magnitude | γ | of the inclination angle γ is smaller than the first reference angle. For example, if | γ | <15 (YES in step S42), the process proceeds to step S43. If | γ | <15 is not satisfied (NO in step S42), step S42 is executed again.

ステップS43において、処理部14は、入力部12からの入力・指示をすべて破棄する入力部ロックを実施する。すなわち、処理部14は、入力部12の動作を停止する。ステップS44において、携帯端末1は、上記ステップS20の測定処理を開始する。測定処理及び入力部ロックは、別々のスレッドで並行して実施される。ステップS45において、処理部14は、姿勢センサ13から得られる傾斜角γを監視し、傾斜角γの大きさ|γ|が第2基準角度より大きいか否かを判定する。第2基準角度は第1基準角度より大きい。例えば、|γ|>30である場合(ステップS45においてYES)、ステップS46に移る。|γ|>30でない場合(ステップS45においてNO)、再びステップS45を実行する。   In step S <b> 43, the processing unit 14 performs an input unit lock that discards all inputs and instructions from the input unit 12. That is, the processing unit 14 stops the operation of the input unit 12. In step S44, the mobile terminal 1 starts the measurement process in step S20. The measurement process and input unit lock are performed in parallel in separate threads. In step S45, the processing unit 14 monitors the inclination angle γ obtained from the attitude sensor 13, and determines whether or not the magnitude | γ | of the inclination angle γ is larger than the second reference angle. The second reference angle is greater than the first reference angle. For example, if | γ |> 30 (YES in step S45), the process proceeds to step S46. If | γ |> 30 is not satisfied (NO in step S45), step S45 is executed again.

ステップS46において、携帯端末1は測定処理を停止する。ステップS47において、表示部11は、寸法表示領域111に表示中の寸法hの値を固定して保持する。すなわち、測定処理が開始されてから傾斜角γの大きさ|γ|が第2基準角度より大きくなるまで(ステップS44からステップS46まで)、回転角θの変化に基づいて表示画面110の寸法表示領域111に表示される寸法hの値が変化するが、傾斜角γの大きさ|γ|が第2基準角度より大きくなると、表示部11は寸法表示領域111に表示中の寸法hの値を固定して保持する(測定処理を停止したときに寸法表示領域111に表示されている寸法hの値を表示し続ける)。ステップS48において、処理部14は、ステップS43で開始した入力部ロックを解除し、入力部12からの入力・指示の受付を再開する。   In step S46, the portable terminal 1 stops the measurement process. In step S <b> 47, the display unit 11 fixes and holds the value of the dimension h being displayed in the dimension display area 111. That is, until the magnitude | γ | of the tilt angle γ becomes larger than the second reference angle after the measurement process is started (from step S44 to step S46), the dimension display of the display screen 110 is performed based on the change in the rotation angle θ. Although the value of the dimension h displayed in the area 111 changes, when the magnitude | γ | of the inclination angle γ becomes larger than the second reference angle, the display unit 11 displays the value of the dimension h being displayed in the dimension display area 111. Fixed and held (the value of the dimension h displayed in the dimension display area 111 when the measurement process is stopped continues to be displayed). In step S <b> 48, the processing unit 14 releases the input unit lock started in step S <b> 43, and resumes accepting inputs / instructions from the input unit 12.

以下、本実施形態に係る携帯端末1を用いた寸法測定方法を具体的に説明する。   Hereinafter, the dimension measuring method using the portable terminal 1 according to the present embodiment will be specifically described.

(基準寸法の設定)
第1の実施形態と同様に基準寸法の設定(初期設定)が実行される。ただし、本実施形態では測定開始ボタン112が表示画面110に表示されない。
(Standard dimension setting)
As in the first embodiment, the reference dimension is set (initial setting). However, in this embodiment, the measurement start button 112 is not displayed on the display screen 110.

(測定処理)
図12、18、21を参照して、携帯端末1を用いて被測定物の寸法hを測定する測定処理を説明する。ここでは、携帯端末1の縦方向の長さaが120mm、携帯端末1の横方向の長さbが60mm、寸法hが被測定物2の高さである場合を例として用いる。被測定物2の高さは240mmであるとする。携帯端末1の縦方向の長さa及び横方向の長さbは、既に基準寸法a及びbとして記憶部15に設定されているものとする。
(Measurement process)
A measurement process for measuring the dimension h of the object to be measured using the mobile terminal 1 will be described with reference to FIGS. Here, a case where the longitudinal length a of the mobile terminal 1 is 120 mm, the lateral length b of the mobile terminal 1 is 60 mm, and the dimension h is the height of the DUT 2 is used as an example. It is assumed that the height of the DUT 2 is 240 mm. It is assumed that the length a in the vertical direction and the length b in the horizontal direction of the mobile terminal 1 are already set in the storage unit 15 as the reference dimensions a and b.

図12を参照して、ユーザは、被測定物2の測定対象となる辺が鉛直になるように被測定物2を水平表面3の上に設置する。水平表面3は、地面、床面、テーブルの上面などである。   Referring to FIG. 12, the user installs device under test 2 on horizontal surface 3 such that the side to be measured of device under test 2 is vertical. The horizontal surface 3 is the ground, the floor, the upper surface of the table, or the like.

ユーザが携帯端末1を手に持ち、傾斜角γが50度の状態で携帯端末1を起動すると、表示部11の表示画面110に寸法表示領域111、基準寸法設定領域113、及び設定ボタン115が表示される(ステップS41)。ここで、処理部14は記憶部15から基準寸法a及びbを読み出し、これらが初期値として基準寸法設定領域113に表示される。姿勢センサ13は、携帯端末1の姿勢情報をリアルタイムで検出し、処理部14に出力することを開始する。   When the user holds the portable terminal 1 and activates the portable terminal 1 with the inclination angle γ being 50 degrees, the dimension display area 111, the reference dimension setting area 113, and the setting button 115 are displayed on the display screen 110 of the display unit 11. It is displayed (step S41). Here, the processing unit 14 reads the reference dimensions a and b from the storage unit 15 and displays them in the reference dimension setting area 113 as initial values. The attitude sensor 13 starts detecting the attitude information of the mobile terminal 1 in real time and outputting it to the processing unit 14.

図12を参照して、次に、ユーザは携帯端末1を位置P101(すなわち、被測定物2の測定対象となる辺の上端部に携帯端末1の縦辺1aをあわせた状態)に向かって動かす。すると、携帯端末1の傾斜角γが小さくなる。傾斜角γが15より小さくなると(ステップS42においてYES)、処理部14は入力部12からの入力・指示をすべて破棄する入力部ロックを実施し(ステップS43)、携帯端末1は上記ステップS20の測定処理を開始する(ステップS44)。測定処理及び入力部ロックは、別々のスレッドで並行して実施される。   Referring to FIG. 12, next, the user moves portable terminal 1 toward position P101 (that is, a state in which vertical side 1a of portable terminal 1 is aligned with the upper end of the side to be measured of device under test 2). move. Then, the inclination angle γ of the mobile terminal 1 becomes small. When the inclination angle γ is smaller than 15 (YES in step S42), the processing unit 14 performs an input unit lock that discards all inputs / instructions from the input unit 12 (step S43), and the mobile terminal 1 performs the above step S20. The measurement process is started (step S44). The measurement process and input unit lock are performed in parallel in separate threads.

処理部14は、記憶部15から基準寸法a及びbを読み込む(ステップS21)。すなわち、携帯端末1の縦方向の長さa(=120)及び横方向の長さb(=60)が読み込まれる。   The processing unit 14 reads the reference dimensions a and b from the storage unit 15 (step S21). That is, the length a (= 120) in the vertical direction and the length b (= 60) in the horizontal direction of the mobile terminal 1 are read.

処理部14は、被測定物2の寸法hを計算するために利用する一時記憶変数zの値を0にリセットする(ステップS22)。   The processing unit 14 resets the value of the temporary storage variable z used for calculating the dimension h of the DUT 2 to 0 (step S22).

処理部14は、姿勢センサ13から得られる回転角θに基づいて携帯端末1の現在の姿勢を判定する(ステップS23〜S25)。携帯端末1を図12に示す位置P101で保持した状態(被測定物2の測定対象となる辺の上端部に携帯端末1の縦辺1aをあわせた状態)で測定処理が開始されたため、姿勢センサ13から得られる回転角θは0である。したがって、ステップS26に進む(ステップS23においてYES)。   The processing unit 14 determines the current posture of the mobile terminal 1 based on the rotation angle θ obtained from the posture sensor 13 (steps S23 to S25). Since the measurement process is started in a state in which the mobile terminal 1 is held at the position P101 shown in FIG. The rotation angle θ obtained from the sensor 13 is zero. Therefore, the process proceeds to step S26 (YES in step S23).

処理部14は、ステップS22において0に設定された一時記憶変数zに基準寸法aを加算する(ステップS261)。その結果、z=120となる。   The processing unit 14 adds the reference dimension a to the temporary storage variable z set to 0 in step S22 (step S261). As a result, z = 120.

処理部14は、下記式:
h=z+b|sinθ|
に基づいて被測定物2の寸法hを計算し、表示部11は計算結果を寸法表示領域111に表示する(S262)。測定処理が開始された直後はθ=0なので、h=zである。したがって、寸法表示領域111に「120」が表示される。
The processing unit 14 has the following formula:
h = z + b | sin θ |
Based on the above, the dimension h of the DUT 2 is calculated, and the display unit 11 displays the calculation result in the dimension display area 111 (S262). Since θ = 0 immediately after the start of the measurement process, h = z. Therefore, “120” is displayed in the dimension display area 111.

図12を参照して、ユーザは、携帯端末1を回転させながら被測定物2の測定対象となる辺に沿って位置P102に向かって移動する。ユーザは、携帯端末1が被測定物2に対してすべらないように携帯端末1を被測定物2に沿って転がす。このとき、姿勢センサ13から得られる回転角θの大きさ|θ|が増加し、これに伴いステップS262で表示される寸法hの値も増加する(ステップS262、ステップS263においてNO)。   Referring to FIG. 12, the user moves toward position P <b> 102 along the side to be measured of measurement object 2 while rotating portable terminal 1. The user rolls the mobile terminal 1 along the device under test 2 so that the mobile terminal 1 does not slide against the device under test 2. At this time, the magnitude | θ | of the rotation angle θ obtained from the attitude sensor 13 increases, and accordingly, the value of the dimension h displayed in step S262 also increases (NO in step S262 and step S263).

携帯端末1が位置P102に到達すると、|θ|=90となる。すると、処理部14は、携帯端末1の回転が1/4回転を超えたと判定し、ステップS27に移る(ステップS263においてYES)。   When the mobile terminal 1 reaches the position P102, | θ | = 90. Then, the process part 14 determines with rotation of the portable terminal 1 having exceeded 1/4 rotation, and moves to step S27 (in step S263 YES).

処理部14は、ステップS261において設定された一時記憶変数zに基準寸法bを加算する(ステップS271)。その結果、z=180となる。   The processing unit 14 adds the reference dimension b to the temporary storage variable z set in step S261 (step S271). As a result, z = 180.

処理部14は、下記式:
h=z+a×sin(|θ|−90)
に基づいて被測定物2の寸法hを計算し、表示部11は計算結果を寸法表示領域111に表示する(ステップS272)。位置P102では、|θ|=90なので、h=zである。したがって、寸法表示領域111に「180」が表示される。
The processing unit 14 has the following formula:
h = z + a × sin (| θ | −90)
Based on the above, the dimension h of the DUT 2 is calculated, and the display unit 11 displays the calculation result in the dimension display area 111 (step S272). Since | θ | = 90 at the position P102, h = z. Therefore, “180” is displayed in the dimension display area 111.

図12を参照して、ユーザは、位置P102から水平面3に向かって(すなわち位置P103に向かって)携帯端末1を回転させながら被測定物2の測定対象となる辺に沿って移動する。このとき、姿勢センサ13から得られる回転角θの大きさ|θ|が増加し、これに伴いステップS272で表示される寸法hの値も増加する(ステップS272、ステップS273においてNO)。   Referring to FIG. 12, the user moves along the side to be measured of measurement object 2 while rotating portable terminal 1 from position P102 toward horizontal plane 3 (that is, toward position P103). At this time, the magnitude | θ | of the rotation angle θ obtained from the attitude sensor 13 increases, and accordingly, the value of the dimension h displayed in step S272 also increases (NO in steps S272 and S273).

図12を参照して、携帯端末1が位置P103に到達した状態(携帯端末1の一部が水平面3と接触する状態)において寸法表示領域111に表示される寸法hの値は、被測定物2の高さhを示す。このとき、|θ|=120であるとすると、被測定物2の高さhは、下記式:
h=180+120×sin(120−90)
により、h=240と求まる。
Referring to FIG. 12, the value of dimension h displayed in dimension display area 111 in a state where mobile terminal 1 has reached position P103 (a part of mobile terminal 1 is in contact with horizontal surface 3) A height h of 2 is indicated. At this time, if | θ | = 120, the height h of the DUT 2 is expressed by the following formula:
h = 180 + 120 × sin (120−90)
Thus, h = 240 is obtained.

携帯端末1が位置P101から位置P103に到達するまで、表示画面110が鉛直面に平行に保たれたまま(法線ベクトルNが水平に保たれたまま)であるから、携帯端末1が位置P103に到達したとき、傾斜角γは0である。ユーザは、表示画面110が上を向くように(法線ベクトルNが上を向くように)携帯端末1を傾ける。このとき、姿勢センサ13から得られる傾斜角γの値が増加する。   Until the mobile terminal 1 reaches the position P103 from the position P101, the display screen 110 remains parallel to the vertical plane (the normal vector N remains horizontal). Is reached, the inclination angle γ is zero. The user tilts the mobile terminal 1 so that the display screen 110 faces upward (the normal vector N faces upward). At this time, the value of the inclination angle γ obtained from the attitude sensor 13 increases.

傾斜角γが30より大きくなると処理部14は表示画面110が水平に近くなったと判定し(ステップS45においてYES)、携帯端末1は測定処理を停止し(ステップS46)、表示部11は寸法表示領域111に表示中の寸法hの値を固定して保持する(ステップS47)。処理部14は、入力部ロックを解除し、入力部12からの入力・指示の受付を再開する(ステップS48)。   When the inclination angle γ is greater than 30, the processing unit 14 determines that the display screen 110 is nearly horizontal (YES in step S45), the portable terminal 1 stops the measurement process (step S46), and the display unit 11 displays the dimensions. The value of the dimension h being displayed is fixed and held in the area 111 (step S47). The processing unit 14 releases the input unit lock and resumes accepting inputs / instructions from the input unit 12 (step S48).

以上説明したとおり、測定開始ボタンを押下することなく、被測定物2の寸法hを求めることができた。   As described above, the dimension h of the DUT 2 can be obtained without pressing the measurement start button.

以上、携帯端末1を起動すると表示部11の表示画面110に寸法表示領域111、基準寸法設定領域113、及び設定ボタン115が表示される場合を説明したが、上記コンピュータプログラムをアプリケーションソフトウエアとして実装し、アプリケーションソフトウエアを起動することで表示部11の表示画面110に寸法表示領域111、基準寸法設定領域113、及び設定ボタン115が表示されるようにしてもよい。   The case where the dimension display area 111, the reference dimension setting area 113, and the setting button 115 are displayed on the display screen 110 of the display unit 11 when the mobile terminal 1 is activated has been described above. The above computer program is implemented as application software. Then, by starting the application software, the dimension display area 111, the reference dimension setting area 113, and the setting button 115 may be displayed on the display screen 110 of the display unit 11.

上記実施の形態では被測定物2の鉛直方向の寸法hを測定する場合を説明したが、携帯端末1又は寸法測定システム10を用いて被測定物2の水平方向の寸法を測定してもよい。   Although the case where the vertical dimension h of the DUT 2 is measured has been described in the above embodiment, the horizontal dimension of the DUT 2 may be measured using the mobile terminal 1 or the dimension measurement system 10. .

図22を参照して、被測定物2の水平方向の寸法Lを測定する場合、被測定物2に板4をあてがうことが好ましい。   Referring to FIG. 22, when measuring the horizontal dimension L of the DUT 2, it is preferable to apply the plate 4 to the DUT 2.

上記各実施形態は、貨物運送事業者等が提供する宅配サービスの輸送費計算などに適用できる。また、インターネットオークションや、エレクトリックコマース(EC)における出品手続きの容易化にも適用できる。   Each of the above embodiments can be applied to transportation cost calculation of a home delivery service provided by a freight carrier or the like. The present invention can also be applied to ease of exhibition procedures in Internet auctions and electric commerce (EC).

以上、実施形態を参照して本発明を説明したが、本発明は上記実施形態に限定されるものではない。本発明の構成や詳細には、本発明のスコープ内で当業者が理解し得る様々な変更をすることができる。上記実施形態を相互に組み合わせることも可能である。   The present invention has been described above with reference to the embodiments, but the present invention is not limited to the above embodiments. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention. The above embodiments can be combined with each other.

10…寸法測定システム
1…携帯端末
1a…縦辺
1b…横辺
11…表示部
110…表示画面
110a…縦辺
110b…横辺
111…寸法表示領域
112…測定開始ボタン
113…基準寸法設定領域
115…設定ボタン
12…入力部
13…姿勢センサ
14…処理部
15…記憶部
21、22…補助ケース
21a…縦辺
21b…横辺
2…被測定物
3…水平表面
4…板
P101〜P103、P201〜P202…位置
N…法線ベクトル
X…縦ベクトル
Y…横ベクトル
V…鉛直上向きベクトル
HP…水平面
a、b、c…基準寸法
θ…回転角
γ…傾斜角
DESCRIPTION OF SYMBOLS 10 ... Dimension measurement system 1 ... Portable terminal 1a ... Vertical side 1b ... Horizontal side 11 ... Display part 110 ... Display screen 110a ... Vertical side 110b ... Horizontal side 111 ... Dimension display area 112 ... Measurement start button 113 ... Standard dimension setting area 115 ... Setting button 12 ... Input unit 13 ... Attitude sensor 14 ... Processing unit 15 ... Storage unit 21, 22 ... Auxiliary case 21a ... Vertical side 21b ... Horizontal side 2 ... Measurement 3 ... Horizontal surface 4 ... Plate P101-P103, P201 P202 ... Position N ... Normal vector X ... Vertical vector Y ... Horizontal vector V ... Vertical upward vector HP ... Horizontal plane a, b, c ... Reference dimension θ ... Rotation angle γ ... Inclination angle

Claims (7)

本携帯端末の姿勢情報を検出する姿勢センサと、
基準寸法を保持する記憶部と、
前記姿勢情報及び前記基準寸法に基づいて被測定物の寸法を計算する処理部と、
前記寸法を表示画面に表示する表示部と
を含み、
前記姿勢情報は、本携帯端末の回転角を含み、
前記表示画面の法線を水平にした状態で本携帯端末を前記法線に垂直な面内で回転させたときに前記回転角が変化し、
前記処理部は、前記回転角を用いた三角関数及び前記基準寸法に基づいて、前記寸法を計算する
携帯端末。
An attitude sensor for detecting attitude information of the mobile terminal;
A storage unit for holding reference dimensions;
A processing unit for calculating a dimension of the object to be measured based on the posture information and the reference dimension;
A display unit for displaying the dimensions on a display screen,
The posture information includes a rotation angle of the mobile terminal,
The rotation angle changes when the mobile terminal is rotated in a plane perpendicular to the normal line in a state where the normal line of the display screen is horizontal,
The processing unit is a mobile terminal that calculates the dimension based on a trigonometric function using the rotation angle and the reference dimension .
請求項1に記載の携帯端末であって、
前記姿勢情報は、本携帯端末の傾斜角を含み、
前記傾斜角は、前記法線と水平面との間の角度であり
前記処理部は、前記傾斜の大きさが第1基準角度より小さくなると前記寸法の測定処理を開始し、
前記測定処理は、前記回転角及び前記基準寸法に基づいて前記寸法を計算し、
前記測定処理が開始されてから前記傾斜角の大きさが前記第1基準角度より大きい第2基準角度より大きくなるまで、前記回転角の変化に基づいて前記表示画面に表示される前記寸法の値が変化し、
前記傾斜角の大きさが前記第2基準角度より大きくなると、前記表示部は表示中の前記寸法の値を固定して保持する
携帯端末。
The mobile terminal according to claim 1,
The posture information includes an inclination angle of the mobile terminal,
The tilt angle is an angle between the normal and a horizontal plane ,
The processing unit starts the measurement process of the dimension when the inclination angle is smaller than the first reference angle,
The measurement process calculates the dimension based on the rotation angle and the reference dimension ,
The value of the dimension displayed on the display screen based on the change of the rotation angle until the inclination angle is larger than the second reference angle larger than the first reference angle after the measurement process is started. Changes,
When the tilt angle is larger than the second reference angle, the display unit fixes and holds the value of the dimension being displayed .
請求項2に記載の携帯端末であって、
ユーザが本携帯端末を操作するための入力部を更に含み、
前記処理部は、前記傾斜角の大きさが第1基準角度より小さくなると前記入力部の動作を停止する
携帯端末。
The mobile terminal according to claim 2,
It further includes an input unit for the user to operate the mobile terminal,
The processing unit is a mobile terminal that stops the operation of the input unit when the inclination angle is smaller than a first reference angle .
請求項1乃至3のいずれかに記載の携帯端末であって、
前記基準寸法は、
本携帯端末の縦方向の長さと、
本携帯端末の横方向の長さと
を含み、
前記縦方向、前記横方向、及び前記法線は互いに垂直であ
携帯端末。
The mobile terminal according to any one of claims 1 to 3 ,
The reference dimension is
The vertical length of this mobile device,
The horizontal length of this mobile device
Including
The longitudinal direction, the transverse direction, and the portable terminal the normal is Ru vertical der each other.
請求項1乃至3のいずれかに記載の携帯端末と、
矩形ケースと
を含み、
前記基準寸法は、
前記矩形ケースの縦方向の長さと、
前記矩形ケースの横方向の長さと
を含み、
前記矩形ケースは、前記縦方向、前記横方向、及び前記法線が互いに垂直になるように前記携帯端末を格納する
寸法測定システム
A portable terminal according to any one of claims 1 to 3 ,
With a rectangular case
Including
The reference dimension is
The longitudinal length of the rectangular case;
The lateral length of the rectangular case
Including
The rectangular case stores the portable terminal so that the vertical direction, the horizontal direction, and the normal line are perpendicular to each other.
Dimension measurement system .
携帯端末による寸法測定方法であって、
前記携帯端末は、記憶部に基準寸法を保持し、
前記携帯端末の姿勢センサが前記携帯端末の姿勢情報を検出する検出ステップと、
前記携帯端末の処理部が前記姿勢情報及び前記基準寸法に基づいて被測定物の寸法を計算する処理ステップと、
前記携帯端末の表示部が前記寸法を表示画面に表示する表示ステップと
を含み、
前記姿勢情報は、前記携帯端末の回転角を含み、
前記表示画面の法線を水平にした状態で前記携帯端末を前記法線に垂直な面内で回転させたときに前記回転角が変化し、
前記処理ステップは、
前記回転角を用いた三角関数及び前記基準寸法に基づいて、前記寸法を計算する計算ステップ
を含む
寸法測定方法
A dimension measurement method using a mobile terminal,
The portable terminal holds a reference dimension in a storage unit,
A detection step in which the attitude sensor of the mobile terminal detects attitude information of the mobile terminal;
A processing step in which a processing unit of the mobile terminal calculates a dimension of the object to be measured based on the posture information and the reference dimension;
A display step in which the display unit of the mobile terminal displays the dimensions on a display screen;
Including
The posture information includes a rotation angle of the mobile terminal,
The rotation angle changes when the mobile terminal is rotated in a plane perpendicular to the normal line in a state where the normal line of the display screen is horizontal,
The processing step includes
Calculation step for calculating the dimension based on the trigonometric function using the rotation angle and the reference dimension
including
Dimension measurement method .
携帯端末に寸法測定を実行させる寸法測定プログラムであって、
前記携帯端末は、記憶部に基準寸法を保持し、
前記携帯端末の姿勢センサが前記携帯端末の姿勢情報を検出する検出ステップと、
前記携帯端末の処理部が前記姿勢情報及び前記基準寸法に基づいて被測定物の寸法を計算する処理ステップと、
前記携帯端末の表示部が前記寸法を表示画面に表示する表示ステップと
を含み、
前記姿勢情報は、前記携帯端末の回転角を含み、
前記表示画面の法線を水平にした状態で前記携帯端末を前記法線に垂直な面内で回転させたときに前記回転角が変化し、
前記処理ステップは、
前記回転角を用いた三角関数及び前記基準寸法に基づいて、前記寸法を計算する計算ステップ
を含む
寸法測定プログラム
A dimension measurement program for causing a portable terminal to perform dimension measurement,
The portable terminal holds a reference dimension in a storage unit,
A detection step in which the attitude sensor of the mobile terminal detects attitude information of the mobile terminal;
A processing step in which a processing unit of the mobile terminal calculates a dimension of the object to be measured based on the posture information and the reference dimension;
A display step in which the display unit of the mobile terminal displays the dimensions on a display screen;
Including
The posture information includes a rotation angle of the mobile terminal,
The rotation angle changes when the mobile terminal is rotated in a plane perpendicular to the normal line in a state where the normal line of the display screen is horizontal,
The processing step includes
Calculation step for calculating the dimension based on the trigonometric function using the rotation angle and the reference dimension
<br/> dimension measurement program including.
JP2014018666A 2014-02-03 2014-02-03 Dimension measurement terminal Expired - Fee Related JP5710809B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014018666A JP5710809B2 (en) 2014-02-03 2014-02-03 Dimension measurement terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014018666A JP5710809B2 (en) 2014-02-03 2014-02-03 Dimension measurement terminal

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2011237227A Division JP5593295B2 (en) 2011-10-28 2011-10-28 Dimension measurement terminal

Publications (2)

Publication Number Publication Date
JP2014122912A JP2014122912A (en) 2014-07-03
JP5710809B2 true JP5710809B2 (en) 2015-04-30

Family

ID=51403477

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014018666A Expired - Fee Related JP5710809B2 (en) 2014-02-03 2014-02-03 Dimension measurement terminal

Country Status (1)

Country Link
JP (1) JP5710809B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102223282B1 (en) * 2014-08-07 2021-03-05 엘지전자 주식회사 Mobile terminal having smart measuring tape and object size measuring method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4106512B2 (en) * 2000-12-22 2008-06-25 日本電気株式会社 Mobile phone with malfunction prevention function
JP4377863B2 (en) * 2005-09-01 2009-12-02 ソフトバンクモバイル株式会社 Exercise trajectory information processing method and portable information device

Also Published As

Publication number Publication date
JP2014122912A (en) 2014-07-03

Similar Documents

Publication Publication Date Title
US10920927B2 (en) Gimbal device
US8265895B2 (en) Interactive sensor systems and methods for dimensioning
US7431216B2 (en) Methods for presenting parameter status information and related portable electronic devices and parameters
US9503628B1 (en) Camera mounting and control device
CN115798384A (en) Enhanced display rotation
US9429987B2 (en) Electronic device capable of rotating display image and display image rotating method thereof
KR101772384B1 (en) Orientation sensing computing devices
JP2010026064A (en) Portable image display, control method thereof, program, and information storage medium
US20150169180A1 (en) Rearranging icons on a display by shaking
JP2010086192A (en) Mobile device, computer program, and recording medium
JP2010092086A (en) User input apparatus, digital camera, input control method, and input control program
CN103888654A (en) Photographing calibration system and method
US9329828B2 (en) Information processing apparatus for displaying adjacent partial images out of a plurality of partial images that constitute one image on display units of a plurality of adjacent information processing apparatuses
JP5710809B2 (en) Dimension measurement terminal
WO2019227410A1 (en) Attitude conversion method, attitude display method, and pan-tilt system
CN114764241A (en) Motion state control method, device and equipment and readable storage medium
JP5593295B2 (en) Dimension measurement terminal
JP5897407B2 (en) Electronic device, imaging processing method, and program
WO2020062163A1 (en) Method for controlling pan-tilt, and handheld pan-tilt and handheld device
KR20210072351A (en) Foldable electronic device including rotating camera and method for taking pictures in the foldable electronic device
JP2010145837A (en) Electronic apparatus and display method
JP4697656B2 (en) Mobile phone pointing device, method, and computer program
JP6325369B2 (en) Electronic device, control method and program
WO2013042530A1 (en) Display device, display control method, and program
JP2014197400A (en) Liquid crystal display apparatus, mobile communication terminal device and liquid crystal display method

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20140430

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141118

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150107

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150304

R150 Certificate of patent or registration of utility model

Ref document number: 5710809

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees