TW201629428A - Length measurement system, method and electronic tape - Google Patents

Length measurement system, method and electronic tape Download PDF

Info

Publication number
TW201629428A
TW201629428A TW104100648A TW104100648A TW201629428A TW 201629428 A TW201629428 A TW 201629428A TW 104100648 A TW104100648 A TW 104100648A TW 104100648 A TW104100648 A TW 104100648A TW 201629428 A TW201629428 A TW 201629428A
Authority
TW
Taiwan
Prior art keywords
color
bar code
tape measure
code information
calculation module
Prior art date
Application number
TW104100648A
Other languages
Chinese (zh)
Inventor
歐文欽
楊順全
Original Assignee
鴻海精密工業股份有限公司
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 鴻海精密工業股份有限公司 filed Critical 鴻海精密工業股份有限公司
Priority to TW104100648A priority Critical patent/TW201629428A/en
Publication of TW201629428A publication Critical patent/TW201629428A/en

Links

Abstract

The invention relates to the measurement field, especially relates to a kind of length measurement system, method and electronic tape. The system includes an information acquisition module, a calculation module and a display control module. The information acquisition module is used to acquire bar code information detected by a sensor from the tape and store the acquired bar code information in the storage unit. The calculation module is used to count the value of a cumulative variable S according to the bar code information acquired in the information acquisition module. The calculation module is also used to control to stop counting the cumulative variable S in a response to a use's operation and determine a current value of the cumulative variable S. The control calculation module counts the length value L based on the determined value of the cumulative variable S and a formula L=S*W. The display control module is used to display the length value of L on a display unit. The present invention is easy to realize and is beneficial to improve the precision of length measuring.

Description

長度測量系統、方法及電子卷尺Length measuring system, method and electronic tape measure

本發明涉及測量領域,尤其涉及一種長度測量系統、方法及電子卷尺。The present invention relates to the field of measurement, and in particular to a length measuring system, method and electronic tape measure.

現有技術中,卷尺上通常刻有刻度並標示有相應的數值以便進行長度的測量。然而,標示數值不僅增大卷尺的寬度,增加了卷尺的體積,而且精度不高。In the prior art, the tape measure is usually engraved with a scale and is marked with a corresponding value for length measurement. However, the numerical value not only increases the width of the tape measure, but also increases the volume of the tape measure, and the accuracy is not high.

有鑑於此,有必要提供一種長度測量系統、方法及電子卷尺以解決上述存在的問題。In view of the above, it is necessary to provide a length measuring system, method and electronic tape measure to solve the above problems.

一種電子卷尺,該電子卷尺包括卷尺帶及卷尺本體,該卷尺包括顯示單元、處理單元、存儲單元及感應器,該卷尺帶上設置有標示條碼資訊的第一條碼列和第二條碼列,該第一條碼列和第二條碼列均包括寬度相等的第一顏色條碼與第二顏色條碼,該感應器正對該卷尺本體的該卷尺帶的出口處,用於以一固定的頻率檢測從該卷尺本體伸出的卷尺帶上的條碼資訊,該處理單元包括:An electronic tape measure comprising a tape measure tape and a tape measure body, the tape measure comprising a display unit, a processing unit, a storage unit and a sensor, wherein the tape measure tape is provided with a first code column and a second code column for indicating bar code information, The first code column and the second code column each include a first color bar code and a second color bar code of equal width, and the sensor is at the exit of the tape measure tape of the tape body for detecting at a fixed frequency The bar code information on the tape measure tape protruding from the body of the tape measure, the processing unit includes:

資訊獲取模組,用於獲取感應器檢測到的卷尺帶上的條碼資訊並將該條碼資訊存儲在存儲單元中;The information acquisition module is configured to obtain barcode information on the tape measure detected by the sensor and store the barcode information in the storage unit;

計算模組,用於根據資訊獲取模組獲取的卷尺帶的條碼資訊對累加變數S的值進行計數,並回應用戶的操作而控制停止對累加變數S進行計數而確定當前累加變數S的值,並根據確定的累加變數S及公式: L=S*W計算長度值L,其中,W為第一顏色條碼或第二顏色條碼的寬度;及The calculation module is configured to count the value of the accumulated variable S according to the bar code information of the tape measure acquired by the information acquisition module, and control the stop of counting the accumulated variable S to determine the value of the current accumulated variable S in response to the user operation. And calculating the length value L according to the determined cumulative variable S and the formula: L=S*W, where W is the width of the first color barcode or the second color barcode;

顯示控制模組,用於控制將計算模組中計算得出的長度值顯示在顯示單元上以供使用者查看。The display control module is configured to display the length value calculated in the calculation module on the display unit for the user to view.

一種長度測量系統,應用在一電子卷尺中,該系統包括:A length measuring system for use in an electronic tape measure, the system comprising:

資訊獲取模組,用於獲取感應器檢測到的卷尺帶上的條碼資訊並將該條碼資訊存儲在存儲單元中;The information acquisition module is configured to obtain barcode information on the tape measure detected by the sensor and store the barcode information in the storage unit;

計算模組,用於根據資訊獲取模組獲取的卷尺帶的條碼資訊對累加變數S的值進行計數,並回應用戶的操作而控制停止對累加變數S進行計數而確定當前累加變數S的值,並根據確定的累加變數S及公式:L=S*W計算長度值L;及The calculation module is configured to count the value of the accumulated variable S according to the bar code information of the tape measure acquired by the information acquisition module, and control the stop of counting the accumulated variable S to determine the value of the current accumulated variable S in response to the user operation. And calculating the length value L according to the determined cumulative variable S and the formula: L=S*W;

顯示控制模組,用於控制將計算模組中計算得出的長度值顯示在顯示單元上以供使用者查看。The display control module is configured to display the length value calculated in the calculation module on the display unit for the user to view.

一種長度測量方法,應用在一電子卷尺中,該方法包括步驟:A length measuring method for use in an electronic tape measure, the method comprising the steps of:

獲取感應器檢測到的卷尺帶上的條碼資訊並將該條碼資訊存儲在存儲單元中;Obtaining bar code information on the tape measure detected by the sensor and storing the bar code information in the storage unit;

根據獲取的條碼資訊對累加變數S進行計數,並回應用戶對操作而控制停止對累加變數S計數而確定當前的累加變數S,並根據確定的累加變數S及公式:L=S*W計算一長度值L;及Counting the accumulated variable S according to the acquired bar code information, and in response to the user controlling the operation to stop counting the accumulated variable S, determining the current accumulated variable S, and calculating one according to the determined accumulated variable S and the formula: L=S*W Length value L; and

將計算得出的長度值L控制顯示在顯示單元上以供使用者查看。The calculated length value L control is displayed on the display unit for viewing by the user.

本發明根據檢測到的伸出卷尺本體的卷尺的條碼資訊確定一累加變數S的值並根據確定的累加變數S及公式:L=S*W計算一長度值,實現簡單,並提高了長度的測量精度。The invention determines the value of an accumulated variable S according to the detected bar code information of the tape measure of the protruding tape body and calculates a length value according to the determined accumulated variable S and the formula: L=S*W, which is simple and improves the length. measurement accuracy.

圖1為本發明中電子卷尺的外觀結構示意圖。1 is a schematic view showing the appearance of an electronic tape measure in the present invention.

圖2為本發明中電子卷尺的功能模組圖。2 is a functional block diagram of an electronic tape measure in the present invention.

圖3為本發明一實施方式中卷尺帶的示意圖。3 is a schematic view of a tape measure in an embodiment of the present invention.

圖4為本發明中長度測量系統的功能模組圖。4 is a functional block diagram of a length measuring system of the present invention.

圖5為本發明一實施方式中感應器檢測卷尺帶條碼資訊的示意圖。FIG. 5 is a schematic diagram of the sensor detecting barcode information of a tape measure according to an embodiment of the present invention.

圖6為本發明一實施方式中條碼資訊變化表。FIG. 6 is a table of bar code information change according to an embodiment of the present invention.

圖7為本發明另一實施方式中卷尺帶的示意圖。Figure 7 is a schematic view of a tape measure in accordance with another embodiment of the present invention.

圖8為本發明另一實施方式中感應器檢測卷尺帶條碼資訊的示意圖。FIG. 8 is a schematic diagram of the sensor detecting barcode information of a tape measure according to another embodiment of the present invention.

圖9為本發明另一實施方式中條碼資訊變化表。FIG. 9 is a table of bar code information change according to another embodiment of the present invention.

圖10為本發明中長度測量方法的流程圖。Figure 10 is a flow chart of the length measuring method of the present invention.

下面結合附圖及實施方式對本發明提供的長度測量系統、方法及電子卷尺作進一步詳細說明。The length measuring system, method and electronic tape provided by the present invention are further described in detail below with reference to the accompanying drawings and embodiments.

請參考圖1,所示為電子卷尺100的外觀結構示意圖。該電子卷尺100包括卷尺本體60及卷尺帶10。該卷尺帶10可從該卷尺本體60中伸出對物體進行長度測量,並可收容於該卷尺本體60中。請一併參考圖2,該電子卷尺100還包括設置於該卷尺本體60上的顯示單元20、處理單元30、存儲單元40、感應器50。Please refer to FIG. 1 , which is a schematic diagram showing the appearance of the electronic tape measure 100 . The electronic tape measure 100 includes a tape measure body 60 and a tape measure 10. The tape measure 10 can extend from the tape measure body 60 to measure the length of the object and can be received in the tape measure body 60. Referring to FIG. 2 together, the electronic tape measure 100 further includes a display unit 20, a processing unit 30, a storage unit 40, and a sensor 50 disposed on the tape measure body 60.

請一併參考圖3,所示為本發明一實施方式中卷尺帶10的示意圖。該卷尺帶10上設置有第一條碼列11和第二條碼列12,該第一條碼列11和第二條碼列12均包括第一顏色條碼101與第二顏色條碼102。其中,該第一顏色條碼101與第二顏色條碼102的寬度相同,且該寬度值可以根據測量的精度要求進行設置,例如,當要求電子卷尺100測量精度為1μm時,可以將第一顏色條碼101及第二顏色條碼102的寬度設置為1μm。該第一條碼列11從卷尺帶10的起始端以第一顏色條碼101、第二顏色條碼102、第二顏色條碼102週期性地交替排布;該第二條碼列12從卷尺帶10的起始端以第二顏色條碼102、第二顏色條碼102、第一顏色條碼101週期性地交替排布。在本實施方式中,以該第一顏色條碼101為黑色條碼,第二顏色條碼102為白色條碼進行說明。在其他實施方式中,該第一顏色條碼101及第二顏色條碼102可為任意不同的兩個顏色,例如分別為紅色和綠色、黑色和黃色、白色和黑色等。Referring to FIG. 3 together, a schematic view of the tape measure 10 in accordance with an embodiment of the present invention is shown. The tape strip 10 is provided with a first bar code column 11 and a second bar code column 12, and the first bar code column 11 and the second bar code column 12 each include a first color bar code 101 and a second color bar code 102. The width of the first color bar code 101 and the second color bar code 102 are the same, and the width value can be set according to the accuracy requirement of the measurement. For example, when the measurement accuracy of the electronic tape measure 100 is required to be 1 μm, the first color bar code can be used. The width of the 101 and second color bar code 102 is set to 1 μm. The first code column 11 is periodically alternately arranged from the beginning end of the tape measure 10 with a first color bar code 101, a second color bar code 102, and a second color bar code 102; the second bar code column 12 is from the tape tape 10 The beginning is periodically alternately arranged with the second color bar code 102, the second color bar code 102, and the first color bar code 101. In the present embodiment, the first color bar code 101 is a black bar code, and the second color bar code 102 is a white bar code. In other embodiments, the first color barcode 101 and the second color barcode 102 can be any two different colors, such as red and green, black and yellow, white, and black, respectively.

該感應器50正對該卷尺本體60的該卷尺帶10的出口處66,用於以一固定的頻率對從該卷尺本體60伸出的卷尺帶10上的條碼資訊進行檢測。本實施方式中,該感應器50為鐳射、CCD(Charge-Coupled Device,電荷耦合元件)等條碼掃描器。具體的,該感應器50的感應區域為一線狀的感應區域,且線狀的感應區域覆蓋該第一條碼列11及第二條碼列12,從而該感應器50每一次感測到的卷尺帶10的條碼資訊為包括第一條碼列條碼資訊C1及第二條碼列條碼資訊C2的組合資訊C1C2。本實施方式中,該第一條碼列條碼資訊C1及第二條碼列條碼資訊C2均為顏色資訊,例如,若感應器50某一次掃描檢測出第一條碼列11的顏色為黑色,第二條碼列12為白色,則感應器50確定該次檢測的條碼資訊為“黑白”。The sensor 50 is facing the exit 66 of the tape measure 10 of the tape measure body 60 for detecting bar code information on the tape measure 10 extending from the tape measure body 60 at a fixed frequency. In the present embodiment, the inductor 50 is a barcode scanner such as a laser or a CCD (Charge-Coupled Device). Specifically, the sensing area of the sensor 50 is a linear sensing area, and the linear sensing area covers the first barcode column 11 and the second barcode array 12, so that the sensor 50 senses the tape measure each time. The bar code information of 10 is combined information C1C2 including the first bar code bar code information C1 and the second bar code bar code information C2. In this embodiment, the first barcode column barcode information C1 and the second barcode column barcode information C2 are color information. For example, if the sensor 50 detects that the color of the first barcode column 11 is black, the second barcode is detected. The column 12 is white, and the sensor 50 determines that the barcode information of the detection is "black and white".

本實施方式中,該顯示單元20為LCD顯示幕、電子紙顯示幕、LED顯示幕等。該存儲單元40中存儲有一長度測量系統200(以下簡稱系統200),該系統200並能被該處理單元30調用實行。在其他實施方式中,該系統200為內嵌在該處理單元30中的程式段/固件。該處理單元30用於根據感應器50檢測到的條碼資訊計算出一長度值並將該長度值顯示在顯示單元20上供使用者查看。In the embodiment, the display unit 20 is an LCD display screen, an electronic paper display screen, an LED display screen, and the like. A length measurement system 200 (hereinafter referred to as system 200) is stored in the storage unit 40, and the system 200 can be invoked by the processing unit 30. In other embodiments, the system 200 is a program segment/firmware embedded in the processing unit 30. The processing unit 30 is configured to calculate a length value according to the barcode information detected by the sensor 50 and display the length value on the display unit 20 for the user to view.

請參考圖4。該系統200包括資訊獲取模組210、計算模組220及顯示控制模組230。本系統200中所稱的模組為執行某一特定功能的程式段。Please refer to Figure 4. The system 200 includes an information acquisition module 210, a calculation module 220, and a display control module 230. The module referred to in the system 200 is a program segment that performs a specific function.

該資訊獲取模組210用於獲取感應器50檢測到的卷尺帶10上的條碼資訊,並將該檢測到的卷尺帶10的條碼資訊存儲於該存儲單元40中。例如,請一併參考圖5,感應器50當前檢測出的卷尺帶10上的條碼資訊為C1C2,該資訊獲取模組210獲取卷尺帶10的條碼資訊C1C2並將該資訊存儲於存儲單元40中;當感應器50當前檢測出的卷尺帶10上的條碼資訊為C2C2,該資訊獲取模組210獲取卷尺帶10的條碼資訊C2C2並將該資訊存儲於存儲單元40中;當感應器50檢測出的當前卷尺帶10上的條碼資訊為C2C1,該資訊獲取模組210獲取卷尺帶10的條碼資訊C2C1並將該資訊存儲於存儲單元40中。The information acquisition module 210 is configured to acquire barcode information on the tape measure 10 detected by the sensor 50, and store the barcode information of the detected tape measure 10 in the storage unit 40. For example, referring to FIG. 5, the bar code information on the tape measure 10 currently detected by the sensor 50 is C1C2, and the information acquisition module 210 acquires the bar code information C1C2 of the tape measure 10 and stores the information in the storage unit 40. When the bar code information on the tape measure 10 currently detected by the sensor 50 is C2C2, the information acquisition module 210 acquires the bar code information C2C2 of the tape measure 10 and stores the information in the storage unit 40; when the sensor 50 detects The bar code information on the current tape measure 10 is C2C1, and the information acquisition module 210 acquires the bar code information C2C1 of the tape measure 10 and stores the information in the storage unit 40.

請一併參閱圖6,所示為本發明一實施方式中條碼資訊變化表T1的示意圖。其中,該條碼資訊變化表T1中定義了條碼資訊變化趨勢與累加變數S增減的關係。該計算模組220用於根據資訊獲取模組210獲取的卷尺帶10的條碼資訊計算累加變數S的值。具體的,該計算模組220首先根據獲取的卷尺帶10的條碼資訊判斷感應器50當前檢測到的條碼資訊與感應器50前次檢測到的條碼資訊是否有變化,若確定卷尺帶10上前後次檢測到的條碼資訊有變化,則進一步判斷該變化的趨勢,並根據該條碼資訊變化趨勢確定對累加變數S加1或減1,若該計算模組220確定卷尺帶10上前後次檢測到的條碼資訊沒有發生變化,則累加變數S的值不變。本實施方式中,該感應器50檢測卷尺帶10的固定頻率為保證該卷尺帶10運動一個條碼寬度時進行至少一次以上的檢測,顯然,該感應器50檢測的固定頻率大於該卷尺帶10伸出卷尺本體60時卷尺帶10上條碼資訊的變化頻率。本實施方式中,該感應器50在卷尺帶10上檢測出的條碼資訊只有C1C2、C2C2、C2C1三種情況。在其他實施方式中,該感應器50對伸出的卷尺帶10上的條碼資訊進行即時的檢測,該計算模組220並在一預定時間後確定該條碼資訊未發生變化時,對該感應器50之前檢測的條碼資訊進行分析,確定該些條碼資訊變化的次數及變化趨勢,而進一步計算該累加變數S。Please refer to FIG. 6 , which is a schematic diagram of a barcode information change table T1 according to an embodiment of the present invention. The bar code information change table T1 defines the relationship between the bar code information change trend and the cumulative variable S increase and decrease. The calculation module 220 is configured to calculate the value of the accumulated variable S according to the barcode information of the tape measure 10 acquired by the information acquisition module 210. Specifically, the computing module 220 first determines, according to the barcode information of the obtained tape measure 10, whether the bar code information currently detected by the sensor 50 and the bar code information detected by the sensor 50 have changed before, if the tape measure 10 is determined before and after If the bar code information detected is changed, the trend of the change is further determined, and the accumulated variable S is incremented or decremented by 1 according to the bar code information change trend. If the calculation module 220 determines that the tape measure 10 is detected one after another. The bar code information does not change, and the value of the accumulated variable S does not change. In this embodiment, the sensor 50 detects the fixed frequency of the tape measure 10 to ensure that the tape measure 10 moves at least one time when the tape width 10 is moved. Obviously, the fixed frequency detected by the sensor 50 is greater than the tape width 10 The frequency of change of bar code information on the tape measure 10 when the tape measure body 60 is out. In the present embodiment, the barcode information detected by the inductor 50 on the tape measure 10 is only C1C2, C2C2, and C2C1. In other embodiments, the sensor 50 performs on-the-spot detection on the bar code information on the extended tape measure 10, and the calculation module 220 determines that the bar code information has not changed after a predetermined time. The bar code information detected before 50 is analyzed to determine the number of times and the trend of the change of the bar code information, and the accumulated variable S is further calculated.

具體的,在本實施方式中,該計算模組220根據條碼資訊變化表T1中的條碼資訊變化趨勢與累加變數S增減的關係計算該累加變數S包括:1)若計算模組220確定條碼資訊變化且變化趨勢為第一變化趨勢時,則計算模組220控制累加變數S加1。其中,如圖6所示,該第一變化趨勢為C1C2->C2C2->C2C1->C1C2,若計算模組220前次卷尺帶10上的條碼資訊為C1C2,而當前卷尺帶10上的條碼資訊為C2C2,或者前次卷尺帶10上的條碼資訊為C2C2,而當前卷尺帶10上的條碼資訊為C2C1,或者前次卷尺帶10上的條碼資訊為C2C1,而當前卷尺帶10上的條碼資訊為C1C2,則計算模組220確定條碼資訊變化趨勢為第一變化趨勢控制累加變數S加1。2)若計算模組220確定條碼資訊變化且變化趨勢為第二變化趨勢時,計算模組220控制累加變數S減1。具體的,該第二變化趨勢為C1C2->C2C1->C2C2->C1C2,若計算模組220確定前次卷尺帶10上的條碼資訊為C1C2,而當前卷尺帶10上的條碼資訊為C2C1,或者確定前次卷尺帶10上的條碼資訊為C2C1,而當前卷尺帶10上的條碼資訊為C2C2,或者確定前次卷尺帶10上的條碼資訊為C2C2,而當前卷尺帶10上的條碼資訊為C1C2,則計算模組220控制累加變數S減1。Specifically, in the embodiment, the calculation module 220 calculates the accumulated variable S according to the relationship between the bar code information change trend and the accumulated variable S in the bar code information change table T1, including: 1) if the calculation module 220 determines the bar code When the information changes and the change trend is the first change trend, the calculation module 220 controls the accumulated variable S plus one. As shown in FIG. 6, the first change trend is C1C2->C2C2->C2C1->C1C2. If the bar code information on the previous tape measure 10 of the calculation module 220 is C1C2, and the bar code on the current tape measure 10 The information is C2C2, or the bar code information on the previous tape measure 10 is C2C2, and the bar code information on the current tape measure 10 is C2C1, or the bar code information on the previous tape measure 10 is C2C1, and the barcode on the current tape measure 10 is 10 The information is C1C2, and the calculation module 220 determines that the bar code information change trend is the first change trend control accumulation variable S plus 1. 2) If the calculation module 220 determines that the bar code information changes and the change trend is the second change trend, the calculation module 220 controls the accumulated variable S minus 1. Specifically, the second change trend is C1C2 -> C2C1 -> C2C2 -> C1C2. If the calculation module 220 determines that the bar code information on the previous tape measure 10 is C1C2, and the bar code information on the current tape measure 10 is C2C1, Or determining that the bar code information on the previous tape measure 10 is C2C1, and the bar code information on the current tape measure 10 is C2C2, or determining that the bar code information on the previous tape measure 10 is C2C2, and the bar code information on the current tape measure 10 is C1C2, the calculation module 220 controls the accumulated variable S minus 1.

請參考圖7,所示為本發明另一實施方式中卷尺帶10的示意圖。該第一條碼列11從卷尺帶10的起始端以第一顏色條碼101、第二顏色條碼102、第一顏色條碼101週期性地交替排布;該第二條碼列12從卷尺帶10的起始端以第一顏色條碼101、第二顏色條碼102、第二顏色條碼102週期性地交替排布。請一併參考圖8,所示為本發明另一實施方式中感應器50檢測卷尺帶10的條碼資訊的示意圖,該感應器50在卷尺帶10上檢測出的條碼資訊只有C1C1、C2C2、C1C2三種情況。請一併參考圖9,該計算模組220根據條碼資訊變化表T2中的條碼資訊變化趨勢與累加變數S增減的關係計算該累加變數S包括:1)若計算模組220確定條碼資訊變化且變化趨勢為第三變化趨勢時,則計算模組220控制累加變數S加1。其中,如圖9所示,該第三變化趨勢為C1C1->C2C2->C1C2->C1C1,若計算模組220前次卷尺帶10上的條碼資訊為C1C1,而當前卷尺帶10上的條碼資訊為C2C2,或者前次卷尺帶10上的條碼資訊為C2C2,而當前卷尺帶10上的條碼資訊為C1C2,或者前次卷尺帶10上的條碼資訊為C1C2,而當前卷尺帶10上的條碼資訊為C1C1,則計算模組220確定條碼資訊變化趨勢為第三變化趨勢控制累加變數S加1。2)若計算模組220確定條碼資訊變化且變化趨勢為第四變化趨勢時,計算模組220控制累加變數S減1。具體的,該第二變化趨勢為C1C1->C1C2->C2C2->C1C1,若計算模組220確定前次卷尺帶10上的條碼資訊為C1C1,而當前卷尺帶10上的條碼資訊為C1C2,或者確定前次卷尺帶10上的條碼資訊為C1C2,而當前卷尺帶10上的條碼資訊為C2C2,或者確定前次卷尺帶10上的條碼資訊為C2C2,而當前卷尺帶10上的條碼資訊為C1C1,則計算模組220控制累加變數S減1。Referring to FIG. 7, a schematic view of a tape measure 10 in accordance with another embodiment of the present invention is shown. The first bar code array 11 is periodically alternately arranged from the beginning end of the tape measure 10 with the first color bar code 101, the second color bar code 102, and the first color bar code 101; the second bar code column 12 is from the tape tape 10 The beginning is periodically alternately arranged with the first color bar code 101, the second color bar code 102, and the second color bar code 102. Please refer to FIG. 8 , which is a schematic diagram of the bar code information of the tape 50 detected by the sensor 50 according to another embodiment of the present invention. The barcode information detected by the sensor 50 on the tape 10 is only C1C1, C2C2, and C1C2. three situations. Referring to FIG. 9 together, the calculation module 220 calculates the accumulated variable S according to the relationship between the bar code information change trend and the accumulated variable S in the bar code information change table T2, including: 1) if the calculation module 220 determines the bar code information change When the change trend is the third change trend, the calculation module 220 controls the accumulated variable S plus one. As shown in FIG. 9, the third change trend is C1C1 -> C2C2 -> C1C2 -> C1C1. If the bar code information on the previous tape measure 10 of the calculation module 220 is C1C1, and the bar code on the current tape measure 10 The information is C2C2, or the bar code information on the previous tape measure 10 is C2C2, and the bar code information on the current tape measure 10 is C1C2, or the bar code information on the previous tape measure 10 is C1C2, and the barcode on the current tape measure 10 is 10 If the information is C1C1, the calculation module 220 determines that the bar code information change trend is the third change trend control accumulation variable S plus 1. 2) If the calculation module 220 determines that the bar code information changes and the change trend is the fourth change trend, the calculation module 220 controls the accumulated variable S minus 1. Specifically, the second change trend is C1C1 -> C1C2 -> C2C2 -> C1C1. If the calculation module 220 determines that the bar code information on the previous tape measure 10 is C1C1, and the bar code information on the current tape measure 10 is C1C2, Or determining that the bar code information on the previous tape measure 10 is C1C2, and the bar code information on the current tape measure 10 is C2C2, or determining that the bar code information on the previous tape measure 10 is C2C2, and the bar code information on the current tape measure 10 is C1C1, the calculation module 220 controls the accumulated variable S minus 1.

如圖1所示,該卷尺本體60上還分別設置有一確定按鍵62和一清零按鍵64。As shown in FIG. 1, the tape measure body 60 is further provided with a determination button 62 and a clear button 64.

該計算模組220還回應使用者對確定按鍵62的按壓操作而控制終止對累加變數S進行計數而確定當前的累加變數S的值並根據確定的累加變數S的值及公式:L=S*W計算長度值L。其中,W為第一條碼列11/第二條碼列12上第一顏色條碼101或第二顏色條碼102的寬度。在其他實施方式中,該計算模組220在累加變數S超過一預定時間(例如2秒)未發生變化時,停止對累加變數S計數,並確定當前的累加變數S,並根據確定的累加變數S及公式:L=S*W計算一長度值L。The calculation module 220 further determines, in response to the user's pressing operation of the determination button 62, the counting of the accumulated variable S to determine the value of the current accumulated variable S and the value and formula according to the determined accumulated variable S: L=S* W calculates the length value L. Where W is the width of the first color bar code 101 or the second color bar code 102 on the first code column 11 / the second bar code column 12 . In other embodiments, the computing module 220 stops counting the accumulated variable S when the accumulated variable S has not changed for more than a predetermined time (for example, 2 seconds), and determines the current accumulated variable S, and according to the determined accumulated variable. S and the formula: L = S * W to calculate a length value L.

該顯示控制模組230用於將計算模組220中計算得出的長度值控制顯示在顯示單元20上以供使用者查看。The display control module 230 is configured to display the calculated length value in the calculation module 220 on the display unit 20 for viewing by the user.

本實施方式中,該系統200還包括計數清零模組240,該計數清零模組240用於回應使用者對清零按鍵64的按壓操作控制累加變數S清零以便電子卷尺100進行下一次測量。在其他實施方式中,該計數清零模組240在感應器50未偵測到條碼資訊時,確定卷尺帶10已經完全收容於該卷尺本體60中,而控制將累加變數S清零。In the embodiment, the system 200 further includes a count clearing module 240 for responding to the user's pressing operation of the clear button 64 to control the accumulated variable S to be cleared so that the electronic tape measure 100 performs the next time. measuring. In other embodiments, the counting and clearing module 240 determines that the tape measure 10 has been completely accommodated in the tape measure body 60 when the sensor 50 does not detect the bar code information, and the control clears the accumulated variable S.

請參考圖10,為本發明中長度測量方法的流程圖。該方法應用在上述的電子卷尺100中,該方法包括步驟:Please refer to FIG. 10, which is a flowchart of a method for measuring length in the present invention. The method is applied to the electronic tape measure 100 described above, the method comprising the steps of:

S301:該資訊獲取模組210獲取感應器50檢測到的卷尺帶10上的條碼資訊,並將該檢測到的卷尺帶10的條碼資訊存儲於該存儲單元40中。S301: The information acquisition module 210 acquires the bar code information on the tape measure 10 detected by the sensor 50, and stores the bar code information of the detected tape measure 10 in the storage unit 40.

S302:該計算模組220根據資訊獲取模組210獲取的卷尺帶10的條碼資訊計算累加變數S的值。其中,該計算模組220根據獲取的卷尺帶10的條碼資訊判斷感應器50當前檢測到的條碼資訊與感應器50前次檢測到的條碼資訊是否有變化,若確定卷尺帶10上前後次檢測到的條碼資訊有變化,則進一步判斷該變化的趨勢,並根據該條碼資訊的變化趨勢確定對累加變數S加1或減1。若該計算模組220確定卷尺帶10上前後次檢測到的條碼資訊沒有發生變化,則累加變數S的值不變。S302: The calculation module 220 calculates the value of the accumulated variable S according to the barcode information of the tape measure 10 acquired by the information acquisition module 210. The calculation module 220 determines, according to the barcode information of the obtained tape measure 10, whether the bar code information currently detected by the sensor 50 and the bar code information detected by the sensor 50 have changed before, and if the tape measure 10 is determined to be detected before and after. If there is a change in the bar code information, the trend of the change is further judged, and the accumulated variable S is incremented or decremented by 1 according to the trend of the bar code information. If the calculation module 220 determines that the bar code information detected on the tape measure 10 has not changed, the value of the accumulated variable S does not change.

在本實施方式中:1)若計算模組220確定條碼資訊變化且變化趨勢為第一變化趨勢時,則計算模組220控制累加變數S加1。其中,如圖6所示,該第一變化趨勢為C1C2(第一顏色、第二顏色)->C2C2(第二顏色、第二顏色)->C2C1(第二顏色、第一顏色)->C1C2(第一顏色、第二顏色),若計算模組220前次卷尺帶10上的條碼資訊為C1C2,而當前卷尺帶10上的條碼資訊為C2C2,或者前次卷尺帶10上的條碼資訊為C2C2,而當前卷尺帶10上的條碼資訊為C2C1,或者前次卷尺帶10上的條碼資訊為C2C1,而當前卷尺帶10上的條碼資訊為C1C2,則計算模組220確定條碼資訊變化趨勢為第一變化趨勢控制累加變數S加1。2)若計算模組220確定條碼資訊變化且變化趨勢為第二變化趨勢時,計算模組220控制累加變數S減1。具體的,該第二變化趨勢為C1C2(第一顏色、第二顏色)->C2C1(第二顏色、第一顏色)->C2C2(第二顏色、第二顏色)->C1C2(第一顏色、第二顏色),若計算模組220確定前次卷尺帶10上的條碼資訊為C1C2,而當前卷尺帶10上的條碼資訊為C2C1,或者定前次卷尺帶10上的條碼資訊為C2C1,而當前卷尺帶10上的條碼資訊為C2C2,或者確定前次卷尺帶10上的條碼資訊為C2C2,而當前卷尺帶10上的條碼資訊為C1C2,則計算模組220控制累加變數S減1。In the present embodiment: 1) If the calculation module 220 determines that the bar code information changes and the change trend is the first change trend, the calculation module 220 controls the accumulated variable S to increase by one. Wherein, as shown in FIG. 6, the first change trend is C1C2 (first color, second color) -> C2C2 (second color, second color) -> C2C1 (second color, first color) -> C1C2 (first color, second color), if the bar code information on the previous tape measure 10 of the calculation module 220 is C1C2, and the bar code information on the current tape measure 10 is C2C2, or the bar code information on the previous tape measure 10 For C2C2, the bar code information on the current tape measure 10 is C2C1, or the bar code information on the previous tape measure 10 is C2C1, and the bar code information on the current tape measure 10 is C1C2, the calculation module 220 determines the bar code information change trend. For the first change trend control, the accumulated variable S is incremented by 1. 2) If the calculation module 220 determines that the bar code information changes and the change trend is the second change trend, the calculation module 220 controls the accumulated variable S to decrease by one. Specifically, the second change trend is C1C2 (first color, second color) -> C2C1 (second color, first color) -> C2C2 (second color, second color) -> C1C2 (first color) The second color), if the calculation module 220 determines that the bar code information on the previous tape measure 10 is C1C2, and the bar code information on the current tape measure 10 is C2C1, or the bar code information on the previous tape measure 10 is C2C1, The bar code information on the current tape measure 10 is C2C2, or the bar code information on the previous tape measure 10 is C2C2, and the bar code information on the current tape measure 10 is C1C2, the calculation module 220 controls the accumulated variable S minus 1.

S303:該計算模組220回應使用者對確定按鍵62的按壓操作而控制停止對累加變數S進行計數而確定當前的累加變數S,並根據確定的累加變數S及公式:L=S*W計算得出一測量長度值L。S303: The computing module 220 controls to stop counting the accumulated variable S in response to the user pressing the determining button 62 to determine the current accumulated variable S, and calculates according to the determined accumulated variable S and the formula: L=S*W A measured length value L is obtained.

S304:該顯示控制模組230將計算模組220中計算得出的長度值控制顯示在顯示單元20上以供使用者查看。S304: The display control module 230 displays the length value calculated in the calculation module 220 on the display unit 20 for the user to view.

其中,該方法還包括步驟:該計數清零模組240回應使用者對清零按鍵64的按壓操作控制累加變數S清零。The method further includes the step of: the counting and clearing module 240 is responsive to the pressing operation of the clearing button 64 by the user to control the accumulated variable S to be cleared.

以上實施例僅用以說明本發明的技術方案而非限制,儘管參照較佳實施例對本發明進行了詳細說明,本領域的普通技術人員應當可以理解,可以對本發明的技術方案進行修改或等同替換,而不脫離本發明技術方案的精神和實質。The above embodiments are only intended to illustrate the technical solutions of the present invention and are not intended to be limiting, and the present invention will be described in detail with reference to the preferred embodiments. Without departing from the spirit and essence of the technical solutions of the present invention.

100‧‧‧電子卷尺100‧‧‧Electronic tape measure

10‧‧‧卷尺帶10‧‧‧ Tape measure tape

20‧‧‧顯示單元20‧‧‧ display unit

30‧‧‧處理單元30‧‧‧Processing unit

40‧‧‧存儲單元40‧‧‧ storage unit

50‧‧‧感應器50‧‧‧ sensor

60‧‧‧卷尺本體60‧‧‧Volume body

62‧‧‧確定按鍵62‧‧‧OK button

64‧‧‧清零按鍵64‧‧‧Clear button

66‧‧‧出口處66‧‧‧Exit

T1、T2‧‧‧條碼資訊變化表T1, T2‧‧‧ barcode information change table

11‧‧‧第一條碼列11‧‧‧first code column

12‧‧‧第二條碼列12‧‧‧Second code column

101‧‧‧第一顏色條碼101‧‧‧First color bar code

102‧‧‧第二顏色條碼102‧‧‧Second color barcode

200‧‧‧長度測量系統200‧‧‧ Length measuring system

210‧‧‧資訊獲取模組210‧‧‧Information acquisition module

220‧‧‧計算模組220‧‧‧Computation Module

230‧‧‧顯示控制模組230‧‧‧Display Control Module

240‧‧‧計數清零模組240‧‧‧Counting Clearing Module

S301~S304‧‧‧步驟S301~S304‧‧‧Steps

no

S301‧‧‧獲取感應器檢測到的卷尺帶上的條碼資訊,並將該檢測到的卷尺帶的條碼資訊存儲於該存儲單元中 S301‧‧‧ obtains the bar code information on the tape measure detected by the sensor, and stores the bar code information of the detected tape tape in the storage unit

S302‧‧‧根據資訊獲取模組獲取的卷尺帶的條碼資訊計算累加變數S的值 S302‧‧‧ Calculate the value of the accumulated variable S based on the bar code information of the tape measure acquired by the information acquisition module

S303‧‧‧回應使用者對確定按鍵的按壓操作而控制停止對累加變數S進行計數而確定當前的累加變數S,並根據確定的累加變數S及公式‧‧‧L=S*W計算得出一測量長度值L S303‧‧‧ In response to the user pressing the determination button, the control stops counting the accumulated variable S to determine the current accumulated variable S, and calculates according to the determined accumulated variable S and the formula ‧‧‧L=S*W A measured length value L

S304‧‧‧將計算模組中計算得出的長度值控制顯示在顯示單元上以供使用者查看 S304‧‧‧ Display the calculated length value in the calculation module on the display unit for the user to view

Claims (10)

一種電子卷尺,該電子卷尺包括卷尺帶及卷尺本體,其改良在於:
該卷尺包括顯示單元、處理單元、存儲單元及感應器;
該卷尺帶上設置有標示條碼資訊的第一條碼列和第二條碼列,該第一條碼列和第二條碼列均包括寬度相等的第一顏色條碼與第二顏色條碼;
該感應器正對該卷尺本體的該卷尺帶的出口處,用於以一固定的頻率檢測從該卷尺本體伸出的卷尺帶上的條碼信息;
該處理單元包括:
資訊獲取模組,用於獲取感應器檢測到的卷尺帶上的條碼資訊並將該條碼資訊存儲在存儲單元中;
計算模組,用於根據資訊獲取模組獲取的卷尺帶的條碼資訊對累加變數S的值進行計數,並回應用戶的操作而控制停止對累加變數S進行計數而確定當前累加變數S的值,並根據確定的累加變數S及公式: L=S*W計算長度值L,其中,W為第一顏色條碼或第二顏色條碼的寬度;及
顯示控制模組,用於控制將計算模組中計算得出的長度值顯示在顯示單元上以供使用者查看。
An electronic tape measure comprising a tape measure tape and a tape measure body, the improvement being:
The tape measure includes a display unit, a processing unit, a storage unit, and a sensor;
The tape strip is provided with a first code column and a second code column for indicating bar code information, and the first code column and the second code column respectively include a first color bar code and a second color bar code having the same width;
The sensor is being at the exit of the tape measure of the tape measure body for detecting bar code information on the tape measure tape extending from the tape measure body at a fixed frequency;
The processing unit includes:
The information acquisition module is configured to obtain barcode information on the tape measure detected by the sensor and store the barcode information in the storage unit;
The calculation module is configured to count the value of the accumulated variable S according to the bar code information of the tape measure acquired by the information acquisition module, and control the stop of counting the accumulated variable S to determine the value of the current accumulated variable S in response to the user operation. And calculating the length value L according to the determined cumulative variable S and the formula: L=S*W, wherein W is the width of the first color barcode or the second color barcode; and the display control module is used to control the calculation module The calculated length value is displayed on the display unit for the user to view.
如申請專利範圍第1項所述的電子卷尺,其中,該計算模組根據獲取的卷尺帶的條碼資訊判斷感應器當前檢測到的條碼資訊與感應器前次檢測到的條碼資訊是否有變化,若確定卷尺帶上前後次檢測到的條碼資訊有變化,則進一步判斷條碼資訊變化趨勢,並根據該條碼資訊變化趨勢確定對累加變數S加1或減1,若該計算模組確定卷尺帶上前後次檢測到的條碼資訊沒有發生變化,則累加變數S的值不變。The electronic tape measure of claim 1, wherein the calculation module determines, according to the barcode information of the obtained tape measure, whether the bar code information currently detected by the sensor and the bar code information detected by the sensor have changed. If it is determined that the bar code information detected on the tape measure has changed, the bar code information change trend is further determined, and the accumulated variable S is added or subtracted according to the bar code information change trend, if the calculation module determines the tape measure tape If the bar code information detected before and after does not change, the value of the accumulated variable S does not change. 如申請專利範圍第2項所述的電子卷尺,其中,該第一條碼列從卷尺帶的起始端以第一顏色條碼、第二顏色條碼、第二顏色條碼週期性地交替排布,該第二條碼列從該卷尺帶的該起始端以第二顏色條碼、第二顏色條碼、第一顏色條碼週期性地交替排布,該計算模組根據條碼資訊變化趨勢計算該累加變數S包括:若計算模組確定條碼資訊變化且變化趨勢為第一變化趨勢時,則計算模組控制累加變數S加1,其中,該第一變化趨勢為該條碼資訊從第一顏色、第二顏色變化至第二顏色、第二顏色,或從第二顏色、第二顏色變化至第二顏色、第一顏色,或從第二顏色、第一顏色變化至第一顏色、第二顏色;若計算模組確定條碼資訊變化且變化趨勢為第二變化趨勢時,計算模組控制累加變數S減1,其中,該第二變化趨勢為該條碼資訊從第一顏色、第二顏色變化至第二顏色、第一顏色,或從第二顏色、第一顏色變化至第二顏色、第二顏色,或從第二顏色、第二顏色變化至第一顏色、第二顏色。The electronic tape measure of claim 2, wherein the first code sequence is periodically alternately arranged from a starting end of the tape measure with a first color bar code, a second color bar code, and a second color bar code. The two code sequences are periodically arranged alternately from the beginning end of the tape measure with the second color bar code, the second color bar code, and the first color bar code, and the calculation module calculates the accumulated variable S according to the bar code information change trend: When the calculation module determines that the bar code information changes and the change trend is the first change trend, the calculation module controls the accumulated variable S plus 1, wherein the first change trend is that the bar code information changes from the first color and the second color to the first a second color, a second color, or a change from the second color, the second color to the second color, the first color, or from the second color, the first color to the first color, the second color; When the bar code information changes and the change trend is the second change trend, the calculation module controls the accumulated variable S minus 1, wherein the second change trend is that the bar code information changes from the first color and the second color to the first Color, the first color or the second color, the first color change to a second color, the second color or the second color, the second color change to the first color, the second color. 如申請專利範圍第2項所述的電子卷尺,其中,該第一條碼列從卷尺帶的起始端以第一顏色條碼、第二顏色條碼、第一顏色條碼週期性地交替排布;該第二條碼列從卷尺帶的起始端以第一顏色條碼、第二顏色條碼、第二顏色條碼週期性地交替排布,該計算模組根據條碼資訊變化趨勢計算累加變數S包括:若計算模組確定條碼資訊變化且變化趨勢為第三變化趨勢時,則計算模組控制累加變數S加1,其中,該第三變化趨勢為該條碼資訊從第一顏色、第一顏色變化至第二顏色、第二顏色,或從第二顏色、第二顏色變化至第一顏色、第二顏色,或從第一顏色、第二顏色變化至第一顏色、第一顏色;若計算模組確定條碼資訊變化且變化趨勢為第四變化趨勢時,計算模組控制累加變數S減1,其中,該第四變化趨勢為該條碼資訊從第一顏色、第一顏色變化至第一顏色、第二顏色,或從第一顏色、第二顏色變化至第二顏色、第二顏色,或從第二顏色、第二顏色變化至第一顏色、第一顏色。The electronic tape measure of claim 2, wherein the first code sequence is periodically alternately arranged from a starting end of the tape measure with a first color bar code, a second color bar code, and a first color bar code; The two code columns are alternately arranged from the beginning end of the tape measure with the first color bar code, the second color bar code, and the second color bar code. The calculation module calculates the accumulated variable S according to the bar code information change trend, including: When the bar code information is changed and the change trend is the third change trend, the calculation module controls the accumulated variable S plus 1, wherein the third change trend is that the bar code information changes from the first color, the first color to the second color, The second color, or changes from the second color, the second color to the first color, the second color, or from the first color, the second color to the first color, the first color; if the calculation module determines the bar code information change And when the change trend is the fourth change trend, the calculation module controls the accumulated variable S minus 1, wherein the fourth change trend is that the bar code information changes from the first color, the first color to the first color A second color, or from a first color, a second color change to a second color, the second color or the second color, the second color to the first color change, a first color. 如申請專利範圍第1項所述的電子卷尺,其中,該卷尺本體上還設置有一清零按鍵,該處理單元還包括一計數清零模組,該計數清零模組用於回應使用者對清零按鍵的按壓操作控制累加變數S清零以便電子卷尺進行下一次測量。The electronic tape measure of claim 1, wherein the tape body is further provided with a clear button, and the processing unit further comprises a counting and clearing module, wherein the counting and clearing module is configured to respond to the user The pressing operation of the clear button controls the accumulated variable S to be cleared so that the electronic tape measure performs the next measurement. 一種長度測量系統,應用在一電子卷尺中,其改良在於,該系統包括:
資訊獲取模組,用於獲取感應器檢測到的卷尺帶上的條碼資訊並將該條碼資訊存儲在存儲單元中;
計算模組,用於根據資訊獲取模組獲取的卷尺帶的條碼資訊對累加變數S的值進行計數,並回應用戶的操作而控制停止對累加變數S進行計數而確定當前累加變數S的值,並根據確定的累加變數S及公式: L=S*W計算長度值L;及
顯示控制模組,用於控制將計算模組中計算得出的長度值顯示在顯示單元上以供使用者查看。
A length measuring system for use in an electronic tape measure, the improvement being that the system comprises:
The information acquisition module is configured to obtain barcode information on the tape measure detected by the sensor and store the barcode information in the storage unit;
The calculation module is configured to count the value of the accumulated variable S according to the bar code information of the tape measure acquired by the information acquisition module, and control the stop of counting the accumulated variable S to determine the value of the current accumulated variable S in response to the user operation. And according to the determined cumulative variable S and the formula: L=S*W calculates the length value L; and the display control module is configured to control the length value calculated in the calculation module to be displayed on the display unit for the user to view .
如申請專利範圍第6項所述的長度測量系統,其中,該計算模組根據獲取的卷尺帶的條碼資訊判斷感應器當前檢測到的條碼資訊與感應器前次檢測到的條碼資訊是否有變化,若確定卷尺帶上前後次檢測到的條碼資訊有變化,則進一步判斷條碼資訊變化趨勢,並根據該條碼資訊變化趨勢確定對累加變數S加1或減1,若該計算模組確定卷尺帶上前後次檢測到的條碼資訊沒有發生變化,則累加變數S的值不變。The length measuring system of claim 6, wherein the calculating module determines, according to the barcode information of the obtained tape measure, whether the bar code information currently detected by the sensor and the bar code information detected by the sensor have changed before. If it is determined that the bar code information detected on the tape measure has changed, the bar code information change trend is further determined, and the accumulated variable S is added or subtracted according to the bar code information change trend, if the calculation module determines the tape measure band If the bar code information detected last time does not change, the value of the accumulated variable S does not change. 如申請專利範圍第7項所述的長度測量系統,其中,該計算模組根據條碼資訊變化趨勢計算該累加變數S包括:若計算模組確定條碼資訊變化且變化趨勢為第一變化趨勢時,則計算模組控制累加變數S加1,其中,該第一變化趨勢為該條碼資訊從第一顏色、第二顏色變化至第二顏色、第二顏色,或從第二顏色、第二顏色變化至第二顏色、第一顏色,或從第二顏色、第一顏色變化至第一顏色、第二顏色;若計算模組確定條碼資訊變化且變化趨勢為第二變化趨勢時,計算模組控制累加變數S減1,其中,該第二變化趨勢為該條碼資訊從第一顏色、第二顏色變化至第二顏色、第一顏色,或從第二顏色、第一顏色變化至第二顏色、第二顏色,或從第二顏色、第二顏色變化至第一顏色、第二顏色。The length measurement system of claim 7, wherein the calculating module calculates the accumulated variable S according to the bar code information change trend, comprising: if the calculation module determines that the bar code information changes and the change trend is the first change trend, The calculation module controls the accumulated variable S plus 1, wherein the first change trend is that the bar code information changes from the first color, the second color to the second color, the second color, or changes from the second color and the second color. To the second color, the first color, or from the second color, the first color to the first color, the second color; if the calculation module determines that the bar code information changes and the change trend is the second change trend, the calculation module controls The accumulated variable S is decremented by 1, wherein the second change trend is that the bar code information changes from the first color, the second color to the second color, the first color, or changes from the second color, the first color to the second color, The second color, or changes from the second color, the second color to the first color, the second color. 一種長度測量方法,應用在一電子卷尺中,其改良在於,該方法包括步驟:
獲取感應器檢測到的卷尺帶上的條碼資訊並將該條碼資訊存儲在存儲單元中;
根據獲取的條碼資訊對累加變數S進行計數,並回應用戶對操作而控制停止對累加變數S計數而確定當前的累加變數S,並根據確定的累加變數S及公式L=S*W計算一長度值L;及
將計算得出的長度值L控制顯示在顯示單元上以供使用者查看。
A length measuring method for use in an electronic tape measure, the improvement comprising the steps of:
Obtaining bar code information on the tape measure detected by the sensor and storing the bar code information in the storage unit;
Counting the accumulated variable S according to the acquired bar code information, and in response to the user controlling the operation to stop counting the accumulated variable S, determining the current accumulated variable S, and calculating a length according to the determined accumulated variable S and the formula L=S*W The value L; and the calculated length value L control is displayed on the display unit for the user to view.
如申請專利範圍第9項所述的長度測量方法,其中,在步驟“根據獲取的條碼資訊對累加變數S進行計數,並回應用戶對操作而控制停止對累加變數S計數而確定當前的累加變數S,並根據確定的累加變數S及公式L=S*W計算一長度值L”中包括:
根據獲取的卷尺帶的條碼資訊判斷感應器當前檢測到的條碼資訊與感應器前次檢測到的條碼資訊是否有變化,若確定卷尺帶上前後次檢測到的條碼資訊有變化,則進一步判斷該條碼資訊變化趨勢,並根據該條碼資訊變化趨勢確定對累加變數S加1或減1,若該計算模組確定卷尺帶上前後次檢測到的條碼資訊沒有發生變化,則累加變數S的值不變。
The length measuring method according to claim 9, wherein in step "counting the accumulated variable S based on the acquired bar code information, and in response to the user controlling the operation to stop counting the accumulated variable S, determining the current accumulated variable S, and calculating a length value L according to the determined cumulative variable S and the formula L=S*W includes:
According to the bar code information of the obtained tape measure, it is judged whether the bar code information currently detected by the sensor and the bar code information detected by the sensor have changed. If it is determined that the bar code information detected on the tape measure has changed before and after, the further judgment is made. The bar code information changes trend, and according to the bar code information change trend, it is determined that the accumulated variable S is incremented or decremented by 1. If the calculation module determines that the bar code information detected before and after the tape measure does not change, the value of the accumulated variable S is not change.
TW104100648A 2015-01-09 2015-01-09 Length measurement system, method and electronic tape TW201629428A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104100648A TW201629428A (en) 2015-01-09 2015-01-09 Length measurement system, method and electronic tape

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104100648A TW201629428A (en) 2015-01-09 2015-01-09 Length measurement system, method and electronic tape

