TW200946863A - Portable electronic device and method of measuring the length of an object - Google Patents

Portable electronic device and method of measuring the length of an object Download PDF

Info

Publication number
TW200946863A
TW200946863A TW97116240A TW97116240A TW200946863A TW 200946863 A TW200946863 A TW 200946863A TW 97116240 A TW97116240 A TW 97116240A TW 97116240 A TW97116240 A TW 97116240A TW 200946863 A TW200946863 A TW 200946863A
Authority
TW
Taiwan
Prior art keywords
visible light
tested
light emitter
electronic device
length
Prior art date
Application number
TW97116240A
Other languages
Chinese (zh)
Other versions
TWI443304B (en
Inventor
Jing-Bo Yu
Liang Xie
Li-Yan Zheng
Guang-Yu Pei
Original Assignee
Hon Hai Prec Ind Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW97116240A priority Critical patent/TWI443304B/en
Publication of TW200946863A publication Critical patent/TW200946863A/en
Application granted granted Critical
Publication of TWI443304B publication Critical patent/TWI443304B/en

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

A portable electronic device includes a visible light emitting device, a motor, a distance sensor and a controller. The first side of the portable electronic device is parallel to the object which will be measured. The visible light emitting device is arranged on the first side of the portable electronic device. The direction of initial visible light emitted from the visible light emitting device is vertical to the first side of the portable electronic device. The controller controls the motor drive the visible light emitting device, which makes initial visible light rotate and obtains the two angles between the initial visible light and each terminal vertex of the object. The distance sensor which measures the distance between the portable electronic device and the object is arranged on the first side of the portable electronic device. The controller computes the length of the object according to the obtained two angles and the measured distance.

Description

200946863 九、發明說明: .【發明所屬之技術領域】 本發明涉及一種測量物體長度的裝置及方法,特別是 涉及一種能夠測量物體長度的可檇式電子裝置及其測量物 體長度的方法。 【先前技術】 . 現有的測長儀如鐳射測長儀、數位測長儀等採用先進 龜的振幅光柵感測器數位測量系統進行長度測量,它們具有 測量精確的優點,適用於特定的場所,比如實驗室、精密 加工場所,但價格昂貴、體積大不宜攜帶。 如果能利用可檇式電子裝置如手機、pDA、Mp3等測 量物體長度,便可以克服前述測量工具的缺點,使人們可 以隨時測量物體長度,使用方便、快捷,但現有的手機、 PDA、MP3等可檇式電子裝置都尚無測量物體長度的功能。 【發明内容】 ❹ 下面結合實施例和附圖,對本發明進行詳細說明。 如圖1所示,為一種可檇式電子装置的功能模組圖。 該可檇式電子裝置100包括測量按鈕131、動作按鈕132、 δ己錄按鈕133、控制器134、測距感測器135、馬達136、 可見光發射器137、角度計算單元138、存儲單元139、長 度計算單元14〇和顯示單元141。控制器134分別和測量 按鈕131、動作按鈕132、記錄按鈕133、測距感測器、 ,達136、可見光發射器137、角度計算單元138、長度計 算單元140和顯示單元141電性連接。馬達136和可見光 9 200946863 -發射器137機械式連接。存儲單元139分別和測距感測器 ,135、角度计真單元138和長度計算單元140電性連接。 控制器134回應測罝按紐131生成的啟動訊號,啟動 測距感測器135測量待測物體與可檇式電子裝置1〇〇的間 距’並將此間距存儲到存儲單元139。 控制器134回應測量按鈕13ι生成的啟動訊號,啟動 -可見光發射器137發射可見光束。 ❻ 控制器134回應動作按鈕132生成的控制訊號驅動馬 達136旋轉,馬達136帶動可見光發射器ι37從初始位置 分別朝向待測物體的兩端點轉動。 可見光發射器137在轉動的過程中,控制器134控制 角度β十算皁元138記錄可見光發射器的轉動次數,計算可 見光發射器137分別從初始位置朝向待測物體的兩端點轉 動的兩個夾角。 當可見光束照射到待測物體的兩端點時,控制器134 ❹回應记錄按紐133生成的記錄訊號記錄初始位置的可見光 束與照射到待測物體的兩端點時的可見光束的兩個夾角並 將其存儲其到存儲單元139。 控制器134回應記錄按鈕133生成的記錄訊號控制馬 達136帶動可見光發射器137轉動到初始位置。 控制器134控制長度計算單元140從存儲單元139中 讀取前述間距及兩個夾角,並根據間距及兩個夾角計算出 待測物體的長度。 顯示單元141用來顯示待測物體的長度。 200946863 \ 如圖2與圖3所示,分別為第一實施例中可檇式電子 、 裝置測量物體長度的工作原理圖與第一實施例中運用可檇 式電子裝置測量物體長度的流程圖。第一實施例中的可檇 式電子裝置152包括測量按鈕153,動作按鈕154、記錄按 鈕155、控制器156、第一馬達157、第二馬達158、第一 可見光發射器159、第二可見光發射器160、測距感測器 -161、存儲單元162、角度計算單元163、長度計算單元164 -及顯示單元165。所述第一可見光發射器159、第二可見光 ®發射器160及測距感測器161設置於可檇式電子裝置152 的第一侧邊166上,所述第一可見光發射器159、第二可 見光發射器160在初始位置時發射的可見光束垂直於該可 檇式電子裝置152的第一側邊166,垂足分別為X、Y,第 一可見光發射器159和第二可見光發射器160之間的距離 為S。控制器156分別和測量按鈕153,動作按鈕154、記 錄按鈕155、第一馬達157、第二馬達158、第一可見光發 ❹射器159、第二可見光發射器160、測距感測器161、存儲 單元162、角度計算單元163、長度計算單元164及顯示單 元165電性連接。存儲單元162分別和測距感測器161、 角度計算單元163和長度計算單元164電性連接。第一馬 達157、第二馬達158分別和第一可見光發射器159、第二 可見光發射器160機械式連接。運用此可檇式電子裝置152 測量待測物體長度的步驟如下: 步驟171,使得可檇式電子裝置152的第一側邊166 與待測物體151平行並與待測物體151保留一間距Η。 11 200946863 步驟172,控制器156回應測量按鈕153生成的啟動 .訊號,啟動測距感測器161測量可檇式電子裝置的第一侧 邊166與待測物體151的間距H,並記錄所述間距H。 步驟173,控制器156回應測量按鈕153生成的啟動 訊號,啟動第一可見光發射器159與第二可見光發射器16〇 發射可見光束。 步驟174,控制器156回應動作按鈕154生成的控制 ❺訊號驅動第一馬達157旋轉,第一馬達157帶動第一可見 光發射器159從初始位置朝向待測物體的第一端點Μ 動。 步驟175,萬可見光束照射到待測物體的第一端點% 時,控制器156回應記錄按鈕155的記錄訊號記錄初始方 向的可見光束與照射到待測物體151的第一端點Μ時的可 見光束的夾角為第一銳角α,並將其存儲於存儲單元165。 記錄第一銳角α的步驟具體為:使用第一馬達157, ❹例如步進馬達,驅動第一可見光發射器159每次轉動同樣 的角度Φ,當可見光束照射到待測物體151的第一端點μ 時,記錄可見光發射器159的轉動次數為N1,則第一角度 α為轉動次數N1乘以角度φ。 步驟176,控制器156回應動作按鈕154生成的控制 訊號驅動第二馬達158旋轉,第二馬達158帶動第二可見 光發射器16G從初始位置朝向待測物體的第二端點 動。 步驟177,當可見光束照射到待測物體的第二端點ν 12 200946863 '時,控制器156回應記錄按鈕155的記錄訊號記錄初始方 •向的可見光束與照射到待測物體151的第二端點N時的可 見光束的夾角為第二銳角β並存儲將其於存儲單元165。 記錄第二銳角Ρ的步驟具體為:使用第二馬達158, 例如步進馬達,驅動第二可見光發射器16〇每次轉動同樣 的角度Φ Μ可見光束照射到待測物體151的第二端點ν .時,記錄可見光發射器16〇的轉動次數為N2,則第二角度 β為轉動次數N2乘以角度φ。 ❹ 步驟178,控制器156控制第一馬達157、 158分別帶動第—可見紐射器159、第二可見光發射器 160轉動到初始位置。 步驟179’長度計算單元164從存儲單元162獲取記 二的:距Η、第一銳角α和第二銳角β,並根據公式 妙十㈣計算待測物體⑸長度L。其中,L為待測 物體151長度’ S為上述第_可見紐射器與第二可 參見光發射器160的間距,Η為可携式電子裝置152的第一 側邊166與待測㈣151的間距,《為第-角度,β為第 二角度。 步驟180,顯示待測物體151長度l。 如圖4與圖5所示,分別么贫由 丨為第一實施例中可檇式電子 裝置測:!:物體長度的工作廣理 席理圖與苐二實施例中可檇式電 子裝置測1物體長度的流程圖。 第二實施例中的可檇式 91,两八電子裝置212包括測量按鈕 213動作^214、記錄按知奶、控制器216、馬達217、 13 200946863 200946863 可見光發射器218、測距感測器219、存儲單元22〇、角度 計算單元221、長度計算單元222及顯示單元223。所述可 見光發射器218及測距感測器219設置於可檇式電子裝置 212的第一側邊224上,所述可見光發射器之以在初始位 置時發射的可見光束垂直於該可檇式電子裝置212的第一BACKGROUND OF THE INVENTION 1. Field of the Invention This invention relates to a device and method for measuring the length of an object, and more particularly to a squeezable electronic device capable of measuring the length of an object and a method for measuring the length of the object. [Prior Art] Existing length measuring instruments such as laser length measuring instruments, digital length measuring instruments, etc. use advanced turtle amplitude grating sensor digital measuring system for length measurement, which have the advantages of accurate measurement and are suitable for a specific place. Such as laboratories, precision processing sites, but expensive, large size is not suitable for carrying. If the length of the object can be measured by a portable electronic device such as a mobile phone, pDA, Mp3, etc., the disadvantages of the aforementioned measuring tools can be overcome, so that the length of the object can be measured at any time, and the use is convenient and fast, but existing mobile phones, PDAs, MP3s, etc. There is no function to measure the length of an object in a portable electronic device. SUMMARY OF THE INVENTION The present invention will be described in detail below with reference to the embodiments and the accompanying drawings. As shown in FIG. 1 , it is a functional module diagram of a portable electronic device. The portable electronic device 100 includes a measurement button 131, an action button 132, a δ record button 133, a controller 134, a distance sensor 135, a motor 136, a visible light emitter 137, an angle calculation unit 138, a storage unit 139, The length calculation unit 14A and the display unit 141. The controller 134 is electrically connected to the measurement button 131, the action button 132, the record button 133, the ranging sensor, the 136, the visible light emitter 137, the angle calculating unit 138, the length calculating unit 140, and the display unit 141, respectively. Motor 136 and visible light 9 200946863 - Transmitter 137 is mechanically coupled. The storage unit 139 is electrically connected to the ranging sensor 135, the angle meter true unit 138, and the length calculating unit 140, respectively. The controller 134, in response to the start signal generated by the test button 131, activates the distance measuring sensor 135 to measure the distance between the object to be tested and the portable electronic device 1' and stores the pitch to the storage unit 139. The controller 134, in response to the activation signal generated by the measurement button 13i, activates the visible light emitter 137 to emit a visible light beam. The controller 134 responds to the control signal generated by the action button 132 to drive the motor 136 to rotate, and the motor 136 drives the visible light emitter ι37 to rotate from the initial position toward the two ends of the object to be tested. During the rotation of the visible light emitter 137, the controller 134 controls the angle β to calculate the number of rotations of the visible light emitter, and calculates two rotations of the visible light emitter 137 from the initial position toward the ends of the object to be tested. Angle. When the visible light beam is irradiated to the two ends of the object to be tested, the controller 134 responsive to the recording signal generated by the recording button 133 to record the visible light beam at the initial position and the visible light beam when irradiated to the end points of the object to be tested. The angles are stored and stored to the storage unit 139. The controller 134 controls the motor 136 to drive the visible light emitter 137 to rotate to the initial position in response to the recording signal generated by the record button 133. The controller 134 controls the length calculating unit 140 to read the aforementioned pitch and the two included angles from the storage unit 139, and calculates the length of the object to be tested based on the pitch and the two included angles. The display unit 141 is used to display the length of the object to be tested. 200946863 \ As shown in FIG. 2 and FIG. 3, respectively, the working principle diagram of the movable body and the device measuring the length of the object in the first embodiment and the flow chart of measuring the length of the object using the portable electronic device in the first embodiment are respectively shown. The portable electronic device 152 in the first embodiment includes a measurement button 153, an action button 154, a record button 155, a controller 156, a first motor 157, a second motor 158, a first visible light emitter 159, and a second visible light emission. The device 160, the distance measuring sensor-161, the storage unit 162, the angle calculating unit 163, the length calculating unit 164-, and the display unit 165. The first visible light emitter 159, the second visible light emitter 160, and the ranging sensor 161 are disposed on the first side 166 of the portable electronic device 152, the first visible light emitter 159, the second The visible light beam emitted by the visible light emitter 160 in the initial position is perpendicular to the first side 166 of the portable electronic device 152, and the vertical feet are X, Y, respectively, the first visible light emitter 159 and the second visible light emitter 160 The distance between them is S. The controller 156 and the measurement button 153, the action button 154, the record button 155, the first motor 157, the second motor 158, the first visible light emitter 159, the second visible light emitter 160, the ranging sensor 161, The storage unit 162, the angle calculation unit 163, the length calculation unit 164, and the display unit 165 are electrically connected. The storage unit 162 is electrically connected to the ranging sensor 161, the angle calculating unit 163, and the length calculating unit 164, respectively. The first motor 157 and the second motor 158 are mechanically coupled to the first visible light emitter 159 and the second visible light emitter 160, respectively. The step of measuring the length of the object to be tested by using the slidable electronic device 152 is as follows: Step 171, the first side 166 of the slidable electronic device 152 is parallel to the object to be tested 151 and a distance Η is reserved from the object to be tested 151. 11 200946863 Step 172, the controller 156 responds to the activation signal generated by the measurement button 153, and activates the ranging sensor 161 to measure the distance H between the first side 166 of the portable electronic device and the object to be tested 151, and records the Spacing H. In step 173, the controller 156, in response to the activation signal generated by the measurement button 153, activates the first visible light emitter 159 and the second visible light emitter 16 to emit a visible light beam. In step 174, the controller 156 drives the first motor 157 to rotate in response to the control signal generated by the action button 154. The first motor 157 drives the first visible light emitter 159 to move from the initial position toward the first end of the object to be tested. Step 175, when the visible light beam is irradiated to the first end point % of the object to be tested, the controller 156 responds to the recording signal of the recording button 155 to record the visible light beam in the initial direction and the first end point of the object to be tested 151. The angle of the visible light beam is the first acute angle α and is stored in the storage unit 165. The step of recording the first acute angle α is specifically: using the first motor 157, for example, a stepping motor, driving the first visible light emitter 159 to rotate the same angle Φ each time, when the visible light beam is irradiated to the first end of the object 151 to be tested. At the point μ, the number of rotations of the visible light emitter 159 is N1, and the first angle α is the number of rotations N1 multiplied by the angle φ. In step 176, the controller 156 responds to the control signal generated by the action button 154 to drive the second motor 158 to rotate, and the second motor 158 drives the second visible light emitter 16G to move from the initial position toward the second end of the object to be tested. Step 177, when the visible light beam is irradiated to the second end point ν 12 200946863 ' of the object to be tested, the controller 156 responds to the recording signal of the record button 155 to record the visible light beam of the initial direction and the second light beam irradiated to the object to be tested 151. The angle of the visible beam at the end point N is the second acute angle β and is stored in the storage unit 165. The step of recording the second acute angle 具体 is specifically: using the second motor 158, such as a stepping motor, driving the second visible light emitter 16 to rotate the same angle Φ each time Μ the visible light beam is irradiated to the second end of the object 151 to be tested When ν., the number of rotations of the visible light emitter 16 turns is N2, and the second angle β is the number of rotations N2 multiplied by the angle φ. Step 178, the controller 156 controls the first motors 157, 158 to respectively drive the first visible beam finder 159 and the second visible light emitter 160 to the initial position. The step 179' length calculating unit 164 obtains from the storage unit 162 the distance Η, the first acute angle α, and the second acute angle β, and calculates the length L of the object to be tested (5) according to the formula (10). Wherein, L is the length of the object to be tested 151 'S is the distance between the first visible reflector and the second visible light emitter 160, and is the first side 166 of the portable electronic device 152 and the (four) 151 to be tested. Spacing, "for the first angle, β is the second angle. In step 180, the length l of the object to be tested 151 is displayed. As shown in FIG. 4 and FIG. 5, the difference between the two is the measurement of the electronic device in the first embodiment: the working length of the object length and the electronic device of the second embodiment. 1 Flow chart of the length of the object. In the second embodiment, the portable 91, the two-eighth electronic device 212 includes a measurement button 213 action 214, a recording press, a controller 216, a motor 217, 13 200946863 200946863 visible light emitter 218, and a distance measuring sensor 219. The storage unit 22A, the angle calculation unit 221, the length calculation unit 222, and the display unit 223. The visible light emitter 218 and the ranging sensor 219 are disposed on the first side 224 of the portable electronic device 212, and the visible light beam emitted by the visible light emitter in the initial position is perpendicular to the movable type First of the electronic device 212

2 224 ’垂足為X。控制器216分別和測量按姐213、動 ^ 2 2U、記錄按紐215、㈣217、可見光發射器218、 =,測器219、存儲單元22G、角度計算單元221、長度 1鼻早元222及顯示單元223電性連接。存儲單元22〇分 :矩感測器219、角度計算單元221和長度計算單元 /性連接。馬達217和可見光發射器218機械式連接。 運用此可檇式電子裝置212測量待測物體長度的步驟如 下· /步驟231,使得可檇式電子襞置212的第一侧邊224 與待剛物體211平行並與待測物體211保留一間距H。 〇 步驟232,控制器216回應測量按鈕213生成的啟動 訊號’啟動測距感測器221測量可檇式電子裝置212的第 側邊224與待測物體211的間距Η ’並記錄所述間距η。 步驟233 ’控制器216回應測量按鈕213生成的啟動 訊號’啟動可見光發射器218發射可見光束。 步驟234 ’控制器216回應動作按紐214生成的控制 訊號驅動馬達217旋轉帶動可見光發射器218從初始位置 朝向待測物體211的第一端點Μ轉動。 步驟235,當可見光束照射到待測物體211的第一端 200946863 -點Μ時,控制器216回應記錄按鈕215的記錄訊號記錄初 *始方向的可見光束與照射到待測物體211的第一端點訄時 的可見光束的夾角為第一銳角(X,並存儲於存儲單元22〇。 記錄第一銳角α的步驟具體為:使用馬達217,例如 步進馬達,驅動可見光發射器218每次轉動同樣的角度 Φ ’當可見光束照射到待測物體211的第一端點Μ時,二 錄可見光發射器218的轉動次數為Ν1,則第一角度α為轉 •動次數Ν1乘以角度φ。 > 步驟236,控制器216控制馬達217帶動可見光 器218轉動到初始位置。 步驟237,控制器216回應動作按鈕214生成的押制 訊號驅動馬達217旋轉,馬達217帶動可見光發射器^18 從初始位置朝向待測物體211的第二端點Ν轉動。 步驟238,當可見光束照射到待測物體1的第二端 點Ν時’控制器216回應記錄按鈕215的記錄訊號記:初 始方向的可見光束與照射到待測物體211的第二端點Ν時 的可見光束的夾角為第二銳角Ρ,並存儲於存儲單元22卜 〇 記錄第二銳角β的步驟具體為:使用馬達,例如 步進馬達,驅動可見光發射器218每次 」 ν人锝動冋樣的角度 Φ,當可見光束照射到待測物體211的第二端點Ν時,記 錄可見光發射器218的轉動次數為Ν2,則第-& ώ " *不一月度β為轉 動次數Ν2乘以角度Φ。 # 步驟239 ’控制器216控制馬達217帶動可見 器218轉動到初始位置。 15 200946863 步驟240 ’長度计算單元222從存儲單元22 錄的間距Η、第-銳角《和第二銳角β,並根據公; —_或者ζ,—―)計算待測物 長度L。其中,l為待測物體211長度,Η為可搞式電子 裝置212的第-侧邊224與待測物體2ιι的間距, 一角度,β為第二角度。 步驟241,顯示待測物體211長度L。 上述可檇式電子裝置藉由測距感測器測量可 體之間㈣距’並藉由馬達驅動可見光發射器測 =檇式電子裝置和物體端點之間的角度,以獲得物體的 長度,使得可携<電子裝置具有長度測量的功能。 綜上料,本發明符合發明相要件,纽法提出專 利申凊。惟,以上所述者僅為本發明之較佳實施例,舉凡 熟-本案技藝之人士’在援依本案創作精神所作之等效修 ❹ 飾或變化’皆應包含於以下之申請專利範圍内。例如,各 :實施方式中的測量按鈕、動作按鈕和記錄按鈕等可以整 ,為二個按鈕,便於使用者操作。各個實施方式中的長度 ^單角度計算單元及存儲單元等也可以集成在控制 執行相應的功能,以進行待測物體長度的測量。 【圖式簡單說明】 圖1為一種可檇式電子裝置的功能模組圖。 圖2為第一實施例中可檇式電子裝置測量物體長度的 工作原理圖。 圖3為第一實施例中可檇式電子裝置測量物體長度的 16 200946863 . 流程圖。 , 圖4為第二實施例中可檇式電子裝置測量物體長度的 工作原理圖。 圖5為第二實施例中可檇式電子裝置測量物體長度的 流程圖。 【主要元件符號說明】 可檇式電子裝置 100 控制器 134 記錄按紐 133 動作按鈕 132 測量按紐 131 顯示單元 141 長度計算單元 140 可見光發射器 137 馬達 136 測距感測器 135 存儲單元 139 角度計算單元 138 172 224 ‘foot is X. The controller 216 and the measuring button 213, the moving device 2, the recording button 215, the (four) 217, the visible light emitter 218, the detector 219, the storage unit 22G, the angle calculating unit 221, the length 1 and the early morning 222 and the display Unit 223 is electrically connected. The storage unit 22 divides: a moment sensor 219, an angle calculation unit 221, and a length calculation unit/sexual connection. Motor 217 and visible light emitter 218 are mechanically coupled. The step of measuring the length of the object to be tested by using the slidable electronic device 212 is as follows: /step 231, so that the first side 224 of the slidable electronic device 212 is parallel to the object 211 and remains at a distance from the object to be tested 211. H. In step 232, the controller 216 responds to the activation signal generated by the measurement button 213 to enable the ranging sensor 221 to measure the distance 第 between the first side 224 of the portable electronic device 212 and the object to be tested 211 and record the spacing η. . Step 233' controller 216 activates visible light emitter 218 to emit a visible light beam in response to the enable signal generated by measurement button 213. Step 234' The controller 216 responds to the control signal generated by the action button 214 to drive the motor 217 to rotate to cause the visible light emitter 218 to rotate from the initial position toward the first end point of the object 211 to be tested. Step 235, when the visible light beam is irradiated to the first end 200946863 of the object to be tested 211, the controller 216 responds to the recording signal of the record button 215 to record the visible light beam in the initial direction and the first light emitted to the object to be tested 211. The angle of the visible light beam at the end point is the first acute angle (X, and is stored in the storage unit 22A. The step of recording the first acute angle α is specifically: using the motor 217, such as a stepping motor, to drive the visible light emitter 218 each time. Rotating the same angle Φ 'When the visible light beam is irradiated to the first end point 待 of the object to be tested 211, the number of rotations of the two-recorded visible light emitter 218 is Ν1, and the first angle α is the number of revolutions and movements Ν1 times the angle φ > Step 236, the controller 216 controls the motor 217 to drive the visible light 218 to the initial position. In step 237, the controller 216 responds to the action of the action signal driving motor 217 generated by the action button 214, and the motor 217 drives the visible light emitter ^18 from The initial position is rotated toward the second end point 待 of the object to be tested 211. Step 238, when the visible light beam is irradiated to the second end point 待 of the object 1 to be tested, the controller 216 responds to the record button 215 Recording number: the angle between the visible light beam in the initial direction and the visible light beam when irradiated to the second end point 211 of the object to be tested 211 is the second acute angle Ρ, and is stored in the storage unit 22 to record the second acute angle β. To: use a motor, such as a stepper motor, to drive the visible light emitter 218 to "pulse" the angle Φ each time. When the visible light beam is incident on the second end point 待 of the object 211 to be tested, the visible light emitter 218 is recorded. The number of rotations is Ν2, then the -& ώ " * not the monthly β is the number of rotations Ν 2 times the angle Φ. #步239 'The controller 216 controls the motor 217 to drive the visible 218 to the initial position. 15 200946863 The 240' length calculation unit 222 calculates the length L of the object to be tested from the pitch 第, the first acute angle "and the second acute angle β, and according to the public; -_ or ζ, -) recorded by the storage unit 22. Wherein, l is the length of the object to be tested 211, and Η is the distance between the first side 224 of the electronic device 212 and the object to be tested 2 ιι, an angle, β is the second angle. Step 241, displaying the length L of the object to be tested 211. The above-mentioned portable electronic device measures the angle between the body and the object by using a distance measuring sensor to measure the angle between the body and the object, and the length of the object is obtained by the motor driving the visible light emitter to measure the angle between the electronic device and the object end point. The portable <electronic device has the function of length measurement. In summary, the present invention meets the requirements of the invention, and New Zealand filed a patent application. However, the above description is only a preferred embodiment of the present invention, and the equivalent repairs or changes made by the person skilled in the art of the present invention in the spirit of the invention should be included in the following patent application. . For example, each of the measurement buttons, the action button, the recording button, and the like in the embodiment may be two buttons, which are convenient for the user to operate. The length in the various embodiments, the single-angle calculation unit, the storage unit, and the like can also be integrated in the control to perform the corresponding function to measure the length of the object to be tested. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a functional block diagram of a portable electronic device. Fig. 2 is a view showing the operation of measuring the length of an object by the portable electronic device in the first embodiment. 3 is a flow chart of measuring the length of an object by a portable electronic device in the first embodiment. 4 is a working principle diagram of measuring the length of an object by a portable electronic device in the second embodiment. Fig. 5 is a flow chart showing the measurement of the length of an object by the portable electronic device in the second embodiment. [Main component symbol description] Portable electronic device 100 Controller 134 Record button 133 Action button 132 Measurement button 131 Display unit 141 Length calculation unit 140 Visible light emitter 137 Motor 136 Ranging sensor 135 Storage unit 139 Angle calculation Unit 138 17

Claims (1)

200946863 \十、申請專利範圍 . i一種可檇式電子裝置,用於測量待測物體的長度, 其改良在於,該可檇式電子裝置的第一側邊與待測物體平 行,該可檇式電子裝置包括: 可見光發射器,其設置於可檇式電子裝置的第一侧邊 上’用於發射可見光束,該可見光束的初始方向垂直於該 •可摘式電子裝置的第一側邊; 馬達’該馬達和可見光發射器機械式連接,用於驅動 ®可見光發射器轉動; 測距感測器,其設置於可檇式電子裝置的第一側邊 上,用於測量該可檇式電子裝置與待測物體之間的間距; 以及 〇控制器,該控制器分別與該可見光發射器和測距感測 器電性連接,該控制器用於驅動可見光發射器發射初始方 向!!可見光束到待測物體上,以及控制馬達驅動可見光發 ❹射器分別將初始方向的光束轉動到待測物體的兩個端點, 、獲得初始方向的可見光束與待測物體兩個端點之間的兩 :夾角Μ控制器還用於控制測距感測器測量可檇式電子 =待測物體之Fb1的間距,該控制器根據兩個夾角和間 距计待測物體的長度。 巾,# =申Λ專利範圍第1項所述的可檇式電子裝置,其 距感/則器為紅外線感測器和超聲波感測器的一種。 中,所利範圍第1項所述的可檇式電子裝置’其 u “發射器數量為—個時,所述控制器首先控 18 200946863 *制馬達帶動可見光發射器從初始位置朝向待測物體的第一 -端點轉動,記錄第一銳角,並控制所述馬達驅動所述可見 光發射器轉動到初始位置’然後控制所述馬達帶動所述可 見光發射器從初始位置朝向待測物體的第二端點轉動,記 錄第二銳角’並控制所述馬達帶動所述可見光發射器轉動 到初始位置;所述控制器利用公式妙+丑X妙計算待測 物體長度L,其中L·為待測物體的長度,H為所述可檇式 翁電子裝置與待測物體之間的間距,α為第一銳角,β為第 ®二銳角。 … 4.如申s青專利範圍第1項所述的可搞式電子裝置,其 中,所述可見光發射器數量為兩個時包括第一可見光發射 器和第二可見光發射器,所述控制器控制所述馬達驅動所 述第一可見光發射器和第二可見光發射器從初始位置分別 朝向待測物體的第一端點和第二端點轉動,記錄第一銳角 和第一銳角,並控制所述馬達帶動所述可見光發射器轉動 ❹到初始位置;所述控制器利用公式丑X妙+丑,計算待 測物體長度L,其中,L為待測物體的長度,s為第一可見 f發射器和第二可見光發射器之間的預設間距,Η為所述 :檇式電子裝置與待測物體之間的間距,α為第一銳角 為第二銳角。 ρ 電子如申請專利範圍第1或2或3或4項所述的可携式 所述步ί馬=:斤述馬達為步進馬達,所述控制器控制 物I* μ 帶動所述可見紐射器從初始位置朝向待測 ^ f母次轉動一預設角度❿;所述控制器記錄可見 19 200946863 ,光發射器的轉動次數N,計算可見光發射器從初始位置朝 •向待測物體的兩端點轉動的角度為轉動次心乘以預設角 度Φ。 6.-種測量物體長度的方法,利用可檇式電子裝置測 量物體的長度,包括以下步驟: 在所述可携式電子裝置的第一側邊上設置可見光發射 器和測距感測器,並使得可見光發射器在初始位置時發射 ❹的可見光束垂直於該可檇式電子裝置的第一侧邊; 將所述可檇式電子裝置的第一側邊與待測物體平行並 與待測物體保留一間距; 控制所述測距感測器測量所述可檇式電子裝置的第一 侧邊與待測物體的間距,記錄所述間距,並啟動可見光發 射器發射可見光束; *驅動所述可見光發射器從初始位置朝向待測物體的兩 & ”轉動冲算所述可見光發射器從初始位置朝向待測物 ⑩體的兩端點轉動的兩個角度; 、口田可見光束照射到待測物體的端點時,記錄初始位置 的可見光束與照射到待測物體的兩端點時的可見光束的夾 角分別為第一銳角和第二銳角,以及 獲取記錄的間距、第-銳角和第二銳角,並根據獲取 的間距、第一銳角和第二銳角計算出待測物體長度。 、、7.如申請專利範圍第6項所述的測量物體長度的方 法其中,當所述可見光發射器的數量為一個時,首先驅 動所述可見光發射器從初始位置朝向待測物體的第一端點 200946863 ,轉動,記錄第一銳角,並驅動所述可見光發射器轉動到初 .始位置,然後驅動所述可見光發射器從初始位置朝向待測 物體的第二端點轉動,記錄第二銳角,並驅動所述可見光 發射器轉動到初始位置,並利用公式[=开 xtga+Hxtgfi ^ ^ 測物體長度L,其中L為待測物體的長度,H為所述可檇 式電子裝置與待測物體之間的間距,α為第一銳角,β為 '第二銳角。 ❹ 8.如申請專利範圍第6項所述的測量物體長度的方 法,其中,當所述可見光發射器的數量為兩個時包括第一 可見光發射器和第二可見光發射器,設定所述第一可見光 發射器和第二可見光發射器之間的預設間距,驅動所述第 可見光發射器和第二可見光發射器從初始位置分別朝向 待測物體的第一端點和第二端點轉動,記錄第一銳角和第 二銳角,控制馬達帶動可見光發射器轉動到初始位置,並 利用公式〜心柳+…妙計算待測物體長度其中L為 ❹待測物體的長度,S為第一可見光發射器和第二可見光發 射器之間的預設間距,Η為所述可檇式電子裝置與待測^ 體之間的間距,α為第一銳角,β為第二銳角。 9.如申請專利範圍第6或7或8項所述的測量物體長 度的方法’其中’計算可見光發射器從初始位置朝向待測 物體的兩端點轉動的角度的步驟具體為:驅動可見光發射 器從初始位置朝向待測物體的第一端點每次 度Φ,記錄可見光發射器的轉動-欠數Ν 々 巧J命叼将勁-人數]^,計算可見光發射 器從初始位置朝向待測物體的兩端點轉動的角度為轉動次 21 200946863 \ 數N乘以預設角度φ。200946863 \10. Patent application scope. i A portable electronic device for measuring the length of an object to be tested, the improvement is that the first side of the portable electronic device is parallel to the object to be tested, and the movable type The electronic device includes: a visible light emitter disposed on the first side of the portable electronic device for transmitting a visible light beam, the initial direction of the visible light beam being perpendicular to the first side of the removable electronic device; a motor 'the motor and the visible light emitter are mechanically coupled for driving the ® visible light emitter to rotate; a distance measuring sensor is disposed on the first side of the portable electronic device for measuring the convertible electronic a spacing between the device and the object to be tested; and a controller that is electrically coupled to the visible light emitter and the ranging sensor, respectively, for driving the visible light emitter to emit an initial direction!! On the object to be tested, and controlling the motor to drive the visible light emitter to respectively rotate the beam in the initial direction to the two end points of the object to be tested, and obtain the initial direction The visible light beam and the two end points of the object to be tested are two: the angle Μ controller is also used to control the distance measuring sensor to measure the 檇-type electron = the distance of the Fb1 of the object to be tested, the controller according to the two angles and The distance meter measures the length of the object to be measured. Towel, # = The electronic device of the portable electronic device described in claim 1, wherein the sensor is an infrared sensor and an ultrasonic sensor. In the case of the portable electronic device of the first item, the number of transmitters is one, the controller first controls 18 200946863 * the motor drives the visible light emitter from the initial position toward the object to be tested a first-end point rotation, recording a first acute angle, and controlling the motor to drive the visible light emitter to rotate to an initial position 'and then controlling the motor to drive the visible light emitter from an initial position toward a second object to be tested Rotating the end point, recording the second acute angle 'and controlling the motor to drive the visible light emitter to rotate to the initial position; the controller calculates the length L of the object to be tested by using the formula + ugly, wherein L· is the object to be tested The length, H is the distance between the electronic device and the object to be tested, α is the first acute angle, and β is the second acute angle. 4. 4. As described in claim 1 of the patent application scope An electronic device, wherein the number of visible light emitters is two, including a first visible light emitter and a second visible light emitter, and the controller controls the motor to drive the first visible light The emitter and the second visible light emitter rotate from the initial position toward the first end point and the second end point of the object to be tested, respectively, and record the first acute angle and the first acute angle, and control the motor to drive the visible light emitter to rotate. To the initial position; the controller calculates the length L of the object to be tested using the formula ugly + ugly, where L is the length of the object to be tested, and s is between the first visible f emitter and the second visible light emitter The preset pitch is 所述: the distance between the 电子-type electronic device and the object to be tested, and α is the first acute angle as the second acute angle. ρ Electron as described in claim 1 or 2 or 3 or 4 The portable motor is a stepping motor, and the controller control object I* μ drives the visible ejector to rotate from a initial position toward a predetermined angle of the mother to be tested. The controller records visible 19 200946863, the number N of rotations of the light emitter, and calculates the angle at which the visible light emitter rotates from the initial position toward the two ends of the object to be tested as the rotational center of the multiplied by the preset angle Φ. .-A measure of the length of the object Measuring the length of the object by the portable electronic device, comprising the steps of: providing a visible light emitter and a distance measuring sensor on the first side of the portable electronic device, and making the visible light emitter in an initial position The visible light beam of the emitting pupil is perpendicular to the first side of the portable electronic device; the first side of the portable electronic device is parallel to the object to be tested and a distance is reserved from the object to be tested; Measuring, by the sensor, a distance between the first side of the portable electronic device and the object to be tested, recording the spacing, and starting the visible light emitter to emit a visible light beam; * driving the visible light emitter from the initial position toward the The two & ” rotation of the measuring object calculates the two angles of the visible light emitter rotating from the initial position toward the two ends of the object to be tested 10; and the recording initial when the visible light beam is irradiated to the end point of the object to be tested The angle between the visible beam of the position and the visible beam when irradiated to the ends of the object to be tested is the first acute angle and the second acute angle, respectively, and the spacing of the recorded records, the first - The acute angle and the second acute angle are calculated, and the length of the object to be tested is calculated according to the obtained spacing, the first acute angle, and the second acute angle. The method for measuring the length of an object according to claim 6, wherein when the number of the visible light emitters is one, first driving the visible light emitter from the initial position toward the first object to be tested End point 200946863, rotating, recording the first acute angle, and driving the visible light emitter to rotate to the initial position, and then driving the visible light emitter to rotate from the initial position toward the second end of the object to be tested, recording the second acute angle And driving the visible light emitter to rotate to an initial position, and using the formula [=open xtga+Hxtgfi^^ to measure the length L of the object, where L is the length of the object to be tested, and H is the electronic device to be tested and to be tested The spacing between objects, α is the first acute angle and β is the 'second acute angle'. The method of measuring the length of an object according to claim 6, wherein the first visible light emitter and the second visible light emitter are included when the number of the visible light emitters is two, and the first a preset spacing between a visible light emitter and a second visible light emitter driving the first visible light emitter and the second visible light emitter to rotate from an initial position toward a first end point and a second end point of the object to be tested, respectively, Recording the first acute angle and the second acute angle, controlling the motor to drive the visible light emitter to rotate to the initial position, and calculating the length of the object to be tested by using the formula ~ heart willow +... Wonder L is the length of the object to be tested, and S is the first visible light emission The preset spacing between the second visible light emitter and the second visible light emitter is the distance between the portable electronic device and the body to be tested, α is the first acute angle, and β is the second acute angle. 9. The method of measuring the length of an object as described in claim 6 or 7 or 8 wherein the step of calculating the angle of rotation of the visible light emitter from the initial position toward the ends of the object to be tested is specifically: driving visible light emission From the initial position toward the first end point of the object to be measured, each time Φ, record the rotation of the visible light emitter - the number of Ν 々 J J J 叼 J , , , ,, calculate the visible light emitter from the initial position toward the test The angle at which the two ends of the object rotate is the rotation time 21 200946863 \ number N multiplied by the preset angle φ. 22twenty two
TW97116240A 2008-05-02 2008-05-02 Portable electronic device and method of measuring the length of an object TWI443304B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97116240A TWI443304B (en) 2008-05-02 2008-05-02 Portable electronic device and method of measuring the length of an object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97116240A TWI443304B (en) 2008-05-02 2008-05-02 Portable electronic device and method of measuring the length of an object

Publications (2)

Publication Number Publication Date
TW200946863A true TW200946863A (en) 2009-11-16
TWI443304B TWI443304B (en) 2014-07-01

Family

ID=44870162

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97116240A TWI443304B (en) 2008-05-02 2008-05-02 Portable electronic device and method of measuring the length of an object

Country Status (1)

Country Link
TW (1) TWI443304B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI832900B (en) * 2018-10-24 2024-02-21 日商索尼半導體解決方案公司 Distance measuring sensor, detection sensor, distance measuring method and electronic machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI832900B (en) * 2018-10-24 2024-02-21 日商索尼半導體解決方案公司 Distance measuring sensor, detection sensor, distance measuring method and electronic machine

Also Published As

Publication number Publication date
TWI443304B (en) 2014-07-01

Similar Documents

Publication Publication Date Title
CN101526346A (en) Portable electronic device and method for measuring length of object by same
TW200804947A (en) Method of distance estimation to be implemented using a digital camera
US9658058B1 (en) Height measuring device
TW201139984A (en) Device and method for measuring inner diameter
WO2012071850A1 (en) Device and method for measuring bending angle of bending piece
JP2002214344A (en) Range-finding device
TW201205043A (en) Distance measuring system and distance measuring method
TW200946863A (en) Portable electronic device and method of measuring the length of an object
TW201024683A (en) A measuring apparatus and control method thereof
CN209991974U (en) Laser measuring instrument
CN101011244A (en) Infrared instrument for measuring stature of human body
TWM404739U (en) Screw detection device
KR102011680B1 (en) A Portable Height Measurement Tool and Height Management System using thereof
WO2017198187A1 (en) Method for positioning target object in target space and measurement device
CN111442769A (en) Supervision control method for super high-rise building engineering measurement
JP3199375U (en) Surveying equipment
US20090299233A1 (en) Device for Measuring Functional Reach
CN101526347A (en) Portable electronic device and method for measuring object length
TWI440819B (en) Portable electronic device and method of measuring the length of an object
JP2016026518A (en) Measuring device and measuring method
TW201317548A (en) Self-measured height meter and body weight meter with the self-measured height meter
CN115684094A (en) Light collimating film detecting system
CN208043704U (en) A kind of intelligent X-ray machine X containing laser aligner
TWM356495U (en) Digital measurement device for baby's height and digital baby height and weight measurement equipment associated with the digital measurement device for baby's height
CN205655836U (en) Surveying instrument that multi -functional practicality is strong

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees