TWI498582B - A 3-dimensions space positioning method - Google Patents

A 3-dimensions space positioning method Download PDF

Info

Publication number
TWI498582B
TWI498582B TW102148471A TW102148471A TWI498582B TW I498582 B TWI498582 B TW I498582B TW 102148471 A TW102148471 A TW 102148471A TW 102148471 A TW102148471 A TW 102148471A TW I498582 B TWI498582 B TW I498582B
Authority
TW
Taiwan
Prior art keywords
positioning
signal strength
tag
strength index
tracking
Prior art date
Application number
TW102148471A
Other languages
Chinese (zh)
Other versions
TW201525510A (en
Inventor
Hsu Yang Kung
Zhi Jun Zhang
Sih Ying Li
Mei Hsien Lin
Yu Hsin Luo
Ching Mei Chu
Tsung Jui Lin
Original Assignee
Univ Nat Pingtung Sci & Tech
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 Univ Nat Pingtung Sci & Tech filed Critical Univ Nat Pingtung Sci & Tech
Priority to TW102148471A priority Critical patent/TWI498582B/en
Publication of TW201525510A publication Critical patent/TW201525510A/en
Application granted granted Critical
Publication of TWI498582B publication Critical patent/TWI498582B/en

Links

Landscapes

  • Radar Systems Or Details Thereof (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Description

三維空間定位方法Three-dimensional spatial positioning method

本發明係關於一種定位方法;特別是關於一種三維空間定位方法。The present invention relates to a positioning method; and more particularly to a three-dimensional spatial positioning method.

隨著科技發展,紅外線、超音波、IEEE 802.11或無線射頻辨識技術(RFID)等已逐漸成為定位技術的主流,其中,RFID定位技術具有穩定性高、環境容性佳及成本低等優點,且可利用訊號抵達角度(AoA)、訊號抵達時間(ToA)、訊號抵達時間差(TDoA)及接收訊號強度(RSSI)等技術進行定位,而漸受青睞。其中,接收訊號強度的技術適用於大範圍佈署,且成本低,能應用於行動運算裝置,逐漸成為RFID定位技術的研發重點,舉例說明如下。With the development of technology, infrared, ultrasonic, IEEE 802.11 or radio frequency identification (RFID) technology has gradually become the mainstream of positioning technology, among which RFID positioning technology has the advantages of high stability, good environmental tolerance and low cost. It can be used for positioning by means of signal arrival angle (AoA), signal arrival time (ToA), signal arrival time difference (TDoA) and received signal strength (RSSI). Among them, the technology of receiving signal strength is suitable for large-scale deployment, and the cost is low, and can be applied to mobile computing devices, and gradually becomes the research and development focus of RFID positioning technology, as illustrated below.

典型的RFID定位技術為LANDMARC演算法(詳參「Pahlavan,K.,L.Xinrong,J.P.Makela,“Indoor geolocation science and technology,”IEEE Communications Magazine,Vol.40,No.2,2002,pp.112-118.」)。G.Y.Jin等學者(2006)以LANDMARC為參考基礎,提出參考標籤的篩選機制,進而改良室內定位的精確度,並減少RFID標籤的建置數量;S.T.Shih等學者(2006)引用LANDMARC的理論,並以訊號強度決定權重,再利用權重代表物體遠近,進而使用三角形劃分區域,慢慢逼近目標點;Xuejing Jiang等學者(2009)經由LANDMARC系統定位後,將參考標籤與最接近的追蹤標籤(Tracking Tag)互換,再次定位後,與之前的實驗結果比較,可提高系統的定位準確度;Chai-Hao Chang等學者(2009) 則結合RFID與超音波技術進行定位實驗,降低RFID訊號受外界干擾所造成的影響。另,中華民國專利公開第201032138 A1號「RFID定位方法及其系統」揭示,電腦可藉由數個中繼識別訊息的RSSI值,以定位演算法(例如三角定位演算法)計算出RFID標籤的座標位置。然而,上述研究內容僅適用於二維(2-D)空間的定位,無法符合三維(3-D)空間的定位需求。A typical RFID positioning technique is the LANDMARC algorithm (see "Pahlavan, K., L. Xinrong, JPMakela, "Indoor geolocation science and technology," IEEE Communications Magazine, Vol. 40, No. 2, 2002, pp. 112). -118."). GYJin and other scholars (2006) used LANDMARC as a reference to propose a screening mechanism for reference tags, thereby improving the accuracy of indoor positioning and reducing the number of RFID tags. STShih et al. (2006) cited the theory of LANDMARC, and The signal strength determines the weight, and the weight is used to represent the object's distance, and then the triangle is used to divide the region and slowly approach the target point. Xuejing Jiang and other scholars (2009) locate the reference tag and the closest tracking tag (Tracking Tag) after positioning through the LANDMARC system. ) Interchange, after repositioning, compared with previous experimental results, can improve the positioning accuracy of the system; Chai-Hao Chang and other scholars (2009) Then combined with RFID and ultrasonic technology for positioning experiments to reduce the impact of RFID signals caused by external interference. In addition, the "RFID positioning method and system thereof" of the Republic of China Patent Publication No. 201032138 A1 discloses that a computer can calculate an RFID tag by a positioning algorithm (for example, a triangulation algorithm) by using a plurality of relays to identify the RSSI value of a message. Coordinate position. However, the above research content is only applicable to the positioning of two-dimensional (2-D) space, and cannot meet the positioning requirements of three-dimensional (3-D) space.

此外,M Ayoub Khan等學者(2009)雖以實驗結果指出LANDMARC演算法運用於三維空間是可行的。惟其定位精準度不佳,且在取鄰近點的方式上仍須調整與改善,方可實際應用於三維空間定位。In addition, M Ayoub Khan and other scholars (2009) have shown experimental results that the LANDMARC algorithm is feasible in three-dimensional space. However, its positioning accuracy is not good, and it still needs to be adjusted and improved in the way of taking adjacent points, so that it can be practically applied to three-dimensional positioning.

有鑑於此,有必要提出一種三維空間定位方法,以改善上述基於LANDMARC先前技術的缺點,符合三維空間的定位需求,提升其實用性。In view of this, it is necessary to propose a three-dimensional spatial positioning method to improve the above-mentioned shortcomings based on the previous technology of LANDMARC, conform to the positioning requirements of the three-dimensional space, and improve its practicability.

本發明之主要目的係提供一種三維空間定位方法,以提高RFID應用於三維空間定位的精確度。The main object of the present invention is to provide a three-dimensional spatial positioning method to improve the accuracy of RFID application in three-dimensional spatial positioning.

本發明提出一種三維空間定位方法,包含:設置八個讀取器於一立方形空間的八個角落,於該立方形空間中均勻佈置數個參考標籤,該些讀取器收集各參考標籤的訊號強度指數,交由一電腦系統計算該些訊號強度指數的平均值及標準差,將偏離該標準差的訊號強度指數濾除後,計算各訊號強度指數的機率密度函數,該機率密度函數的計算方式如下式所示: 其中,f(x)為該機率密度函數,x為欲計算機率密度函數的訊號強度指數,σ為標準差,μ為平均值,以一類神經網路訓練各訊號強度指數及所屬參考標籤的座標,用以產生該參考標籤的間距;由該讀取器收集一追蹤標籤的 訊號強度指數,交由該電腦系統計算該追蹤標籤與各參考標籤之訊號強度指數的差值,選取差值較小的八個參考標籤作為八個定位標籤;及由該電腦系統計算該追蹤標籤與各定位標籤間訊號強度指數的相關係數,依據該相關係數計算各定位標籤的權重值,依據各權重值及其所屬定位標籤的座標計算該追蹤標籤的座標。The present invention provides a three-dimensional spatial positioning method, comprising: setting eight readers at eight corners of a cubic space, and uniformly arranging a plurality of reference labels in the cubic space, the readers collecting the reference labels The signal strength index is calculated by a computer system to calculate an average value and a standard deviation of the signal strength indexes, and after filtering out the signal intensity index deviating from the standard deviation, calculating a probability density function of each signal intensity index, the probability density function The calculation is as follows: Where f(x) is the probability density function, x is the signal strength index for the computer rate density function, σ is the standard deviation, μ is the average value, and each signal strength index and the coordinates of the reference label are trained by a type of neural network. For generating the spacing of the reference label; collecting, by the reader, a signal strength index of the tracking label, and submitting to the computer system to calculate a difference between the tracking label and the signal strength index of each reference label, and selecting a smaller difference The eight reference tags are used as eight positioning tags; and the computer system calculates a correlation coefficient between the tracking tag and the signal strength index between the positioning tags, and calculates a weight value of each positioning tag according to the correlation coefficient, according to each weight value and The coordinates of the positioning tag are calculated to calculate the coordinates of the tracking tag.

較佳地,該平均值的計算方式係如下式所示: 其中,μ、為平均值,n為該些訊號強度指數的數量,k(k [1,n ])為各參考標籤的編號,xk 為各參考標籤的訊號強度指數。Preferably, the average is calculated as follows: Among them, μ, For the average, n is the number of these signal strength indices, k( k [1, n ]) is the number of each reference label, and x k is the signal strength index of each reference label.

較佳地,該標準差的計算方式係如下式所示: 其中,σ為標準差,μ為平均值,n為該些訊號強度指數的數量,k(k [1,n ])為各參考標籤的編號,xk 為各參考標籤的訊號強度指數。Preferably, the standard deviation is calculated as follows: Where σ is the standard deviation, μ is the average value, and n is the number of the signal strength indices, k( k [1, n ]) is the number of each reference label, and x k is the signal strength index of each reference label.

較佳地,該相關係數的計算方式係如下式所示: 其中,i為該數個定位標籤的編號,Ei 為第i個定位標籤與該追蹤標籤間訊號強度指數的相關係數,θi 為各定位標籤的訊號強度指數,S為該追蹤標籤的訊號強度指數,n為該定位標籤的數量。Preferably, the correlation coefficient is calculated as follows: Where i is the number of the plurality of positioning tags, E i is a correlation coefficient between the i-th positioning tag and the signal strength index of the tracking tag, θ i is a signal strength index of each positioning tag, and S is a signal of the tracking tag Strength index, where n is the number of the positioning tags.

較佳地,該權重值的計算方式係如下式所示: 其中,i、j為該數個定位標籤的編號,wi 為第j個定位標籤的權重值,k為該定位標籤的數量,Ei 為第i個定位標籤與該追蹤標籤間訊號強度指數的 相關係數。Preferably, the weight value is calculated as follows: Where i and j are the numbers of the plurality of positioning tags, w i is the weight value of the jth positioning tag, k is the number of the positioning tags, and E i is the signal strength index between the i th positioning tag and the tracking tag Correlation coefficient.

較佳地,該追蹤標籤的座標計算方式係如下式所示: 其中,(x,y,z)為該追蹤標籤的座標,k為該定位標籤的數量,wj 為第j個定位標籤的權重值,(xi ,yi ,zi )為第i個定位標籤的座標。Preferably, the coordinates of the tracking tag are calculated as follows: Where (x, y, z) is the coordinate of the tracking tag, k is the number of the positioning tags, w j is the weight value of the jth positioning tag, and (x i , y i , z i ) is the ith Position the coordinates of the label.

〔本發明〕〔this invention〕

1‧‧‧實體層1‧‧‧ physical layer

11‧‧‧讀取器11‧‧‧Reader

11a~11h‧‧‧讀取器11a~11h‧‧‧Reader

12‧‧‧參考標籤12‧‧‧ Reference Label

12a’~12h’‧‧‧定位標籤12a’~12h’‧‧‧ Positioning Label

2‧‧‧定位層2‧‧‧Positioning layer

21‧‧‧訊號收集模組21‧‧‧Signal collection module

22‧‧‧範圍切割模組22‧‧‧Scope cutting module

23‧‧‧座標定位模組23‧‧‧Coordinate positioning module

24‧‧‧資料庫24‧‧‧Database

3‧‧‧應用層3‧‧‧Application layer

31‧‧‧圖書書目管理系統31‧‧‧Book Bibliographic Management System

32‧‧‧物流倉儲管理系統32‧‧‧Logistics warehousing management system

33‧‧‧家庭物品管理系統33‧‧‧Household Goods Management System

C‧‧‧角落C‧‧‧ corner

P‧‧‧立方形空間P‧‧‧ cubic space

R‧‧‧電腦系統R‧‧‧ computer system

T‧‧‧追蹤標籤T‧‧‧ Tracking Label

X,Y,Z‧‧‧軸X, Y, Z‧‧‧ axes

S1‧‧‧訓練步驟S1‧‧‧ training steps

S2‧‧‧切割步驟S2‧‧‧ cutting steps

S3‧‧‧定位步驟S3‧‧‧ positioning steps

第1圖係本發明三維空間定位方法一實施例之系統架構圖。1 is a system architecture diagram of an embodiment of a three-dimensional spatial positioning method of the present invention.

第2圖係本發明三維空間定位方法一實施例之運作流程圖。Figure 2 is a flow chart showing the operation of an embodiment of the three-dimensional spatial positioning method of the present invention.

第3圖係本發明三維空間定位方法一實施例之標籤位置前視與透視示意圖。3 is a front view and a perspective view of a label position of an embodiment of the three-dimensional spatial positioning method of the present invention.

第4圖係本發明三維空間定位方法一實施例之標籤座標示意圖。Figure 4 is a schematic diagram of the label coordinates of an embodiment of the three-dimensional spatial positioning method of the present invention.

為讓本發明之上述及其他目的、特徵及優點能更明顯易懂,下文特舉本發明之較佳實施例,並配合所附圖式,作詳細說明如下:本發明全文所述之「無線射頻辨識技術」(Radio Frequency Identification,RFID),係指一讀取器(Reader)可藉由無線射頻訊號辨識不同標籤(Tag)的技術,並可依該標籤是否具有傳輸能力,而分為主動式及被動式RFID標籤,係本發明所屬技術領域中具有通常知識者可以理解。The above and other objects, features and advantages of the present invention will become more <RTIgt; "Radio Frequency Identification" (RFID) refers to a technology in which a reader can identify different tags by radio frequency signals, and can be divided into active according to whether the tag has transmission capability. And passive RFID tags are understood by those of ordinary skill in the art to which the present invention pertains.

本發明全文所述之「耦接」(coupled connection),係指二裝置之間藉由無線通訊方式(如:RFID技術)相互傳遞資料,係本發明所屬技術領域中具有通常知識者可以理解。The "coupled connection" as used throughout the present invention refers to the mutual transfer of data between two devices by means of wireless communication (e.g., RFID technology), as will be understood by those of ordinary skill in the art to which the present invention pertains.

本發明全文所述之「立方形空間」(cubic space),係指一個 呈現立方形的空間範圍,該空間範圍具有八個角落(corner),各角落位於立方形的各頂點處,係本發明所屬技術領域中具有通常知識者可以理解。The "cubic space" as used throughout the text of the present invention means a A cubic spatial extent is presented having eight corners, each corner being located at each vertex of the cuboid, as will be understood by those of ordinary skill in the art to which the present invention pertains.

本發明全文所述之「倒傳遞類神經網路」(Back-propagation neural network,BPN),係指將多層感知機(MLP)與誤差倒傳遞演算法(Error Back Propagation,EBP)融合的類神經網路技術(詳參「張斐章,張麗秋,”類神經網路”,東華書局,2005」),其中,倒傳遞類神經網路在學習階段時,會將輸出時所產生的誤差值,自輸出層往回傳遞至隱藏層,再至輸入層,並修正網路間的鍵結值,以求得到更接近所期望的輸出結果,係本發明所屬技術領域中具有通常知識者可以理解。The "Back-propagation neural network" (BPN) described in the full text of the present invention refers to a neural network that combines a multilayer perceptron (MLP) with an Error Back Propagation (EBP) algorithm. Network technology (see "Zhang Feizhang, Zhang Liqiu," Neural Network", Donghua Book Company, 2005"), in which the inverted transmission neural network will output the error value from the output during the learning phase. The layer is passed back to the hidden layer, to the input layer, and the bond values between the networks are corrected to obtain a more closely expected output, as will be understood by those of ordinary skill in the art to which the present invention pertains.

請參閱第1圖所示,其係本發明三維空間定位方法一實施例之系統架構圖。其中,一個三維空間定位系統包含一實體層1及一定位層2,該實體層1設有數個讀取器(RFID Reader)11及數個參考標籤(Reference Tag)12,該數個參考標籤12較佳均勻佈置於三維空間中,該讀取器11耦接該參考標籤12,用以收集該參考標籤12的訊號強度指數(Received Signal Strength Index,RSSI),並傳送至該定位層2。在此實施例中,該RFID標籤12係以被動式RFID標籤作為實施態樣,惟不以此為限。Please refer to FIG. 1 , which is a system architecture diagram of an embodiment of a three-dimensional spatial positioning method according to the present invention. The three-dimensional spatial positioning system includes a physical layer 1 and a positioning layer 2, and the physical layer 1 is provided with a plurality of readers (RFID Readers) 11 and a plurality of reference tags 12, the reference tags 12 Preferably, the reader 11 is coupled to the reference tag 12 for collecting the Received Signal Strength Index (RSSI) of the reference tag 12 and transmitting it to the positioning layer 2. In this embodiment, the RFID tag 12 is implemented as a passive RFID tag, but is not limited thereto.

請再參閱第1圖所示,該定位層2可由一個可接收該訊號強度指數的電腦系統R執行一軟體程式,該電腦系統R可耦接上述讀取器11,該軟體程式可規劃成一訊號收集模組(module)21、一範圍切割模組22、一座標定位模組23及一資料庫24,用以依據該訊號強度指數計算設於一目標物(Target)之追蹤標籤(Tracking Tag)的座標。在此實施例中,該定位層2之訊號收集模組21具有〝收集訊號強度〞、〝機率密度函數(Probability Density Function,PDF)〞及〝類神經網路(如:倒傳遞類神經網路)〞等功能,用以確定已經篩選之RSSI值的範圍與距離的關係,並送至已訓練完成的類神經網路;該範圍切割模組22具有〝範圍分割,如: 〝(algorithm)〞及〝範圍確認〞等功能,用以選取數個距離該追蹤標籤較近的參考標籤12,並依據該參考標籤12以Divide-and-Conquer演算法進行範圍切割,以估算該追蹤標籤的範圍;該座標定位模組23具有〝估算RSSI關係集合〞、〝估算參考標籤權重〞及〝估算追蹤標籤座標〞等功能,用以計算該追蹤標籤與參考標籤之間的RSSI值的關係集合,透過該追蹤標籤與參考標籤的關係計算各參考標籤的權重,依據各參考標籤的權重計算該追蹤標籤的座標;該資料庫24用以儲存上述計算過程所需的數值;惟不以此為限。Referring to FIG. 1 again, the positioning layer 2 can execute a software program by a computer system R that can receive the signal strength index. The computer system R can be coupled to the reader 11 and the software program can be planned into a signal. A module 21, a range cutting module 22, a standard positioning module 23, and a database 24 for calculating a tracking tag set in a target according to the signal strength index. The coordinates of the coordinates. In this embodiment, the signal collection module 21 of the positioning layer 2 has a signal strength 〞, a Probability Density Function (PDF), and a 神经-like neural network (eg, a reverse-transfer-like neural network). The function is used to determine the relationship between the range of the RSSI values that have been screened and the distance, and is sent to the trained neural network; the range cutting module 22 has a range segmentation, such as: Al (algorithm) 〝 and 〝 range confirmation function, etc., for selecting a plurality of reference tags 12 that are closer to the tracking tag, and performing range cutting according to the reference tag 12 by the Divide-and-Conquer algorithm to estimate the Tracking the range of the tag; the coordinate positioning module 23 has a function of estimating the RSSI relationship set 〞, 〝 estimating the reference tag weight 〞, and 〝 estimating the tracking tag coordinate , to calculate the RSSI value between the tracking tag and the reference tag. a relationship set, the weight of each reference label is calculated by the relationship between the tracking label and the reference label, and the coordinates of the tracking label are calculated according to the weight of each reference label; the database 24 is used to store the value required by the calculation process; This is limited.

請再參閱第1圖所示,該定位層2還可藉由有線或無線網路連結一應用層3,該應用層3可為具有特殊應用功能的電腦系統,如:圖書書目管理系統、物流倉儲管理系統或家庭物品管理系統等,用以依據上述位置資訊執行圖書書目管理、物流倉儲管理或家庭物品管理等特殊應用功能,惟不以此為限。在此實施例中,該應用層3包含一圖書書目管理系統31、一物流倉儲管理系統32及一家庭物品管理系統33,惟不以此為限。Referring to FIG. 1 again, the positioning layer 2 can also be connected to an application layer 3 by using a wired or wireless network. The application layer 3 can be a computer system with special application functions, such as a book bibliographic management system and logistics. The warehouse management system or the household item management system is used to perform special application functions such as book bibliographic management, logistics storage management or household item management based on the above location information, but not limited thereto. In this embodiment, the application layer 3 includes a book bibliographic management system 31, a logistics warehousing management system 32, and a household item management system 33, but is not limited thereto.

請參閱第2圖所示,其係本發明三維空間定位方法一實施例之運作流程圖,其中,該方法包含一訓練步驟S1、一切割步驟S2及一定位步驟S3,分別說明如後。Referring to FIG. 2, it is an operational flowchart of an embodiment of the three-dimensional spatial positioning method of the present invention, wherein the method includes a training step S1, a cutting step S2, and a positioning step S3, respectively, as described later.

該訓練步驟S1,係設置八個讀取器於一立方形空間的八個角落,於該立方形空間中均勻佈置數個參考標籤,該些讀取器收集各參考標籤的訊號強度指數,交由一電腦系統計算該些訊號強度指數的平均值及標準差,將偏離該標準差的訊號強度指數濾除後,以一類神經網路訓練各訊號強度指數及所屬參考標籤的座標,用以產生該參考標籤的間距。其中,在將偏離該標準差的訊號強度指數濾除後,較佳還可計算各訊號強度指數的機率密度函數,用以確定各參考標籤之訊號強度指數的所在範圍,在後續步驟中若有不明標籤(如:該目標物之標籤等)的訊號強度指數被偵測 到,則可與各參考標籤之訊號強度指數相比較,以判斷該不明標籤係鄰近哪一個參考標籤。詳言之,請參閱第1至3圖所示,首先,將八個讀取器11a~11h設置於該立方形空間P的八個角落C(如第3圖所示),並在該立方形空間P中均勻佈置數個參考標籤12,例如:在該些讀取器11a~11h之間沿X、Y、Z軸均勻分佈,並且記錄各參考標籤12的座標,以利進行後續流程。接著,由該些讀取器11a~11h收集各參考標籤12的訊號強度指數(RSSI),並交由該電腦系統R(如第1圖所示)計算該些訊號強度指數的平均值及標準差,該平均值及標準差的計算方式係如下式(1)、(2)所示: The training step S1 is to set eight readers in eight corners of a cubic space, and uniformly arrange a plurality of reference labels in the cubic space, and the readers collect the signal strength indexes of the reference labels, and Calculating the average value and standard deviation of the signal strength indices by a computer system, filtering out the signal strength index deviating from the standard deviation, and training each signal strength index and the coordinates of the reference label with a type of neural network to generate The spacing of the reference labels. Wherein, after filtering the signal strength index deviating from the standard deviation, it is better to calculate the probability density function of each signal intensity index to determine the range of the signal strength index of each reference label, if there is a subsequent step If the signal strength index of an unidentified tag (such as the tag of the target object) is detected, it can be compared with the signal strength index of each reference tag to determine which reference tag the unknown tag is adjacent to. In detail, referring to Figures 1 to 3, first, eight readers 11a to 11h are disposed in eight corners C of the cubic space P (as shown in Fig. 3), and in the cube A plurality of reference tags 12 are evenly arranged in the shape space P, for example, uniformly distributed along the X, Y, and Z axes between the readers 11a to 11h, and coordinates of the reference tags 12 are recorded to facilitate subsequent processes. Then, the signal intensity index (RSSI) of each reference tag 12 is collected by the readers 11a-11h, and the computer system R (as shown in FIG. 1) is used to calculate the average value and standard of the signal strength indexes. The difference is calculated by the following equations (1) and (2):

其中,μ、為平均值,σ為標準差,n為該些訊號強度指數的數量,k(k [1,n ])為各參考標籤的編號,xk 為各參考標籤的訊號強度指數。接著,可由該電腦系統R濾除偏離該標準差的訊號強度指數(如:訊號強度指數大於平均值加標準差,或小於平均值減標準差),用以排除誤差過大的訊號強度指數。之後,由該電腦系統R計算各訊號強度指數(即未排除的訊號強度指數)的機率密度函數,該機率密度函數的計算方式如下式(3)所示: 其中,f(x)為該機率密度函數,x為欲計算機率密度函數的訊號強度指數,σ為標準差,μ為平均值。 Among them, μ, For the average, σ is the standard deviation, n is the number of these signal strength indices, k( k [1, n ]) is the number of each reference label, and x k is the signal strength index of each reference label. Then, the computer system R can filter out the signal strength index that deviates from the standard deviation (for example, the signal strength index is greater than the average plus standard deviation, or less than the average minus the standard deviation) to exclude the excessively large signal strength index. Thereafter, the computer system R calculates a probability density function of each signal strength index (ie, the signal strength index that is not excluded), and the probability density function is calculated as shown in the following equation (3): Where f(x) is the probability density function, x is the signal strength index for the computer rate density function, σ is the standard deviation, and μ is the average.

接著,由該電腦系統R儲存各訊號強度指數所屬參考標籤12的座標,並以該類神經網路(如:倒傳遞類神經網路等)訓練該剩餘訊號強度指數及所屬參考標籤12的座標,用以產生該剩餘訊號強度指數所屬 參考標籤12的間距,以作為後續計算各參考標籤12的相對距離之依據。在本實施例中,該類神經網路較佳採用倒傳遞類神經網路,倒傳遞類神經網路的學習演算法訓練過程包含:(1)設定轉換函數及網路數值;(2)設定網路之初始加權值(如:14)及偏權值(如:-14);(3)輸入訓練組(如:0)與目標輸出值(如:40);(4)計算隱藏層之輸出值及輸出層之輸出值;(5)計算輸出層與隱藏層之容許差距量;(6)計算輸出層與隱藏層各差距量;(7)判斷輸出層與隱藏層計算出之差距量是否大於容許差距量;(8)修正輸出層與隱藏層之加權值與偏權值;重覆(4)~(8),直到輸出層與隱藏層之差距量小於容許差距量,即完成訓練過程。Then, the computer system R stores the coordinates of the reference tag 12 to which each signal strength index belongs, and trains the residual signal strength index and the coordinates of the reference tag 12 by using such a neural network (eg, an inverted transmission type neural network, etc.). For generating the residual signal strength index The spacing of the tags 12 is referenced as a basis for subsequent calculation of the relative distance of each of the reference tags 12. In this embodiment, the neural network preferably uses an inverted transfer neural network, and the learning process of the inverse transfer neural network includes: (1) setting a transfer function and a network value; (2) setting The initial weight of the network (such as: 14) and the bias value (such as: -14); (3) the input training group (such as: 0) and the target output value (such as: 40); (4) calculate the hidden layer Output value and output value of the output layer; (5) Calculate the allowable gap between the output layer and the hidden layer; (6) Calculate the gap between the output layer and the hidden layer; (7) Determine the difference between the output layer and the hidden layer Whether it is greater than the allowable gap; (8) Correct the weighted value and the partial weight of the output layer and the hidden layer; repeat (4)~(8) until the difference between the output layer and the hidden layer is less than the allowable gap, that is, complete the training. process.

該切割步驟S2,係由該讀取器收集一追蹤標籤的訊號強度指數,交由該電腦系統計算該追蹤標籤與各參考標籤之訊號強度指數的差值,選取差值較小的八個參考標籤作為八個定位標籤。詳言之,請再參閱第1至3圖所示,先由該些讀取器11a~11h收集該追蹤標籤T(位於上述目標物)之訊號強度指數,再將該追蹤標籤T之訊號強度指數交給該電腦系統R,由該電腦系統R計算該追蹤標籤T與各參考標籤12之訊號強度指數的差值,選取差值較小的八個參考標籤12進行範圍切割,以作為該些定位標籤,如第4圖所示,由定位標籤12a’~12h’構成一定位範圍(矩形空間),定位標籤12a’、12b’、12c’及12d’構成一平面,定位標籤12e’、12f’、12g’及12h’構成另一平面。在此實施例中,該範圍切割演算法可選為Divide-and-Conquer演算法,如下式(4)所示: 其中,E為平面方程式,(x i ,y i ,z i )為平面上第i點(如:12a’、12b’、12c’、12d’)的(x,y,z)座標,為一個垂直於平面的向量。因此,若該八個差值較小的參考標籤並非位於該追蹤標籤T附近,則可利用Divide-and-Conquer 演算法取得該追蹤標籤T的所在範圍,以便進行後續定位的相關流程。In the cutting step S2, the reader collects a signal strength index of the tracking tag, and the computer system calculates a difference between the tracking tag and the signal intensity index of each reference tag, and selects eight references with smaller differences. The tag acts as eight positioning tags. In detail, please refer to the first to third figures. First, the signal intensity index of the tracking tag T (located in the target object) is collected by the readers 11a to 11h, and then the signal intensity of the tracking tag T is collected. The index is given to the computer system R, and the computer system R calculates the difference between the tracking index T and the signal intensity index of each reference tag 12, and selects eight reference tags 12 with smaller differences to perform range cutting. Positioning the label, as shown in FIG. 4, a positioning range (rectangular space) is formed by the positioning tags 12a'~12h', and the positioning tags 12a', 12b', 12c' and 12d' constitute a plane, and the positioning tags 12e', 12f ', 12g' and 12h' constitute another plane. In this embodiment, the range cutting algorithm may be selected as a Divide-and-Conquer algorithm, as shown in the following formula (4): Where E is a plane equation, ( x i , y i , z i ) is the (x, y, z) coordinate of the i-th point on the plane (eg: 12a', 12b', 12c', 12d'), Is a vector that is perpendicular to the plane. Therefore, if the eight reference labels with smaller differences are not located near the tracking tag T, the Divide-and-Conquer algorithm can be used to obtain the range of the tracking tag T for related processes of subsequent positioning.

該定位步驟S3,係由該電腦系統計算該追蹤標籤與各定位標籤間訊號強度指數的相關係數,依據該相關係數計算各定位標籤的權重值,依據各權重值及其所屬定位標籤的座標計算該追蹤標籤的座標。詳言之,請再參閱第1至3圖所示,該電腦系統R計算該追蹤標籤T與各定位標籤(如第4圖所示之12a’~12h’)間訊號強度指數的相關係數,如下式(5)所示: 其中,i為該數個定位標籤的編號,Ei 為第i個定位標籤(如:12a’~12h’)與追蹤標籤T間訊號強度指數的相關係數,θi 為各定位標籤(如:12a’~12h’)的訊號強度指數,S為該追蹤標籤T的訊號強度指數,n為該定位標籤的數量(n=8)。接著,該電腦系統R依據該相關係數計算各定位標籤的權重值,如下式(6)所示: 其中,i、j為該數個定位標籤的編號(i=j),wj 為第j個定位標籤(如:12a’~12h’)的權重值,k為該定位標籤的數量(k=8),Ei 為第i個定位標籤(如:12a’~12h’)與追蹤標籤間T訊號強度指數的相關係數。之後,該電腦系統R依據各權重值wj 及其所屬定位標籤(如:12a’~12h’)的座標計算該追蹤標籤T的座標,如下式(7)所示: 其中,(x,y,z)為該追蹤標籤T的座標,k為該定位標籤的數量(k=8),wj 為第j個定位標籤的權重值,(xi ,yi ,zi )為第i個定位標籤的座標。In the positioning step S3, the computer system calculates a correlation coefficient between the tracking tag and the signal strength index of each positioning tag, calculates a weight value of each positioning tag according to the correlation coefficient, and calculates according to each weight value and a coordinate of the positioning tag to which the tag belongs. The coordinates of the tracking tag. In detail, please refer to Figures 1 to 3, the computer system R calculates the correlation coefficient between the tracking tag T and the signal intensity index of each positioning tag (such as 12a'~12h' shown in Fig. 4). As shown in the following formula (5): Where i is the number of the plurality of positioning tags, E i is the correlation coefficient between the i-th positioning tag (eg, 12a'~12h') and the tracking tag T, and θ i is the positioning tag (eg: The signal strength index of 12a'~12h'), S is the signal strength index of the tracking tag T, and n is the number of the positioning tags (n=8). Then, the computer system R calculates the weight value of each positioning tag according to the correlation coefficient, as shown in the following formula (6): Where i and j are the numbers of the plurality of positioning tags (i=j), w j is the weight value of the jth positioning tag (eg: 12a′~12h′), and k is the number of the positioning tags (k= 8), E i is the correlation coefficient between the i-th positioning tag (eg: 12a'~12h') and the T-signal strength index between the tracking tags. Thereafter, the computer system R calculates the coordinates of the tracking tag T according to the coordinates of each weight value w j and its associated positioning tag (eg, 12a'~12h'), as shown in the following formula (7): Where (x, y, z) is the coordinate of the tracking tag T, k is the number of the positioning tags (k=8), and w j is the weight value of the jth positioning tag, (x i , y i , z i ) is the coordinate of the ith positioning tag.

舉例而言,如第4圖所示,其中,各參考標籤12的座標及訊號強度指數係如下表一所示,若該目標物之追蹤標籤的訊號強度指數為29,根據訊號強度指數可知,該追蹤標籤的座標接近座標(1,0,0)和(1,1,0),因此,該電腦系統需計算座標(1,0,0)和(1,1,0)所組成的平面方程式,令座標(1,1,0)為基準點,可求得垂直該平面的向量為座標(0,1,0)與(1,1,0)之間的差(-1,0,0),將座標(1,1,0)與差值(-1,0,0)帶入上式(4),可得到平面方程式E=-1(x-1)+0(y-1)+0(z-0)。For example, as shown in FIG. 4, the coordinates and signal strength index of each reference tag 12 are as shown in Table 1 below. If the tracking strength of the target tag is 29, according to the signal strength index, The coordinates of the tracking tag are close to the coordinates (1,0,0) and (1,1,0), so the computer system needs to calculate the plane formed by the coordinates (1,0,0) and (1,1,0). Equation, let the coordinates (1,1,0) be the reference point, and find the vector perpendicular to the plane as the difference between the coordinates (0,1,0) and (1,1,0) (-1,0, 0), the coordinates (1,1,0) and the difference (-1,0,0) are brought into the above equation (4), and the plane equation E=-1(x-1)+0(y-1) is obtained. ) +0 (z-0).

接著,根據該訊號強度指數可得到該目標物在此平面範圍內,由於前述流程還可計算各參考標籤之訊號強度指數的機率密度函數,故可利用已知的機率密度函數確認該追蹤標籤鄰近哪一個參考標籤及所在 範圍等資訊,並且,將該追蹤標籤與各參考標籤之訊號強度指數的差值排序後,可知構成該切割範圍的八個定位座標分別為(0,0,0)、(0,0,1)、(0,1,0)、(0,1,1)、(1,0,0)、(1,0,1)、(1,1,0)、(1,1,1),將此八座標代入上式(5),可得 Then, according to the signal strength index, the target object can be obtained in the plane range. Since the foregoing process can also calculate the probability density function of the signal intensity index of each reference label, the known probability density function can be used to confirm the proximity of the tracking label. Which reference label and the range of information, and the difference between the tracking label and the signal strength index of each reference label, it can be seen that the eight positioning coordinates constituting the cutting range are (0, 0, 0), (0,0,1), (0,1,0), (0,1,1), (1,0,0), (1,0,1), (1,1,0), (1 , 1,1), substituting this eight coordinates into the above formula (5), available .

接著,該電腦系統依據上式(6)計算各定位標籤的權重值, 可得w 1 =1、。因此,該電 腦系統將各權重值w1~w8及其所屬定位標籤的座標代入上式(7),可得該 追蹤標籤的座標如下所示:(x,y,z )=w1 (1,1,0)+w2 (1,0,0)+w3 (0,1,1)+w4 (0,0,1)+w5 (1,1,1)+w6 (2,0,0)+w7 (0,1,0)+w8 (0,0,0)。Then, the computer system calculates the weight value of each positioning tag according to the above formula (6), and obtains w 1 =1, , , , , , , . Therefore, the computer system substitutes the weight values w1~w8 and the coordinates of the positioning tag to which the positioning tag belongs to the above formula (7), and the coordinates of the tracking tag are as follows: ( x, y, z )=w 1 (1, 1,0)+w 2 (1,0,0)+w 3 (0,1,1)+w 4 (0,0,1)+w 5 (1,1,1)+w 6 (2, 0,0)+w 7 (0,1,0)+w 8 (0,0,0).

藉由前揭之技術手段,本發明三維空間定位方法實施例的主要特點列舉如下:首先,設置八個讀取器於一立方形空間的八個角落,於該立方形空間中均勻佈置數個參考標籤,該些讀取器收集各參考標籤的訊號強度指數,交由一電腦系統計算該些訊號強度指數的平均值及標準差,將偏離該標準差的訊號強度指數濾除後,可計算各訊號強度指數的機率密度函數,以一類神經網路訓練各訊號強度指數及所屬參考標籤的座標,用以產生該參考標籤的間距。接著,由該讀取器收集一追蹤標籤的訊號強度指數,交由該電腦系統計算該追蹤標籤與各參考標籤之訊號強度指數的差值,選取差值較小的八個參考標籤作為八個定位標籤。之後,由該電腦系統計算該追蹤標籤與各定位標籤間訊號強度指數的相關係數,依據該相關係數計算各定位標籤的權重值,依據各權重值及其所屬定位標籤的座標計算該追蹤標籤的座標。藉此,可確實改善習知基於LANDMARC演算法進行定位的缺點,並符合三維空間的定位需求,達成「提高RFID應用於三維空間定位的精確度」功效。The main features of the embodiment of the three-dimensional spatial positioning method of the present invention are as follows: First, eight readers are arranged in eight corners of a cubic space, and several are evenly arranged in the cubic space. Referring to the label, the readers collect the signal strength index of each reference label, and the computer system calculates the average value and the standard deviation of the signal strength indexes, and filters the signal intensity index deviating from the standard deviation to calculate The probability density function of each signal strength index trains each signal strength index and the coordinates of the reference tag with a type of neural network to generate the spacing of the reference tag. Then, the reader collects a signal strength index of the tracking tag, and the computer system calculates a difference between the tracking tag and the signal strength index of each reference tag, and selects eight reference tags with a small difference as eight. Position the label. Then, the computer system calculates a correlation coefficient between the tracking tag and the signal strength index of each positioning tag, calculates a weight value of each positioning tag according to the correlation coefficient, and calculates the tracking tag according to each weight value and a coordinate of the positioning tag to which the tag belongs. coordinate. In this way, the shortcomings of conventional positioning based on the LANDMARC algorithm can be improved, and the positioning requirements of the three-dimensional space are met, and the effect of "improving the accuracy of RFID applied to three-dimensional positioning" is achieved.

雖然本發明已利用上述較佳實施例揭示,然其並非用以限定本發明,任何熟習此技藝者在不脫離本發明之精神和範圍之內,相對上述實施例進行各種更動與修改仍屬本發明所保護之技術範疇,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。While the invention has been described in connection with the preferred embodiments described above, it is not intended to limit the scope of the invention. The technical scope of the invention is protected, and therefore the scope of the invention is defined by the scope of the appended claims.

S1‧‧‧訓練步驟S1‧‧‧ training steps

S2‧‧‧切割步驟S2‧‧‧ cutting steps

S3‧‧‧定位步驟S3‧‧‧ positioning steps

Claims (6)

一種三維空間定位方法,包含:設置八個讀取器於一立方形空間的八個角落,於該立方形空間中均勻佈置數個參考標籤,該些讀取器收集各參考標籤的訊號強度指數,交由一電腦系統計算該些訊號強度指數的平均值及標準差,將偏離該標準差的訊號強度指數濾除後,計算各訊號強度指數的機率密度函數,該機率密度函數的計算方式如下式所示: 其中,f(x)為該機率密度函數,x為欲計算機率密度函數的訊號強度指數,σ 為標準差,μ 為平均值,以一類神經網路訓練各訊號強度指數及所屬參考標籤的座標,用以產生該參考標籤的間距;由該讀取器收集一追蹤標籤的訊號強度指數,交由該電腦系統計算該追蹤標籤與各參考標籤之訊號強度指數的差值,選取差值較小的八個參考標籤作為八個定位標籤;及由該電腦系統計算該追蹤標籤與各定位標籤間訊號強度指數的相關係數,依據該相關係數計算各定位標籤的權重值,依據各權重值及其所屬定位標籤的座標計算該追蹤標籤的座標。A three-dimensional spatial positioning method includes: setting eight readers in eight corners of a cubic space, and uniformly arranging a plurality of reference labels in the cubic space, the readers collecting signal strength indexes of each reference label Calculated by a computer system to calculate the average and standard deviation of the signal strength indices, and filter the signal intensity index deviating from the standard deviation, and calculate the probability density function of each signal intensity index. The probability density function is calculated as follows: As shown in the formula: Where f(x) is the probability density function, x is the signal strength index for the computer rate density function, σ is the standard deviation, μ is the average value, and each signal strength index and the coordinates of the reference label are trained by a type of neural network. For generating the spacing of the reference label; collecting, by the reader, a signal strength index of the tracking label, and submitting to the computer system to calculate a difference between the tracking label and the signal strength index of each reference label, and selecting a smaller difference The eight reference tags are used as eight positioning tags; and the computer system calculates a correlation coefficient between the tracking tag and the signal strength index between the positioning tags, and calculates a weight value of each positioning tag according to the correlation coefficient, according to each weight value and The coordinates of the positioning tag are calculated to calculate the coordinates of the tracking tag. 根據申請專利範圍第1項所述之三維空間定位方法,其中該平均值的計算方式係如下式所示: 其中,μ、為平均值,n為該些訊號強度指數的數量,k(k [1,n ])為各參考標籤的編號,xk 為各參考標籤的訊號強度指數。According to the three-dimensional spatial positioning method described in claim 1, wherein the average value is calculated as follows: Among them, μ, For the average, n is the number of these signal strength indices, k( k [1, n ]) is the number of each reference label, and x k is the signal strength index of each reference label. 根據申請專利範圍第1項所述之三維空間定位方法,其中該標準 差的計算方式係如下式所示: 其中,σ為標準差,μ為平均值,n為該些訊號強度指數的數量,k(k [1,n ])為各參考標籤的編號,xk 為各參考標籤的訊號強度指數。According to the three-dimensional spatial positioning method described in claim 1, wherein the standard deviation is calculated as follows: Where σ is the standard deviation, μ is the average value, and n is the number of the signal strength indices, k( k [1, n ]) is the number of each reference label, and x k is the signal strength index of each reference label. 根據申請專利範圍第1項所述之三維空間定位方法,其中該相關係數的計算方式係如下式所示: 其中,i為該數個定位標籤的編號,Ei 為第i個定位標籤與該追蹤標籤間訊號強度指數的相關係數,θi 為各定位標籤的訊號強度指數,S為該追蹤標籤的訊號強度指數,n為該定位標籤的數量。According to the three-dimensional spatial positioning method described in claim 1, wherein the correlation coefficient is calculated as follows: Where i is the number of the plurality of positioning tags, E i is a correlation coefficient between the i-th positioning tag and the signal strength index of the tracking tag, θ i is a signal strength index of each positioning tag, and S is a signal of the tracking tag Strength index, where n is the number of the positioning tags. 根據申請專利範圍第1項所述之三維空間定位方法,其中該權重值的計算方式係如下式所示: 其中,i、j為該數個定位標籤的編號,wj 為第j個定位標籤的權重值,k為該定位標籤的數量,Ei 為第i個定位標籤與該追蹤標籤間訊號強度指數的相關係數。According to the three-dimensional spatial positioning method described in claim 1, wherein the weight value is calculated as follows: Where i and j are the numbers of the plurality of positioning tags, w j is the weight value of the jth positioning tag, k is the number of the positioning tags, and E i is the signal strength index between the i th positioning tag and the tracking tag Correlation coefficient. 根據申請專利範圍第1項所述之三維空間定位方法,其中該追蹤標籤的座標計算方式係如下式所示: 其中,(x,y,z)為該追蹤標籤的座標,k為該定位標籤的數量,wj 為第j個定位標籤的權重值,(xi ,yi ,zi )為第i個定位標籤的座標。According to the three-dimensional spatial positioning method described in claim 1, wherein the coordinate calculation method of the tracking label is as follows: Where (x, y, z) is the coordinate of the tracking tag, k is the number of the positioning tags, w j is the weight value of the jth positioning tag, and (x i , y i , z i ) is the ith Position the coordinates of the label.
TW102148471A 2013-12-26 2013-12-26 A 3-dimensions space positioning method TWI498582B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102148471A TWI498582B (en) 2013-12-26 2013-12-26 A 3-dimensions space positioning method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102148471A TWI498582B (en) 2013-12-26 2013-12-26 A 3-dimensions space positioning method

Publications (2)

Publication Number Publication Date
TW201525510A TW201525510A (en) 2015-07-01
TWI498582B true TWI498582B (en) 2015-09-01

Family

ID=54197584

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102148471A TWI498582B (en) 2013-12-26 2013-12-26 A 3-dimensions space positioning method

Country Status (1)

Country Link
TW (1) TWI498582B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI580988B (en) * 2015-07-24 2017-05-01 P-Square Inc Location Information Establishment Method and Spatial Location Method
CN107145811B (en) * 2017-05-26 2023-11-03 上海赋拓物联网技术有限公司 RFID boundary determining method and system based on reference label
CN111366895B (en) * 2018-12-25 2022-06-28 中国移动通信集团浙江有限公司 Positioning system
CN112050726A (en) * 2020-08-05 2020-12-08 中车长春轨道客车股份有限公司 Rail vehicle fastener loosening detection method based on RFID tag array

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799532A (en) * 2010-01-19 2010-08-11 电子科技大学 Indoor positioning method using single station and a plurality of channels
TWI365998B (en) * 2008-04-30 2012-06-11

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI365998B (en) * 2008-04-30 2012-06-11
CN101799532A (en) * 2010-01-19 2010-08-11 电子科技大学 Indoor positioning method using single station and a plurality of channels

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Using ZeeBee Sensor Network with Artifical Neural Network for Indoor Location, IEEE, Run-Ching Chen, 2012. Advance Landmarc with Adaptive k-nearest Algorithm for RFID Location System, IEEE, Kyuwon Han, 2010. *

Also Published As

Publication number Publication date
TW201525510A (en) 2015-07-01

Similar Documents

Publication Publication Date Title
CN111182459B (en) Indoor wireless positioning method based on channel state information and wireless communication system
CN104574386B (en) Indoor positioning method based on three-dimensional environment model matching
CN104602342B (en) A kind of high efficiency indoor localization method based on iBeacon equipment
Geng et al. Indoor tracking with RFID systems
TWI498582B (en) A 3-dimensions space positioning method
US20220270295A1 (en) Automated recalibration of sensors for autonomous checkout
TW201712361A (en) Vision and radio fusion based precise indoor localization
US8111876B2 (en) Object position estimating system, object position estimating apparatus, object position estimating method, and object position estimating program
Hauschildt et al. Improving indoor position estimation by combining active TDOA ultrasound and passive thermal infrared localization
CN103220777A (en) Mobile device positioning system
CN112784873A (en) Semantic map construction method and equipment
Liang et al. Image-based positioning of mobile devices in indoor environments
CN102842041B (en) Interior location identification method and device
CN105718971A (en) RFID-based multi-target passive-type indoor activity identification method
Ezhumalai et al. An efficient indoor positioning method based on Wi-Fi RSS fingerprint and classification algorithm
Berz et al. RFID indoor localization based on support vector regression and k-means
Morita et al. Beacon-based time-spatial recognition toward automatic daily care reporting for nursing homes
US20220262069A1 (en) Systems and methods for extrinsic calibration of sensors for autonomous checkout
Wen et al. Indoor localization algorithm based on artificial neural network and radio-frequency identification reference tags
CN105530609A (en) Indoor positioning method for efficient privacy protection based on Wi-Fi fingerprint
AU2015303822A1 (en) A method of setting-up a range-based tracking system utilising a tracking coordinate system
Wei et al. RSSI-based location fingerprint method for RFID indoor positioning: a review
Ye et al. An improved RFID-based localization algorithm for wireless sensor networks
Wang et al. Received signal strength–based localization for large space indoor environments
Mirdita et al. Localization for intelligent systems using unsupervised learning and prediction approaches