Publications (1)

Publication Number Publication Date
TW201629428A true TW201629428A (en) 2016-08-16

Family

ID=57182141

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104100648A TW201629428A (en) 2015-01-09 2015-01-09 Length measurement system, method and electronic tape

Country Status (1)

Country Link
TW (1) TW201629428A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106871844A (en) * 2017-03-11 2017-06-20 北京林业大学 A kind of utilization mobile phone scanning electron bar code encloses the method that chi one-man service measures tree breast-height diameter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106871844A (en) * 2017-03-11 2017-06-20 北京林业大学 A kind of utilization mobile phone scanning electron bar code encloses the method that chi one-man service measures tree breast-height diameter

Similar Documents

Publication Publication Date Title
JP6911973B2 (en) Image display device, image display method and program
CN102494616B (en) Length measuring method based on mobile terminal
US8907901B2 (en) Motion sensor data processing and interface and method thereof
CN105554247A (en) Measuring method, measuring system and terminal
JP2012073708A5 (en)
US20160091359A1 (en) System and method for measuring segment parameters of a human body for recording a body mass index
TW594663B (en) Method of controlling brightness of user-selected area for image display device
ATE515689T1 (en) DEVICE FOR MEASURING VISION DISTANCE
TW200641329A (en) Overlay measurement apparatus
TW201629428A (en) Length measurement system, method and electronic tape
KR102534577B1 (en) Gas analysis system and gas analysis method
EP1903311A3 (en) Pedometer
CN105758272A (en) Length measurement system and method and electronic measuring tape
KR101486142B1 (en) Apparatus and method for user-defined psudeo color of thermal imaging camera
CN107483659B (en) Control method and device based on proximity sensor and mobile terminal
JP2011013228A5 (en)
JP4939963B2 (en) Pedometer
KR101127860B1 (en) An apparatus for measuring broad jump
US9746961B2 (en) Background signal processing system and background signal processing method
KR101944279B1 (en) Camera module apparatus and method for measuring distance of the same
RU2017129116A (en) SYSTEM AND METHOD FOR MEASURING THE WAY LENGTH USING A POCKET ELECTRONIC DEVICE
JP2006209626A5 (en)
US9569033B2 (en) Background signal processing system and background signal processing method
TWI536224B (en) Background signal processing methods and systems
KR102359654B1 (en) Apparatus for Measuring Length Digital