JP2012208782A - Move prediction apparatus, robot control device, move prediction program and move prediction method - Google Patents
Move prediction apparatus, robot control device, move prediction program and move prediction method Download PDFInfo
- Publication number
- JP2012208782A JP2012208782A JP2011074583A JP2011074583A JP2012208782A JP 2012208782 A JP2012208782 A JP 2012208782A JP 2011074583 A JP2011074583 A JP 2011074583A JP 2011074583 A JP2011074583 A JP 2011074583A JP 2012208782 A JP2012208782 A JP 2012208782A
- Authority
- JP
- Japan
- Prior art keywords
- movement
- waypoint
- probability
- transition probability
- point
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 96
- 230000007704 transition Effects 0.000 claims abstract description 152
- 230000033001 locomotion Effects 0.000 claims description 392
- 238000004364 calculation method Methods 0.000 claims description 26
- 230000009471 action Effects 0.000 claims description 25
- 230000006870 function Effects 0.000 claims description 24
- 238000010276 construction Methods 0.000 claims description 10
- 230000008569 process Effects 0.000 description 84
- 238000009826 distribution Methods 0.000 description 31
- 238000012545 processing Methods 0.000 description 28
- 210000005252 bulbus oculi Anatomy 0.000 description 19
- 238000004891 communication Methods 0.000 description 19
- 239000013598 vector Substances 0.000 description 17
- 210000001508 eye Anatomy 0.000 description 15
- 210000000323 shoulder joint Anatomy 0.000 description 13
- 238000001514 detection method Methods 0.000 description 12
- 230000008859 change Effects 0.000 description 10
- 210000002310 elbow joint Anatomy 0.000 description 7
- 230000010354 integration Effects 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 6
- 210000000245 forearm Anatomy 0.000 description 6
- 210000003128 head Anatomy 0.000 description 6
- 238000013500 data storage Methods 0.000 description 5
- 230000006399 behavior Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000005259 measurement Methods 0.000 description 4
- 230000001419 dependent effect Effects 0.000 description 3
- 238000009434 installation Methods 0.000 description 3
- 238000009825 accumulation Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 230000008571 general function Effects 0.000 description 2
- 238000009499 grossing Methods 0.000 description 2
- 241000282412 Homo Species 0.000 description 1
- 241001290864 Schoenoplectus Species 0.000 description 1
- 210000001015 abdomen Anatomy 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 210000000887 face Anatomy 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 210000001503 joint Anatomy 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
Images
Abstract
Description
この発明は、移動予測装置、ロボット制御装置、移動予測プログラムおよび移動予測方法に関し、特にたとえば、人の移動を予測する、移動予測装置、ロボット制御装置、移動予測プログラムおよび移動予測方法に関する。 The present invention relates to a movement prediction apparatus, a robot control apparatus, a movement prediction program, and a movement prediction method, and more particularly to a movement prediction apparatus, a robot control apparatus, a movement prediction program, and a movement prediction method that predict human movement, for example.
特許文献1に開示されている、計測装置では、空間内に複数のレーザレンジファインダ(LRF)を設けることで、人の位置および移動速度を推定し、人を追跡することができる。
ところが、特許文献1の計測装置では、大勢の人が行き交う場所で、人が移動することで到達する位置を正確に予測することはできない。
However, in the measuring device of
それゆえに、この発明の主たる目的は、新規な、移動予測装置、ロボット制御装置、移動予測プログラムおよび移動予測方法を提供することである。 Therefore, a main object of the present invention is to provide a novel movement prediction apparatus, robot control apparatus, movement prediction program, and movement prediction method.
この発明の他の目的は、移動によって到達する位置を予測することができる、移動予測装置、ロボット制御装置、移動予測プログラムおよび移動予測方法を提供することである。 Another object of the present invention is to provide a movement prediction device, a robot control device, a movement prediction program, and a movement prediction method that can predict a position reached by movement.
この発明は、上記の課題を解決するために、以下の構成を採用した。なお、括弧内の参照符号および補足説明等は、この発明の理解を助けるために記述する実施形態との対応関係を示したものであって、この発明を何ら限定するものではない。 The present invention employs the following configuration in order to solve the above problems. The reference numerals in parentheses, supplementary explanations, and the like indicate the corresponding relationship with the embodiments described in order to help understanding of the present invention, and do not limit the present invention.
第1の発明は、短期的な移動の目標となる所定の数の経由点を想定した空間内で、人の移動を表す複数の経由点を含む経由点系列に、そのときの移動時間およびその経由点系列の移動遷移確率が関連付けられた経由点リストを利用して人の移動を予測する、移動予測装置であって、予測する時点までに人が移動する予測移動時間を設定する時間設定手段、経由点リストに含まれる移動時間が予測移動時間未満のとき、その経由点リストに含まれる経由点系列に基づいて、次の経由点への移動遷移確率を繰り返して算出する移動遷移確率算出手段、移動遷移確率算出手段によって算出された移動遷移確率が閾値以上である度に、経由点リストにおける、経由点系列、移動時間および移動遷移確率を更新する更新手段、経由点リストに含まれる移動時間が予測移動時間以上のとき、経由点リストに基づいて各経由点への到達確率を算出する到達確率算出手段、および到達確率算出手段によって算出された、各経由点への到達確率に基づいて、移動による人の到達位置を予測する予測手段を備える、移動予測装置である。 In a first aspect of the present invention, in a space assuming a predetermined number of waypoints that are targets for short-term movement, a route point sequence including a plurality of waypoints representing a person's movement is converted into a travel time at that time and A movement prediction device for predicting movement of a person using a via point list associated with a movement transition probability of a via point series, and a time setting unit for setting a predicted movement time during which a person moves by the time of prediction When the travel time included in the via point list is less than the predicted travel time, based on the via point series included in the via point list, the moving transition probability calculating means for repeatedly calculating the moving transition probability to the next via point Each time the moving transition probability calculated by the moving transition probability calculating means is greater than or equal to the threshold, the updating means for updating the via point series, the moving time and the moving transition probability in the via point list, the transition included in the via point list When the time is equal to or longer than the predicted travel time, the arrival probability calculation means for calculating the arrival probability to each via point based on the via point list, and the arrival probability to each via point calculated by the arrival probability calculation means It is a movement prediction apparatus provided with the prediction means which estimates the arrival position of the person by movement.
第1の発明では、移動予測装置(10:実施例において対応する部分を例示する参照符号。以下、同じ。)は、短期的な移動の目標となる所定の数(たとえば、30個)の経由点(v)を想定した空間内で、経由点リスト(L)を利用して人の移動を予測する。また、経由点リストでは、人の移動を表す複数の経由点を含む経由点系列に、そのときの移動時間(t)およびその経由点系列の移動遷移確率(p)が関連付けられている。時間設定手段(16,S61)は、たとえば移動予測装置の管理者による入力に応じて、移動予測装置が予測する時点までに人が移動する予測移動時間(T)を設定する。移動遷移確率算出手段(16,S123)は、或る経由点系列に関連付けられた移動時間が上記予測移動時間未満の場合、その或る経由点系列に基づいて、次の経由点への移動遷移確率が繰り返して算出される。また、繰り返して算出される移動遷移確率が閾値以上である度に、経由点系列に次の経由点が加えられ、その次の経由点までの移動時間が算出され、算出された移動遷移確率と元の移動遷移確率との積が算出される。そして、更新手段(16,S107)は、このようにして得られた経由点系列、移動時間および移動遷移確率によって、経由点リストを更新する。到達確率算出手段(16,S159)は、更新された経由点リストにおいて、移動時間が予測移動時間以上になれば、その経由点リストに基づいて各経由点への到達確率を算出する。予測手段(16,S183)は、たとえば、到達確率が最も高い経由点が、予測移動時間後に人が到達する位置として予測する。 In the first invention, the movement prediction device (10: reference numeral exemplifying a corresponding part in the embodiment, hereinafter the same) passes through a predetermined number (for example, 30) as a short-term movement target. In the space where the point (v) is assumed, the movement of a person is predicted using the via point list (L). Also, in the waypoint list, the travel time (t) at that time and the movement transition probability (p) of the waypoint series are associated with a waypoint series including a plurality of waypoints representing the movement of a person. The time setting means (16, S61) sets a predicted travel time (T) in which a person moves by the time predicted by the movement prediction device, for example, in response to an input by the administrator of the movement prediction device. The movement transition probability calculating means (16, S123), when the movement time associated with a certain waypoint series is less than the predicted movement time, moves to the next waypoint based on the certain waypoint series. Probability is calculated repeatedly. In addition, every time the movement transition probability calculated repeatedly is greater than or equal to the threshold value, the next waypoint is added to the route point series, the movement time to the next waypoint is calculated, and the calculated movement transition probability and The product with the original movement transition probability is calculated. Then, the updating means (16, S107) updates the waypoint list based on the waypoint series, the moving time and the moving transition probability obtained in this way. The arrival probability calculation means (16, S159) calculates the arrival probability at each waypoint based on the waypoint list when the travel time is equal to or longer than the predicted travel time in the updated waypoint list. The predicting means (16, S183) predicts, for example, the via point having the highest arrival probability as the position where the person reaches after the predicted travel time.
第1の発明によれば、各経由点への到達確率を算出することで、人が到達する位置を予測することができる。 According to 1st invention, the position where a person reaches | attains can be estimated by calculating the arrival probability to each waypoint.
第2の発明は、第1の発明に従属し、移動遷移確率算出手段によって算出された移動遷移確率が閾値以上である度に、次の経由点までの移動時間および次の経由点への移動遷移確率が関連付けられた経由点系列を、経由点リストに追加する追加手段をさらに備え、到達確率算出手段は、到達する経由点が同一の経由点系列に対応付けられた移動遷移確率に基づいて到達確率を算出する。 The second invention is dependent on the first invention, and whenever the movement transition probability calculated by the movement transition probability calculation means is equal to or greater than a threshold value, the movement time to the next via point and the movement to the next via point Further comprising an adding means for adding the waypoint series associated with the transition probability to the waypoint list, the arrival probability calculating means is based on the moving transition probability in which the reaching waypoints are associated with the same waypoint series. The arrival probability is calculated.
第2の発明では、追加手段(16,S127)は、算出された移動遷移確率が閾値以上である度に、次の経由点までの移動時間および次の経由点への移動遷移確率が関連付けられた経由点系列を、経由点リストに追加する。そのため、経由点リストには、複数の経由点系列が含まれることになる。そして、到達確率算出手段は、経由点リストに含まれる複数の経由点系列のうち、到達する経由点が同一の経由点系列に対応付けられた移動遷移確率に基づいて到達確率を算出する。 In the second invention, the adding means (16, S127) associates the movement time to the next waypoint and the movement transition probability to the next waypoint every time the calculated movement transition probability is equal to or higher than the threshold value. Add the waypoint series to the waypoint list. Therefore, the waypoint list includes a plurality of waypoint series. Then, the arrival probability calculating means calculates the arrival probability based on the movement transition probability associated with the same waypoint series that reaches the same waypoint among the plurality of waypoint series included in the waypoint list.
第2の発明によれば、各経由点を結ぶ複数の経路の移動遷移確率を統合して到達確率を算出することで、算出される到達確率の信頼性を高めることができる。 According to the second aspect of the invention, the reliability of the calculated arrival probability can be improved by integrating the movement transition probabilities of a plurality of routes connecting the respective via points to calculate the arrival probability.
第3の発明は、第1の発明または第2の発明に従属し、空間に所定の数の経由点を設定する経由点設定手段、人の移動軌跡を記録する記録手段、記録手段によって記録された移動軌跡に基づいて、空間に含まれる複数の部分領域毎に、人の移動方向を判別する判別手段、判別手段によって判別された移動方向を経由点設定手段によって設定された所定の数の経由点に対応付ける対応付け手段、および対応付け手段によって対応付けられた移動方向に基づいて、経由点設定によって設定された所定の数の経由点の位置をそれぞれ更新する位置更新手段をさらに備える。 The third invention is dependent on the first invention or the second invention, and is recorded by waypoint setting means for setting a predetermined number of waypoints in the space, recording means for recording a person's movement trajectory, and recording means. Based on the travel trajectory, a discriminating means for discriminating the moving direction of the person for each of the plurality of partial areas included in the space, and a predetermined number of routes set by the waypoint setting means based on the moving direction discriminated by the discriminating means Corresponding means for associating with points, and position updating means for updating the positions of a predetermined number of waypoints set by waypoint setting based on the movement directions associated with the points.
第3の発明では、経由点設定手段(16,S31)は、空間に所定の数の経由点をランダムに設定する。記録手段(16,S5)は、たとえば、LRF(12)などによって計測された人の位置に基づいて、人の移動軌跡を記録する。判別手段(16,S19)は、人の移動軌跡に基づいて、空間に含まれる複数の部分領域毎に、主な移動方向を判別する。対応付け手段(16,S33)は、部分領域毎に判別された主な移動方向を、ランダムに設定された所定の数の経由点に対応付ける。位置更新手段(16,S35)は、各経由点に対応付けられた移動方向に基づいて、所定の数の経由点の位置が変化しなくなるまで、経由点の位置を更新する。 In the third invention, the waypoint setting means (16, S31) randomly sets a predetermined number of waypoints in the space. The recording means (16, S5) records the movement trajectory of the person based on the position of the person measured by the LRF (12), for example. The discriminating means (16, S19) discriminates the main moving direction for each of the plurality of partial areas included in the space based on the movement trajectory of the person. The association means (16, S33) associates the main moving direction determined for each partial area with a predetermined number of waypoints set at random. The position updating means (16, S35) updates the positions of the waypoints until the position of the predetermined number of waypoints no longer changes based on the movement direction associated with each waypoint.
第3の発明によれば、各経由点の位置を、人の移動に基づいて設定することで、予測の精度を高くすることができる。 According to the third aspect, the accuracy of prediction can be increased by setting the position of each waypoint based on the movement of a person.
第4の発明は、第3の発明に従属し、記録手段によって記録された移動軌跡に基づいて、経由点を移動する順序を算出する順序算出手段、および順序算出手段によって算出された順序に基づいて、経由点を移動する移動遷移確率モデルを構築する構築手段をさらに備え、移動遷移確率算出手段は、構築手段によって構築された移動遷移確率モデルに基づいて、次の経由点への移動遷移確率を算出する。 A fourth invention is dependent on the third invention, and based on the order calculated by the order calculating means and the order calculating means for calculating the order of moving the waypoints based on the movement trajectory recorded by the recording means. The moving transition probability calculation means further comprises a construction means for constructing a moving transition probability model for moving the via point, and the moving transition probability calculation means is based on the moving transition probability model constructed by the constructing means, based on the moving transition probability model for the next via point. Is calculated.
第4の発明では、順序算出手段(16,S41)は、記録された移動軌跡に基づいて、人が経由点を移動する順序を算出する。たとえば、3つの経由点を連続して移動するときの移動遷移確率が算出され、構築手段(16,S43,S45)は算出された移動遷移確率を移動遷移確率モデルとして、データベース(34)に保存する。そして、移動遷移確率算出手段は、たとえば、データベースに保存された移動遷移確率モデルに基づいて、次の経由点への移動遷移確率を算出する。 In the fourth invention, the order calculating means (16, S41) calculates the order in which the person moves along the waypoint based on the recorded movement trajectory. For example, the movement transition probability when moving continuously through three waypoints is calculated, and the construction means (16, S43, S45) stores the calculated movement transition probability as a movement transition probability model in the database (34). To do. And a movement transition probability calculation means calculates the movement transition probability to the next waypoint based on the movement transition probability model preserve | saved at the database, for example.
第4の発明によれば、構築された移動遷移確率モデルを利用することで、人が到達する位置をより正確に予測することができる。 According to the fourth invention, by using the constructed movement transition probability model, it is possible to predict the position where a person reaches more accurately.
第5の発明は、第1の発明の移動予測装置を含む、ロボット制御装置であって、予測手段によって予測された、人が到達する位置に基づいてロボットの行動を確定する行動確定手段を備える、ロボット制御装置である。 5th invention is a robot control apparatus containing the movement prediction apparatus of 1st invention, Comprising: The action confirmation means which confirms the action of a robot based on the position where the person arrives estimated by the prediction means A robot control device.
第5の発明では、ロボット制御装置(10)は、各経由点までの到達確率を算出することで人が到達する位置を予測する、移動予測装置を含む。また、行動確定手段(16,S185)は、たとえば、予測された到達する位置に近づくように、ロボットの行動を確定する。 In the fifth invention, the robot control device (10) includes a movement prediction device that predicts a position where a person reaches by calculating an arrival probability to each waypoint. Further, the action confirming means (16, S185) determines the action of the robot so as to approach the predicted position to be reached, for example.
第5の発明によれば、ロボット制御装置の管理者は、予測された人の到達位置に合わせて、ロボットを動作させることができる。 According to the fifth aspect, the administrator of the robot control device can operate the robot in accordance with the predicted arrival position of the person.
第6の発明は、第3の発明の移動予測装置を含む、ロボット制御装置であって、位置更新手段によって更新された所定の数の経由点に基づいて、ロボットの行動を確定する行動確定手段を備える、ロボット制御装置である。 6th invention is a robot control apparatus including the movement prediction apparatus of 3rd invention, Comprising: The action decision means which decides the action of a robot based on the predetermined number of waypoints updated by the position update means Is a robot control device.
第6の発明では、ロボット制御装置(10)は、人の移動軌跡に基づいて所定の数の経由点の位置を更新する、移動予測装置を含む。行動確定手段(16,S203)は、上記のようにして位置が更新された経由点に基づいて、ロボットの行動を確定する。 In the sixth invention, the robot control device (10) includes a movement prediction device that updates the positions of a predetermined number of waypoints based on the movement trajectory of the person. The action determining means (16, S203) determines the action of the robot based on the waypoint whose position has been updated as described above.
第6の発明によれば、人の移動に基づいて設定された経由点を利用して、ロボットの動作を確定することができる。これにより、人々の移動が考慮された行動を、ロボットに行わせることができる。 According to the sixth aspect of the invention, it is possible to determine the operation of the robot using the waypoint set based on the movement of the person. Thereby, it is possible to cause the robot to perform an action considering the movement of people.
第7の発明は、短期的な移動の目標となる所定の数の経由点(v)を想定した空間内で、人の移動を表す複数の経由点を含む経由点系列に、そのときの移動時間(t)およびその経由点系列の移動遷移確率(p)が関連付けられた経由点リスト(L)を利用して人の移動を予測する、移動予測装置(10)のプロセッサ(16)を、予測する時点までに人が移動する予測移動時間(T)を設定する時間設定手段(S61)、経由点リストに含まれる移動時間が予測移動時間未満のとき、その経由点リストに含まれる経由点系列に基づいて、次の経由点への移動遷移確率を繰り返して算出する移動遷移確率算出手段(S123)、移動遷移確率算出手段によって算出された移動遷移確率が閾値以上である度に、経由点リストにおける、経由点系列、移動時間および移動遷移確率を更新する更新手段(S107)、経由点リストに含まれる移動時間が予測移動時間以上のとき、経由点リストに基づいて各経由点への到達確率を算出する到達確率算出手段(S159)、および到達確率算出手段によって算出された、各経由点への到達確率に基づいて、移動による人の到達位置を予測する予測手段(S183)として機能させる、移動予測プログラムである。 In a seventh aspect of the present invention, in a space that assumes a predetermined number of waypoints (v) that are targets for short-term movement, movement at that time is made into a series of waypoints that include a plurality of waypoints that represent person movement. A processor (16) of a movement prediction device (10) that predicts movement of a person using a via point list (L) associated with time (t) and the movement transition probability (p) of the via point sequence; Time setting means (S61) for setting a predicted travel time (T) in which a person moves by the predicted time point. When the travel time included in the via point list is less than the predicted travel time, the via points included in the via point list Based on the sequence, the moving transition probability calculating means (S123) for repeatedly calculating the moving transition probability to the next via point, and whenever the moving transition probability calculated by the moving transition probability calculating means is greater than or equal to the threshold value, Via point system in the list Updating means for updating the travel time and the travel transition probability (S107); when the travel time included in the transit point list is equal to or longer than the predicted travel time, the arrival probability for calculating the reach probability to each transit point based on the transit point list It is a movement prediction program that functions as a prediction means (S183) for predicting the arrival position of a person by movement based on the arrival probability at each waypoint calculated by the calculation means (S159) and the arrival probability calculation means. .
第7の発明でも、第1の発明と同様、各経由点への到達確率を算出することで、人が到達する位置を予測することができる。 In the seventh invention as well, as in the first invention, it is possible to predict the position where a person reaches by calculating the arrival probability to each waypoint.
第8の発明は、短期的な移動の目標となる所定の数の経由点(v)を想定した空間内で、人の移動を表す複数の経由点を含む経由点系列に、そのときの移動時間(t)およびその経由点系列の移動遷移確率(p)が関連付けられた経由点リスト(L)を利用して人の移動を予測する、移動予測装置(10)の移動予測方法であって、予測する時点までに人が移動する予測移動時間(T)を設定し(S61)、経由点リストに含まれる移動時間が予測移動時間未満のとき、その経由点リストに含まれる経由点系列に基づいて、次の経由点への移動遷移確率を繰り返して算出し(S123)、算出された移動遷移確率が閾値以上である度に、経由点リストにおける、経由点系列、移動時間および移動遷移確率を更新し(S107)、経由点リストに含まれる移動時間が予測移動時間以上のとき、経由点リストに基づいて各経由点への到達確率を算出し(S159)、そして算出された各経由点への到達確率に基づいて、移動による人の到達位置を予測する(S183)、移動予測方法である。 According to an eighth aspect of the present invention, in a space assuming a predetermined number of waypoints (v) that are targets for short-term movement, movement at that time is made into a waypoint series including a plurality of waypoints representing movement of people. A movement prediction method for a movement prediction apparatus (10) that predicts movement of a person using a via point list (L) associated with time (t) and a movement transition probability (p) of the via point series. A predicted travel time (T) in which a person moves by the predicted time point is set (S61), and when the travel time included in the via point list is less than the predicted travel time, the transit point sequence included in the via point list is set. Based on this, the transition transition probability to the next via point is calculated repeatedly (S123). Each time the calculated transition transition probability is equal to or greater than the threshold value, the via point series, the movement time, and the movement transition probability in the via point list are calculated. Is updated (S107) and the waypoint list When the included travel time is equal to or longer than the predicted travel time, the arrival probability to each via point is calculated based on the via point list (S159), and the person by movement is calculated based on the calculated arrival probability to each via point. This is a movement prediction method for predicting the arrival position (S183).
第8の発明でも、第1の発明と同様、各経由点への到達確率を算出することで、人が到達する位置を予測することができる。 In the eighth invention as well, as in the first invention, it is possible to predict the position where a person reaches by calculating the arrival probability to each waypoint.
この発明によれば、各経由点への到達確率に基づいて、人が到達する位置を予測することができる。 According to the present invention, it is possible to predict a position where a person reaches based on the arrival probability to each waypoint.
この発明の上述の目的、その他の目的、特徴および利点は、図面を参照して行う以下の実施例の詳細な説明から一層明らかとなろう。 The above object, other objects, features, and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.
図1を参照して、この実施例の移動予測装置10は、LRF12a,12bなどを含む数台のLRFを有する。LRF12a,12bは、人が任意に移動することができる空間(場所または環境)に設置される。人が任意に行動する場所は、会社のフロア、博物館、ショッピングモールまたはアトラクション会場などであり、LRF12a,12bは様々な場所に設置される。
Referring to FIG. 1, the
移動予測装置10は、一定時間(たとえば、1秒)毎にLRF12a,12bによって、任意に移動する人の位置を検出し、検出された位置のデータを記憶する。また、移動予測装置10は、記憶された位置データに基づいて、人が移動することで到達する位置を予測する。そして、移動予測装置10は、ネットワーク100を介してロボット14と無線通信を行い、ロボット14の行動を制御する。そのため、移動予測装置10は、ロボット制御装置として機能することもある。
The
位置が検出された人には、検出された順番に人IDが付与される。たとえば、最初検出された人にはID「001」が付与され、次に検出された人にはID「002」が付与される。 A person ID is given to a person whose position is detected in the order of detection. For example, ID “001” is assigned to the person who is detected first, and ID “002” is assigned to the person who is detected next.
ロボット14は、移動予測装置10が付与する行動命令に基づいて動作する。また、ロボット14は、相互作用指向のロボット(コミュニケーションロボット)でもあり、人間のようなコミュニケーションの対象(コミュニケーション対象)との間で、身振り手振りのような身体動作および音声の少なくとも一方を含むコミュニケーション行動を実行する機能を備えている。また、ロボット14はコミュニケーションの一環として、人に対して道案内や、情報提供などのサービスを行う。
The
なお、図1では簡単のため、1人しか図示していないが、移動予測装置10はさらに多くの人の位置を検出し、位置データを記憶することができる。さらに、ロボット14も同様に1台しか示していないが、移動予測装置10は2台以上のロボット14を同時に管理することができる。
Although only one person is shown in FIG. 1 for simplicity, the
図2は移動予測装置10の電気的な構成を示すブロック図である。図2を参照して、移動予測装置10は、LRF12a−12f、プロセッサ16などを含む。プロセッサ16は、マイクロコンピュータ或いはCPUと呼ばれることもある。また、プロセッサ16には、先述したLRF12aおよびLRF12bに加えて、LRF12c,LRF12d,LRF12eおよびLRF12fも接続される。なお、LRF12a−12fを区別する必要がない場合、「LRF12」と言う。
FIG. 2 is a block diagram showing an electrical configuration of the
また、プロセッサ16にはメモリ18、LCD20、入力装置22、通信LANボード24が接続されると共に、移動軌跡データベース(DB:Database)28、移動方向分布DB30、経由点DB32および移動遷移確率DB34も接続される。
The
LRF12は、レーザーを照射し、物体(人も含む)に反射して戻ってくるまでの時間から当該物体までの距離を計測するものである。たとえば、トランスミッタ(図示せず)から照射したレーザーを回転ミラー(図示せず)で反射させて、前方を扇状に一定角度(たとえば、0.5度)ずつスキャンする。ここで、LRF12としては、SICK社製のレーザーレンジファインダ(型式 LMS200)を用いることができる。このレーザーレンジファインダを用いた場合には、距離8mを±15mm程度の誤差で計測可能である。
The
メモリ18は、図示は省略をするが、ROM,HDDおよびRAMを含む。ROMおよびHDDには、移動予測装置10の動作を制御するための制御プログラムが予め記憶される。また、RAMは、プロセッサ16のワークメモリやバッファメモリとして用いられる。
Although not shown, the
LCD20は移動予測装置10の管理用GUIなどを表示する。入力装置22はマウスおよびキーボードなどを含む。そして、管理者は、LCD20に表示されるGUIを確認しながら、入力装置22のキーボードやマウスを利用して、コマンドなどを入力する。
The
通信LANボード24は、たとえばDSPで構成され、プロセッサ16から与えられた送信データを無線通信装置26に与え、無線通信装置26は送信データを、ネットワーク100を介してロボット14に送信する。たとえば、送信データは、ロボット14に指示する行動命令の信号(コマンド)などである。また、通信LANボード24は、無線通信装置26を介してデータを受信し、受信したデータをプロセッサ16に与える。
The
移動軌跡DB28には、LRF12によって検出された人の移動軌跡が保存される。移動方向分布DB30には、人の移動軌跡に基づく移動方向が保存される。経由点DB32には、上記した移動方向に基づく経由点の情報が保存される。移動遷移確率モデルDB34には、上記した移動軌跡および経由点に基づいて構築された移動遷移確率モデルが保存される。なお、移動方向分布DB30、経由点DB32および移動遷移確率DB34に保存される各データについては後述するため、ここでの詳細な説明は省略する。
The
図3はこの実施例のロボット14の外観を示す正面図である。図3を参照して、ロボット14は台車40を含み、台車40の下面にはロボット14を自律移動させる2つの車輪42および1つの従輪44が設けられる。2つの車輪42は車輪モータ46(図4参照)によってそれぞれ独立に駆動され、台車40すなわちロボット14を前後左右の任意方向に動かすことができる。また、従輪44は車輪42を補助する補助輪である。したがって、ロボット14は、配置された空間内を自律制御によって移動可能である。
FIG. 3 is a front view showing the appearance of the
台車40の上には、円柱形のセンサ取り付けパネル48が設けられ、このセンサ取り付けパネル48には、多数の赤外線距離センサ50が取り付けられる。これらの赤外線距離センサ50は、センサ取り付けパネル48すなわちロボット14の周囲の物体(人間や障害物など)との距離を測定するものである。
A cylindrical
なお、この実施例では、距離センサとして、赤外線距離センサを用いるようにしてあるが、赤外線距離センサに代えて、小型のLRFや、超音波距離センサおよびミリ波レーダなどを用いることもできる。 In this embodiment, an infrared distance sensor is used as the distance sensor, but a small LRF, an ultrasonic distance sensor, a millimeter wave radar, or the like can be used instead of the infrared distance sensor.
センサ取り付けパネル48の上には、胴体52が直立するように設けられる。また、胴体52の前方中央上部(人の胸に相当する位置)には、上述した赤外線距離センサ50がさらに設けられ、ロボット14の前方の主として人間との距離を計測する。また、胴体52には、その側面側上端部のほぼ中央から伸びる支柱54が設けられ、支柱54の上には、全方位カメラ56が設けられる。全方位カメラ56は、ロボット14の周囲を撮影するものであり、後述する眼カメラ80とは区別される。この全方位カメラ56としては、たとえばCCDやCMOSのような固体撮像素子を用いるカメラを採用することができる。なお、これら赤外線距離センサ50および全方位カメラ56の設置位置は、当該部位に限定されず適宜変更され得る。
On the
胴体52の両側面上端部(人の肩に相当する位置)には、それぞれ、肩関節58Rおよび肩関節58Lによって、上腕60Rおよび上腕60Lが設けられる。図示は省略するが、肩関節58Rおよび肩関節58Lは、それぞれ、直交する3軸の自由度を有する。すなわち、肩関節58Rは、直交する3軸のそれぞれの軸廻りにおいて上腕60Rの角度を制御できる。肩関節58Rの或る軸(ヨー軸)は、上腕60Rの長手方向(または軸)に平行な軸であり、他の2軸(ピッチ軸およびロール軸)は、その軸にそれぞれ異なる方向から直交する軸である。同様にして、肩関節58Lは、直交する3軸のそれぞれの軸廻りにおいて上腕60Lの角度を制御できる。肩関節58Lの或る軸(ヨー軸)は、上腕60Lの長手方向(または軸)に平行な軸であり、他の2軸(ピッチ軸およびロール軸)は、その軸にそれぞれ異なる方向から直交する軸である。
An
また、上腕60Rおよび上腕60Lのそれぞれの先端には、肘関節62Rおよび肘関節62Lが設けられる。図示は省略するが、肘関節62Rおよび肘関節62Lは、それぞれ1軸の自由度を有し、この軸(ピッチ軸)の軸回りにおいて前腕64Rおよび前腕64Lの角度を制御できる。
Further, an elbow joint 62R and an elbow joint 62L are provided at the tips of the
前腕64Rおよび前腕64Lのそれぞれの先端には、人の手に相当する球体66Rおよび球体66Lがそれぞれ固定的に設けられる。ただし、指や掌の機能が必要な場合には、人間の手の形をした「手」を用いることも可能である。また、図示は省略するが、台車40の前面、肩関節58Rと肩関節58Lとを含む肩に相当する部位、上腕60R、上腕60L、前腕64R、前腕64L、球体66Rおよび球体66Lには、それぞれ、接触センサ68(図4で包括的に示す)が設けられる。台車40の前面の接触センサ68は、台車40への人間や他の障害物の接触を検知する。したがって、ロボット14は、自身の移動中に障害物との接触が有ると、それを検知し、直ちに車輪42の駆動を停止してロボット14の移動を急停止させることができる。また、その他の接触センサ68は、当該各部位に触れたかどうかを検知する。なお、接触センサ68の設置位置は、当該部位に限定されず、適宜な位置(人の胸、腹、脇、背中および腰に相当する位置)に設けられてもよい。
A
胴体52の中央上部(人の首に相当する位置)には首関節70が設けられ、さらにその上には頭部72が設けられる。図示は省略するが、首関節70は、3軸の自由度を有し、3軸の各軸廻りに角度制御可能である。或る軸(ヨー軸)はロボット14の真上(鉛直上向き)に向かう軸であり、他の2軸(ピッチ軸、ロール軸)は、それぞれ、それと異なる方向で直交する軸である。
A neck joint 70 is provided at the upper center of the body 52 (a position corresponding to a person's neck), and a
頭部72には、人の口に相当する位置に、スピーカ74が設けられる。スピーカ74は、ロボット14が、それの周辺の人間に対して音声ないし音によってコミュニケーションを取るために用いられる。また、人の耳に相当する位置には、マイク76Rおよびマイク76Lが設けられる。以下、右のマイク76Rと左のマイク76Lとをまとめてマイク76と言うことがある。マイク76は、周囲の音、とりわけコミュニケーションを実行する対象である人間の音声を取り込む。さらに、人の目に相当する位置には、眼球部78Rおよび眼球部78Lが設けられる。眼球部78Rおよび眼球部78Lは、それぞれ眼カメラ80Rおよび眼カメラ80Lを含む。以下、右の眼球部78Rと左の眼球部78Lとをまとめて眼球部78と言うことがある。また、右の眼カメラ80Rと左の眼カメラ80Lとをまとめて眼カメラ80と言うことがある。
The
眼カメラ80は、ロボット14に接近した人間の顔や他の部分ないし物体などを撮影して、それに対応する映像信号を取り込む。また、眼カメラ80は、上述した全方位カメラ56と同様のカメラを用いることができる。たとえば、眼カメラ80は、眼球部78内に固定され、眼球部78は、眼球支持部(図示せず)を介して頭部72内の所定位置に取り付けられる。図示は省略するが、眼球支持部は、2軸の自由度を有し、それらの各軸廻りに角度制御可能である。たとえば、この2軸の一方は、頭部72の上に向かう方向の軸(ヨー軸)であり、他方は、一方の軸に直交しかつ頭部72の正面側(顔)が向く方向に直行する方向の軸(ピッチ軸)である。眼球支持部がこの2軸の各軸廻りに回転されることによって、眼球部78ないし眼カメラ80の先端(正面)側が変位され、カメラ軸すなわち視線方向が移動される。なお、上述のスピーカ74、マイク76および眼カメラ80の設置位置は、当該部位に限定されず、適宜な位置に設けられてよい。
The
このように、この実施例のロボット14は、車輪42の独立2軸駆動、肩関節58の3自由度(左右で6自由度)、肘関節62の1自由度(左右で2自由度)、首関節70の3自由度および眼球支持部の2自由度(左右で4自由度)の合計17自由度を有する。
As described above, the
図4はロボット14の電気的な構成を示すブロック図である。この図4を参照して、ロボット14は、プロセッサ90を含む。プロセッサ90は、マイクロコンピュータ或いはプロセッサとも呼ばれ、バス92を介して、メモリ94、モータ制御ボード96、センサ入力/出力ボード98および音声入力/出力ボード110に接続される。
FIG. 4 is a block diagram showing an electrical configuration of the
メモリ94は、図示は省略をするが、ROMおよびRAMを含む。ROMには、ロボット14の動作を制御するための制御プログラムが予め記憶される。たとえば、各センサの出力(センサ情報)を検知するための検知プログラムや、外部コンピュータ(移動予測装置10)との間で必要なデータやコマンドを送受信するための通信プログラムなどが記録される。また、RAMは、プロセッサ90のワークメモリやバッファメモリとして用いられる。
The
モータ制御ボード96は、たとえばDSPで構成され、各腕や首関節および眼球部などの各軸モータの駆動を制御する。すなわち、モータ制御ボード96は、プロセッサ90からの制御データを受け、右眼球部78Rの2軸のそれぞれの角度を制御する2つのモータ(図4では、まとめて「右眼球モータ112」と示す)の回転角度を制御する。同様に、モータ制御ボード96は、プロセッサ90からの制御データを受け、左眼球部78Lの2軸のそれぞれの角度を制御する2つのモータ(図4では、まとめて「左眼球モータ114」と示す)の回転角度を制御する。
The
また、モータ制御ボード96は、プロセッサ90からの制御データを受け、肩関節58Rの直交する3軸のそれぞれの角度を制御する3つのモータと肘関節62Rの角度を制御する1つのモータとの計4つのモータ(図4では、まとめて「右腕モータ116」と示す)の回転角度を制御する。同様に、モータ制御ボード96は、プロセッサ90からの制御データを受け、肩関節58Lの直交する3軸のそれぞれの角度を制御する3つのモータと肘関節62Lの角度を制御する1つのモータとの計4つのモータ(図4では、まとめて「左腕モータ118」と示す)の回転角度を制御する。
The
さらに、モータ制御ボード96は、プロセッサ90からの制御データを受け、首関節70の直交する3軸のそれぞれの角度を制御する3つのモータ(図4では、まとめて「頭部モータ120」と示す)の回転角度を制御する。そして、モータ制御ボード96は、プロセッサ90からの制御データを受け、車輪42を駆動する2つのモータ(図4では、まとめて「車輪モータ46」と示す)の回転角度を制御する。なお、この実施例では、車輪モータ46を除くモータは、制御を簡素化するためにステッピングモータ(すなわち、パルスモータ)を用いる。ただし、車輪モータ46と同様に直流モータを用いるようにしてもよい。また、ロボット14の身体部位を駆動するアクチュエータは、電流を動力源とするモータに限らず適宜変更されてもよい。たとえば、他の実施例では、エアアクチュエータなどが適用されてもよい。
Further, the
センサ入力/出力ボード98は、モータ制御ボード96と同様に、DSPで構成され、各センサからの信号を取り込んでプロセッサ90に与える。すなわち、赤外線距離センサ50のそれぞれからの反射時間に関するデータがこのセンサ入力/出力ボード98を通じてプロセッサ90に入力される。また、全方位カメラ56からの映像信号が、必要に応じてセンサ入力/出力ボード98で所定の処理を施してからプロセッサ90に入力される。眼カメラ80からの映像信号も、同様に、プロセッサ90に入力される。また、上述した複数の接触センサ68(図4では、まとめて「接触センサ68」と示す)からの信号がセンサ入力/出力ボード98を介してプロセッサ90に与えられる。音声入力/出力ボード110もまた、同様に、DSPで構成され、プロセッサ90から与えられる音声合成データに従った音声または声がスピーカ74から出力される。また、マイク76からの音声入力が、音声入力/出力ボード110を介してプロセッサ90に与えられる。
Similar to the
また、プロセッサ90は、バス92を介して通信LANボード122に接続される。通信LANボード122は、たとえばDSPで構成され、プロセッサ90から与えられた送信データを無線通信装置124に与え、無線通信装置124は送信データを、ネットワーク200を介して外部コンピュータ(移動予測装置10)に送信する。また、通信LANボード122は、無線通信装置124を介してデータを受信し、受信したデータをプロセッサ90に与える。たとえば、送信データとしては、全方位カメラ56および目カメラ80によって撮影された周囲の映像データなどである。
The
次に、LRF12について詳細に説明する。図5を参照して、LRF12の計測範囲は、半径R(R≒8m)の半円形状(扇形)で示される。つまり、LRF12は、その正面方向を中心とした場合に、左右90度の方向を所定の距離以内で計測可能である。
Next, the
また、使用しているレーザーは、日本工業規格 JIS C 6802「レーザー製品の安全基準」におけるクラス1レーザーであり、人の眼に対して影響を及ぼさない安全なレベルである。また、この実施例では、LRF12のサンプリングレートを37Hzとした。これは、歩行するなどにより移動する人の位置を連続して検出するためである。
The laser used is a
さらに、LRF12の各々は、計測範囲が重なるように配置され、図示は省略するが、床面から約90cmの高さに固定される。この高さは、被験者の胴体と腕(両腕)とを検出可能とするためであり、たとえば、日本人の成人の平均身長から算出される。したがって、移動予測装置10を設ける場所(地域ないし国)や被験者の年齢ないし年代(たとえば、子供,大人)に応じて、LRF12を固定する高さを適宜変更するようにしてよい。なお、本実施例では、設定されるLRF12は6台としたが、2台以上であれば、任意の台数のLRF12が設置されてもよい。
Further, each of the
このような構成の移動予測装置10では、プロセッサ16がLRF12からの出力(距離データ)に基づいて、パーティクルフィルタを用いて、人の現在位置の変化を推定する。そして、推定された位置の変化が移動軌跡として記録される。
In the
たとえば、図6を参照して、LRF12a,12bは互いに向い合せに設置され、LRF12a,12bの計測範囲が重なる範囲は斜線が付されている。斜線の範囲は検出領域とされ、この検出領域内では人の位置が連続的に検出される。そして、連続的に検出された位置の変化が移動軌跡となる。つまり、移動軌跡データは、複数の位置データから構成される。なお、検出領域にはx−y座標が設定され、人の位置データは(x,y)の座標で示すことができる。
For example, referring to FIG. 6,
図7はLRF12が設置される場所を示す地図を示す図解図である。図7を参照して、地図が対応する場所は或るショッピングモールである。また、地図の中央部には通路が設けられており、その周囲には店舗およびエレベータなどが存在する。また、LRF12は通路に設けられており、ショッピングモールの通路の一部が検出領域となる。そのため、移動軌跡DB28には、ショッピングモールの通路を行き交う人々の移動軌跡が保存される。
FIG. 7 is an illustrative view showing a map showing a place where the
ここで、本実施例では保存された人々の移動軌跡を分析することで、人の短期的な移動の目標となる経由点を設定し、その経由点に基づいて人の移動を予測する。また、経由点は、検出領域に設けられる複数の部分領域毎に、人々の移動を分析することで設定することができる。 Here, in this embodiment, by analyzing the saved movement trajectory of people, a via point that is a target of short-term movement of the person is set, and the movement of the person is predicted based on the via point. The waypoints can be set by analyzing the movement of people for each of a plurality of partial areas provided in the detection area.
図8を参照して、部分領域は、一辺が50cmの正方形(グリッド)であり、ショッピングモールの通路の一部に設けられる。部分領域を通過する複数の人の移動軌跡は、たとえば図9のように示すことができ、数1に示す式によって、各移動軌跡の移動方向を求めることができる。なお、数1では、「θ」は部分領域を通過したときの角度(図10参照)を示し、「x(t)」は人が部分領域の中心に最も接近した時刻tにおける人の位置ベクトルを示し、「arg(x)」はその位置ベクトルの角度を求める関数である。また、「Δ」は短い時間(たとえば、4秒)であり、歩行による移動軌跡のゆらぎや、前から来た人の避けるための短時間の方向変化の影響を抑え、その人が目指している方向を精度よく算出するために用いられる。
Referring to FIG. 8, the partial area is a square (grid) with a side of 50 cm, and is provided in a part of a shopping mall passage. The movement trajectories of a plurality of people passing through the partial area can be shown as shown in FIG. 9, for example, and the movement direction of each movement trajectory can be obtained by the equation shown in
[数1]
θ=arg(x(t+Δ)−x(t))
たとえば、数1の式を利用して、或る部分領域における移動方向を算出すると、図10のようになる。図10を参照して、領域では、右側を0度とし、上側を90度、左側を180度、下側を270度、0度と同じ位置を360度とする。つまり、部分領域内では、右側を基準として反時計方向に大きくなるように角度が設定される。また、図10に示す移動方向の分布では、部分領域内の各黒丸は人が部分領域から出て行った方向、つまり人の移動方向を示す。また、図10から分かるように、或る部分領域では、人々の移動方向は一方向に集中せず、いくつかの方向に分散している。
[Equation 1]
θ = arg (x (t + Δ) −x (t))
For example, when the movement direction in a certain partial region is calculated using the equation (1), the result is as shown in FIG. Referring to FIG. 10, in the region, the right side is 0 degree, the upper side is 90 degrees, the left side is 180 degrees, the lower side is 270 degrees, and the same position as 0 degree is 360 degrees. That is, in the partial area, the angle is set so as to increase counterclockwise with respect to the right side. In the movement direction distribution shown in FIG. 10, each black circle in the partial area indicates the direction in which the person has left the partial area, that is, the movement direction of the person. Further, as can be seen from FIG. 10, in a certain partial area, the movement direction of people is not concentrated in one direction but is distributed in several directions.
なお、数1における関数「arg(x)」は、本実施例用に定義された特別な関数ではない。つまり、関数「arg(x)」は、ベクトルの角度を算出するための一般的な関数である。そのため、他の実施例では、関数「arg(x)」に代えて、ベクトルの角度を求めることができる一般的な関数を利用することができる。
Note that the function “arg (x)” in
次に、図11は図10に示した複数の移動方向をグラフ化したものである。このグラフでは、横軸は角度を表し、縦軸は同一の角度の移動方向が出現(算出)した回数を示す。そのため、グラフ中の実線は、移動方向が算出された回数の変化を示す。そして、本実施例では、このグラフを利用して、或る部分領域を通過する人の主な移動方向を求める。 Next, FIG. 11 is a graph showing a plurality of moving directions shown in FIG. In this graph, the horizontal axis represents the angle, and the vertical axis represents the number of times the moving direction of the same angle has appeared (calculated). Therefore, a solid line in the graph indicates a change in the number of times the movement direction is calculated. In this embodiment, the main moving direction of a person passing through a certain partial area is obtained using this graph.
具体的には、移動方向分布を混合ガウス分布でモデル化することで、移動方向分布に現れる複数のピーク(主な移動方向)の中心を求める。また、図11では、モデル化された混合ガウス分布は点線で示され、各ピークと対応する横軸にはバツ印が付与される。これにより、或る部分領域を通過する人々は、主に約130度、約225度、約315度の方向に通過していることが分かる。 Specifically, the center of a plurality of peaks (main movement directions) appearing in the movement direction distribution is obtained by modeling the movement direction distribution with a mixed Gaussian distribution. In FIG. 11, the modeled mixed Gaussian distribution is indicated by a dotted line, and a horizontal axis corresponding to each peak is given a cross mark. Accordingly, it can be seen that people passing through a certain partial region pass mainly in directions of about 130 degrees, about 225 degrees, and about 315 degrees.
なお、混合ガウス分布によるモデル化については、「I. S. Dhillon and S. Sra, “Modeling Data using Directional Distributions,” Technical report of University of Texas, TR-03-062, 2003」に記述されているため、詳細な説明は省略する。 Modeling with a mixed Gaussian distribution is described in “IS Dhillon and S. Sra,“ Modeling Data using Directional Distributions, ”Technical report of University of Texas, TR-03-062, 2003”. The detailed explanation is omitted.
図12は、或る部分領域において、上述の処理によって求めた移動方向(ピーク)のうち、上位3つの移動方向を示す。図12を参照して、最も多い移動方向(約315度)は破線矢印で示され、2番目に多い移動方向(約225度)は点線矢印で示され、3番目に多い移動方向(約130度)は実線矢印で示される。そして、他の部分領域についても同様に、主な移動方向を求め、その結果が移動方向分布DB30に保存される。
FIG. 12 shows the top three movement directions among the movement directions (peaks) obtained by the above-described processing in a certain partial region. Referring to FIG. 12, the most frequent moving direction (about 315 degrees) is indicated by a dashed arrow, the second most frequent moving direction (about 225 degrees) is indicated by a dotted arrow, and the third most frequent moving direction (about 130). Degrees) is indicated by solid arrows. Similarly, the main movement directions are obtained for the other partial areas, and the results are stored in the movement
図13(A)は、移動方向分布DB30に保存される、主な移動方向のうち最も多い移動方向だけを各部分領域に示した移動方向地図である。また、図13(B)は、移動方向地図における、領域Aを拡大したものである。図13(A)を参照して、通路が細くなっている所では、おおよそ同じ方向に人が移動していることが分かる。また、図13(B)から分かるように、通路の大きさが変化している領域Aでは、移動方向がさまざまな方向を指している。
FIG. 13A is a movement direction map stored in the movement
続いて、移動方向分布DB30に保存された移動方向から経由点の求め方について説明する。まず、初期設定として、所定の数の経由点が、乱数を用いてランダムに設定される。たとえば、約500平方メートルのショッピングモールでは、30個の経由点がランダムに設定される。
Next, how to obtain a via point from the movement direction stored in the movement
次に、部分領域毎に求められた移動方向に対して、1つの経由点を対応付ける。具体的には、部分領域の中心oから移動方向を延長した直線に対して経由点から垂線をおろし、垂線が最も短くなる経由点を移動方向に対応付ける。ここで、垂線をおろす経由点は、部分領域の中心oから所定距離(たとえば、10m)以内であり、部分領域の中心oから見て、経由点の方向と移動方向とのなす角度が所定角度(たとえば、10度)以内のものに限られる。 Next, one waypoint is associated with the moving direction obtained for each partial region. Specifically, a perpendicular line is dropped from the via point with respect to a straight line extending in the movement direction from the center o of the partial area, and the via point having the shortest perpendicular line is associated with the movement direction. Here, the via point where the perpendicular is lowered is within a predetermined distance (for example, 10 m) from the center o of the partial region, and the angle formed by the direction of the via point and the moving direction is a predetermined angle when viewed from the center o of the partial region. It is limited to those within (for example, 10 degrees).
たとえば、図14(A)を参照して、或る部分領域の中心oにおいて、経由点v1および経由点v2が上記した条件に適合する場合、移動方向ベクトルYを延長した直線に対して、経由点v1および経由点v2から垂線d1および垂線d2がおろされる。このとき、垂線d1の方が、垂線d2よりも短いため、移動方向ベクトルYには経由点v1が対応付けられる。 For example, referring to FIG. 14 (A), when via point v 1 and via point v 2 meet the above-mentioned conditions at the center o of a certain partial area, a straight line obtained by extending movement direction vector Y is used. , perpendicular d1 and perpendicular d2 is unloaded from the waypoint v 1 and through point v 2. In this case, towards the vertical line d1 is shorter than the vertical line d2, the waypoint v 1 associated to the movement direction vector Y.
全ての移動方向に対して経由点の対応付けが終わると、各経由点の位置を更新する。具体的には、或る経由点において、或る経由点を対応付けた移動方向を延長する直線に対して、或る経由点から垂線ベクトルをおろす。次に、或る経由点から下ろされた各垂線ベクトルを合成して合成ベクトルを求め、或る経由点を合成のベクトルの向きに移動させる。図14(B)を参照して、たとえば、或る経由点vにおいて移動方向ベクトルY1,Y2,Y3が対応付けられている場合、移動方向Yベクトル1,Y2,Y3を延長する直線に対して、3本の垂線ベクトルが或る経由点vからおろされる。そして、3本の垂線ベクトルを合成した合成ベクトルrに基づいて、経由点vの位置が経由点v’の位置に移動(更新)される。
When the via points are associated with all the moving directions, the position of each via point is updated. Specifically, at a certain waypoint, a perpendicular vector is lowered from a certain waypoint with respect to a straight line extending in the moving direction associated with a certain waypoint. Next, synthesized vectors are obtained by synthesizing the perpendicular vectors drawn from a certain waypoint, and the waypoint is moved in the direction of the synthesized vector. Referring to FIG. 14B, for example, when movement direction vectors Y1, Y2, and Y3 are associated at a certain waypoint v, a straight line extending movement
そして、ランダムに設定した全ての経由点の位置が変化しなくなるまで、上述の処理を全ての経由点に対して繰り返す。その結果、経由点の位置が変化しなくなれば、各経由点の位置が経由点DB32に保存される。
Then, the above-described processing is repeated for all via points until the positions of all via points set at random do not change. As a result, when the position of the waypoint does not change, the position of each waypoint is stored in the
図15(A)は、経由点DB32に保存される経由点を、移動方向地図に配置した経由点地図である。図15(A)を参照して、ほとんどの経由点は検出領域内に設定されるが、一部の経由点は、検出領域外(店舗内)に設定される。また、図15(B)を参照して、領域Aのように、移動方向の変化が多い場所には、各経由点が多く設定される傾向がある。
FIG. 15A is a waypoint map in which waypoints stored in the
このように、各経由点の位置を、人の移動に基づいて設定することで、予測の精度を高くすることができる。 Thus, the accuracy of prediction can be increased by setting the position of each waypoint based on the movement of a person.
続いて、設定された経由点を利用して人の移動を予測する場合、まず、経由点を遷移(移動)する順番に基づいて移動遷移確率モデルを構築する。そして、構築したモデルを利用して、予測移動時間T後に、人が到達する位置(到達位置)を予測する。 Subsequently, when predicting the movement of a person using the set waypoints, a movement transition probability model is first constructed based on the order of transition (movement) of the waypoints. And the position (arrival position) where a person reaches | attains after the estimated movement time T is estimated using the constructed model.
まず、移動遷移確率モデルを構築するために、移動軌跡DB28に保存された移動軌跡に基づいて、人々が経由点を通過する順序および通過する確率を求める。ここで、本実施例では、経由点から一定の距離以内に入ったときに、人がその経由点を通過したと判断される。ただし、他の実施例では、経由点の通過の判断は、移動軌跡の移動方向と経由点の方向とのなす角度を利用し、経由点との距離が所定距離以内であり、かつなす角度が所定角度以内の場合に通過とみなしてもよい。
First, in order to construct the movement transition probability model, the order in which people pass through the waypoints and the probability of passing are determined based on the movement trajectory stored in the
また、2つの経由点間の移動遷移確率pを数2に示す式に基づいて算出し、3つの経由点間の移動遷移確率pを数3に示す式に基づいて算出する。なお、数2では、「C(i,j)」は保存された移動軌跡の中で、経由点viを通過し、続けて経由点vjを通過した人の数であり、「C(i)」は経由点viを通過した人の数である。また、数3では、「C(i,j,k)」は経由点vi,vj,vkの順番で通過した人の数である。つまり、数2に示す式は、経由点viを通過した人のうち、続けて経由点vjを通過した人の割合を表す。また、数3に示す式は、経由点viおよび経由点vjを続けて通過した人のうち、さらに経由点vjを通過した人の割合を表す。
Further, the movement transition probability p between two waypoints is calculated based on the formula shown in
ここで、数2、数3によって移動遷移確率pを求める際、データの不足によりC(i,j),C(i,j,k)が十分に得られない問題が生じる。この問題に対して、本実施例では、バックオフ・スムージングによって、移動遷移確率p(k|i,j)の算出時に、移動遷移確率p(i|j)を用いて補間し、移動遷移確率p(i|j)の算出時に移動遷移確率p(i)を用いて補間を行う。なお、このバックオフ・スムージングについては、「北研二 「確率的言語モデル」 東京大学出版会 1999」に記述されているため、詳細な説明は省略する。
Here, when the movement transition probability p is obtained by
また、3つの経由点の組み合わせに対応する移動遷移確率p(k|i,j)を、他の経由点についても算出する。そして、その算出結果が移動遷移確率モデルとして、移動遷移確率モデルDB34に保存される。また、本実施例では、構築された移動遷移確率モデルを利用することで、人が到達する位置をより正確に予測することができるようになる。
Also, the movement transition probability p (k | i, j) corresponding to the combination of the three waypoints is calculated for the other waypoints. The calculation result is stored in the movement transition
次に、移動遷移確率モデルDB34に保存された移動遷移確率モデルを用いて、予測移動時間Tにおける到達位置を予測する。この予測移動時間Tとは、予測する時点までに対象者が移動するときにかかる時間のことである。また、到達位置を予測する際には、移動遷移確率モデルに加えて、予測の対象となる人(対象者)の現在位置および移動方向も用いられる。これにより、予測移動時間Tにおける到達位置が予測される。
Next, the arrival position in the predicted movement time T is predicted using the movement transition probability model stored in the movement transition
まず、移動予測処理では、現在の経由点と直前に通過した経由点とに基づいて、経由点リストLが初期化される。この経由点リストLでは、人の移動を表す複数の経由点を含む経由点系列に、そのときの移動時間tおよびその経由点系列の移動遷移確率pが関連付けられている。次に、この経由点リストLの経由点系列に対して、使用者が次に目指す経由点(次の経由点)を含む新たな経由点系列を追加し、経由点系列の移動時間tおよび移動遷移確率pを更新する。このときに、経由点系列の移動遷移確率pが閾値以下であれば、その経由点系列が経由点リストLに追加されることはない。 First, in the movement prediction process, the waypoint list L is initialized based on the current waypoint and the waypoint that passed immediately before. In this waypoint list L, the travel time t at that time and the movement transition probability p of the waypoint sequence are associated with a waypoint series including a plurality of waypoints representing the movement of a person. Next, a new waypoint series including the next waypoint (the next waypoint) that the user is aiming for is added to the waypoint series in the waypoint list L, and the travel time t and movement of the waypoint series are added. The transition probability p is updated. At this time, if the movement transition probability p of the waypoint series is equal to or less than the threshold value, the waypoint series is not added to the waypoint list L.
さらに、更新された結果、経由点系列の移動時間tが予測移動時間Tを超えた場合には、その移動時間tを関連付けた経由点系列は、更新結果データに移される。そして、経由点リストLに含まれる経由点系列が全て移されれば、更新結果データに基づいて、同一の経由点に到達する経由点系列の移動遷移確率pが統合され、予測移動時間Tにおける到達確率Pが算出される。そして、その到達確率Pに基づいて、人の到達地点が予測されると、ロボット14の行動が確定される。なお、以下の説明では、予測移動時間Tを「4.0秒」とし、閾値を「0.1%」として、移動予測処理について説明する。
Furthermore, when the travel time t of the route point series exceeds the predicted travel time T as a result of the update, the route point sequence associated with the travel time t is moved to the update result data. Then, if all the waypoint sequences included in the waypoint list L are moved, the movement transition probabilities p of route points that reach the same waypoint are integrated based on the update result data, and the predicted movement time T An arrival probability P is calculated. When the arrival point of the person is predicted based on the arrival probability P, the behavior of the
図16(A)は、或る4つの経由点vを結ぶ経路を示し、図16(B)はそれらの経路を移動するためにかかる時間を示す。図16(A)を参照して、経由点vbは対象者が直前に通過した経由点vであり、経由点vpは現在通過している経由点vである。経由点v1,v2は、対象者が今後通過する可能性がある経由点vである。また、各経由点vを結ぶ経路は、経路vb−vp、経路vb−v1、経路vb−v2、経路vp−v1、経路vp−v2および経路v1−v2である。そして、経路vb−vpはすでに移動しているため実線矢印で示される。図16(B)を参照して、経由点vを結ぶ各経路の距離および人の平均移動速度spに基づいて、各経路の時間が算出される。経路の距離は、2つの経由点の座標に三平方の定理を用いて算出される。また、平均移動速度spは、LRF12を用いて記録される移動軌跡に基づいて、対象者の最近の数秒間の移動速度から算出される。ただし、人の移動軌跡が記録されていない場合は、移動軌跡DB28に保存された移動軌跡から、同じ場所を移動する人の平均的な速度を算出してもよい。
FIG. 16 (A) shows a route connecting certain four waypoints v, and FIG. 16 (B) shows the time taken for moving those routes. Referring to FIG. 16A, the waypoint v b is the waypoint v that the subject has passed immediately before, and the waypoint v p is the waypoint v that is currently passing. The via points v 1 and v 2 are via points v through which the subject may pass in the future. In addition, the route connecting each waypoint v is the route v b -v p , the route v b -v 1 , the route v b -v 2 , the route v p -v 1 , the route v p -v 2, and the route v 1-. v is 2. Since the path v b -v p has already moved, it is indicated by a solid line arrow. Referring to FIG. 16B, the time of each route is calculated based on the distance of each route connecting via point v and the average movement speed sp of the person. The distance of the route is calculated using the three-square theorem for the coordinates of two waypoints. In addition, the average moving speed sp is calculated from the moving speed of the subject in recent several seconds based on the moving track recorded using the
そして、対象者が経由点vpにいる時点で移動予測処理が実行されると、経由点リストLは図17に示すように初期化される。図17を参照して、経由点リストLには、経由点系列が「vb,vp」と記録され、それに対応する移動時間および移動遷移確率が「0.0秒」および「100%」と記録される。なお、以下の説明では、経由点リストLにおける、1つの経由点系列と、それに対応する移動時間および移動遷移確率とをまとめて「要素e」と言うことにする。 When the movement prediction process is executed when the subject is at the route point v p , the route point list L is initialized as shown in FIG. Referring to FIG. 17, in the waypoint list L, the waypoint series is recorded as “v b , v p ”, and the corresponding movement time and movement transition probability are “0.0 seconds” and “100%”. Is recorded. In the following description, one route point series in the route point list L, and the corresponding movement time and movement transition probability are collectively referred to as “element e”.
続いて、到達確率Pを算出する前に行われる、経由点リストLについて説明する。まず、現在の経由点vpから遷移可能な経由点vに、経由点v1,v2が含まれるのは勿論のこと、対象者が停止したり、戻ったりする可能性もあるため経由点vp,vbも含まれる。そのため、図17に示す経由点リストLに対して新たに追加(更新)される要素e(経由点系列)の候補は、「vb,vp,vb」、「vb,vp,vp」、「vb,vp,v2」および「vb,vp,v1」の4つとなる。 Next, the waypoint list L performed before the arrival probability P is calculated will be described. First, the transit points v 1 and v 2 are included in the transit points v that can be transitioned from the current transit point v p, and there is a possibility that the subject may stop or return. v p and v b are also included. Therefore, the candidates for the element e (route point series) newly added (updated) to the route point list L shown in FIG. 17 are “v b , v p , v b ”, “v b , v p , “v p ”, “v b , v p , v 2 ” and “v b , v p , v 1 ”.
また、これらの候補の経由点系列に関連付けられる、移動遷移確率pは数4に示す数式と一致する移動遷移確率モデルが移動遷移確率モデルDB34から読み出される。なお、数4では、「Nv」は次の経由点であり、「Fv」は経由点系列における最後の経由点であり、「Fv−1」は最後の経由点の一つ前の経由点である。
Further, the movement transition probability model associated with these candidate waypoint sequences and the movement transition probability p that matches the mathematical formula shown in
[数4]
p=(Nv|Fv−1,Fv)
たとえば、「Fv」を経由点vpとし、「Fv−1」は経由点vbとし、「Nv」を経由点v2とした場合、数5に示す式は、「移動遷移確率p=(経由点v2|経由点vb,経由点vp)」となる。そして、移動遷移確率モデルDB34からは、経由点vpおよび経由点vbを通過しさらに、経由点v2を通過する移動遷移確率モデル(20.0%)が読み出される。
[Equation 4]
p = (Nv | Fv −1 , Fv)
For example, when “Fv” is a transit point v p , “Fv −1 ” is a transit point v b, and “Nv” is a transit point v 2 , the equation shown in
同様にして、他の候補についても移動遷移確率pを求めた結果は、図18(A)のようになる。図18(A)を参照して、前の経由点vbに戻ることを示す経由点系列(vb,vp,vb)には、移動遷移確率pとして「0.5%」が関連付けられる。今の経由点vpに留まることを示す経由点系列(vb,vp,vp)には、移動遷移確率pとして「0.8%」が関連付けられる。次の経由点v1に進むことを示す経由点系列(vb,vp,v1)には、移動遷移確率pとして「70.0%」が関連付けられる。同様に、次の経由点v2に進むことを示す経由点系列(vb,vp,v2)には、移動遷移確率pとして「20.0%」が関連付けられる。 Similarly, the result of obtaining the movement transition probability p for other candidates is as shown in FIG. Referring to FIG. 18 (A), the route point series (v b , v p , v b ) indicating return to the previous route point v b is associated with “0.5%” as the movement transition probability p. It is done. Via point sequence indicating that remains now via point v p (v b, v p , v p) in the "0.8%" is associated as the moving transition probability p. “70.0%” is associated as the movement transition probability p with the via point series (v b , v p , v 1 ) indicating that the vehicle proceeds to the next via point v 1 . Similarly, “20.0%” is associated as the movement transition probability p with the via point series (v b , v p , v 2 ) indicating that the vehicle proceeds to the next via point v 2 .
そして、移動遷移確率pが閾値未満の候補を省いて、経由点リストLが更新され、その更新結果が図18(B)のようになる。ここで、更新により追加された要素eにおいて、移動遷移確率pは、元となった要素eの移動遷移確率pと、移動遷移確率モデルによって求められた移動遷移確率pとなる。また、移動時間tは数5に示す数式に基づいて算出される。なお、数5の「Bt」は、前回の経由点系列に関連付けられた移動時間tであり、「|Nv−Fv|」は、最後の経由点と次の経由点との距離である。
Then, by omitting candidates whose movement transition probability p is less than the threshold, the waypoint list L is updated, and the update result is as shown in FIG. Here, in the element e added by the update, the movement transition probability p is the movement transition probability p of the original element e and the movement transition probability p obtained by the movement transition probability model. Further, the travel time t is calculated based on the mathematical formula shown in
たとえば、「Fv」を経由点vpとし、「Fv−1」は経由点vbとし、「Nv」を経由点v2とした場合、前回の移動時間tは図17に示すように「0.0秒」であるため、数5に示す式は、「4.0秒=0.0+(|経由点v2−経由点vp|)/平均移動速度sp」となる。また、元となる要素の移動遷移確率pは「1.00(初期値)」であるため、ここでは候補として算出された移動遷移確率pがそのまま、経由点リストLに記録されることになる。
For example, if “Fv” is a transit point v p , “Fv −1 ” is a transit point v b, and “Nv” is a transit point v 2 , the previous travel time t is “0” as shown in FIG. .0 seconds ”, the equation shown in
移動時間tがそれぞれ算出された後、移動時間tが予測移動時間Tを超える要素eについては、更新結果データに移される。ただし、図18(B)に示す経由点リストLには条件を満たす要素eが含まれていないため、経由点リストLの内容は変化しない。 After each movement time t is calculated, the element e whose movement time t exceeds the predicted movement time T is moved to the update result data. However, since the route point list L shown in FIG. 18B does not include the element e that satisfies the condition, the content of the route point list L does not change.
続いて、図18(B)に示す経由点リストLに対して新たに追加される要素eの候補は、図18(C)のようになる。つまり、経由点v1,v2の次に通過される可能性がある経由点vを含む経由点系列が候補として挙げられる。そして、各候補に関連付けられる移動遷移確率pに基づいて経由点リストLを更新した結果を図18(D)に示す。このとき、更新された経由点リストLの要素e1、要素e3および要素e4に含まれる移動時間tは、予測移動時間T(4.0秒)より大きいため、図19(A)に示す更新結果データに移される。そのため、図18(D)に示す経由点リストLには、要素e2だけが残る。 Subsequently, the candidate for the element e newly added to the waypoint list L shown in FIG. 18B is as shown in FIG. That is, a route point sequence including a route point v that may be passed next to the route points v 1 and v 2 is listed as a candidate. FIG. 18D shows the result of updating the waypoint list L based on the movement transition probability p associated with each candidate. At this time, the travel time t included in the elements e 1 , e 3, and e 4 of the updated waypoint list L is larger than the predicted travel time T (4.0 seconds). It is moved to the update result data shown. Therefore, the waypoint list L shown in FIG. 18 (D), only the elements e 2 remains.
たとえば、図19(A)を参照して、図18(D)の経由点リストLの要素eが移された更新結果データでは、要素e1が更新結果データの要素E1とされ、要素e3が要素E2とされ、要素e4が要素E3とされる。 For example, with reference to FIG. 19 (A), component e via point list L in FIG. 18 (D) is in the update result data transferred, the elements e 1 is an element E 1 of the update result data, the element e 3 is an element E 2, element e 4 is an element E 3.
次に、図18(D)に示す経由点リストLに対して新たに追加される要素eの候補は、図18(E)のようになる。この場合、閾値を超える移動遷移確率pと対応する候補は、「vb,vp,v1,vp,v2」だけとなり、経由点リストLが更新された結果は図18(F)のようになる。そして、更新された経由点リストLの要素e1は、移動時間tが予測移動時間Tより大きい。そのため、この要素e1も更新結果データに移される。その結果、経由点リストLは何も記録されていない状態になり、更新結果データは図19(B)のようになる。つまり、新たな要素E4として、図18(F)の要素e1が更新結果データに移され、経由点リストLを更新する処理も終了する。 Next, the candidate of the element e newly added with respect to the waypoint list L shown in FIG.18 (D) becomes like FIG.18 (E). In this case, the candidates corresponding to the movement transition probability p exceeding the threshold are only “v b , v p , v 1 , v p , v 2 ”, and the result of updating the waypoint list L is shown in FIG. become that way. And the element e 1 of the updated waypoint list L has a movement time t longer than the predicted movement time T. Therefore, this element e 1 is also transferred to the update result data. As a result, nothing is recorded in the route point list L, and the update result data is as shown in FIG. In other words, as a new element E4, elements e 1 in FIG. 18 (F) is transferred to update result data, also ends the process of updating the waypoint list L.
続いて、移動予測処理は、経由点リストLが更新されなくなると、更新結果データに含まれる移動遷移確率が、経由点v毎に統合される。具体的には、最後の経由点Fvが同一の経由点vを含む、経由点系列に関連付けられた移動遷移確率pの総和が到達確率P(v)として算出される。たとえば、図19(B)の更新データでは、要素E2と要素E4とは、最後の経由点Fvとして同一の経由点v2を含む。そのため、図20に示す到達確率データでは、到達確率P(v2)として、要素E2と要素E4との移動遷移確率pの総和(42.2.%)が算出される。また、要素E1および要素E3それぞれの最後の経由点Fvは、他の要素Eに含まれていない。そのため、要素E1および要素E3それぞれの移動遷移確率pが、そのまま到達確率P(vb)=「2.5%」および到達確率P(vp)=「1.2%」とされる。なお、ここでは経由点v1を最後の経由点Fvとする要素Eは存在しないため、到達確率P(v1)は「0.0%」となる。 Subsequently, in the movement prediction process, when the waypoint list L is not updated, the movement transition probabilities included in the update result data are integrated for each waypoint v. Specifically, the sum total of the movement transition probabilities p associated with the waypoint series in which the last waypoint Fv includes the same waypoint v is calculated as the arrival probability P (v). For example, in the update data in FIG. 19B, element E 2 and element E 4 include the same waypoint v2 as the last waypoint Fv. Therefore, in the arrival probability data shown in FIG. 20, the sum (42.2.%) Of the movement transition probability p between the element E 2 and the element E 4 is calculated as the arrival probability P (v 2 ). Further, the last waypoint Fv of each of the elements E 1 and E 3 is not included in the other elements E. Therefore, the movement transition probability p of each of the element E 1 and the element E 3 is set as the arrival probability P (v b ) = “2.5%” and the arrival probability P (v p ) = “1.2%”. . Here, since there is no element E having the via point v 1 as the last via point Fv, the arrival probability P (v 1 ) is “0.0%”.
このように、本実施例では、各経由点を結ぶ複数の移動遷移確率pを統合して到達確率Pを算出することで、算出される到達確率Pの信頼性を高めている。 As described above, in this embodiment, the reliability of the calculated arrival probability P is improved by calculating the arrival probability P by integrating a plurality of movement transition probabilities p connecting the respective via points.
また、本実施例では、各経由点vへの到達確率Pに基づいて、人が到達する位置が予測される。(1)たとえば、図20に示す到達確率データに基づいて人(対象者)の到達位置を予測する場合、到達確率P(v2)が最も大きいため、約4.0秒後には経由点v2付近に対象者が存在すると予測される。 Further, in this embodiment, the position where a person reaches is predicted based on the arrival probability P to each waypoint v. (1) For example, when the arrival position of a person (subject) is predicted based on the arrival probability data shown in FIG. 20, since the arrival probability P (v 2 ) is the largest, the route point v after about 4.0 seconds It is predicted that there will be a subject near 2 .
そして、この予測結果を用いて、ロボット14が経由点v2の近くに移動するように、行動命令がロボット14に発行される。つまり、管理者は、予測された人の到達位置に合わせて、ロボット14を動作させることができる。
Then, by using this prediction result, as the
なお、上述の説明で用いた、予測移動時間Tと閾値とは一例であり、任意に変化させることができる。たとえば、図15(A)に示すように経由点を設定した場合は、予測移動時間Tは「10秒」とし、閾値は「10−10」としてもよい。 Note that the predicted travel time T and the threshold used in the above description are examples, and can be arbitrarily changed. For example, when a waypoint is set as shown in FIG. 15A, the predicted travel time T may be “10 seconds” and the threshold may be “10 −10 ”.
また、空間内に多くの歩行者が存在する場合、対象者は自身に向かってくる他の歩行者との衝突を回避するために方向を変化させることが多い。そこで、他の実施例では、他の歩行者の存在が対象者(自分)に与える影響を表現した「Social Force Model(SFM)」を用いて次の経由点の候補を推測してもよい。たとえば、現在の空間内に存在する歩行者の位置と移動方向をSFMに与えると、他の歩行者が与える影響を取り除いたうえで、それぞれの歩行者が真に向かおうとしている方向(希望する移動方向)が推定される。そして、他の実施例では、SFMによって対象者が希望する移動方向を推定することで、次の経由点の候補が推測される。これにより、次の候補を総当たりで検索する必要がなくなるため、処理時間を短くすることができる。ここで、SFMとその利用方法の詳細については、「F. Zanlungo, T. Ikeda and T. Kanda, "Social force model with explicit collision prediction," EPL, 93 (2011) 68005.」に記述されているため、詳細な説明は省略する。 In addition, when there are many pedestrians in the space, the target person often changes the direction in order to avoid collision with other pedestrians that are facing him. Therefore, in another embodiment, a candidate for the next waypoint may be estimated using “Social Force Model (SFM)” that expresses the influence of the presence of another pedestrian on the subject (self). For example, if the position and direction of movement of a pedestrian existing in the current space is given to the SFM, the direction that each pedestrian is heading for (desired) after removing the influence of other pedestrians. Direction of movement) is estimated. In another embodiment, the next waypoint candidate is estimated by estimating the moving direction desired by the subject by SFM. This eliminates the need to search for the next candidate brute force, thereby shortening the processing time. Here, the details of SFM and its usage are described in “F. Zanlungo, T. Ikeda and T. Kanda,“ Social force model with explicit collision prediction, ”EPL, 93 (2011) 68005.”. Therefore, detailed description is omitted.
また、その他の実施例では、より単純な処理として、現在の移動方向の延長線上に近いものが選ばれてもよい。 In another embodiment, a simpler process may be selected that is close to an extension line in the current movement direction.
図21は図2に示す移動予測装置10におけるメモリ18のメモリマップの一例を示す図解図である。図21で示すように、メモリ18はプログラム記憶領域302およびデータ記憶領域304を含む。プログラム記憶領域302には、移動予測装置10を動作させるためのプログラムとして、移動軌跡蓄積プログラム310、移動方向算出プログラム312、経由点設定プログラムプログラム314、移動遷移確率モデル構築プログラム316、移動予測プログラム318およびロボット制御プログラム320などが記憶される。また、移動予測プログラム318は、メインプログラム318a、更新プログラム318b、追加プログラム318cおよび統合プログラム318dを含む。
FIG. 21 is an illustrative view showing one example of a memory map of the
移動軌跡蓄積プログラム310は、人の位置を連続して検出することで得た移動軌跡を、移動軌跡DB28に保存するためのプログラムである。移動方向算出プログラム312は、移動軌跡DB28に保存された移動軌跡に基づいて、部分領域毎に主な移動方向を算出し、その算出結果を移動方向分布DB30に保存するためのプログラムである。経由点設定プログラム314は、移動方向分布DB30に保存された移動方向に基づいて、検出領域およびその周辺に経由点を設定するためのプログラムである。移動遷移確率モデル構築プログラム316は、移動軌跡および経由点に基づいて移動遷移確率pを算出し、その算出結果を移動遷移確率モデルとして移動遷移確率モデルDB34に保存するためのプログラムである。
The movement
移動予測プログラム318は、経由点v毎に到達確率Pを算出するためのプログラムである。移動予測プログラム381のメインプログラム318aは、到達確率Pを算出するための経由点リストLを作成および更新するためのプログラムである。更新プログラム318bは経由点リストLを更新するためのプログラムである。追加プログラム318cは、経由点リストLに新しい要素を追加するかを判断するためのプログラムである。統合プログラム318dは、経由点リストLを更新することで得られた更新結果データに基づいて、各経由点への到達確率Pを算出するためのプログラムである。
The
ロボット制御プログラム320は、ロボット14の行動を確定し、行動命令を発行するためのプログラムである。
The
なお、図示は省略するが、移動予測装置10を動作させるためのプログラムには、LRF12によって得た距離を位置(座標)データに変換するためのプログラムなども含まれる。
Although illustration is omitted, the program for operating the
図22を参照して、データ記憶領域304には、更新バッファ330および予測移動時間バッファ332などが設けられる。また、データ記憶領域304には、経由点リストデータ334、更新結果データ336および到達確率データ338などが記憶される。
Referring to FIG. 22, the
更新バッファ330には、経由点リストLに追加される要素eが一時的に記憶される。予測移動時間バッファ332には、閾値として利用される予測移動時間が一時的に記憶される。経由点リストデータ336は、たとえば、図17や図18(B)のように構成されたデータである。更新結果データ336は、図19(A)のように構成されたデータである。また、到達確率データ338は図20のように構成されたデータであり、各経由点への到達確率Pを含む。
In the
なお、図示は省略するが、データ記憶領域304には、経由点vの総数(たとえば、30個)を示すデータおよび各経由点vの座標を格納する配列(集合)データが記憶されると共に、様々な計算の結果を一時的に格納するバッファや、移動予測装置10の動作に必要な他のカウンタやフラグなども設けられる。
Although not shown, the
以下、移動予測装置10のプロセッサ16によって実行されるプログラムについて説明する。図23のフロー図は移動軌跡蓄積プログラム310による処理を示し、図24のフロー図は移動方向算出プログラム312による処理を示し、図25は経由点設定プログラム314による処理を示し、図26は遷移確率モデル構築プログラム316による処理を示し、図27−図30は移動予測プログラム318に含まれる各サブルーチンによる処理を示し、図31はロボット制御プログラム320による処理を示す。
Hereinafter, the program executed by the
図23は移動軌跡蓄積処理のフロー図である。移動予測装置10の電源がオンにされると、移動予測装置10のプロセッサ16は、ステップS1で現在時刻を記録し、ステップS3で人の位置情報が検出される。つまり、ステップS1で記録された時刻に対応して、検出領域内に存在する人々の位置座標を検出する。続いて、ステップS5では、現在時刻と位置情報とを移動軌跡DB28に保存し、ステップS1に戻る。つまり、ステップS1−S5の処理が繰り返されると、移動軌跡DB28には検出領域内の人々の位置が繰り返して保存される。なお、このようにして繰り返して保存された人々の位置の変化は、移動軌跡として読み出される。また、ステップS5の処理を実行するプロセッサ16は記録手段として機能する。
FIG. 23 is a flowchart of the movement locus accumulation process. When the power of the
図24は移動方向算出処理のフロー図である。たとえば、移動予測装置10の管理者によって移動方向を算出する操作が行われると、プロセッサ16はステップS11で部分領域を設定する。たとえば、LRF12が設けられるショッピングモールの通路において、図8に示すように複数の部分領域が設定される。続いて、ステップS13では、各部分領域を通過する移動軌跡の移動方向を算出する。たとえば、数1に示す数式に基づいて、或る部分領域内を通過する人々の移動方向が算出される。続いて、ステップS15では、部分領域毎に移動方向分布を作成する。たとえば、算出された移動方向から、図11に示す移動方向分布(実線)を作成する。続いて、ステップS17では、移動方向の分布を混合ガウス分布でモデル化する。たとえば、ステップS15で作成された移動方向分布をモデル化することで、図11に示す混合ガウス分布(点線)を得る。ステップS19では、各部分領域の主な移動方向を判別する。たとえば、図11に示す混合ガウス分布から、主な移動方向を示すピークを求める。なお、ステップS19の処理を実行するプロセッサ16は判別手段として機能する。
FIG. 24 is a flowchart of the movement direction calculation process. For example, when the administrator of the
続いて、ステップS21では、各部分領域の主な移動方向を、移動方向分布DB30に保存し、移動方向算出処理を終了する。たとえば、図11に示すガウス分布が作成されている場合、最も出現回数が多い315度が主な移動方向として移動方向分布DB30に保存される。
Subsequently, in step S21, the main movement direction of each partial area is stored in the movement
図25は経由点設定処理のフロー図である。たとえば、移動方向算出処理が終了すると、経由点設定処理が実行される。経由点設定処理が実行されると、プロセッサ16はステップS31で所定の数の経由点vをランダムに設定する。たとえば、乱数を発生させる関数に基づいて、30個の経由点vをランダムに設定する。なお、ステップS31の処理を実行するプロセッサ16は経由点設定手段として機能する。
FIG. 25 is a flowchart of the waypoint setting process. For example, when the moving direction calculation process ends, a waypoint setting process is executed. When the waypoint setting process is executed, the
続いて、ステップS33では、各移動方向を経由点vに対応付ける。つまり、移動方向分布DB30に保存されている各移動方向を、対応する部分領域の中心oから所定距離(たとえば、10m)以内であり、部分領域の中心oから見た経由点vの方向と移動方向とのなす角度が所定角度(たとえば、10度)以内の経由点vに対応付ける。また、複数の経由点vがこの条件を満たす場合には、図14(A)に示したように、垂線dの長さが最も短くなる経由点vが対応付けられる。なお、ステップS33の処理を実行するプロセッサ16は対応付け手段として機能する。
Subsequently, in step S33, each moving direction is associated with the waypoint v. That is, each movement direction stored in the movement
続いて、ステップS35では、経由点vの更新処理を実行する。つまり、図14(B)に示すように、各経由点vに対応付けられている移動方向に基づいて合成ベクトルを求め、その合成ベクトルに基づいて経由点vの位置を更新(移動)する。なお、ステップS35の処理を実行するプロセッサ16は位置更新手段として機能する。
Subsequently, in step S35, an update process of the waypoint v is executed. That is, as shown in FIG. 14B, a combined vector is obtained based on the moving direction associated with each via point v, and the position of the via point v is updated (moved) based on the combined vector. The
続いて、ステップS37では、経由点vの位置が変化しなくなったか否かを判断する。つまり、ステップS35の処理で各経由点vの位置を更新したとしても、経由点の位置が変化しなかったか否かを判断する。また、具体的な処理としては、ステップS35の処理を実行する前に各経由点の座標を全て記録しておき、ステップS35の処理を実行した後に、各経由点の座標が変化したかを判断する。 Subsequently, in step S37, it is determined whether or not the position of the waypoint v has changed. That is, even if the position of each via point v is updated in the process of step S35, it is determined whether or not the via point position has changed. Further, as a specific process, all the coordinates of each waypoint are recorded before executing the process of step S35, and it is determined whether the coordinates of each waypoint have changed after the process of step S35 is executed. To do.
ステップS37で“NO”であれば、つまり更新によって経由点vの位置が変化していれば、ステップS35に戻る。一方、ステップS37で“YES”であれば、つまり更新しても経由点vの位置が変化していなければ、各経由点vの座標を経由点DB32に保存して、経由点設定処理を終了する。
If “NO” in the step S37, that is, if the position of the via point v is changed by the update, the process returns to the step S35. On the other hand, if “YES” in the step S37, that is, if the position of the via point v has not changed even after the update, the coordinates of each via point v are stored in the via
なお、他の実施例のステップS37では、経由点vの変化量が小さければ、“YES”と判断するようにしてもよい。たとえば、更新された結果、経由点vの位置の変化が10cm以下であれば、ステップS37では“YES”と判断されてもよい。 In step S37 of another embodiment, “YES” may be determined if the change amount of the waypoint v is small. For example, if the change in the position of the waypoint v is 10 cm or less as a result of the update, “YES” may be determined in step S37.
図26は、移動遷移確率モデル構築処理のフロー図である。たとえば、経由点設定処理が終了すると、移動遷移確率モデル構築処理が実行される。また、処理が実行されるとプロセッサ16はステップS41で各移動軌跡が経由点vを通過した順序を算出する。なお、ステップS41の処理を実行するプロセッサ16は順序算出手段として機能する。
FIG. 26 is a flowchart of the movement transition probability model construction process. For example, when the waypoint setting process ends, a movement transition probability model construction process is executed. When the process is executed, the
続いて、ステップS43では、算出された各順序に基づいて、移動遷移確率pを算出する。つまり、上述した数2および数3の数式に基づいて、移動遷移確率p(k|i,j)を算出する。続いて、ステップS45では、算出結果を、移動遷移確率モデルとして移動遷移確率DB34に保存し、移動遷移確率モデル構築処理を終了する。なお、ステップS43,S45の処理を実行するプロセッサ16は構築手段として機能する。
Subsequently, in step S43, the movement transition probability p is calculated based on each calculated order. That is, the movement transition probability p (k | i, j) is calculated based on the mathematical expressions of the
図27は移動予測プログラム318のサブルーチンであるメイン処理のフロー図である。たとえば、移動予測装置10の管理者が人の移動を予測するコマンドを入力すると、プロセッサ16はステップS61で、予測移動時間Tを設定する。たとえば、プロセッサ16は、移動予測装置10のLCD20に予測移動時間Tの入力を促すGUIを表示する。そして、管理者が入力した結果が、予測移動時間Tとして予測移動時間バッファ332に格納される。また、他の実施例では、予め決められた予測移動時間Tを示すデータをメモリ18に記憶させておき、そのデータを予測緯度時間バッファ332に格納してもよい。なお、ステップS61の処理を実行するプロセッサ16は時間設定手段として機能する。
FIG. 27 is a flowchart of main processing which is a subroutine of the
続いて、ステップS63では人の平均移動速度spを算出する。たとえば、上述したように、移動軌跡DB28に保存されている移動軌跡に基づいて、人の平均移動速度spが算出される。続いて、ステップS65で人が現在通過している経由点vpを特定し、ステップS67で人が直前に通過した経由点vbを特定する。つまり、移動軌跡DB28に記録されている、人の移動軌跡に基づいて経由点vpおよび経由点vbを特定する。
Subsequently, in step S63, the average movement speed sp of the person is calculated. For example, as described above, the average movement speed sp of the person is calculated based on the movement locus stored in the
続いて、ステップS69では、経由点vp,vbに基づいて、経由点リストLを初期化する。つまり、経由点リストLが初期化されると、図17に示すように、経由点vp,vbを含む経由点系列に、「0.0秒」の移動時間tおよび「100%」の移動遷移確率pが関連付けられる。続いて、更新結果データ336を初期化する。たとえば、更新結果データ336が何も記録されていない状態にされる。
Subsequently, in step S69, the waypoint list L is initialized based on the waypoints v p and v b . That is, when the waypoint list L is initialized, as shown in FIG. 17, the travel time t of “0.0 seconds” and “100%” are added to the waypoint series including the waypoints v p and v b . A movement transition probability p is associated. Subsequently, the
続いて、ステップS73では、経由点リストLに何も記録されていないか否かを判断する。つまり、経由点リストLが更新された結果、全ての要素eが更新結果データ336に移されたか否かを判断する。ステップS73で“NO”であれば、つまり経由点リストLに要素eが含まれていれば、ステップS75で更新処理を実行する。つまり、経由点リストLを更新するために、更新処理が実行される。そして、ステップS75の処理が終了すると、ステップS73に戻る。一方、ステップS73で“YES”であれば、つまり経由点リストLの要素eが全て更新結果データ336に移されれば、ステップS77で統合処理を実行する。そして、統合処理が終了すれば、メイン処理も終了する。なお、更新処理および統合処理の詳細については、後述するためここでの詳細な説明は省略する。
Subsequently, in step S73, it is determined whether or not nothing is recorded in the waypoint list L. That is, as a result of updating the waypoint list L, it is determined whether or not all the elements e have been moved to the
図28は移動予測プログラム318のサブルーチンである更新処理のフロー図である。メイン処理でステップS75の更新処理が実行されると、プロセッサ16はステップS91で、更新バッファ330を初期化する。つまり、更新バッファ330が、何も記憶されていない状態にされる。続いて、ステップS93では、経由点リストLに含まれる要素eの総数を変数Mに設定する。たとえば、図17に示す経由点リストLであれば変数Mには「1」が設定され、図18(B)に示す経由点リストLであれば変数Mには「2」が設定され、図18(D)に示す経由点リストLであれば変数Mには「4」が設定され、図18(F)に示す経由点リストLであれば変数Mには「1」が設定される。続いて、ステップS95では、要素eを識別する変数mを初期化する。たとえば、変数mには「1」が設定される。
FIG. 28 is a flowchart of the update process that is a subroutine of the
続いて、ステップS97では、要素emの移動時間tは予測移動時間Tより大きいか否かを判断する。たとえば変数mが「1」であり、経由点リストLが図17の状態であれば、1行目の要素e1の移動時間tが予測移動時間Tよりも大きいか否かが判断される。ステップS97で“NO”であれば、つまり要素emの移動時間tが予測移動時間T以下であれば、ステップS99で追加処理が実行される。なお、追加処理については、図29のフロー図を用いて説明するため、ここでの詳細な説明は省略する。 Then, in step S97, the travel time t of the element e m determines whether greater than predicted travel time T. For example, if the variable m is “1” and the waypoint list L is in the state shown in FIG. 17, it is determined whether or not the movement time t of the element e 1 in the first row is longer than the predicted movement time T. If "NO" in the step S97, that is the travel time t of the element e m is not more than the predicted travel time T, the additional processing in step S99 is executed. The additional processing will be described with reference to the flowchart of FIG. 29, and thus detailed description thereof is omitted here.
また、たとえば経由点リストLが図18(D)の状態であり、変数mが「1」であれば、ステップS97で“YES”と判断され、ステップS101で更新結果データ336に、要素e1が移される。つまり、図18(D)の要素e1は、図19(A)に示す更新結果データの要素E1として移される。
For example, if the waypoint list L is in the state shown in FIG. 18D and the variable m is “1”, “YES” is determined in step S97, and the
続いて、ステップS103では、変数mをインクリメントする。つまり、他の要素eに対して、ステップS97−S101の処理を実行するために、変数mをインクリメントする。続いて、ステップS105で変数mが変数Mよりも大きいか否かを判断する。つまり、経由点リストLにおける全ての要素eに対して、ステップS99またはステップS101の処理が実行されたか否かを判断する。ステップS105で“NO”であれば、つまり全ての要素eに対してステップS99またはステップS101の処理が実行されていなければ、ステップS97に戻る。 Subsequently, in step S103, the variable m is incremented. That is, the variable m is incremented in order to execute the processing of steps S97 to S101 for another element e. Subsequently, in step S105, it is determined whether or not the variable m is larger than the variable M. That is, it is determined whether or not the process of step S99 or step S101 has been executed for all elements e in the waypoint list L. If “NO” in the step S105, that is, if the process of the step S99 or the step S101 is not executed for all the elements e, the process returns to the step S97.
一方、ステップS105で“YES”であれば、つまり全ての要素eに対して、上述の処理が実行されていれば、ステップS107で更新バッファ330の内容に基づいて、経由点リストLを更新する。たとえば、ステップS107の処理が実行されると、図17に示す経由点リストLが、図18(B)に示す経由点リストLとなる。そして、ステップS107の処理が終了すれば、プロセッサ16はメイン処理に戻る。なお、ステップS107の処理を実行するプロセッサ16は更新手段として機能する。
On the other hand, if “YES” in the step S105, that is, if the above-described processing is executed for all the elements e, the waypoint list L is updated based on the contents of the
なお、他の実施例でSFMが利用される場合は、ステップS99の前に次の経由点を推定する処理が追加される。 When SFM is used in another embodiment, a process for estimating the next waypoint is added before step S99.
図29は移動予測プログラム318のサブルーチンである追加処理のフロー図である。更新処理のステップS99が実行されると、ステップS121では、経由点vを識別する変数nを初期化する。たとえば、変数nには「1」が設定される。続いて、ステップS123では、次の経由点Nvnへの移動遷移確率pを読み出す。たとえば、上記更新処理において、たとえば変数mが「1」であり、経由点リストLが図17の状態であり、次の経由点Nvnが「v1」であれば、「p=(v1|vb,vp)」となる、移動遷移確率モデルが移動遷移確率モデルDB34から読み出される。なお、ステップS123の処理を実行するプロセッサ16は移動遷移確率算出手段として機能する。
FIG. 29 is a flowchart of additional processing that is a subroutine of the
続いて、ステップS125では、移動遷移確率pが閾値よりも小さいか否かを判断する。つまり、ステップS123で得られた移動遷移確率pが閾値より小さいか否かが判断される。ステップS125で“YES”であれば、たとえば図18(A)の2行目のように、移動遷移確率pが閾値よりも小さければ、ステップS129に進む。 Subsequently, in step S125, it is determined whether or not the movement transition probability p is smaller than a threshold value. That is, it is determined whether or not the movement transition probability p obtained in step S123 is smaller than the threshold value. If “YES” in the step S125, as shown in the second row of FIG. 18A, for example, if the movement transition probability p is smaller than the threshold value, the process proceeds to a step S129.
一方、ステップS125で“NO”であれば、たとえば図18(A)の4行目のように、移動遷移確率p閾値以上であれば、ステップS127で更新バッファに経由点Nvnを含む要素eを追加する。たとえば、図18(A)の4行目に対応する経由点系列において、移動時間tおよび移動遷移確率pが算出され、それらを含む要素eが更新バッファ330に追加される。なお、ステップS127の処理を実行するプロセッサ16は追加手段として機能する。
On the other hand, if “NO” in the step S125, as shown in the fourth line of FIG. 18A, for example, if the moving transition probability p is equal to or greater than the threshold p, the element e including the via point Nv n in the update buffer in the step S127. Add For example, in the waypoint series corresponding to the fourth row in FIG. 18A, the movement time t and the movement transition probability p are calculated, and the element e including them is added to the
続いて、ステップS129では、変数nをインクリメントする。つまり、他の経由点vを次の経由点Nvとして、更新バッファ330に追加することができるかを判断するために、変数nはインクリメントされる。続いて、ステップS131では、変数nが経由点vの総数Nよりも大きいか否かを判断する。つまり、全ての経由点vに対して、ステップS123−S127の処理が実行されたか否かを判断する。ステップS131で“NO”であれば、つまり全ての経由点vに対して上述の処理が実行されていなければ、ステップS123に戻る。一方、ステップS131で“YES”であれば、つまり全ての経由点vに対して上述の処理が実行されていれば、追加処理を終了する。そして、プロセッサ16は更新処理に戻る。
Subsequently, in step S129, the variable n is incremented. That is, the variable n is incremented to determine whether another waypoint v can be added to the
図30は移動予測プログラム318のサブルーチンである統合処理のフロー図である。メイン処理のステップS77が実行されると、ステップS151では、到達確率データ338を初期化する。つまり、図20に示すように、各経由点vへの到達確率P(v)それぞれに、「0」を設定する。続いて、ステップS153では、更新結果データに含まれる要素Eの総数を変数Kに設定する。たとえば、図19(B)に示す行動結果データであれば、変数Kには「4」が設定される。続いて、ステップS155では、要素Eを識別する変数kを初期化する。たとえば、変数kには「1」が設定される。
FIG. 30 is a flowchart of the integration process that is a subroutine of the
続いて、ステップS157では、要素Ekに含まれる最後の経由点Fvを抽出する。たとえば、図19(B)に示す更新結果データにおいて、変数kが「4」であれば、最後の経由点Fvとして、経由点v2が抽出される。続いて、ステップS159では、到達確率P(Fv)に要素Ekの移動遷移確率pを足し込む。たとえば、上記したように、経由点vbが抽出された場合、図20に示す到達確率データにおいて、到達確率P(v2)に経由点v2の移動遷移確率p(1.6%)が足し込まれる。このとき、到達確率P(v2)が「40.6%」であれば、足し込まれた結果が「42.2%」となる。なお、ステップS159の処理を実行するプロセッサ16は到達確率算出手段として機能する。
Then, in step S157, it extracts the last waypoint Fv included in the element E k. For example, the update result data shown in FIG. 19 (B), if the variable k is "4", as the last route point Fv, via point v 2 is extracted. Then, in step S159, Komu adding movement transition probabilities p element E k the arrival probability P (Fv). For example, as described above, when the transit point v b is extracted, in the arrival probability data shown in FIG. 20, the movement transition probability p (1.6%) of the transit point v 2 is equal to the arrival probability P (v 2 ). It is added. At this time, if the arrival probability P (v 2 ) is “40.6%”, the added result is “42.2%”. The
続いて、ステップS161では変数kをインクリメントする。つまり、他の要素Eに対しても、ステップS157,S159の処理を実行するために、変数kはインクリメントされる。続いて、ステップS163では変数kが変数Kよりも大きいか否かを判断する。つまり、全ての要素Eに対して、ステップS157,S159の処理が実行されたか否かを判断する。ステップS163で“NO”であれば、つまり上述の処理が全ての要素Eに対して実行されていなければ、ステップS157に戻る。一方、ステップS163“YES”であれば、つまり上述の処理が全ての要素Eに対して実行されていれば、統合処理を終了する。そして、プロセッサ16は統合処理を終了した後、メイン処理に戻る。
Subsequently, in step S161, the variable k is incremented. That is, the variable k is incremented in order to execute the processes of steps S157 and S159 for other elements E as well. Subsequently, in step S163, it is determined whether or not the variable k is larger than the variable K. That is, it is determined whether or not the processes of steps S157 and S159 have been executed for all elements E. If “NO” in the step S163, that is, if the above-described processing is not executed for all the elements E, the process returns to the step S157. On the other hand, if “YES” in the step S163, that is, if the above-described processing is executed for all the elements E, the integration processing is ended. Then, the
なお、他の実施例でSFMが利用される場合、追加処理では、ステップS121,S129およびS131が省略される。また、ステップS123では、予測された次の経由点に基づいて次の経由点への移動遷移確率pが算出される。 When SFM is used in another embodiment, steps S121, S129, and S131 are omitted in the additional process. In step S123, the movement transition probability p to the next via point is calculated based on the predicted next via point.
図31はロボット制御処理のフロー図である。たとえば、移動予測処理が終了すると、ロボット制御処理が実行される。プロセッサ16はステップS181で到達確率データ338を読み出す。つまり、各経由点vへの到達確率Pが記録される、到達確率データ338が読み出される。続いて、ステップS183では、到達確率データに基づいて、人の到達位置を予測する。たとえば、到達確率Pが最も大きい経由点vを特定し、予測移動時間T後には、その経由点vに人が到達していると予測する。なお、ステップS183の処理を実行するプロセッサ16は予測手段として機能する。
FIG. 31 is a flowchart of the robot control process. For example, when the movement prediction process ends, a robot control process is executed. The
続いて、ステップS185では、予測された到達位置に基づいて、ロボット14の動作を決定する。たとえば、予測移動時間Tに経由点vへ移動して、情報提供などのサービスを行うように、ロボット14の行動が確定される。なお、ステップS185の処理を実行するプロセッサ16は行動確定手段として機能する。
Subsequently, in step S185, the operation of the
そして、ステップS187では、ロボット14に動作命令を発行する。つまり、上述のような行動を行うための行動命令をロボット14に発信する。そして、ステップS187の処理が終了すれば、ロボット制御処理が終了する。
In step S187, an operation command is issued to the
なお、他の実施例では、各経由点vの位置に基づいてロボット14の動作が確定されてもよい。たとえば、経由点が多い場所にはロボット14が近づかないようにして、少し離れた場所で情報提供のサービスを行うようにしてもよい。また、通路が合流したりする経由点にロボット14を近づけて、道案内のサービスを行うようにしてもよい。
In another embodiment, the operation of the
図32は、他の実施例におけるロボット制御処理のフロー図である。ロボット制御処理が実行されると、プロセッサ16はステップS201で、経由点DB32から各経由点vを読み出す。たとえば、図15に示す全ての経由点の位置が読み出される。続いて、ステップS203では、設けられた経由点に基づいてロボット14の行動を確定する。つまり、上述したように、読み出した経由点の位置に基づいてロボット14の行動を確定する。続いて、ステップS205では、ロボット14に動作命令を発行し、他の実施例のロボット制御処理を終了する。なお、ステップS203の処理を実行するプロセッサ16は行動確定手段として機能する。
FIG. 32 is a flowchart of a robot control process in another embodiment. When the robot control process is executed, the
このように、人々の移動に基づいて設定された経由点を利用して、ロボット14の動作を確定することで、人々の移動が考慮された行動を、ロボット14に行わせることができる。
In this way, by confirming the operation of the
なお、他の実施例では、対象者が向かう可能性が最も高い経由点vに対してロボット14が向かわないように、ロボット14に行動命令を発行してもよい。
In another embodiment, an action command may be issued to the
また、本実施例で説明した複数のプログラムは、データ配信用のサーバのHDDに記憶され、ネットワークを介して本実施例と同等の構成のシステムにおける移動予測装置などに配信されてもよい。また、CD, DVD, BD (Blu-ray Disc)などの光学ディスク、USBメモリおよびメモリカードなどの記憶媒体にこれらのプログラムを記憶させた状態で、その記憶媒体が販売または配布されてもよい。そして、上記したサーバや記憶媒体などを通じてダウンロードされた、上記複数のプログラムが、本実施例と同等の構成のシステムにおける移動予測装置にインストールされた場合、本実施例と同等の効果が得られる。 In addition, the plurality of programs described in the present embodiment may be stored in the HDD of a data distribution server and distributed to a movement prediction device or the like in a system having the same configuration as that of the present embodiment via a network. Further, the storage medium may be sold or distributed in a state where these programs are stored in a storage medium such as an optical disk such as a CD, a DVD, or a BD (Blu-ray Disc), a USB memory, and a memory card. When the plurality of programs downloaded through the server and storage medium described above are installed in the movement prediction apparatus in the system having the same configuration as that of this embodiment, the same effect as that of this embodiment can be obtained.
そして、本明細書中で挙げた、一定時間、距離、誤差、自由度、半径、角度、周波数、部分領域の大きさ、Δ、空間の広さ、経由点の数、所定距離、所定角度、予測移動時間T、閾値、移動時間t、移動遷移確率pおよび到達確率Pなどの具体的な数値は、いずれも単なる一例であり、製品の仕様などの必要に応じて適宜変更可能である。 And, given in this specification, fixed time, distance, error, degree of freedom, radius, angle, frequency, size of partial area, Δ, space size, number of via points, predetermined distance, predetermined angle, Specific numerical values such as the predicted movement time T, the threshold value, the movement time t, the movement transition probability p, and the arrival probability P are merely examples, and can be appropriately changed according to needs such as product specifications.
10 …移動予測装置
12a−12f …LRF
14 …ロボット
16 …プロセッサ
18 …メモリ
28 …移動軌跡DB
30 …移動方向分布DB
32 …経由点DB
34 …移動遷移確率モデルDB
10 ...
14 ...
30 ... Movement direction distribution DB
32 ... via-point DB
34 ... Movement transition probability model DB
Claims (8)
予測する時点までに人が移動する予測移動時間を設定する時間設定手段、
経由点リストに含まれる移動時間が前記予測移動時間未満のとき、その経由点リストに含まれる経由点系列に基づいて、次の経由点への移動遷移確率を繰り返して算出する移動遷移確率算出手段、
前記移動遷移確率算出手段によって算出された移動遷移確率が閾値以上である度に、経由点リストにおける、経由点系列、移動時間および移動遷移確率を更新する更新手段、
経由点リストに含まれる移動時間が前記予測移動時間以上のとき、経由点リストに基づいて各経由点への到達確率を算出する到達確率算出手段、および
前記到達確率算出手段によって算出された、各経由点への到達確率に基づいて、移動による人の到達位置を予測する予測手段を備える、移動予測装置。 Within a space that assumes a predetermined number of waypoints that are the targets of short-term movement, a route point sequence that includes multiple waypoints representing human movement, the travel time at that time, and the transition transition of the route point sequence A movement prediction device that predicts movement of a person using a waypoint list associated with a probability,
A time setting means for setting an estimated travel time for a person to move by the predicted time point,
When the travel time included in the via point list is less than the predicted travel time, based on the via point series included in the via point list, the moving transition probability calculating means for repeatedly calculating the moving transition probability to the next via point ,
Update means for updating the route point series, the movement time and the movement transition probability in the route point list each time the movement transition probability calculated by the movement transition probability calculation unit is equal to or greater than a threshold value;
When the travel time included in the via point list is equal to or longer than the predicted travel time, the arrival probability calculating means for calculating the arrival probability to each via point based on the via point list, and each of the arrival probability calculating means calculated by the arrival probability calculating means, A movement prediction apparatus comprising prediction means for predicting the arrival position of a person due to movement based on the arrival probability to a via point.
前記到達確率算出手段は、到達する経由点が同一の経由点系列に対応付けられた移動遷移確率に基づいて到達確率を算出する、請求項1記載の移動予測装置。 Each time the movement transition probability calculated by the movement transition probability calculation means is equal to or greater than a threshold, a route point sequence associated with the movement time to the next route point and the movement transition probability to the next route point is It further includes an additional means for adding to the point list,
The movement prediction apparatus according to claim 1, wherein the arrival probability calculation means calculates an arrival probability based on a movement transition probability in which a reaching via point is associated with the same via point series.
人の移動軌跡を記録する記録手段、
前記記録手段によって記録された移動軌跡に基づいて、前記空間に含まれる複数の部分領域毎に、人の移動方向を判別する判別手段、
前記判別手段によって判別された移動方向を前記経由点設定手段によって設定された所定の数の経由点に対応付ける対応付け手段、および
前記対応付け手段によって対応付けられた移動方向に基づいて、前記経由点設定によって設定された所定の数の経由点の位置をそれぞれ更新する位置更新手段をさらに備える、請求項1または2記載の移動予測装置。 A waypoint setting means for setting a predetermined number of waypoints in the space;
Recording means for recording the movement trajectory of a person,
A discriminating means for discriminating a moving direction of a person for each of a plurality of partial areas included in the space based on the movement trajectory recorded by the recording means;
An association means for associating the movement direction discriminated by the discrimination means with a predetermined number of via points set by the via point setting means; and the transit point based on the movement direction associated by the association means The movement prediction apparatus according to claim 1, further comprising position update means for updating positions of a predetermined number of via points set by setting.
前記順序算出手段によって算出された順序に基づいて、経由点を移動する移動遷移確率モデルを構築する構築手段をさらに備え、
前記移動遷移確率算出手段は、前記構築手段によって構築された移動遷移確率モデルに基づいて、次の経由点への移動遷移確率を算出する、請求項3記載の移動予測装置。 An order calculating means for calculating the order of moving via points based on the movement trajectory recorded by the recording means, and a movement transition probability model for moving via points based on the order calculated by the order calculating means. Further comprising a construction means for construction,
The movement prediction apparatus according to claim 3, wherein the movement transition probability calculation unit calculates a movement transition probability to the next waypoint based on the movement transition probability model constructed by the construction unit.
前記予測手段によって予測された、人が到達する位置に基づいて前記ロボットの行動を確定する行動確定手段を備える、ロボット制御装置。 A robot control device including the movement prediction device according to claim 1,
A robot control apparatus comprising behavior determining means for determining a behavior of the robot based on a position reached by a person predicted by the prediction means.
前記位置更新手段によって更新された所定の数の経由点に基づいて、前記ロボットの行動を確定する行動確定手段を備える、ロボット制御装置。 A robot control device including the movement prediction device according to claim 3,
A robot control apparatus, comprising: an action confirming unit that determines an action of the robot based on a predetermined number of waypoints updated by the position updating unit.
予測する時点までに人が移動する予測移動時間を設定する時間設定手段、
経由点リストに含まれる移動時間が前記予測移動時間未満のとき、その経由点リストに含まれる経由点系列に基づいて、次の経由点への移動遷移確率を繰り返して算出する移動遷移確率算出手段、
前記移動遷移確率算出手段によって算出された移動遷移確率が閾値以上である度に、経由点リストにおける、経由点系列、移動時間および移動遷移確率を更新する更新手段、
経由点リストに含まれる移動時間が前記予測移動時間以上のとき、経由点リストに基づいて各経由点への到達確率を算出する到達確率算出手段、および
前記到達確率算出手段によって算出された、各経由点への到達確率に基づいて、移動による人の到達位置を予測する予測手段として機能させる、移動予測プログラム。 Within a space that assumes a predetermined number of waypoints that are the targets of short-term movement, a route point sequence that includes multiple waypoints representing human movement, the travel time at that time, and the transition transition of the route point sequence A processor of a movement prediction device that predicts movement of a person using a list of waypoints associated with probabilities;
A time setting means for setting an estimated travel time for a person to move by the predicted time point,
When the travel time included in the via point list is less than the predicted travel time, based on the via point series included in the via point list, the moving transition probability calculating means for repeatedly calculating the moving transition probability to the next via point ,
Update means for updating the route point series, the movement time and the movement transition probability in the route point list each time the movement transition probability calculated by the movement transition probability calculation unit is equal to or greater than a threshold value;
When the travel time included in the via point list is equal to or longer than the predicted travel time, the arrival probability calculating means for calculating the arrival probability to each via point based on the via point list, and each of the arrival probability calculating means calculated by the arrival probability calculating means, A movement prediction program that functions as a prediction means for predicting the arrival position of a person due to movement based on the probability of reaching a via point.
予測する時点までに人が移動する予測移動時間を設定し、
経由点リストに含まれる移動時間が前記予測移動時間未満のとき、その経由点リストに含まれる経由点系列に基づいて、次の経由点への移動遷移確率を繰り返して算出し、
算出された移動遷移確率が閾値以上である度に、経由点リストにおける、経由点系列、移動時間および移動遷移確率を更新し、
経由点リストに含まれる移動時間が前記予測移動時間以上のとき、経由点リストに基づいて各経由点への到達確率を算出し、そして
算出された各経由点への到達確率に基づいて、移動による人の到達位置を予測する、移動予測方法。 Within a space that assumes a predetermined number of waypoints that are the targets of short-term movement, a route point sequence that includes multiple waypoints representing human movement, the travel time at that time, and the transition transition of the route point sequence A movement prediction method of a movement prediction apparatus that predicts movement of a person using a waypoint list associated with a probability,
Set the estimated travel time for people to move by the time of the forecast,
When the travel time included in the waypoint list is less than the predicted travel time, based on the waypoint series included in the waypoint list, repeatedly calculate the movement transition probability to the next waypoint,
Every time the calculated moving transition probability is equal to or higher than the threshold, the waypoint series, the moving time and the moving transition probability in the waypoint list are updated.
When the travel time included in the via point list is equal to or longer than the predicted travel time, the arrival probability at each via point is calculated based on the via point list, and the movement is performed based on the calculated arrival probability at each via point. A movement prediction method that predicts the arrival position of a person.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011074583A JP5763384B2 (en) | 2011-03-30 | 2011-03-30 | Movement prediction apparatus, robot control apparatus, movement prediction program, and movement prediction method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011074583A JP5763384B2 (en) | 2011-03-30 | 2011-03-30 | Movement prediction apparatus, robot control apparatus, movement prediction program, and movement prediction method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012208782A true JP2012208782A (en) | 2012-10-25 |
JP5763384B2 JP5763384B2 (en) | 2015-08-12 |
Family
ID=47188439
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011074583A Active JP5763384B2 (en) | 2011-03-30 | 2011-03-30 | Movement prediction apparatus, robot control apparatus, movement prediction program, and movement prediction method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5763384B2 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014168824A (en) * | 2013-03-01 | 2014-09-18 | Advanced Telecommunication Research Institute International | Robot control system and robot control method |
WO2015072002A1 (en) * | 2013-11-15 | 2015-05-21 | 株式会社日立製作所 | Mobile robot system |
JP2016009196A (en) * | 2014-06-20 | 2016-01-18 | Kddi株式会社 | Anonymity setting device, anonymity setting method, and anonymity setting program |
JP2016071751A (en) * | 2014-09-30 | 2016-05-09 | ダイキン工業株式会社 | Selling support system |
CN108274464A (en) * | 2017-01-06 | 2018-07-13 | 富士施乐株式会社 | Autonomous mobile robot |
JP2019144612A (en) * | 2018-02-15 | 2019-08-29 | 日本信号株式会社 | Travel device |
CN111207748A (en) * | 2018-11-22 | 2020-05-29 | 中国科学院沈阳自动化研究所 | Water surface/underwater unmanned vehicle target surrounding tracking method based on perception information |
WO2021229746A1 (en) * | 2020-05-14 | 2021-11-18 | 日本電気株式会社 | Transportation system, control method, and control device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009168578A (en) * | 2008-01-15 | 2009-07-30 | Advanced Telecommunication Research Institute International | Measurement device and measurement method |
-
2011
- 2011-03-30 JP JP2011074583A patent/JP5763384B2/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009168578A (en) * | 2008-01-15 | 2009-07-30 | Advanced Telecommunication Research Institute International | Measurement device and measurement method |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014168824A (en) * | 2013-03-01 | 2014-09-18 | Advanced Telecommunication Research Institute International | Robot control system and robot control method |
US10198008B2 (en) | 2013-11-15 | 2019-02-05 | Hitachi, Ltd. | Mobile robot system |
WO2015072002A1 (en) * | 2013-11-15 | 2015-05-21 | 株式会社日立製作所 | Mobile robot system |
JP6072934B2 (en) * | 2013-11-15 | 2017-02-01 | 株式会社日立製作所 | Mobile robot system |
JPWO2015072002A1 (en) * | 2013-11-15 | 2017-03-09 | 株式会社日立製作所 | Mobile robot system |
JP2016009196A (en) * | 2014-06-20 | 2016-01-18 | Kddi株式会社 | Anonymity setting device, anonymity setting method, and anonymity setting program |
JP2016071751A (en) * | 2014-09-30 | 2016-05-09 | ダイキン工業株式会社 | Selling support system |
CN108274464A (en) * | 2017-01-06 | 2018-07-13 | 富士施乐株式会社 | Autonomous mobile robot |
JP2019144612A (en) * | 2018-02-15 | 2019-08-29 | 日本信号株式会社 | Travel device |
JP7061474B2 (en) | 2018-02-15 | 2022-04-28 | 日本信号株式会社 | Traveling device |
CN111207748A (en) * | 2018-11-22 | 2020-05-29 | 中国科学院沈阳自动化研究所 | Water surface/underwater unmanned vehicle target surrounding tracking method based on perception information |
CN111207748B (en) * | 2018-11-22 | 2021-09-21 | 中国科学院沈阳自动化研究所 | Water surface/underwater unmanned vehicle target surrounding tracking method based on perception information |
WO2021229746A1 (en) * | 2020-05-14 | 2021-11-18 | 日本電気株式会社 | Transportation system, control method, and control device |
JP7400961B2 (en) | 2020-05-14 | 2023-12-19 | 日本電気株式会社 | Conveyance system, control method, and control device |
Also Published As
Publication number | Publication date |
---|---|
JP5763384B2 (en) | 2015-08-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5763384B2 (en) | Movement prediction apparatus, robot control apparatus, movement prediction program, and movement prediction method | |
US10948913B2 (en) | Method of identifying unexpected obstacle and robot implementing the method | |
JP6069606B2 (en) | Robot control system and robot control method | |
JP5366048B2 (en) | Information provision system | |
JP5747191B2 (en) | Mobile remote control system and control program therefor | |
JP5768273B2 (en) | A robot that predicts a pedestrian's trajectory and determines its avoidance behavior | |
JP2018067314A (en) | Method and system for controlling indoor autonomous travelling robot | |
US20190235490A1 (en) | Mobile robot and control method of mobile robot | |
JP6330200B2 (en) | SOUND SOURCE POSITION ESTIMATION DEVICE, MOBILE BODY, AND MOBILE BODY CONTROL METHOD | |
KR102090590B1 (en) | Robot of moving waypoints based on obstace avoidance and method of moving | |
WO2019236588A1 (en) | System and method associated with expedient determination of location of one or more object(s) within a bounded perimeter of 3d space based on mapping and navigation to a precise poi destination using a smart laser pointer device | |
JP2012531658A (en) | Virtual world processing apparatus and method | |
GB2527207A (en) | Mobile human interface robot | |
JP2008065755A (en) | Mobile device | |
JP2010231359A (en) | Remote control device | |
JP6150429B2 (en) | Robot control system, robot, output control program, and output control method | |
JP7259843B2 (en) | Information processing device, information processing method, and program | |
JP2009223757A (en) | Autonomous mobile body, control system, and self-position estimation method | |
JP2014178789A (en) | Tracking device, tracking program and tracking method | |
CN107618036B (en) | Control device, control system, and control method | |
JP5552710B2 (en) | Robot movement control system, robot movement control program, and robot movement control method | |
JP2017170568A (en) | Service providing robot system | |
JP2009178782A (en) | Mobile object, and apparatus and method for creating environmental map | |
JP6142307B2 (en) | Attention target estimation system, robot and control program | |
JP6713637B2 (en) | Service provision robot system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20131212 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140930 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20141014 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20141210 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150317 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150327 |
|
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: 20150609 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150611 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5763384 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |