JP5696455B2 - State determination device, state determination method, and state determination program - Google Patents

State determination device, state determination method, and state determination program Download PDF

Info

Publication number
JP5696455B2
JP5696455B2 JP2010267284A JP2010267284A JP5696455B2 JP 5696455 B2 JP5696455 B2 JP 5696455B2 JP 2010267284 A JP2010267284 A JP 2010267284A JP 2010267284 A JP2010267284 A JP 2010267284A JP 5696455 B2 JP5696455 B2 JP 5696455B2
Authority
JP
Japan
Prior art keywords
state
transition
probability
determination
moving object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010267284A
Other languages
Japanese (ja)
Other versions
JP2012118719A (en
Inventor
羽田 芳朗
芳朗 羽田
直之 沢崎
直之 沢崎
真司 神田
真司 神田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2010267284A priority Critical patent/JP5696455B2/en
Publication of JP2012118719A publication Critical patent/JP2012118719A/en
Application granted granted Critical
Publication of JP5696455B2 publication Critical patent/JP5696455B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Time Recorders, Dirve Recorders, Access Control (AREA)
  • Burglar Alarm Systems (AREA)

Description

本発明は、状態判定装置、状態判定方法、及び状態判定プログラムに関する。   The present invention relates to a state determination device, a state determination method, and a state determination program.

近年、人や物の位置を検知する技術として、RTLS(Real Time Location System)が普及しつつある。RTLSは、RFID(Radio Frequency IDentification)やGPS(Global Positioning System)の技術を利用して、リアルタイムに対象物の所在を把握するシステムである。RTLSには、「移動体がどの部屋に居る(在る)か」がわかるもの、あるいは「移動体がどの場所を通過したか」がわかるもの等、様々な方式のものがある。   In recent years, RTLS (Real Time Location System) is becoming popular as a technique for detecting the position of a person or an object. The RTLS is a system that grasps the location of an object in real time by using RFID (Radio Frequency IDentification) or GPS (Global Positioning System) technology. There are various types of RTLS, such as “a room in which a moving body is (existing)” or “a location where the moving body has passed”.

RTLSに関する技術としては、例えば、人体から放出される赤外線を検知する赤外線センサを店舗の出入り口に設置し、検知された情報を用いて、顧客の入店退店を判別する店舗管理システムが知られている。また、RFIDを用いて、物の所在を把握する技術も知られている。この技術では、RFIDタグを移動体に貼付するとともに、環境側にタグ読取装置を設置し、RFIDタグがタグ読取装置の前を通過したか否かを判別することで、移動体の所在を把握する。更に、環境側に質問器を設置するとともに、人等の移動体に応答器を持たせ、応答器が質問器に反応したか否かに基づき、移動体を検出する移動体検出方式が知られている。また、ドア等の人が通過する場所に赤外線通信の受信装置を複数設置するとともに、赤外線通信の送信機を人に携行させ、人がドアを通過した際、受信機が複数のID情報を受信する技術が知られている。この技術では、それら複数のID情報の受信時刻から人の行動態様(歩行や走行)が識別される。   As a technology related to RTLS, for example, a store management system is known in which an infrared sensor that detects infrared rays emitted from the human body is installed at the entrance of a store, and the detected information is used to determine whether the customer has entered or exited the store. ing. Further, a technique for grasping the location of an object using RFID is also known. With this technology, an RFID tag is attached to a moving body, a tag reader is installed on the environment side, and the location of the moving body is determined by determining whether the RFID tag has passed in front of the tag reader. To do. Furthermore, an interrogator is installed on the environment side, and a moving body detection method is known in which a moving body such as a person is provided with a transponder and the moving body is detected based on whether or not the transponder has reacted to the interrogator. ing. In addition to installing multiple infrared communication receivers where people pass, such as doors, carry infrared communication transmitters with people, and when a person passes the door, the receiver receives multiple ID information. The technology to do is known. In this technique, a human behavior mode (walking or running) is identified from the reception times of the plurality of ID information.

特開2004−133583号公報Japanese Patent Laid-Open No. 2004-133583 特開2009−7157号公報JP 2009-7157 A 特開2006−260254号公報JP 2006-260254 A 特開平8−194011号公報JP-A-8-194011 特開2007−52474号公報JP 2007-52474 A 国際公開第2007/058302号International Publication No. 2007/058302

上述した技術では、RFIDや赤外線通信により、受信機が送信機から情報を受信する。すなわち、上述の技術は、受信機をセンサとして利用することで、検知対象の移動を捉える。しかしながら、センサには、センサ自体の特性あるいは環境要因により、誤動作が発生する場合がある。   In the technique described above, the receiver receives information from the transmitter by RFID or infrared communication. In other words, the technique described above captures the movement of the detection target by using the receiver as a sensor. However, the sensor may malfunction due to characteristics of the sensor itself or environmental factors.

例えば、RFIDを利用する場合、タグ読取装置のアンテナの指向性や電波の到達距離によって、検知エリアが決定される。このため、検知エリア内にタグが在るにも拘らず、タグを検知しなかったり(未検知)、反対に、検知エリア内にタグが無いにも拘らず、タグを検知してしまったり(誤検知)することがある。検知しない例としては、環境側に設置されたタグ読取装置のアンテナの向きに対して、移動体の有するタグが直角の状態にあるため、タグが読み取り難くなる場合がある。一方、誤って検知してしまう例としては、タグからの信号が、環境中にある何らかの物体に反射することで、本来検出すべき読取装置とは異なる別のタグ読取装置がこの信号を検知してしまう場合がある。   For example, when using RFID, the detection area is determined by the directivity of the antenna of the tag reader and the reach of radio waves. For this reason, even if there is a tag in the detection area, the tag is not detected (not detected). On the other hand, the tag is detected even though there is no tag in the detection area ( (False detection). As an example in which the tag is not detected, there is a case where the tag is difficult to read because the tag of the moving body is at a right angle with respect to the antenna direction of the tag reader installed on the environment side. On the other hand, as an example of erroneous detection, the signal from the tag is reflected by some object in the environment, so that another tag reader different from the reader to be detected originally detects this signal. May end up.

開示の技術は、上記に鑑みてなされたものであって、移動体の状態を精度良く判定することのできる状態判定装置、状態判定方法、及び状態判定プログラムを提供することを目的とする。   The disclosed technology has been made in view of the above, and an object thereof is to provide a state determination device, a state determination method, and a state determination program that can accurately determine the state of a moving body.

上述した課題を解決し、目的を達成するために、本願の開示する状態判定装置は、一つの態様において、記憶部と推定部と判定部とを備えた。前記記憶部は、環境における移動物の状態の遷移とともに、各状態から他の状態に遷移する確率である状態遷移確率と、各状態において前記移動物の検知または未検知を示す複数の検知情報それぞれが出力される確率である出力確率とを対応付けて記憶する。前記推定部は、前記移動物について複数の検知情報が順に出力された場合に、前記記憶部に記憶された状態遷移確率及び出力確率を用いて、前記移動物が到達した状態を推定する。前記判定部は、前記推定部により推定された状態に基づき、前記移動物の通過を判定する。   In order to solve the above-described problems and achieve the object, a state determination device disclosed in the present application includes, in one aspect, a storage unit, an estimation unit, and a determination unit. The storage unit has a state transition probability that is a probability of transition from each state to another state along with a transition of the state of the moving object in the environment, and each of a plurality of detection information indicating detection or non-detection of the moving object in each state. Are stored in association with output probabilities that are the probabilities of being output. When a plurality of pieces of detection information are sequentially output for the moving object, the estimation unit estimates a state where the moving object has reached using a state transition probability and an output probability stored in the storage unit. The determination unit determines the passage of the moving object based on the state estimated by the estimation unit.

本願の開示する状態判定装置の一つの態様によれば、移動体の状態を精度良く判定することができるという効果を奏する。   According to one aspect of the state determination device disclosed in the present application, there is an effect that the state of the moving body can be accurately determined.

図1は、実施例1における状態判定の概要を説明するための図である。FIG. 1 is a diagram for explaining an overview of state determination in the first embodiment. 図2は、実施例1における状態判定ユニットの機能的構成を示す図である。FIG. 2 is a diagram illustrating a functional configuration of the state determination unit according to the first embodiment. 図3は、タグの状態を説明するための状態遷移図である。FIG. 3 is a state transition diagram for explaining the state of the tag. 図4は、実施例1における推定部の動作を示すフローチャートである。FIG. 4 is a flowchart illustrating the operation of the estimation unit according to the first embodiment. 図5は、実施例1における通過判定処理を説明するためのフローチャートである。FIG. 5 is a flowchart for explaining the passage determination process according to the first embodiment. 図6は、実施例1における引返し判定処理を説明するためのフローチャートである。FIG. 6 is a flowchart for explaining the turn-back determination process according to the first embodiment. 図7は、実施例1における引返し判定処理におけるサブルーチン1を説明するためのフローチャートである。FIG. 7 is a flowchart for explaining the subroutine 1 in the turn-back determination process according to the first embodiment. 図8は、実施例1における引返し判定処理におけるサブルーチン2を説明するためのフローチャートである。FIG. 8 is a flowchart for explaining the subroutine 2 in the turn-back determination process according to the first embodiment. 図9は、実施例1における停滞判定処理を説明するためのフローチャートである。FIG. 9 is a flowchart for explaining the stagnation determination process according to the first embodiment. 図10は、実施例1における停滞判定処理におけるサブルーチン3の前半部分を説明するためのフローチャートである。FIG. 10 is a flowchart for explaining the first half of the subroutine 3 in the stagnation determination process according to the first embodiment. 図11は、実施例1における停滞判定処理におけるサブルーチン3の後半部分を説明するためのフローチャートである。FIG. 11 is a flowchart for explaining the latter half of the subroutine 3 in the stagnation determination process according to the first embodiment. 図12は、実施例1における停滞判定処理におけるサブルーチン3のサブルーチンAを説明するためのフローチャートである。FIG. 12 is a flowchart for explaining subroutine A of subroutine 3 in the stagnation determination process according to the first embodiment. 図13は、実施例1における停滞判定処理におけるサブルーチン4の前半部分を説明するためのフローチャートである。FIG. 13 is a flowchart for explaining the first half of the subroutine 4 in the stagnation determination process according to the first embodiment. 図14は、実施例1における停滞判定処理におけるサブルーチン4の後半部分を説明するためのフローチャートである。FIG. 14 is a flowchart for explaining the latter half of the subroutine 4 in the stagnation determination process according to the first embodiment. 図15は、実施例1における停滞判定処理におけるサブルーチン4のサブルーチンBを説明するためのフローチャートである。FIG. 15 is a flowchart for explaining subroutine B of subroutine 4 in the stagnation determination process according to the first embodiment. 図16は、実施例1において適用される確率オートマトンを説明するための図である。FIG. 16 is a diagram for explaining the stochastic automaton applied in the first embodiment. 図17は、実施例1において適用される確率オートマトンの具体例を示す図である。FIG. 17 is a diagram illustrating a specific example of the probability automaton applied in the first embodiment. 図18は、実施例2における状態判定ユニットの機能的構成を示す図である。FIG. 18 is a diagram illustrating a functional configuration of the state determination unit according to the second embodiment. 図19は、実施例1及び2における状態判定ユニットを有する状態判定システムの構成例を示す図である。FIG. 19 is a diagram illustrating a configuration example of a state determination system having a state determination unit according to the first and second embodiments. 図20は、状態判定システムにおいて、位置管理サーバの有する状態遷移図の一例である。FIG. 20 is an example of a state transition diagram of the position management server in the state determination system. 図21は、状態判定システムにおいて、複数の状態判定ユニットが設置された環境の地図の一例である。FIG. 21 is an example of an environment map in which a plurality of state determination units are installed in the state determination system. 図22は、状態判定プログラムを実行するコンピュータを示す図である。FIG. 22 is a diagram illustrating a computer that executes a state determination program.

以下に、本願の開示する状態判定装置、状態判定方法、及び状態判定プログラムの実施例を、図面を参照しながら詳細に説明する。なお、以下の実施例により本願の開示する状態判定装置及び状態判定方法が限定されるものではない。   Embodiments of a state determination device, a state determination method, and a state determination program disclosed in the present application will be described below in detail with reference to the drawings. The state determination device and the state determination method disclosed in the present application are not limited by the following embodiments.

以下、本願の開示する状態判定装置の実施例について、図面を参照しながら説明する。以下では、本願の開示する状態判定装置をRFIDにより実現する例について説明する。図1は、実施例1における状態判定の概要を説明するための図である。環境1には、アンテナ固定用のポールP1が設置されている。ポールP1は、タグ読取装置のアンテナA1を所定位置に備える。アンテナA1は、検知エリアB1におけるタグ読取りを可能とする。同様に、環境1のポールP1近傍には、アンテナ固定用のポールP2が、ポールP1に隣接するように設置されている。ポールP2は、上記タグ読取装置のアンテナA2を所定位置に備える。アンテナA2は、検知エリアB2におけるタグ読取りを可能とする。また、アンテナA1,A2の間に位置する境界線C周辺には、検知エリアB1,B2が重なり合う領域B3が形成されている。環境1内に所在する人等の移動体Mには、RFIDのタグ10が貼付されている。   Hereinafter, embodiments of the state determination device disclosed in the present application will be described with reference to the drawings. Below, the example which implement | achieves the state determination apparatus which this application discloses by RFID is demonstrated. FIG. 1 is a diagram for explaining an overview of state determination in the first embodiment. In the environment 1, an antenna fixing pole P1 is installed. The pole P1 includes an antenna A1 of the tag reading device at a predetermined position. The antenna A1 enables tag reading in the detection area B1. Similarly, an antenna fixing pole P2 is installed in the vicinity of the pole P1 of the environment 1 so as to be adjacent to the pole P1. The pole P2 includes the antenna A2 of the tag reading device at a predetermined position. The antenna A2 enables tag reading in the detection area B2. In addition, a region B3 where the detection areas B1 and B2 overlap is formed around the boundary C located between the antennas A1 and A2. An RFID tag 10 is attached to a moving body M such as a person located in the environment 1.

まず、本願の開示する一実施例に係る状態判定ユニットの構成を説明する。図2は、本実施例に係る状態判定ユニット100の機能的構成を示す図である。図2に示すように、状態判定ユニット100は、上述のアンテナA1,A2と、アンテナ切替装置101と、読取装置102と、状態判定装置103と、出力部104とを有する。これら各構成部分は、一方向又は双方向に、信号やデータの入出力が可能なように接続されている。   First, the configuration of a state determination unit according to an embodiment disclosed in the present application will be described. FIG. 2 is a diagram illustrating a functional configuration of the state determination unit 100 according to the present embodiment. As shown in FIG. 2, the state determination unit 100 includes the antennas A <b> 1 and A <b> 2, the antenna switching device 101, the reading device 102, the state determination device 103, and the output unit 104. Each of these components is connected so that signals and data can be input and output in one direction or in both directions.

アンテナA1,A2は、図1に示した環境1に併設され、同一の周波数帯域を有する。アンテナ切替装置101は、これら周波数帯域の等しいアンテナA1,A2による、異なるエリアでのタグ検知を可能とするため、所定の時間間隔でアンテナA1,A2を切り替える。時間間隔は、例えば50msである。   The antennas A1 and A2 are provided in the environment 1 shown in FIG. 1 and have the same frequency band. The antenna switching device 101 switches the antennas A1 and A2 at predetermined time intervals in order to enable tag detection in different areas by the antennas A1 and A2 having the same frequency band. The time interval is 50 ms, for example.

読取装置102は、アンテナA1,A2が検知したタグのIDを、検知したアンテナのIDと併せて、アンテナ切替装置101経由で入力する。そして、読取装置102は、対応付けられたこれらのIDを検知結果として、後段の状態判定装置103に出力する。この出力は、アンテナA1,A2の切替え周期の2倍の時間間隔(例えば、100ms)で行われる。   The reading device 102 inputs the tag ID detected by the antennas A1 and A2 together with the detected antenna ID via the antenna switching device 101. Then, the reading device 102 outputs these associated IDs as detection results to the subsequent state determination device 103. This output is performed at a time interval (for example, 100 ms) that is twice the switching period of the antennas A1 and A2.

状態判定装置103は、読取装置102から入力されるタグ検知結果を基に、環境1に存在する移動体Mの状態を判定し、判定結果を出力部104に出力する。状態判定装置103は、図2に示すように、取得部113と、記憶部123と、推定部133と、判定部143とを有する。   The state determination device 103 determines the state of the moving body M present in the environment 1 based on the tag detection result input from the reading device 102, and outputs the determination result to the output unit 104. As illustrated in FIG. 2, the state determination device 103 includes an acquisition unit 113, a storage unit 123, an estimation unit 133, and a determination unit 143.

取得部113は、読取装置102の出力したタグ検知結果を取得する。タグ検知結果には、例えば、“A1:タグ10、A2:タグ20”というように、アンテナのIDと、アンテナの検知したタグのIDとが対応付けられている。取得部113は、このタグ検知結果を、推定部133に出力する。   The acquisition unit 113 acquires the tag detection result output from the reading device 102. The tag detection result is associated with the antenna ID and the tag ID detected by the antenna, for example, “A1: tag 10, A2: tag 20”. The acquisition unit 113 outputs the tag detection result to the estimation unit 133.

記憶部123には、状態遷移確率123aと出力確率123bとが対応付けて記憶されている。状態遷移確率123aは、環境1におけるタグ10の状態の遷移とともに、各状態から他の状態に遷移する確率である。出力確率123bは、各状態においてタグ10の検知または未検知を示す複数の検知情報(出力シンボルk)それぞれが出力される確率である。   The storage unit 123 stores a state transition probability 123a and an output probability 123b in association with each other. The state transition probability 123a is a probability of transition from each state to another state along with the transition of the state of the tag 10 in the environment 1. The output probability 123b is a probability that each of a plurality of pieces of detection information (output symbols k) indicating detection or non-detection of the tag 10 in each state is output.

推定部133は、取得部113から入力されたタグ検知結果を基に、タグ10が現在到達している状態を推定する。すなわち、推定部133は、タグ10について複数の検知情報が順に出力された場合に、記憶部123に記憶された状態遷移確率123a及び出力確率123bの規定された確率オートマトンを用いて、タグ10が到達した状態を推定する。推定部133は、検知情報が検知される度に、タグ10の現在の状態を逐次推定する。推定部133は、状態の推定結果(例えば、後述のS,S)を、例えば100ms間隔で、判定部143に出力する。なお、推定部133は、タグ10が別の状態に遷移しなかった場合にも、所定時間の経過に伴い、上記推定結果を出力する。 Based on the tag detection result input from the acquisition unit 113, the estimation unit 133 estimates a state where the tag 10 is currently reached. That is, when a plurality of pieces of detection information are sequentially output for the tag 10, the estimation unit 133 uses the probability automaton defined by the state transition probability 123 a and the output probability 123 b stored in the storage unit 123. Estimate the reached state. The estimation unit 133 sequentially estimates the current state of the tag 10 each time detection information is detected. The estimation unit 133 outputs the state estimation results (for example, S 1 and S 5 described later) to the determination unit 143 at intervals of, for example, 100 ms. Note that the estimation unit 133 outputs the estimation result as the predetermined time elapses even when the tag 10 does not transition to another state.

判定部143は、推定部133から入力された検知状態推定結果を基に、対応するタグの付された移動体Mの状態を判定する。判定部143は、通過判定部143a、引返し判定部143b、及び停滞判定部143cを有する。判定部143は、状態種別毎に3つの判定部から構成される。通過判定部143aは、環境1において、移動体Mが通過したか否かの判定を行う。また、引返し判定部143bは、環境1において、移動体Mが引返しをしたか否かの判定を行う。更に、停滞判定部143cは、環境1において、移動体Mが停滞したか否かの判定を行う。停滞判定部143cは、移動体Mが任意の状態に停滞しているか否かを判断するための指標として、カウンタ144cを有する。停滞判定部143cは、カウンタ144cの値が閾値T以上になると、移動体Mが停滞していると判定する。   The determination unit 143 determines the state of the moving body M to which the corresponding tag is attached based on the detection state estimation result input from the estimation unit 133. The determination unit 143 includes a passage determination unit 143a, a turnback determination unit 143b, and a stagnation determination unit 143c. The determination unit 143 includes three determination units for each state type. The passage determination unit 143a determines whether or not the moving object M has passed in the environment 1. Further, the turnback determination unit 143b determines whether or not the moving object M has turned back in the environment 1. Further, the stagnation determination unit 143c determines whether or not the moving object M has stagnation in the environment 1. The stagnation determination unit 143c includes a counter 144c as an index for determining whether or not the moving object M is stagnation in an arbitrary state. The stagnation determination unit 143c determines that the moving object M is stagnation when the value of the counter 144c is equal to or greater than the threshold value T.

図3は、タグの状態を説明するための状態遷移図である。図3に示すように、環境1におけるタグの状態として、S〜Sの9つの状態がある。以下、9つの状態が如何なる状態であるか説明する。Sは、タグが未検知の状態である。Sは、タグが検知エリアB1(図1参照)で検知された状態である。Sは、タグが検知エリアB3(図1参照)で検知された状態である。なお、検知エリアB3は、検知エリアB1と検知エリアB2とが重なり合う領域である。Sは、タグが検知エリアB2(図1参照)で検知された状態である。Sは、タグが検知エリアB2を抜けて未検知となった状態である。Sは、S同様、タグが検知エリアB2(図1参照)で検知された状態である。Sは、S同様、タグが検知エリアB3(図1参照)で検知された状態である。Sは、S同様、タグが検知エリアB1(図1参照)で検知された状態である。Sは、タグが検知エリアB1を抜けて未検知となった状態である。 FIG. 3 is a state transition diagram for explaining the state of the tag. As shown in FIG. 3, there are nine states of S 0 to S 8 as tag states in environment 1. Hereinafter, the nine states will be described. S 0 is a state in which no tag is detected. S 1 is a state in which the tag is detected in the detection area B1 (see FIG. 1). S 2 is a state where the tag is detected in the detection area B3 (see FIG. 1). The detection area B3 is a region where the detection area B1 and the detection area B2 overlap. S 3 is a state in which the tag is detected in the detection area B2 (see FIG. 1). S 4 is a state where the tag has become undetected leaves the detection area B2. S 5 is a state S 3 Similarly, the tag is detected in the detection area B2 (see FIG. 1). S 6 is a state S 2 Similarly, the tag is detected in the detection area B3 (see FIG. 1). S 7 is a state S 1 Similarly, the tag is detected in the detection area B1 (see FIG. 1). S 8 is a state where the tag has become undetected leaves the detection area B1.

図3中の矢印は、状態が遷移する様子を示す。例えば、図3の矢印D1は、タグが状態Sから状態Sに遷移したことを示す。また、矢印D2は、タグが状態Sから状態Sに遷移したことを示す。また、矢印D3は、タグが状態Sに留まっていたこと、すなわち、図1に示したアンテナA1のエリア内にタグが停止していたことを示す。更に、矢印D4,D5は、状態S,Sがそれぞれタグ未検知の初期状態Sに自動的にリセットされたことを示す。 The arrow in FIG. 3 shows a state transition. For example, an arrow D1 in FIG. 3 indicates that the tag has transitioned from state S 1 to state S 2. The arrow D2 indicates that the tag has transitioned from state S 2 to state S 1. The arrow D3 is that the tag had remained state S 1, i.e., indicating that the tag has been stopped in the area of the antenna A1 shown in FIG. Further, arrows D4, D5 indicates that a state S 4, S 8 is automatically reset to the initial state S 0 of the tag undetected respectively.

図3において、読取装置102に誤動作が生じない場合、読取装置102によるタグ検知をイベントとして、タグの状態は遷移する。しかし、移動体Mが検知エリアB1に留まっていると、読取装置102からタグ検知結果が取得される度に、「アンテナA1が同一IDのタグを検知している」というイベントが繰り返し発生する。このような状況にも対応するため、状態S(nは0〜8の整数)は、イベントを機に自己の状態に戻る自己ループ(例えば、上記矢印D3)を有する。また、移動体MがアンテナA1とアンテナA2との間を往復したり、途中で引き返したりする場合を想定し、各状態S(n=0,1,2,3,5,6,7)は、異なる2つの状態間を双方向に遷移可能な経路を有する。 In FIG. 3, when a malfunction does not occur in the reading device 102, the tag state transitions with tag detection by the reading device 102 as an event. However, if the moving object M remains in the detection area B1, the event “the antenna A1 detects the tag with the same ID” repeatedly occurs every time the tag detection result is acquired from the reading device 102. In order to cope with such a situation, the state S n (n is an integer of 0 to 8) has a self-loop (for example, the arrow D3 described above) that returns to its own state in response to an event. Further, assuming that the moving body M reciprocates between the antenna A1 and the antenna A2 or turns back halfway, each state S n (n = 0, 1, 2, 3, 5, 6, 7) Has a path capable of bidirectional transition between two different states.

出力部104は、判定部143から入力された、移動体Mの状態(通過、引返し、停滞)を判定結果として出力する。   The output unit 104 outputs the state (passing, turning back, stagnation) of the moving body M input from the determination unit 143 as a determination result.

なお、図2に示した状態判定装置103は、物理的には、例えばパーソナルコンピュータによって実現される。また、取得部113、推定部133、判定部143は、物理的には、例えばCPU(Central Processing Unit)、あるいはASIC(Application Specific Integrated Circuit)等の集積回路によって実現される。記憶部123は、物理的には、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ等の半導体メモリ素子によって実現される。また、出力部104は、物理的には、例えば液晶ディスプレイ等の表示装置によって実現される。   Note that the state determination apparatus 103 illustrated in FIG. 2 is physically realized by, for example, a personal computer. The acquisition unit 113, the estimation unit 133, and the determination unit 143 are physically realized by an integrated circuit such as a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit). The storage unit 123 is physically realized by a semiconductor memory element such as a random access memory (RAM), a read only memory (ROM), and a flash memory. The output unit 104 is physically realized by a display device such as a liquid crystal display.

次に、実施例1における状態判定装置103の動作を説明する。   Next, the operation of the state determination device 103 according to the first embodiment will be described.

まず、図4を参照しながら、推定部133により実行される一連の処理を説明する。図4は、実施例1における推定部133の動作を示すフローチャートである。   First, a series of processes executed by the estimation unit 133 will be described with reference to FIG. FIG. 4 is a flowchart illustrating the operation of the estimation unit 133 according to the first embodiment.

まず、推定部133は、読取装置102の出力するタグ検知結果を取得する(ステップS1)。このタグ検知結果には、検知されたタグのIDと、これを検知したアンテナのIDとが、少なくとも含まれている。次に、推定部133は、検知されたタグIDについて、タグの状態を推定する(ステップS2)。この推定は、環境におけるタグの状態遷移に対して、状態遷移確率と出力確率とを適用することにより行われる。そして、推定部133は、この推定結果を判定部143に出力する(ステップS3)。   First, the estimation unit 133 acquires a tag detection result output from the reading device 102 (step S1). The tag detection result includes at least the ID of the detected tag and the ID of the antenna that has detected the tag. Next, the estimation unit 133 estimates the tag state for the detected tag ID (step S2). This estimation is performed by applying the state transition probability and the output probability to the state transition of the tag in the environment. And the estimation part 133 outputs this estimation result to the determination part 143 (step S3).

ステップS1〜S3の一連のサイクルは、例えば100ms周期等、一定の間隔で繰り返し実行される。   The series of steps S1 to S3 is repeatedly executed at regular intervals, such as a 100 ms period.

続いて、図5〜図15を参照しながら、判定部143の動作を説明する。   Next, the operation of the determination unit 143 will be described with reference to FIGS.

まず、通過判定処理について説明する。図5は、実施例1における通過判定処理を説明するためのフローチャートである。ステップS10では、判定部143の通過判定部143aは、推定部133から新たな推定結果が入力されるまで待機する。通過判定の対象となるIDのタグが検知されると(ステップS11;Yes)、通過判定部143aは、タグの状態が状態Sに遷移したか否かを判定する(ステップS12)。当該判定の結果、状態Sに遷移した場合(ステップS12;Yes)、通過判定部143aは、環境1において、移動体MがアンテナA1からアンテナA2の方向に「通過」したと判定する(ステップS13)。そして、ステップS10に戻り、それ以降の処理を実行する。 First, the passage determination process will be described. FIG. 5 is a flowchart for explaining the passage determination process according to the first embodiment. In step S10, the passage determination unit 143a of the determination unit 143 waits until a new estimation result is input from the estimation unit 133. When the tag of the subject to the ID of the passage determination is detected (step S11; Yes), passage determination unit 143a, the state of the tag determines whether the transition to state S 4 (step S12). As a result of the determination, when a transition is made to state S 4 (step S12; Yes), passage determination unit 143a, in the environment 1, (step determines that the moving object M is "pass" from the antenna A1 to the direction of the antenna A2 S13). And it returns to step S10 and performs the process after it.

一方、ステップS12における判定の結果、状態Sに遷移していない場合(ステップS12;No)、通過判定部143aは、タグが状態Sに遷移したか否かを判定する(ステップS14)。当該判定の結果、状態Sに遷移した場合(ステップS14;Yes)には、通過判定部143aは、環境1において、移動体MがアンテナA2からアンテナA1の方向に「通過」したと判定する(ステップS15)。そして、ステップS10に戻り、それ以降の処理を実行する。 On the other hand, the result of determination in step S12, if not a transition to state S 4 (step S12; No), passage determination unit 143a, the tag determines whether a transition to state S 8 (step S14). As a result of the determination, when a transition is made to state S 8; (step S14 Yes), passage determination unit 143a determines that the environment 1, the moving object M is "pass" from the antenna A2 in the direction of the antenna A1 (Step S15). And it returns to step S10 and performs the process after it.

また、ステップS14における判定の結果、状態Sに遷移していない場合(ステップS14;No)、通過判定部143aは、環境1において、移動体Mが何れの方向にも通過していない(未通過状態)と判定する(ステップS16)。そして、ステップS10に戻り、それ以降の処理を実行する。なお、ステップS11において、通過判定の対象となるIDのタグが検知されない場合にも(ステップS11;No)、ステップS10に戻り、それ以降の処理を実行する。 Further, the result of determination in step S14, if not a transition to the state S 8 (Step S14; No), passage determination unit 143a, in the environment 1, the moving object M does not pass in either direction (not Pass state) (step S16). And it returns to step S10 and performs the process after it. In step S11, even when the tag with the ID that is the object of passage determination is not detected (step S11; No), the process returns to step S10, and the subsequent processing is executed.

次に、図6〜図8を参照しながら、引返し判定処理について説明する。図6は、実施例1における引返し判定処理を説明するためのフローチャートである。ステップS20では、判定部143の引返し判定部143bは、推定部133から新たな推定結果が入力されるまで待機する。引返し判定部143bは、タグの状態が状態Sから状態Sに遷移したか否かを判定する(ステップS21)。当該判定の結果、状態Sに遷移した場合(ステップS21;Yes)には、引返し判定部143bは、後述するサブルーチン1を実行する(ステップS22)。 Next, the turn-back determination process will be described with reference to FIGS. FIG. 6 is a flowchart for explaining the turn-back determination process according to the first embodiment. In step S <b> 20, the turnback determination unit 143 b of the determination unit 143 waits until a new estimation result is input from the estimation unit 133. Retrace determination unit 143b, the state of the tag determines whether the transition from the state S 0 to state S 1 (step S21). As a result of the determination, when a transition is made to state S 1; (step S21 Yes), retrace determination unit 143b executes the subroutine 1 described later (step S22).

一方、ステップS21における判定の結果、タグが状態Sから状態Sに遷移していない場合(ステップS21;No)、引返し判定部143bは、タグが状態S(Sがリセットされた状態)から状態Sに遷移したか否かを判定する(ステップS23)。当該判定の結果、状態Sに遷移した場合(ステップS23;Yes)には、引返し判定部143bは、後述するサブルーチン2を実行する(ステップS24)。なお、上記ステップS23における判定の結果、状態Sに遷移していない場合(ステップS23;No)には、ステップS20に戻り、それ以降の処理を実行する。 State; (No step S21), and retrace determination unit 143b, the tag state S 0 to (S 4 is reset Meanwhile, the result of determination in step S21, if the tag is not a transition from the state S 0 to state S 1 ) it determines whether a transition to state S 5 from (step S23). As a result of the determination, when a transition is made to state S 5; (step S23 Yes), retrace determination unit 143b executes the subroutine 2 which will be described later (step S24). As a result of the determination in step S23, if not a transition to state S 5; (step S23 No), the process returns to step S20, and the subsequent processes are executed.

続いて、図7を参照しながら、上述のサブルーチン1(ステップS22)について詳述する。図7は、実施例1における引返し判定処理におけるサブルーチン1を説明するためのフローチャートである。   Subsequently, the above-described subroutine 1 (step S22) will be described in detail with reference to FIG. FIG. 7 is a flowchart for explaining the subroutine 1 in the turn-back determination process according to the first embodiment.

ステップS30では、判定部143の引返し判定部143bは、推定部133から新たな推定結果が入力されるまで待機する。引返し判定部143bは、タグの状態が状態Sから状態Sに遷移したか否かを判定する(ステップS31)。当該判定の結果、状態Sに遷移した場合(ステップS31;Yes)には、引返し判定部143bは、推定部133から新たな推定結果が入力されるまで待機する(ステップS32)。引返し判定部143bは、タグの状態が状態Sから状態Sに遷移したか否かを判定する(ステップS33)。当該判定の結果、状態Sに遷移した場合(ステップS33;Yes)には、引返し判定部143bは、推定部133から新たな推定結果が入力されるまで待機する(ステップS34)。引返し判定部143bは、タグの状態が状態Sから状態Sに遷移したか否かを判定する(ステップS35)。当該判定の結果、状態Sに遷移した場合(ステップS35;Yes)には、引返し判定部143bは、移動体Mの状態を「引返し」と判定する(ステップS36)。そして、サブルーチン1は終了する。サブルーチン1の終了後は、ステップS20に戻る(図7のリターン)。 In step S <b> 30, the turnback determination unit 143 b of the determination unit 143 waits until a new estimation result is input from the estimation unit 133. Retrace determination unit 143b, the state of the tag determines whether the transition from state S 1 to state S 2 (step S31). As a result of the determination, when a transition is made to state S 2; (step S31 Yes), retrace determination unit 143b waits from the estimation unit 133 until a new estimation result is input (step S32). Retrace determination unit 143b, the state of the tag determines whether the transition from state S 2 to state S 1 (step S33). As a result of the determination, when a transition is made to state S 1; (step S33 Yes), retrace determination unit 143b waits from the estimation unit 133 until a new estimation result is input (step S34). Retrace determination unit 143b, the state of the tag determines whether the transition from state S 1 to state S 0 (step S35). As a result of the determination, when a transition is made to state S 0; (step S35 Yes), retrace determination unit 143b determines the "retrace" the state of the moving object M (step S36). Then, subroutine 1 ends. After the end of subroutine 1, the process returns to step S20 (return in FIG. 7).

なお、ステップS31における判定の結果、状態Sから状態Sに遷移していない場合(ステップS31;No)には、引返し判定部143bは、上述したステップS32〜S34の処理を省略して、ステップS35の処理を実行する。また、ステップS35における判定の結果、状態Sから状態Sに遷移していない場合(ステップS35;No)には、引返し判定部143bは、再びステップS30以降の処理を実行する。 As a result of the judgment in the step S31, if not a transition from the state S 1 to state S 2; (step S31 No), retrace determination unit 143b, skip process in step S32~S34 described above, The process of step S35 is executed. Further, the result of determination in step S35, if not a transition from the state S 1 to state S 0; (step S35 No), retrace determination unit 143b executes again the step S30 and subsequent steps.

また、ステップS33における判定の結果、状態Sに遷移していない場合(ステップS33;No)には、引返し判定部143bは、引き続き、タグの状態が状態Sから状態Sに遷移したか否かを判定する(ステップS37)。当該判定の結果、状態Sに遷移した場合(ステップS37;Yes)には、引返し判定部143bは更に、推定部133から新たな推定結果が入力されるまで待機する(ステップS38)。引返し判定部143bは、タグの状態が状態Sから状態Sに遷移したか否かを判定する(ステップS39)。当該判定の結果、状態Sに遷移していない場合(ステップS39;No)には、引返し判定部143bは更に、タグの状態が状態Sから状態Sに遷移したか否かを判定する(ステップS40)。当該判定の結果、状態Sに遷移した場合(ステップS40;Yes)には、引返し判定部143bは、移動体Mが、検知エリアB1側から検知エリアB2側に「通過」したと判定する(ステップS41)。そして、サブルーチン1は終了する。 Further, the result of determination in step S33, if not a transition to the state S 1; or (step S33 No), retrace determination unit 143b continues, the state of the tag transitions from state S 2 to state S 3 It is determined whether or not (step S37). As a result of the determination, when a transition is made to state S 3; (step S37 Yes), retrace determination unit 143b further waits until a new estimation result from the estimating unit 133 is input (step S38). Retrace determination unit 143b, the state of the tag determines whether the transition from state S 3 to the state S 2 (step S39). As a result of the determination, if not a transition to state S 2; (step S39 No), retrace determination unit 143b further state of the tag determines whether the transition from state S 3 to the state S 4 (Step S40). As a result of the determination, when a transition is made to state S 4; (step S40 Yes), determines that the retrace determining unit 143b, the mobile M is to "pass" from detection area B1 side in the detection area B2 side ( Step S41). Then, subroutine 1 ends.

なお、ステップS37における判定の結果、状態Sから状態Sに遷移していない場合(ステップS37;No)には、引返し判定部143bは、再びステップS32以降の処理を実行する。また、ステップS39における判定の結果、状態Sから状態Sに遷移した場合(ステップS39;Yes)には、引返し判定部143bは、再びステップS32以降の処理を実行する。更に、ステップS40における判定の結果、状態Sから状態Sに遷移していない場合(ステップS40;No)には、引返し判定部143bは、再びステップS38以降の処理を実行する。 As a result of the judgment in the step S37, if not a transition from the state S 2 to state S 3; (step S37 No), retrace determination unit 143b executes again the step S32 and subsequent steps. Further, as a result of the judgment in the step S39, when a transition from the state S 3 to the state S 2; (step S39 Yes), retrace determination unit 143b executes again the step S32 and subsequent steps. Furthermore, as a result of the judgment in step S40, if not a transition from the state S 3 to the state S 4; (step S40 No), retrace determination unit 143b executes again the step S38 and subsequent steps.

次に、上述のサブルーチン2(図6に示したステップS24)について説明する。図8は、実施例1における引返し判定処理におけるサブルーチン2を説明するためのフローチャートである。図7では、状態S〜S(図3参照)における引返し判定処理を想定したが、図8では、状態S〜S(図3参照)における引返し判定処理を想定している。図7及び図8は、状態遷移の方向が反対方向となっている点を除き同一であるため、詳細な説明は省略するが、図8のステップS50〜S56は、図7のステップS30〜S36にそれぞれ対応する。また、図8のステップS57〜S61は、図7のステップS37〜S41にそれぞれ対応する。更に、状態S〜Sは、状態S〜Sにそれぞれ対応する。サブルーチン1では、引返し判定部143bは、検知エリアB1側から検知エリアB2側への通過を判定したが(図7のステップS41)、サブルーチン2では、引返し判定部143bは、これとは逆方向の通過を判定する(図8のステップS61)。なお、図8のステップS55における状態Sは、状態Sがリセットされた結果である。 Next, the above-described subroutine 2 (step S24 shown in FIG. 6) will be described. FIG. 8 is a flowchart for explaining the subroutine 2 in the turn-back determination process according to the first embodiment. In FIG. 7, the turn-back determination process in the states S 1 to S 4 (see FIG. 3) is assumed, but in FIG. 8, the turn-back determination process in the states S 5 to S 8 (see FIG. 3) is assumed. 7 and 8 are the same except that the direction of the state transition is the opposite direction, and detailed description thereof is omitted, but steps S50 to S56 in FIG. 8 are the same as steps S30 to S36 in FIG. Correspond to each. Also, steps S57 to S61 in FIG. 8 correspond to steps S37 to S41 in FIG. 7, respectively. Furthermore, the state S 5 to S 8 respectively correspond to the states S 1 to S 4. In the subroutine 1, the turn-back determining unit 143b determines the passage from the detection area B1 side to the detection area B2 side (step S41 in FIG. 7), but in the subroutine 2, the turn-back determining unit 143b is in the opposite direction. The passage is determined (step S61 in FIG. 8). The state S 0 at step S55 in FIG. 8 is a result of the state S 4 is reset.

次に、図9〜図15を参照しながら、停滞判定処理について説明する。図9は、実施例1における停滞判定処理を説明するためのフローチャートである。ステップS70では、判定部143の停滞判定部143cは、停滞判定用のカウンタ144cを初期化し“C=0”とする。停滞判定部143cは、推定部133から新たな推定結果が入力されるまで待機する(ステップS71)。停滞判定部143cは、タグの状態が状態Sから状態Sに遷移したか否かを判定する(ステップS72)。当該判定の結果、状態Sに遷移した場合(ステップS72;Yes)には、停滞判定部143cは、後述するサブルーチン3を実行する(ステップS73)。 Next, the stagnation determination process will be described with reference to FIGS. FIG. 9 is a flowchart for explaining the stagnation determination process according to the first embodiment. In step S70, the stagnation determination unit 143c of the determination unit 143 initializes the stagnation determination counter 144c to “C = 0”. The stagnation determination unit 143c waits until a new estimation result is input from the estimation unit 133 (step S71). Stagnation determining unit 143c, the state of the tag determines whether the transition from the state S 0 to state S 1 (step S72). As a result of the determination, when a transition is made to state S 1; (step S72 Yes), stagnation determination unit 143c executes a subroutine 3 to be described later (step S73).

一方、ステップS72における判定の結果、タグが状態Sから状態Sに遷移していない場合(ステップS72;No)、停滞判定部143cは、タグが状態S(Sがリセットされた状態)から状態Sに遷移したか否かを判定する(ステップS74)。当該判定の結果、状態Sに遷移した場合(ステップS74;Yes)には、停滞判定部143cは、後述するサブルーチン4を実行する(ステップS75)。なお、上記ステップS74における判定の結果、状態Sに遷移していない場合(ステップS74;No)には、ステップS71に戻り、それ以降の処理を実行する。 State; (No Step S72), stagnation determination unit 143c, the tag state S 0 to (S 4 is reset Meanwhile, the result of determination in step S72, the case where the tag is not a transition from the state S 0 to state S 1 ) it determines whether a transition to state S 5 from (step S74). As a result of the determination, when a transition is made to state S 5; (step S74 Yes), stagnation determination unit 143c executes a subroutine 4 to be described later (step S75). As a result of the judgment in the step S74, the case where no transition to state S 5; (step S74 No), the process returns to step S71, and the subsequent processes are executed.

続いて、図10〜図12を参照しながら、上述のサブルーチン3(ステップS73)について詳述する。図10は、実施例1における停滞判定処理におけるサブルーチン3の前半部分を説明するためのフローチャートである。   Subsequently, the above-described subroutine 3 (step S73) will be described in detail with reference to FIGS. FIG. 10 is a flowchart for explaining the first half of the subroutine 3 in the stagnation determination process according to the first embodiment.

ステップS80では、判定部143の停滞判定部143cは、推定部133から新たな推定結果が入力されるまで待機する。停滞判定部143cは、タグの状態が状態Sから状態Sに遷移したか否かを判定する(ステップS81)。当該判定の結果、状態Sに遷移した場合(ステップS81;Yes)には、停滞判定部143cは、推定部133から新たな推定結果が入力されるまで待機する(ステップS82)。停滞判定部143cは、タグの状態が状態Sから状態Sに遷移したか否かを判定する(ステップS83)。当該判定の結果、状態Sに遷移した場合(ステップS83;Yes)には、停滞判定部143cは更に、後述のサブルーチンAを実行する(ステップS84)。 In step S80, the stagnation determination unit 143c of the determination unit 143 waits until a new estimation result is input from the estimation unit 133. Stagnation determining unit 143c, the state of the tag determines whether the transition from state S 1 to state S 2 (step S81). As a result of the determination, when a transition is made to state S 2; (step S81 Yes), stagnation determination unit 143c waits the estimating unit 133 until a new estimation result is input (step S82). Stagnation determining unit 143c, the state of the tag determines whether the transition from state S 2 to state S 1 (step S83). As a result of the determination, when a transition is made to state S 1; (step S83 Yes), stagnation determination unit 143c further executes a subroutine A which will be described later (step S84).

また、ステップS81における判定の結果、状態Sに遷移していない場合(ステップS81;No)には、停滞判定部143cは、引き続き、タグの状態が状態Sから状態Sに遷移したか否かを判定する(ステップS85)。当該判定の結果、状態Sに遷移した場合(ステップS85;Yes)には、サブルーチン3は終了する。このサブルーチン3の終了に伴い、一連の停滞判定処理は終了する(図9のエンド)。一方、状態Sに遷移していない場合(ステップS85;No)には、停滞判定部143cは、移動体Mが状態Sに停滞していると判定し、後述のサブルーチンAを実行する(ステップS86)。 Further, the result of determination in step S81, if not a transition to state S 2; or (step S81 No), stagnation determination unit 143c continues, the state of the tag transitions from state S 1 to state S 0 It is determined whether or not (step S85). As a result of the determination, when a transition is made to state S 0; (step S85 Yes), the subroutine 3 is terminated. Along with the end of this subroutine 3, the series of stagnation determination processing ends (END in FIG. 9). On the other hand, if no transition to state S 0; (step S85 No), stagnation determination unit 143c, the mobile M is determined to be stagnant state S 1, it executes a subroutine A which will be described later ( Step S86).

図11は、実施例1における停滞判定処理におけるサブルーチン3の後半部分を説明するためのフローチャートである。上記ステップS83における判定の結果、状態Sに遷移していない場合(ステップS83;No)には、停滞判定部143cは、移動体Mが状態Sに停滞していると判定し、図11のステップS90以降の処理を実行する。ステップS90では、停滞判定部143cは、タグの状態が状態Sから状態Sに遷移したか否かを判定する。当該判定の結果、状態Sに遷移した場合(ステップS90;Yes)には、停滞判定部143cは、推定部133から新たな推定結果が入力されるまで待機する(ステップS91)。停滞判定部143cは、タグの状態が状態Sから状態Sに遷移したか否かを判定する(ステップS92)。当該判定の結果、状態Sに遷移していない場合(ステップS92;No)には、停滞判定部143cは更に、移動体Mが状態Sに停滞していると判定し、タグの状態が状態Sから状態Sに遷移したか否かを判定する(ステップS93)。当該判定の結果、状態Sに遷移した場合(ステップS93;Yes)には、停滞判定部143cは、移動体Mが、検知エリアB1側から検知エリアB2側に「通過」したと判定する(ステップS94)。そして、サブルーチン3を終了する。このサブルーチン3の終了に伴い、一連の停滞判定処理は終了する(図9のエンド)。 FIG. 11 is a flowchart for explaining the latter half of the subroutine 3 in the stagnation determination process according to the first embodiment. As a result of the judgment in the step S83, the case where no transition to state S 1; (step S83 No), stagnation determination unit 143c determines that the moving object M is stagnant state S 2, FIG. 11 The process after step S90 is executed. In step S90, stagnation determination unit 143c, the state of the tag determines whether the transition from state S 2 to state S 3. As a result of the determination, when a transition is made to state S 3; (step S90 Yes), stagnation determination unit 143c waits the estimating unit 133 until a new estimation result is input (step S91). Stagnation determining unit 143c, the state of the tag determines whether the transition from state S 3 to the state S 2 (step S92). As a result of the determination, if not a transition to state S 2; (step S92 No), the more stagnation determination unit 143c, determines that the moving object M is stagnant state S 3, the state of the tag determines whether the transition from state S 3 to the state S 4 (step S93). As a result of the determination, when a transition is made to state S 4; (step S93 Yes), stagnation determination unit 143c, the mobile M is determined that was "pass" from detection area B1 side in the detection area B2 side ( Step S94). Then, subroutine 3 ends. Along with the end of this subroutine 3, the series of stagnation determination processing ends (END in FIG. 9).

また、ステップS90における判定の結果、状態Sに遷移していない場合(ステップS90;No)には、停滞判定部143cは、引き続き、タグの状態が状態Sから状態Sに遷移したか否かを判定する(ステップS95)。当該判定の結果、状態Sに遷移した場合(ステップS95;Yes)には、停滞判定部143cは、後述のサブルーチンAを実行する(ステップS96)。実行後、停滞判定部143cは、図10のステップS80以降の処理を再び実行する。一方、上記ステップS95における判定の結果、状態Sに遷移していない場合(ステップS95;No)には、移動体Mが状態Sに停滞していると判定し、停滞判定部143cは、後述のサブルーチンAを実行する(ステップS97)。そして、停滞判定部143cは、図10のステップS82以降の処理を再び実行する。 Further, as a result of the judgment in the step S90, if not a transition to the state S 3; or (step S90 No), stagnation determination unit 143c continues, the state of the tag transitions from state S 2 to state S 1 It is determined whether or not (step S95). As a result of the determination, when a transition is made to state S 1; (step S95 Yes), stagnation determination unit 143c executes a subroutine A which will be described later (step S96). After execution, the stagnation determination unit 143c executes again the processing after step S80 in FIG. On the other hand, the result of the determination in step S95, if not a transition to the state S 1; (step S95 No), the moving body M is determined that the stagnant state S 2, stagnation determination unit 143c is A subroutine A described later is executed (step S97). Then, the stagnation determination unit 143c executes again the processing after step S82 in FIG.

上記ステップS92における判定の結果、状態Sから状態Sに遷移した場合(ステップS92;Yes)には、停滞判定部143cは、後述のサブルーチンAを実行する(ステップS98)。実行後は、上述のステップS97と同様、停滞判定部143cは、図10のステップS82以降の処理を再び実行する。 As a result of the judgment in the step S92, when a transition from the state S 3 to the state S 2; (step S92 Yes), stagnation determination unit 143c executes a subroutine A which will be described later (step S98). After the execution, the stagnation determination unit 143c executes the processes after step S82 in FIG. 10 again as in step S97 described above.

更に、ステップS93における判定の結果、状態Sに遷移していない場合(ステップS93;No)には、停滞判定部143cは、引き続き、タグの状態が状態Sから状態Sに遷移したか否かを判定する(ステップS99)。当該判定の結果、状態Sに遷移した場合(ステップS99;Yes)には、停滞判定部143cは、後述のサブルーチンAを実行する(ステップS100)。そして、上述のステップS97及びS98と同様、停滞判定部143cは、図10のステップS82以降の処理を再び実行する。一方、上記ステップS99における判定の結果、状態Sに遷移していない場合(ステップS99;No)には、移動体Mが状態Sに停滞していると判定し、停滞判定部143cは、後述のサブルーチンAを実行する(ステップS101)。そして、停滞判定部143cは、上述のステップS91以降の処理を再び実行する。 Furthermore, as a result of the judgment in the step S93, if not a transition to state S 4; or (step S93 No), stagnation determination unit 143c continues, the state of the tag transitions from state S 3 to the state S 2 It is determined whether or not (step S99). As a result of the determination, when a transition is made to state S 2; (step S99 Yes), stagnation determination unit 143c executes a subroutine A which will be described later (step S100). And the stagnation determination part 143c performs the process after step S82 of FIG. 10 again like step S97 and S98 mentioned above. On the other hand, the result of the determination in step S99, if not a transition to state S 2; (step S99 No), the moving body M is determined that the stagnant state S 3, stagnation determination unit 143c is A subroutine A described later is executed (step S101). And the stagnation determination part 143c performs the process after the above-mentioned step S91 again.

図12は、実施例1における停滞判定処理におけるサブルーチン3のサブルーチンAを説明するためのフローチャートである。図12のステップS110では、判定部143の停滞判定部143cは、停滞判定用のカウンタ144cの値を1つインクリメントする。停滞判定部143cは、カウンタ144cと閾値Tとの大小を比較し(ステップS111)、C≧閾値Tである場合(ステップS111;Yes)には、停滞判定部143cは、移動体Mの状態を「停滞」と判定する(ステップS112)。そして、サブルーチンAは終了する。一方、ステップS111における比較の結果、C<閾値Tである場合(ステップS111;No)には、そのままサブルーチンAを終了する(ステップS113)。   FIG. 12 is a flowchart for explaining subroutine A of subroutine 3 in the stagnation determination process according to the first embodiment. In step S110 of FIG. 12, the stagnation determination unit 143c of the determination unit 143 increments the value of the stagnation determination counter 144c by one. The stagnation determination unit 143c compares the size of the counter 144c with the threshold T (step S111). If C ≧ threshold T (step S111; Yes), the stagnation determination unit 143c determines the state of the moving object M. It determines with "stagnation" (step S112). Then, subroutine A ends. On the other hand, if C <threshold value T as a result of the comparison in step S111 (step S111; No), the subroutine A is terminated as it is (step S113).

次に、上述のサブルーチン4(図9に示したステップS75)について説明する。図13は、実施例1における停滞判定処理におけるサブルーチン4の前半部分を説明するためのフローチャートである。図10では、状態S〜S(図3参照)における停滞判定処理を想定したが、図13では、状態S〜S(図3参照)における停滞判定処理を想定している。図10及び図13は、状態遷移の方向が反対方向となっている点を除き同一であるため、詳細な説明は省略するが、図13のステップS120〜S126は、図10のステップS80〜S86にそれぞれ対応する。また、状態S〜Sは、状態S〜Sにそれぞれ対応する。更に、サブルーチンBは、サブルーチンAと同様の処理である。 Next, the above subroutine 4 (step S75 shown in FIG. 9) will be described. FIG. 13 is a flowchart for explaining the first half of the subroutine 4 in the stagnation determination process according to the first embodiment. In FIG. 10, the stagnation determination process in the states S 1 to S 4 (see FIG. 3) is assumed, but in FIG. 13, the stagnation determination process in the states S 5 to S 8 (see FIG. 3) is assumed. 10 and 13 are the same except that the direction of state transition is the opposite direction, and detailed description thereof is omitted. However, steps S120 to S126 in FIG. 13 are the same as steps S80 to S86 in FIG. Correspond to each. The state S 5 to S 8 respectively correspond to the states S 1 to S 4. Further, subroutine B is the same processing as subroutine A.

同様に、図14は図11に対応し、図15は図12に対応する。図14は、実施例1における停滞判定処理におけるサブルーチン4の後半部分を説明するためのフローチャートである。図14のステップS130〜S141は、図11のステップS90〜S101にそれぞれ対応する。サブルーチン3では、停滞判定部143cは、検知エリアB1側から検知エリアB2側への通過を判定したが(図11のステップS94)、サブルーチン4では、停滞判定部143cは、これとは逆方向の通過を判定する(図14のステップS134)。また、図15は、実施例1における停滞判定処理におけるサブルーチン4のサブルーチンBを説明するためのフローチャートである。図15のステップS150〜S153は、図12のステップS110〜S113にそれぞれ対応する。   Similarly, FIG. 14 corresponds to FIG. 11, and FIG. 15 corresponds to FIG. FIG. 14 is a flowchart for explaining the latter half of the subroutine 4 in the stagnation determination process according to the first embodiment. Steps S130 to S141 in FIG. 14 correspond to steps S90 to S101 in FIG. 11, respectively. In the subroutine 3, the stagnation determining unit 143c determines the passage from the detection area B1 side to the detection area B2 side (step S94 in FIG. 11), but in the subroutine 4, the stagnation determining unit 143c is in the opposite direction. The passage is determined (step S134 in FIG. 14). FIG. 15 is a flowchart for explaining subroutine B of subroutine 4 in the stagnation determination process according to the first embodiment. Steps S150 to S153 in FIG. 15 correspond to steps S110 to S113 in FIG. 12, respectively.

上述したように、状態判定装置103は、一連の引返し判定処理を実行することで、移動体Mが、図3に示した状態S,S,Sの何れの状態から引き返した場合にも、引返しの判定を行うことができる。これと同様に、状態判定装置103は、一連の停滞判定処理を実行することで、移動体Mが状態S,S,Sの何れの状態に停滞した場合にも対応することができる。 As described above, the state determination device 103 performs a series of turn-back determination processing, so that the moving body M turns back from any of the states S 1 , S 2 , and S 3 shown in FIG. Also, it is possible to make a turnback determination. Similarly, the state determination apparatus 103 can deal with a case where the moving body M is in a state of any of the states S 1 , S 2 , and S 3 by executing a series of stagnation determination processes. .

以上、動作を説明したが、本実施例における状態判定装置103は、環境1において、読取装置102による誤動作(タグ10の未検知や誤検知)に対応すべく、図16に示す確率オートマトンを用いる。確率オートマトンは、例えば、隠れマルコフモデル(HMM:Hidden Markov Model)である。図16は、実施例1において適用される確率オートマトンを説明するための図である。図16において、“aij”は、状態Sから状態Sへの遷移確率を表す。また、“b(k)”は、状態Sにおいてシンボルkを出力する確率を表す。また、“k”は、対応する検知エリア内においてタグが検知されたという出力シンボルを表す。例えば、検知エリアB1内にタグ10が検知されたときの出力シンボルは“k=A1”であり、検知エリアB2内にタグ10が検知されたときの出力シンボルは“k=A2”である。また、検知エリアB3内にタグ10が検知されたときの出力シンボルは“k=A12”であり、何れの検知エリアにおいてもタグ10が検知されないとき(未検知)の出力シンボルは“k=Non”である。したがって、例えば、b(A1)は、状態Sにおいて、検知エリアB1内でタグが検知されたと出力する確率を示し、b(A12)は、状態Sにおいて、検知エリアB3内でタグが検知されたと出力する確率を示す。また、b(Non)は、状態Sにおいて、何れの検知エリアにもタグが検知されていないと出力する確率を示す。 Although the operation has been described above, the state determination device 103 according to the present exemplary embodiment uses the probability automaton illustrated in FIG. 16 in order to cope with a malfunction (not detected or erroneous detection of the tag 10) by the reading device 102 in the environment 1. . The stochastic automaton is, for example, a hidden Markov model (HMM). FIG. 16 is a diagram for explaining the stochastic automaton applied in the first embodiment. In FIG. 16, “a ij ” represents the transition probability from the state S i to the state S j . “B i (k)” represents the probability of outputting the symbol k in the state S i . “K” represents an output symbol indicating that a tag has been detected in the corresponding detection area. For example, the output symbol when the tag 10 is detected in the detection area B1 is “k = A1”, and the output symbol when the tag 10 is detected in the detection area B2 is “k = A2”. The output symbol when the tag 10 is detected in the detection area B3 is “k = A12”, and the output symbol when the tag 10 is not detected in any detection area (undetected) is “k = Non”. ". Thus, for example, b 1 (A1), in a state S 1, indicates the probability of tag in the detection area B1 is output is detected, b 2 (A12) is, in the state S 2, the tag within the detection area B3 Indicates the probability of output when is detected. Further, b 3 (Non) indicates the probability of output when no tag is detected in any detection area in the state S 3 .

上記確率オートマトンを用いることで、例えば、状態Sにおいて、それぞれの検知エリア内でタグが検知されたというシンボルを出力確率は、“b(A1)=0.8”、“b(A2)=0.05”、“b(A12)=0.05”、“b(Non)=0.1”のように表される。これにより、アンテナA1の検知エリアB1内にタグがあるにも拘らず、検知エリアB3内にタグがあると検知(誤検知)される確率b(A12)が、0.05と定義される。同様に、アンテナA1の検知エリアB1内にタグがあるにも拘らず、検知されない(未検知の)確率b(Non)は、0.1と定義される。 By using the probability automaton, for example, in the state S 1, the output probability of the symbol tag is detected in each of the detection area is, "b 1 (A1) = 0.8", "b 1 (A2 ) = 0.05 ”,“ b 1 (A12) = 0.05 ”,“ b 1 (Non) = 0.1 ”. As a result, the probability b 1 (A12) that the detection (false detection) is detected when there is a tag in the detection area B3 despite the presence of the tag in the detection area B1 of the antenna A1 is defined as 0.05. . Similarly, the probability b 1 (Non) that is not detected (undetected) even though there is a tag in the detection area B1 of the antenna A1 is defined as 0.1.

確率オートマトンを用いることで、以下に説明するような状態推定が可能となる。読取装置102による、あるIDのタグの初回検知から最新検知までの時系列の検知データを「観測シンボルy」と表す。例えば、タグ10について、読取装置102が「未検知」、「アンテナA1で検知」、「アンテナA1で検知」、「アンテナA2で検知」の順に検知した場合、観測シンボルは、y=Non A1 A1 A2という時系列データとなる。図16に示した確率オートマトンにおいて、このような観測シンボルyが与えられたときに状態S(iは0〜8の整数)となる確率は、p(S│y)によって表される。状態判定装置103の推定部133は、タグ10について、ある観測シンボルyが与えられたとき、全ての状態Sについてp(S│y)を算出し、最も確率の高い状態Sを求めることで、タグ10の現在の状態を推定する。例えば、p(S│y)のうち、p(S│y)が最大となった場合、推定部133は、タグ10が状態Sに到達したと推定する。そして、判定部143は、上述した通過判定処理を実行することにより、タグ10の付された移動体Mが、検知エリアB1から検知エリアB2に向かう方向に通過したと判定する。 By using the probabilistic automaton, it is possible to estimate the state as described below. The time-series detection data from the first detection to the latest detection of a tag with a certain ID by the reading device 102 is represented as “observation symbol y”. For example, when the reading device 102 detects the tag 10 in the order of “not detected”, “detected by the antenna A1”, “detected by the antenna A1”, and “detected by the antenna A2”, the observation symbol is y = Non A1 A1. The time series data is A2. In the probability automaton shown in FIG. 16, the probability that the state S i (i is an integer of 0 to 8) when such an observation symbol y is given is expressed by p (S i | y). The estimation unit 133 of the state determination device 103 calculates p (S i | y) for all the states S i when a certain observation symbol y is given for the tag 10, and obtains the state S i with the highest probability. Thus, the current state of the tag 10 is estimated. For example, when p (S 4 | y) becomes the maximum among p (S i | y), the estimation unit 133 estimates that the tag 10 has reached the state S 4 . And the determination part 143 determines with the moving body M to which the tag 10 was attached having passed in the direction which goes to detection area B2 from detection area B1 by performing the passage determination process mentioned above.

図17は、各状態S〜Sについて、実施例1において適用される確率オートマトンの具体例を示す図である。図17において、状態S〜S内に示す数値は、各状態におけるシンボルkの出力確率である。例えば、状態Sでは、A1,A2,A12,Non(未検知)を出力する確率はそれぞれ0.5,0.1,0.3,0.1である。また、各状態S〜S間を結ぶ矢印に付された数値は、状態遷移確率を表す。例えば、状態Sから状態Sに遷移(自己ループ)する確率は0.4、状態Sから状態Sに遷移する確率は0.3、状態Sから状態Sに遷移する確率は0.3である。 FIG. 17 is a diagram illustrating a specific example of the probability automaton applied in the first embodiment for each of the states S 0 to S 4 . In FIG. 17, the numerical values shown in the states S 1 to S 3 are the output probabilities of the symbol k in each state. For example, in state S 1, A1, A2, A12, the probability of outputting Non the (non-detection) are each 0.5,0.1,0.3,0.1. The numerical values attached to the arrows connecting between the states S 0 to S 4 represents the state transition probability. For example, the probability of transition from state S 1 to state S 1 (self-loop) is 0.4, the probability of transition from state S 1 to state S 0 is 0.3, and the probability of transition from state S 1 to state S 2 is 0.3.

以下、推定部133が、タグ10に関する特徴ベクトル(A1,A12,A2,Non)を観測した場合を想定し、タグ10の到達した状態(遷移先)を推定する方法について説明する。タグ10の到達状態として最も確率の高い状態は、以下のように算出される。特徴ベクトルが入力されてSに到達した状態をωとする。同様に、Sに到達した状態をω、Sに到達した状態をω、Sに到達した状態をω、Sに到達した状態をωとする。初期状態がSのとき、特徴ベクトルが観測されてS→S→S→Sと遷移した場合における確率は、以下のように算出される。 Hereinafter, assuming that the estimation unit 133 observes the feature vector (A1, A12, A2, Non) related to the tag 10, a method for estimating the state (transition destination) reached by the tag 10 will be described. The state with the highest probability as the arrival state of the tag 10 is calculated as follows. A state in which the feature vector is input and reaches S 0 is defined as ω 0 . Similarly, the state that has reached S 1 is ω 1 , the state that has reached S 2 is ω 2 , the state that has reached S 3 is ω 3 , and the state that has reached S 4 is ω 4 . When the initial state is S 0 , the probability when the feature vector is observed and transitions from S 1 → S 1 → S 1 → S 0 is calculated as follows.

p(A1│S)×p(S→S)×p(A12│S)×p(S→S)×p(A2│S)×p(S→S)=0.5×0.4×0.3×0.4×0.1×0.3=0.00072 p (A1│S 1) × p ( S 1 → S 1) × p (A12│S 1) × p (S 1 → S 1) × p (A2│S 1) × p (S 1 → S 0) = 0.5 x 0.4 x 0.3 x 0.4 x 0.1 x 0.3 = 0.00072

ここで、p(A1│S)は、状態SにおいてA1を観測したと出力される確率(出力確率)であり、p(S→S)は、状態Sから状態Sに遷移する確率(状態遷移確率)である。 Here, p (A1 | S 1 ) is a probability (output probability) that is output when A1 is observed in the state S 1 , and p (S 1 → S 1 ) is changed from the state S 1 to the state S 1 . This is the probability of transition (state transition probability).

→S→S→S以外の状態遷移についても同様に、特徴ベクトル(A1,A12,A2,Non)が観測されたときに到達する可能性のある全ての状態について、上記確率を算出すると、以下のようになる。 Similarly for the state transitions other than S 1 → S 1 → S 1 → S 0 , the above probabilities are obtained for all the states that may be reached when the feature vector (A1, A12, A2, Non) is observed. Is calculated as follows.

→S→S→Sと遷移した場合の確率は0.000675
→S→S→Sと遷移した場合の確率は0.000096
→S→S→Sと遷移した場合の確率は0.000135
→S→S→Sと遷移した場合の確率は0.00009
→S→S→Sと遷移した場合の確率は0.000225
→S→S→Sと遷移した場合の確率は0.00072
→S→S→Sと遷移した場合の確率は0.00018
→S→S→Sと遷移した場合の確率は0.0000675
→S→S→Sと遷移した場合の確率は0.0003
→S→S→Sと遷移した場合の確率は0.0003375
→S→S→Sと遷移した場合の確率は0.000135
→S→S→Sと遷移した場合の確率は0.000225
→S→S→Sと遷移した場合の確率は0.00045
→S→S→Sと遷移した場合の確率は0.003375
The probability of transition from S 1 → S 2 → S 1 → S 0 is 0.000675
The probability of transition from S 1 → S 1 → S 1 → S 1 is 0.000096
The probability of transition from S 1 → S 1 → S 2 → S 1 is 0.000135
The probability of transition from S 1 → S 2 → S 1 → S 1 is 0.00009
The probability of the transition from S 1 → S 2 → S 2 → S 1 is 0.000225
The probability of a transition from S 1 → S 1 → S 1 → S 2 is 0.00072
The probability of transition from S 1 → S 1 → S 2 → S 2 is 0.00018
The probability of transition from S 1 → S 2 → S 1 → S 2 is 0.0000675
The probability of transition from S 1 → S 2 → S 2 → S 2 is 0.0003
The probability of transition from S 1 → S 2 → S 3 → S 2 is 0.0003375
The probability of the transition from S 1 → S 1 → S 2 → S 3 is 0.000135
The probability of transition from S 1 → S 2 → S 2 → S 3 is 0.000225
The probability of a transition from S 1 → S 2 → S 3 → S 3 is 0.00045
The probability of transition from S 1 → S 2 → S 3 → S 4 is 0.003375

これらは、同時に起こり得ない独立事象であるので、ω〜ωとなる確率は、それぞれ以下のように算出される。 Since these are independent events that cannot occur at the same time, the probabilities of ω 0 to ω 4 are calculated as follows.

p(A1,A12,A2,Non│ω)=0.00072+0.000675=0.001395
p(A1,A12,A2,Non│ω)=0.00096+0.000135+0.00009+0.000225=0.000546
p(A1,A12,A2,Non│ω)=0.000072+0.00018+0.0000675+0.0003+0.0003375=0.000957
p(A1,A12,A2,Non│ω)=0.000135+0.000225+0.00045=0.00081
p(A1,A12,A2,Non│ω)=0.003375
p (A1, A12, A2, Non | ω 0 ) = 0.00072 + 0.000675 = 0.001395
p (A1, A12, A2, Non | ω 1 ) = 0.00096 + 0.000135 + 0.00009 + 0.000225 = 0.000546
p (A1, A12, A2, Non | ω 2 ) = 0.000072 + 0.00018 + 0.0000675 + 0.0003 + 0.0003375 = 0.000957
p (A1, A12, A2, Non | ω 3 ) = 0.000135 + 0.000225 + 0.00045 = 0.00081
p (A1, A12, A2, Non | ω 4 ) = 0.003375

上記ω〜ωの事前確率は等しいことから、p(ω)=p(ω)=p(ω)=p(ω)=p(ω)=0.2となる。 Since the prior probabilities of ω 0 to ω 4 are equal, p (ω 0 ) = p (ω 1 ) = p (ω 2 ) = p (ω 3 ) = p (ω 4 ) = 0.2.

したがって、特徴ベクトル(A1,A12,A2,Non)が観測された場合における最も確率の高い到達状態は、ベイズの定理より、以下のように求められる。   Therefore, the arrival state with the highest probability when the feature vector (A1, A12, A2, Non) is observed is obtained as follows from Bayes' theorem.

p(ω│A1,A12,A2,Non)=p(A1,A12,A2,Non│ω)×p(ω)=0.000279
p(ω│A1,A12,A2,Non)=p(A1,A12,A2,Non│ω)×p(ω)=0.000109
p(ω│A1,A12,A2,Non)=p(A1,A12,A2,Non│ω)×p(ω)=0.000191
p(ω│A1,A12,A2,Non)=p(A1,A12,A2,Non│ω)×p(ω)=0.000162
p(ω│A1,A12,A2,Non)=p(A1,A12,A2,Non│ω)×p(ω)=0.000675
p (ω 0 │A1, A12, A2, Non) = p (A1, A12, A2, Non│ω 0) × p (ω 0) = 0.000279
p (ω 1 │A1, A12, A2, Non) = p (A1, A12, A2, Non│ω 1) × p (ω 1) = 0.000109
p (ω 2 │A1, A12, A2, Non) = p (A1, A12, A2, Non│ω 2) × p (ω 2) = 0.000191
p (ω 3 │A1, A12, A2, Non) = p (A1, A12, A2, Non│ω 3) × p (ω 3) = 0.000162
p (ω 4 │A1, A12, A2, Non) = p (A1, A12, A2, Non│ω 4) × p (ω 4) = 0.000675

以上より、推定部133は、図17の確率オートマトンにおいて、特徴ベクトル(A1,A12,A2,Non)が観測された際、タグ10が最も到達する確率の高い状態を、状態Sと推定する。 From the above, the estimation unit 133, the probability automaton of FIG. 17, when the feature vector (A1, A12, A2, Non ) was observed, with a high probability of tag 10 is most arrival status is estimated state S 4 .

なお、上記説明では、状態S〜S(図3の上側)について、確率オートマトンを用いた推定方法について説明したが、推定部133は、状態S及び状態S〜S(図3の下側)についても同様の算出手法により、タグ10の到達状態を推定することができる。 In the above description, the estimation method using the stochastic automaton has been described for the states S 0 to S 4 (upper side in FIG. 3). However, the estimation unit 133 has the states S 0 and S 5 to S 8 (FIG. 3). The arrival state of the tag 10 can be estimated for the lower side) by the same calculation method.

上述してきたように、本実施例における状態判定装置103は、記憶部123と推定部133と判定部143とを有する。記憶部123には、状態遷移確率123aと出力確率123bとが対応付けて記憶される。状態遷移確率123aは、環境1におけるタグ10の状態の遷移とともに、各状態S〜Sから他の状態に遷移する確率である。出力確率123bは、各状態S〜Sにおいてタグ10の検知または未検知を示す複数のシンボルkそれぞれが出力される確率である。推定部133は、タグ10について複数のシンボルkが順に出力された場合に、記憶部123に記憶された状態遷移確率123a及び出力確率123bを用いて、タグ10が到達した状態を推定する。判定部143は、推定部133により推定された状態に基づき、タグ10の通過を判定する。状態判定装置103は、状態遷移確率123aと出力確率123bとが規定された確率オートマトンを用いて、状態S〜Sの中から、人が到達した確率が最も高い状態を求め、その状態から人の通過を判定する。換言すれば、状態判定装置103は、タグ10の未検知や誤検知といった誤動作までも考慮して、状態の推定を行う。したがって、状態判定装置103は、誤動作が生じた場合でも最も高い確率で、タグ10を所持する移動体Mの状態推定を行うことができる。その結果、状態判定の精度が向上する。 As described above, the state determination device 103 in the present embodiment includes the storage unit 123, the estimation unit 133, and the determination unit 143. The storage unit 123 stores a state transition probability 123a and an output probability 123b in association with each other. State transition probability 123a, together with the transition of the state of the tag 10 in the environment 1 is the probability of transition from each state S 0 to S 8 to the other state. Output probability 123b is the probability that each of the plurality of symbols k indicating the detection or non-detection of the tag 10 is output at each state S 0 to S 8. When a plurality of symbols k are sequentially output for the tag 10, the estimation unit 133 estimates the state that the tag 10 has reached using the state transition probability 123 a and the output probability 123 b stored in the storage unit 123. The determination unit 143 determines the passage of the tag 10 based on the state estimated by the estimation unit 133. Determination device 103 uses the state transition probability 123a and output probability 123b and is defined probability automaton, from the state S 0 to S 8, it obtains the highest state probability person has arrived, from the state Determine the passage of people. In other words, the state determination device 103 estimates the state in consideration of malfunctions such as undetected and erroneous detection of the tag 10. Therefore, the state determination apparatus 103 can perform the state estimation of the moving object M carrying the tag 10 with the highest probability even when a malfunction occurs. As a result, the accuracy of state determination is improved.

本実施例における状態判定装置103は、図3、図16あるいは図17に示したような、自己ループと2つの状態間を双方向に遷移可能な経路とを有する状態遷移図を用いて、タグの検知をイベントとする状態遷移により、タグの状態を推定する。このため、状態判定装置103は、読取装置102の誤動作の発生パターンに合わせて、タグの状態を判別するためのパターンテーブルを無数に用意する必要がない。つまり、状態判定装置103は、確率オートマトンを用いることにより、タグが到達した状態の推定を簡易な構成で行うことができる。   The state determination apparatus 103 in the present embodiment uses a state transition diagram having a self-loop and a path capable of bidirectionally transitioning between two states as shown in FIG. 3, FIG. 16, or FIG. The state of the tag is estimated by a state transition whose detection is an event. For this reason, the state determination device 103 does not need to prepare an infinite number of pattern tables for determining the state of the tag in accordance with the malfunction occurrence pattern of the reading device 102. That is, the state determination apparatus 103 can estimate the state that the tag has reached by using a probability automaton with a simple configuration.

更に、本実施例における状態判定装置103によれば、判定部143は、推定部133により推定された状態に基づき、タグ10の引返し、停滞を判定する。これにより、状態判定装置103は、タグ10の到達状態ひいては移動体Mの状態として、通過のみならず、引返しや停滞をも判定することができる。したがって、状態判定装置103は、移動体Mが検知エリアを通過することなく途中で戻った場合、あるいは、移動体Mが検知エリア近傍に立ち止っている場合にも、その事を精度良く判定することができる。その結果、移動体Mの挙動を、より詳細かつ高精度に把握することが可能となる。   Furthermore, according to the state determination apparatus 103 in the present embodiment, the determination unit 143 determines whether the tag 10 is turned back or stagnated based on the state estimated by the estimation unit 133. Thereby, the state determination apparatus 103 can determine not only passing but also turning back and stagnation as the arrival state of the tag 10 and thus the state of the moving body M. Therefore, the state determination device 103 accurately determines this even when the moving body M returns midway without passing through the detection area, or when the moving body M stops near the detection area. be able to. As a result, the behavior of the moving body M can be grasped in more detail and with high accuracy.

次に、実施例2における状態判定ユニットの構成について説明する。図18は、実施例2における状態判定ユニットの機能的構成を示す図である。図18は、本実施例に係る状態判定ユニット200の機能的構成を示す図である。図18に示すように、状態判定ユニット200は、上述のアンテナA1,A2と、アンテナ切替装置201と、読取装置202と、状態判定装置203と、出力部204とを有する。これら各構成部分は、一方向又は双方向に、信号やデータの入出力が可能なように接続されている。   Next, the configuration of the state determination unit in the second embodiment will be described. FIG. 18 is a diagram illustrating a functional configuration of the state determination unit according to the second embodiment. FIG. 18 is a diagram illustrating a functional configuration of the state determination unit 200 according to the present embodiment. As illustrated in FIG. 18, the state determination unit 200 includes the antennas A <b> 1 and A <b> 2, the antenna switching device 201, the reading device 202, the state determination device 203, and the output unit 204. Each of these components is connected so that signals and data can be input and output in one direction or in both directions.

状態判定装置203は、読取装置202から入力されるタグ検知結果を基に、環境1に属する移動体Mの状態を判定し、判定結果を出力部204に出力する。状態判定装置203は、図18に示すように、取得部213と、記憶部223と、推定部233と、判定部243と、調整部253とを有する。記憶部223は、状態遷移確率223a及び出力確率223bを記憶する。判定部243は更に、通過判定部243aと、引返し判定部243bと、カウンタ244cを有する停滞判定部243cとを有する。   The state determination device 203 determines the state of the moving body M belonging to the environment 1 based on the tag detection result input from the reading device 202, and outputs the determination result to the output unit 204. As shown in FIG. 18, the state determination device 203 includes an acquisition unit 213, a storage unit 223, an estimation unit 233, a determination unit 243, and an adjustment unit 253. The storage unit 223 stores the state transition probability 223a and the output probability 223b. The determination unit 243 further includes a passage determination unit 243a, a turnback determination unit 243b, and a stagnation determination unit 243c having a counter 244c.

状態判定ユニット200は、調整部253を更に有する点を除き、実施例1における状態判定ユニット100と同様の構成を有する。したがって、同様の構成要素には、末尾が同一の参照符号を付すとともに、その詳細な説明は省略する。具体的には、実施例2におけるアンテナ切替装置201と、読取装置202と、状態判定装置203と、出力部204とは、実施例1におけるアンテナ切替装置101と、読取装置102と、状態判定装置103と、出力部104とにそれぞれ対応する構成要素である。また、実施例2における取得部213と、記憶部223と、推定部233と、判定部243とは、実施例1における取得部113と、記憶部123と、推定部133と、判定部143とにそれぞれ対応する。更に、実施例2における記憶部223の状態遷移確率223a及び出力確率223bは、実施例1における状態遷移確率123a及び出力確率123bにそれぞれ対応する。また、実施例2における判定部243の通過判定部243aと、引返し判定部243bとは、実施例1における判定部143の通過判定部143aと、引返し判定部143bとにそれぞれ対応する構成要素である。そして、実施例2におけるカウンタ244cを有する停滞判定部243cは、実施例1におけるカウンタ144cを有する停滞判定部143cに対応する構成要素である。   The state determination unit 200 has the same configuration as the state determination unit 100 according to the first embodiment except that the state determination unit 200 further includes an adjustment unit 253. Therefore, the same components are denoted by the same reference numerals at the end, and detailed description thereof is omitted. Specifically, the antenna switching device 201, the reading device 202, the state determination device 203, and the output unit 204 in the second embodiment are the antenna switching device 101, the reading device 102, and the state determination device in the first embodiment. 103 and the output unit 104. In addition, the acquisition unit 213, the storage unit 223, the estimation unit 233, and the determination unit 243 in the second embodiment are the acquisition unit 113, the storage unit 123, the estimation unit 133, and the determination unit 143 in the first embodiment. Correspond to each. Furthermore, the state transition probability 223a and the output probability 223b of the storage unit 223 in the second embodiment correspond to the state transition probability 123a and the output probability 123b in the first embodiment, respectively. In addition, the passage determination unit 243a and the turnback determination unit 243b of the determination unit 243 according to the second embodiment are components corresponding to the passage determination unit 143a and the turnback determination unit 143b of the determination unit 143 according to the first embodiment, respectively. . The stagnation determination unit 243c having the counter 244c in the second embodiment is a component corresponding to the stagnation determination unit 143c having the counter 144c in the first embodiment.

以下、実施例1との主要な差異である調整部253について説明する。調整部253は、確率オートマトン(図16、図17参照)におけるパラメータを学習する。調整部253は、環境1の変化に対応して、上述の状態遷移確率と上述の出力確率とを、環境1に適した値(パラメータ)に自動的に調整する。パラメータの学習には、例えば、隠れマルコフモデルのパラメータ学習法であるBaumWelchアルゴリズムを用いることができる。   Hereinafter, the adjustment unit 253 which is a main difference from the first embodiment will be described. The adjustment unit 253 learns parameters in the probability automaton (see FIGS. 16 and 17). The adjustment unit 253 automatically adjusts the state transition probability and the output probability described above to values (parameters) suitable for the environment 1 in response to changes in the environment 1. For example, the BaumWelch algorithm, which is a parameter learning method for a hidden Markov model, can be used for parameter learning.

実施例2における状態判定ユニット200は、実施例1における状態判定ユニット100の奏する効果に加えて、更に以下のような効果を奏する。すなわち、環境1に設置されたアンテナA1,A2付近に新たな物が置かれたり、既存の物の置かれ方が変わったりすると、電波の遮蔽やマルチパスの影響により、読取装置202に誤動作が生じる場合がある。実施例2における状態判定ユニット200によれば、状態判定装置203の調整部253は、このような環境1の変化に合わせて、既存の状態遷移確率、出力確率といったパラメータを適宜更新する。これにより、パラメータが常に最適な値にチューニングされる。したがって、状態判定装置203は、環境1が変化しても、タグ10の到達する状態を精度良く推定することができる。その結果、環境の変化に対してロバストな状態判定が実現される。   The state determination unit 200 according to the second embodiment has the following effects in addition to the effects achieved by the state determination unit 100 according to the first embodiment. That is, if a new object is placed near the antennas A1 and A2 installed in the environment 1 or an existing object is placed in a different manner, the reading apparatus 202 may malfunction due to radio wave shielding or multipath effects. May occur. According to the state determination unit 200 in the second embodiment, the adjustment unit 253 of the state determination device 203 appropriately updates parameters such as the existing state transition probability and output probability in accordance with such a change in the environment 1. As a result, the parameter is always tuned to an optimum value. Therefore, even if the environment 1 changes, the state determination apparatus 203 can estimate the state that the tag 10 reaches with high accuracy. As a result, a state determination that is robust against environmental changes is realized.

実施例2における状態判定ユニット200によれば、調整部253は、初期値として設定された状態遷移確率及び出力確率の値(パラメータ)を、観測シンボルyの付与により、その観測結果が反映された値に修正していく。パラメータは、到達状態として最も確率の高い状態が推定される度に、自律的に随時更新される。状態遷移確率や出力確率は、事前に統計的な予測が可能であるが、例えば、アンテナの周辺に遮蔽物が置かれて電波反射の仕方が変わったときには、これに伴い、状態遷移確率や出力確率も変動する。調整部253は、隠れマルコフモデルによる学習効果で、これらの確率の値を環境に合わせて自動的に調整する。この調整に際しては、例えば、上記のBaumWelchのアルゴリズムを適用することができる。これにより、タグの到達した状態について、環境の変化によらず、最適な推定が可能となる。   According to the state determination unit 200 in the second embodiment, the adjustment unit 253 reflects the observation result by applying the observation symbol y to the state transition probability and the output probability value (parameters) set as initial values. It will be corrected to the value. The parameter is autonomously updated at any time whenever the state with the highest probability is estimated as the arrival state. The state transition probability and output probability can be statistically predicted in advance.For example, when a shielding object is placed around the antenna and the way radio waves are reflected, the state transition probability and output probability change accordingly. Probability also varies. The adjustment unit 253 automatically adjusts the value of these probabilities according to the environment by the learning effect of the hidden Markov model. In this adjustment, for example, the above BaumWelch algorithm can be applied. This makes it possible to optimally estimate the state where the tag has arrived, regardless of changes in the environment.

続いて、実施例1及び2における状態判定ユニット100,200を有して構成される状態判定システムEについて説明する。図19は、実施例1及び2における状態判定ユニットを有する状態判定システムの構成例を示す図である。図19に示すように、状態判定システムEは、状態判定ユニット100,200と、これと同様の構成を有する状態判定ユニット100,200−2〜状態判定ユニット100,200−n(nは自然数)とを有する。これらの状態判定ユニット100,200及び100,200−2〜nは、ネットワークNを介して相互に情報の送受信が可能なように接続されている。同じネットワークNには、位置管理サーバE1、タグデータベースE2、地図データベースE3、及び位置表示装置E4が接続されている。   Subsequently, a state determination system E configured to include the state determination units 100 and 200 in the first and second embodiments will be described. FIG. 19 is a diagram illustrating a configuration example of a state determination system having a state determination unit according to the first and second embodiments. As shown in FIG. 19, the state determination system E includes state determination units 100 and 200 and state determination units 100 and 200-2 to state determination units 100 and 200 -n (n is a natural number) having the same configuration as this. And have. These state determination units 100, 200 and 100, 200-2 to n are connected to each other via a network N so that information can be transmitted and received between them. To the same network N, a location management server E1, a tag database E2, a map database E3, and a location display device E4 are connected.

状態判定システムEでは、状態判定ユニット100,200及び100,200−2〜nは、所定の環境において、タグを介した人の状態判定を行うのに適した場所に設置される。状態判定ユニット100,200及び100,200−2〜nによる状態判定結果は、位置管理サーバE1に収集される。   In the state determination system E, the state determination units 100, 200 and 100, 200-2 to n are installed in a place suitable for performing a state determination of a person via a tag in a predetermined environment. The state determination results by the state determination units 100, 200 and 100, 200-2 to n are collected by the location management server E1.

図20は、状態判定システムEにおいて、位置管理サーバE1の有する状態遷移図の一例である。位置管理サーバE1は、状態判定ユニット100,200及び100,200−2〜nから送信された状態判定結果の受信をイベントして、図20に示すような状態遷移図から、タグの付された移動体の所在を判定する。タグデータベースE2には、タグのIDと、対応するタグの貼付された移動体の情報(識別番号、氏名など)とが対応付けられている。この対応付けにより、移動物としてのタグの状態判定を行うことで、移動体の状態判定が可能となる。   FIG. 20 is an example of a state transition diagram of the position management server E1 in the state determination system E. The location management server E1 events the reception of the state determination results transmitted from the state determination units 100, 200 and 100, 200-2 to n, and is tagged from the state transition diagram as shown in FIG. Determine the location of the moving object. In the tag database E2, the ID of the tag is associated with the information (identification number, name, etc.) of the moving object to which the corresponding tag is attached. With this association, the state of the moving object can be determined by determining the state of the tag as the moving object.

地図データベースE3には、図20に示した状態遷移図に対応する地図データが格納されている。図21は、状態判定システムEにおいて、9つの状態判定ユニット100,200及び100,200−2〜9が設置された環境の地図Fである。図21に示すように、例えば、部屋R1,R2との境界上のドアには、状態判定ユニット100,200が設置されている。なお、図21の部屋R1,R2はそれぞれ、図1に示した検知エリアB2,B1に対応する。これにより、状態判定システムEは、部屋R1と部屋R2との間を行き来する人の状態(通過、引返し、停滞)を判定することができる。また、階段と廊下との境界に位置する状態判定ユニット100,200−7により、階段を上がり終わって廊下に着いた人、あるいはこれから階段を下る人の状態判定が可能となる。更に、エレベータの出入り口付近には、状態判定ユニット100,200−8が設置されているため、エレベータを昇降する人の状態(一旦降りて再び乗る、エレベータを待っている等)を判定することができる。   Map data corresponding to the state transition diagram shown in FIG. 20 is stored in the map database E3. FIG. 21 is a map F of an environment in which nine state determination units 100, 200 and 100, 200-2 to 9 are installed in the state determination system E. As shown in FIG. 21, for example, state determination units 100 and 200 are installed at doors on the boundary with the rooms R1 and R2. Note that the rooms R1 and R2 in FIG. 21 correspond to the detection areas B2 and B1 shown in FIG. 1, respectively. Thereby, the state determination system E can determine the state (passing, turning back, stagnation) of a person who goes back and forth between the room R1 and the room R2. Further, the state determination units 100 and 200-7 located at the boundary between the stairs and the hallway can determine the state of a person who has finished going up the stairs and arrived at the hallway, or a person going down the stairs. Furthermore, since the state determination units 100 and 200-8 are installed near the entrance of the elevator, it is possible to determine the state of the person who goes up and down the elevator (e.g., once getting down and getting on again, waiting for the elevator). it can.

位置表示装置E4は、位置管理サーバE1、タグデータベースE2、及び地図データベースE3のそれぞれから送信される情報を基に、誰が何処にいるかを可視化する。すなわち、位置表示装置E4は、位置管理サーバE1からタグの状態判定結果を受信すると、タグデータベースE2を参照して当該タグの付された人物を特定し、その状態を、地図データベースE3から読み出した地図F上に表示する。地図F上には、移動体の状態と併せて、人物を識別可能な氏名や番号、記号等が表示されるため、利用者は、判定対象の誰がいま何処に所在するのか(現在地)を一目で把握することができる。上記状態判定結果は、環境に適応した確率オートマトンにより得られたものであるため、表示情報は、未検知や誤検知の影響の少ない正確な情報となる。   The position display device E4 visualizes who is where based on information transmitted from each of the position management server E1, the tag database E2, and the map database E3. That is, when the position display device E4 receives the tag state determination result from the position management server E1, the position display device E4 refers to the tag database E2 to identify the person with the tag and reads the state from the map database E3. Display on map F. On the map F, the name, number, symbol, etc. that can identify the person are displayed together with the state of the moving object, so the user can see who is the determination target and where (current location) is at a glance. Can be grasped. Since the state determination result is obtained by a probabilistic automaton adapted to the environment, the display information is accurate information with little influence of undetected or erroneous detection.

同じ環境内でも、場所によって、物の置かれ方やアンテナの電波強度は異なるが、上述のように、1つの環境に複数の状態判定ユニットを設置することで、同じ環境内における周辺状況の相違にも木目細やかに対応することができる。また、確率オートマトンを用いずに状態判定を行うと、アンテナの設置箇所によって、状態判定の精度にバラつきが生じ易いが、本実施例では、状態遷移確率と出力確率とを用いた演算により、相対的に最も確率の高い状態が到達状態と推定される。したがって、複数の状態のうち、少しでも他の状態よりも高確率のものがあれば、その状態が到達状態として浮上することになる。これにより、アンテナの設置箇所による精度のバラつきは低減される。   Even within the same environment, the way objects are placed and the radio field intensity of the antenna differ depending on the location. However, as described above, by installing multiple status determination units in one environment, differences in the surrounding conditions within the same environment It is possible to deal with fine grain. In addition, when state determination is performed without using a stochastic automaton, the accuracy of state determination is likely to vary depending on the location of the antenna, but in this embodiment, relative calculation is performed by using the state transition probability and the output probability. It is estimated that the state with the highest probability is the arrival state. Therefore, if any of the plurality of states has a higher probability than any other state, that state will surface as an arrival state. Thereby, the variation in the precision by the installation location of an antenna is reduced.

[状態判定プログラム]
上記実施例で説明した状態判定装置103,203の各種の処理は、予め用意されたプログラムをパーソナルコンピュータやワークステーションなどのコンピュータシステムで実行することによって実現することもできる。そこで、以下では、図22を用いて、上記の実施例で説明した状態判定装置103,203と同様の機能を有する状態判定プログラムを実行するコンピュータの一例について説明する。図22は、状態判定プログラムを実行するコンピュータを示す図である。
[Status determination program]
Various processes of the state determination apparatuses 103 and 203 described in the above embodiments can be realized by executing a prepared program on a computer system such as a personal computer or a workstation. Therefore, in the following, an example of a computer that executes a state determination program having the same function as the state determination apparatuses 103 and 203 described in the above embodiment will be described with reference to FIG. FIG. 22 is a diagram illustrating a computer that executes a state determination program.

図22に示すように、上記実施例におけるコンピュータ300は、CPU(Central Processing Unit)310と、ROM(Read Only Memory)320と、HDD(Hard Disk Drive)330と、RAM(Random Access Memory)340とを有する。これら300〜340の各部は、バス400を介して接続される。   As shown in FIG. 22, the computer 300 in the above embodiment includes a CPU (Central Processing Unit) 310, a ROM (Read Only Memory) 320, an HDD (Hard Disk Drive) 330, a RAM (Random Access Memory) 340, Have These units 300 to 340 are connected via a bus 400.

ROM320には、上記実施例で示す取得部113,213と、推定部133,233と、判定部143,243と、調整部253と同様の機能を発揮する状態判定プログラムが予め記憶される。すなわち、ROM320には、図22に示すように、状態判定プログラム320aが記憶される。なお、状態判定プログラム320aについては、適宜分離してもよい。   The ROM 320 stores in advance state determination programs that exhibit the same functions as the acquisition units 113 and 213, the estimation units 133 and 233, the determination units 143 and 243, and the adjustment unit 253 described in the above embodiment. That is, the ROM 320 stores a state determination program 320a as shown in FIG. Note that the state determination program 320a may be separated as appropriate.

そして、CPU310が、状態判定プログラム320aをROM320から読み出して実行する。   Then, the CPU 310 reads the state determination program 320a from the ROM 320 and executes it.

そして、HDD330には、状態遷移確率330aと出力確率330bとが格納される。状態遷移確率330a、及び出力確率330bは、図2に示した状態遷移確率123a、及び出力確率123bに、それぞれ対応する。   The HDD 330 stores a state transition probability 330a and an output probability 330b. The state transition probability 330a and the output probability 330b correspond to the state transition probability 123a and the output probability 123b shown in FIG. 2, respectively.

そして、CPU310は、状態遷移確率330a及び出力確率330bを読み出す。そして、CPU310は、これらをRAM340に記憶させる。CPU310は、RAM340に記憶された状態遷移確率340a及び出力確率340bを用いて、状態判定プログラム320aを実行する。また、CPU310は、RAM340に記憶された状態遷移確率340a及び出力確率340bを用いて、状態判定プログラム320aを実行する。なお、RAM340に記憶される各データ(状態遷移確率340a及び出力確率340b)は、常に全てのデータがRAM340に記憶される必要はなく、処理に必要なデータのみがRAM340に一時記憶されればよい。   Then, the CPU 310 reads the state transition probability 330a and the output probability 330b. Then, the CPU 310 stores these in the RAM 340. The CPU 310 executes the state determination program 320a using the state transition probability 340a and the output probability 340b stored in the RAM 340. In addition, the CPU 310 executes the state determination program 320a by using the state transition probability 340a and the output probability 340b stored in the RAM 340. In addition, as for each data (state transition probability 340a and output probability 340b) stored in the RAM 340, it is not always necessary to store all data in the RAM 340, and only data necessary for processing may be temporarily stored in the RAM 340. .

なお、状態判定プログラム320aは、必ずしも最初からHDD330に記憶させておく必要はない。   The state determination program 320a does not necessarily need to be stored in the HDD 330 from the beginning.

例えば、コンピュータ300は、コンピュータ300に挿入されるフレキシブルディスク(FD)、CD−ROM、DVDディスク、光磁気ディスク、ICカードなどの「可搬用の物理媒体」にプログラムを記憶させておく。そして、コンピュータ300が、これらの媒体からプログラムを読み出して実行するようにしてもよい。   For example, the computer 300 stores the program in a “portable physical medium” such as a flexible disk (FD), a CD-ROM, a DVD disk, a magneto-optical disk, and an IC card inserted into the computer 300. Then, the computer 300 may read and execute the program from these media.

さらには、公衆回線、インターネット、LAN、WANなどを介してコンピュータ300に接続される「他のコンピュータ(またはサーバ)」などにプログラムを記憶させておく。そして、コンピュータ300がこれらからプログラムを読み出して実行するようにしてもよい。   Furthermore, the program is stored in “another computer (or server)” connected to the computer 300 via a public line, the Internet, a LAN, a WAN, or the like. Then, the computer 300 may read and execute the program from these.

なお、上記実施例では、本願の開示する状態判定装置をRFIDタグにより実現する例について説明したが、通信方式はこれに限定されるものではない。例えば、赤外線通信を用いてもよい。すなわち、環境側に赤外線受光器を設置し、移動体側に赤外線発光器を持たせ、移動体が受光器の検知エリア内に入った時点で、移動物としての発光器の発信するID信号を受光器が受信するシステムであってもよい。また、通信方式は、無線に限らず、有線通信でもよい。   In the above embodiment, an example in which the state determination device disclosed in the present application is realized by an RFID tag has been described. However, the communication method is not limited to this. For example, infrared communication may be used. In other words, an infrared light receiver is installed on the environment side, an infrared light emitter is provided on the mobile body side, and when the mobile body enters the detection area of the light receiver, an ID signal transmitted by the light emitter as a moving object is received. It may be a system that the receiver receives. Further, the communication method is not limited to wireless, but may be wired communication.

上記実施例では、環境に設置されるアンテナを2箇所としたが、3箇所以上であってもよい。また、上記実施例では、複数のアンテナの電波到達範囲(検知エリア)が重なることを前提として説明したが、これらは重ならなくてもよい。   In the above embodiment, although two antennas are installed in the environment, three or more antennas may be used. Moreover, although the said Example demonstrated on the premise that the radio wave arrival range (detection area) of several antennas overlaps, these do not need to overlap.

以上の実施例1、2を含む実施形態に関し、さらに以下の付記を開示する。   The following additional notes are further disclosed with respect to the embodiments including Examples 1 and 2 above.

(付記1)環境における移動物の状態の遷移とともに、各状態から他の状態に遷移する確率である状態遷移確率と、各状態において前記移動物の検知または未検知を示す複数の検知情報それぞれが出力される確率である出力確率とを対応付けて記憶する記憶部と、
前記移動物について複数の検知情報が順に出力された場合に、前記記憶部に記憶された状態遷移確率及び出力確率を用いて、前記移動物が到達した状態を推定する推定部と、
前記推定部により推定された状態に基づき、前記移動物の通過を判定する判定部と、
を有することを特徴とする状態判定装置。
(Supplementary note 1) Along with the transition of the state of a moving object in the environment, a state transition probability that is a probability of transition from each state to another state, and each of a plurality of detection information indicating detection or non-detection of the moving object in each state A storage unit that stores an output probability that is an output probability in association with each other;
When a plurality of detection information is sequentially output for the moving object, using the state transition probability and the output probability stored in the storage unit, an estimation unit that estimates the state reached by the moving object;
A determination unit that determines the passage of the moving object based on the state estimated by the estimation unit;
A state determination device comprising:

(付記2)前記判定部は、前記推定部により推定された状態に基づき、前記移動物の引返し、停滞を判定することを特徴とする付記1に記載の状態判定装置。 (Additional remark 2) The said determination part determines the return and stagnation of the said moving body based on the state estimated by the said estimation part, The state determination apparatus of Additional remark 1 characterized by the above-mentioned.

(付記3)前記環境の変化に応じて、前記状態遷移確率と前記出力確率とを調整する調整部を更に有することを特徴とする付記1または2に記載の状態判定装置。 (Supplementary note 3) The state determination apparatus according to Supplementary note 1 or 2, further comprising an adjustment unit that adjusts the state transition probability and the output probability according to a change in the environment.

(付記4)コンピュータが実行する状態判定方法であって、
環境における移動物について、各状態において前記移動物の検知または未検知を示す複数の検知情報が順に出力された場合に、前記移動物の状態の遷移とともに、各状態から他の状態に遷移する確率である状態遷移確率と、各状態において前記複数の検知情報それぞれが出力される確率である出力確率とを用いて、前記移動物が到達した状態を推定し、
推定された状態に基づき、前記移動物の通過を判定する
ことを特徴とする状態判定方法。
(Appendix 4) A state determination method executed by a computer,
Probability of transition from one state to another with the transition of the state of the moving object when a plurality of detection information indicating detection or non-detection of the moving object is sequentially output in each state for the moving object in the environment Using the state transition probability and the output probability that is the probability that each of the plurality of detection information is output in each state, the state that the moving object has reached is estimated,
A state determination method, wherein the passage of the moving object is determined based on the estimated state.

(付記5)コンピュータに、
環境における移動物について、各状態において前記移動物の検知または未検知を示す複数の検知情報が順に出力された場合に、前記移動物の状態の遷移とともに、各状態から他の状態に遷移する確率である状態遷移確率と、各状態において前記複数の検知情報それぞれが出力される確率である出力確率とを用いて、前記移動物が到達した状態を推定し、
推定された状態に基づき、前記移動物の通過を判定する
処理を実行させることを特徴とする状態判定プログラム。
(Appendix 5)
Probability of transition from one state to another with the transition of the state of the moving object when a plurality of detection information indicating detection or non-detection of the moving object is sequentially output in each state for the moving object in the environment Using the state transition probability and the output probability that is the probability that each of the plurality of detection information is output in each state, the state that the moving object has reached is estimated,
A state determination program for executing a process of determining the passage of the moving object based on the estimated state.

1 環境
10 タグ
100,200 状態判定ユニット
100,200−2〜n 状態判定ユニット
102,202 読取装置
103,203 状態判定装置
113,213 取得部
123 記憶部
123a,223a 状態遷移確率
123b,223b 出力確率
133,233 推定部
143,243 判定部
143a,243a 通過判定部
143b,243b 引返し判定部
143c,243c 停滞判定部
144c,244c カウンタ
104,204 出力部
253 調整部
300 コンピュータ
310 CPU
320 ROM
320a 状態判定プログラム
330 HDD
340 RAM
330a,340a 状態遷移確率
330b,340b 出力確率
400 バス
A1,A2 アンテナ
B1,B2,B3 検知エリア
E 状態判定システム
E1 位置管理サーバ
E2 タグデータベース
E3 地図データベース
E4 位置表示装置
M 移動体
N ネットワーク
,S,S,S,S,S,S,S,S 状態
1 environment 10 tag 100, 200 state determination unit 100, 200-2 to n state determination unit 102, 202 reading device 103, 203 state determination device 113, 213 acquisition unit 123 storage unit 123a, 223a state transition probability 123b, 223b output probability 133, 233 Estimation unit 143, 243 Determination unit 143a, 243a Passage determination unit 143b, 243b Turnback determination unit 143c, 243c Stagnation determination unit 144c, 244c Counter 104, 204 Output unit 253 Adjustment unit 300 Computer 310 CPU
320 ROM
320a State determination program 330 HDD
340 RAM
330a, 340a State transition probability 330b, 340b Output probability 400 Bus A1, A2 Antenna B1, B2, B3 Detection area E State determination system E1 Position management server E2 Tag database E3 Map database E4 Position display device M Mobile body N Network S 0 , S 1, S 2, S 3 , S 4, S 5, S 6, S 7, S 8 state

Claims (5)

環境における移動物の状態の遷移とともに、各状態から他の状態に遷移する確率である状態遷移確率と、各状態において前記移動物の検知または未検知を示す複数の検知情報それぞれが出力される確率である出力確率とを対応付けて記憶する記憶部と、
前記移動物について複数の検知情報が順に出力された場合に、前記記憶部に記憶された状態遷移確率及び出力確率を用いて、前記移動物が到達した状態を推定すると共に、イベントを機に自己の状態に戻る自己ループと2つの状態間を双方向に遷移可能な経路とを有する状態遷移図を用いて、前記移動物の検知をイベントとする状態遷移により、前記移動物の状態を推定する推定部と、
前記推定部により推定された状態に基づき、前記移動物の通過を判定する判定部と、
を有することを特徴とする状態判定装置。
Along with the state transition of the moving object in the environment, a state transition probability that is a probability of transition from each state to another state, and a probability that each of the plurality of detection information indicating detection or non-detection of the moving object in each state is output A storage unit that stores the output probabilities in association with each other,
When a plurality of pieces of detection information are sequentially output for the moving object, the state at which the moving object has arrived is estimated using the state transition probability and the output probability stored in the storage unit, and the event is self-timed. The state of the moving object is estimated by the state transition using the detection of the moving object as an event, using a state transition diagram having a self-loop that returns to the state and a path that can bidirectionally transition between the two states. An estimation unit;
A determination unit that determines the passage of the moving object based on the state estimated by the estimation unit;
A state determination device comprising:
前記判定部は、前記推定部により推定された状態に基づき、前記移動物の引返し、停滞を判定することを特徴とする請求項1に記載の状態判定装置。   The state determination apparatus according to claim 1, wherein the determination unit determines whether the moving object is turned back or stagnated based on the state estimated by the estimation unit. 前記環境の変化に応じて、前記状態遷移確率と前記出力確率とを調整する調整部を更に有することを特徴とする請求項1または2に記載の状態判定装置。   The state determination apparatus according to claim 1, further comprising an adjustment unit that adjusts the state transition probability and the output probability according to a change in the environment. コンピュータが実行する状態判定方法であって、
環境における移動物について、各状態において前記移動物の検知または未検知を示す複数の検知情報が順に出力された場合に、前記移動物の状態の遷移とともに、各状態から他の状態に遷移する確率である状態遷移確率と、各状態において前記複数の検知情報それぞれが出力される確率である出力確率とを用いて、前記移動物が到達した状態を推定すると共に、イベントを機に自己の状態に戻る自己ループと2つの状態間を双方向に遷移可能な経路とを有する状態遷移図を用いて、前記移動物の検知をイベントとする状態遷移により、前記移動物の状態を推定し、
推定された状態に基づき、前記移動物の通過を判定する
ことを特徴とする状態判定方法。
A state determination method executed by a computer,
Probability of transition from one state to another with the transition of the state of the moving object when a plurality of detection information indicating detection or non-detection of the moving object is sequentially output in each state for the moving object in the environment The state transition probability and the output probability that is the probability that each of the plurality of pieces of detection information is output in each state are used to estimate the state that the moving object has arrived and Using a state transition diagram having a returning self-loop and a path capable of bi-directionally transitioning between two states, estimating the state of the moving object by state transition using the detection of the moving object as an event ,
A state determination method, wherein the passage of the moving object is determined based on the estimated state.
コンピュータに、
環境における移動物について、各状態において前記移動物の検知または未検知を示す複数の検知情報が順に出力された場合に、前記移動物の状態の遷移とともに、各状態から他の状態に遷移する確率である状態遷移確率と、各状態において前記複数の検知情報それぞれが出力される確率である出力確率とを用いて、前記移動物が到達した状態を推定すると共に、イベントを機に自己の状態に戻る自己ループと2つの状態間を双方向に遷移可能な経路とを有する状態遷移図を用いて、前記移動物の検知をイベントとする状態遷移により、前記移動物の状態を推定し、
推定された状態に基づき、前記移動物の通過を判定する
処理を実行させることを特徴とする状態判定プログラム。
On the computer,
Probability of transition from one state to another with the transition of the state of the moving object when a plurality of detection information indicating detection or non-detection of the moving object is sequentially output in each state for the moving object in the environment The state transition probability and the output probability that is the probability that each of the plurality of pieces of detection information is output in each state are used to estimate the state that the moving object has arrived and Using a state transition diagram having a returning self-loop and a path capable of bi-directionally transitioning between two states, estimating the state of the moving object by state transition using the detection of the moving object as an event ,
A state determination program for executing a process of determining the passage of the moving object based on the estimated state.
JP2010267284A 2010-11-30 2010-11-30 State determination device, state determination method, and state determination program Expired - Fee Related JP5696455B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010267284A JP5696455B2 (en) 2010-11-30 2010-11-30 State determination device, state determination method, and state determination program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010267284A JP5696455B2 (en) 2010-11-30 2010-11-30 State determination device, state determination method, and state determination program

Publications (2)

Publication Number Publication Date
JP2012118719A JP2012118719A (en) 2012-06-21
JP5696455B2 true JP5696455B2 (en) 2015-04-08

Family

ID=46501478

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010267284A Expired - Fee Related JP5696455B2 (en) 2010-11-30 2010-11-30 State determination device, state determination method, and state determination program

Country Status (1)

Country Link
JP (1) JP5696455B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6024257B2 (en) * 2012-07-25 2016-11-16 富士通株式会社 Area detection program, area detection device, and area detection method
JP6414925B2 (en) * 2013-04-30 2018-10-31 住友重機械工業株式会社 Excavator processing apparatus and work content determination method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4701348B2 (en) * 2005-08-15 2011-06-15 株式会社国際電気通信基礎技術研究所 Action identification system
JP4735141B2 (en) * 2005-09-05 2011-07-27 日本電気株式会社 Information processing system, information processing apparatus, information processing method, and information processing program
JP2007328435A (en) * 2006-06-06 2007-12-20 Mitsubishi Electric Corp Device fot analyzing mobile behavior

Also Published As

Publication number Publication date
JP2012118719A (en) 2012-06-21

Similar Documents

Publication Publication Date Title
AU2012379101B2 (en) Simultaneous localization and mapping using spatial and temporal coherence for indoor location
US8274396B2 (en) Local positioning systems and methods
US8989438B2 (en) Mobile body track identification system
US20180292520A1 (en) Occupancy Estimation Using Nonparametric Online Change-Point Detection, and Apparatuses, Systems, and Software for Same
TW201440013A (en) Positioning and mapping based on virtual landmarks
JP5170389B2 (en) Identification target / position estimation system, method and program thereof
JP5377640B2 (en) System and method for determining the position of a subject
JPWO2007058302A1 (en) POSITION ESTIMATION SYSTEM, POSITION ESTIMATION METHOD, AND POSITION ESTIMATION PROGRAM
WO2014203041A1 (en) System and method for rfid indoor localization
Vasisht et al. Duet: Estimating user position and identity in smart homes using intermittent and incomplete RF-data
JP2009159336A (en) Behavior range grasping method and behavior grasping apparatus
Wang et al. TMicroscope: Behavior perception based on the slightest RFID tag motion
JP6977787B2 (en) Sensor information integration system, sensor information integration method and program
US9436859B2 (en) Ad hoc localization using a movable reader and movable id tags
Krukowski et al. RFID-based positioning for building management systems
US11822996B2 (en) Monitoring a door position to determine a status of a radio frequency identification tag
JP5696455B2 (en) State determination device, state determination method, and state determination program
Hauser et al. A hidden Markov model for distinguishing between RFID-tagged objects in adjacent areas
JP6024257B2 (en) Area detection program, area detection device, and area detection method
US11423584B2 (en) Systems and methods for dynamically estimating real time signal strengths for a wireless router using augmented reality
US8248233B2 (en) Location filtering based on device mobility classification
Sansano-Sansano et al. Multimodal Sensor Data Integration for Indoor Positioning in Ambient‐Assisted Living Environments
US11710007B2 (en) Tracking a movement status of a radio frequency identification tag
De Schepper et al. Dynamic BLE-based fingerprinting for location-aware smart homes
JP2008292231A (en) Position estimation system, position estimation method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130904

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140625

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140701

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140805

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150113

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150126

R150 Certificate of patent or registration of utility model

Ref document number: 5696455

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees