JP4820132B2 - State estimation device and program thereof, and integrated state estimation system and integrated state estimation device - Google Patents
State estimation device and program thereof, and integrated state estimation system and integrated state estimation device Download PDFInfo
- Publication number
- JP4820132B2 JP4820132B2 JP2005258206A JP2005258206A JP4820132B2 JP 4820132 B2 JP4820132 B2 JP 4820132B2 JP 2005258206 A JP2005258206 A JP 2005258206A JP 2005258206 A JP2005258206 A JP 2005258206A JP 4820132 B2 JP4820132 B2 JP 4820132B2
- Authority
- JP
- Japan
- Prior art keywords
- state
- state quantity
- internal
- estimation
- state estimation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Navigation (AREA)
- Testing Or Calibration Of Command Recording Devices (AREA)
Description
本発明は、観測対象の観測量に基づいて、当該観測対象の状態量を推定する状態推定装置及びそのプログラム、並びに、統合状態推定システム及び統合状態推定装置に関する。 The present invention relates to a state estimation device and a program for estimating a state amount of an observation target based on an observation amount of the observation target, and an integrated state estimation system and an integrated state estimation device.
従来、観測対象の観測量から状態量を推定する手法として、カルマンフィルタによる推定手法が知られている。このカルマンフィルタは、複数の観測量を観測ベクトルとして一つにまとめ、観測時に混入する観測雑音の共分散行列とともにフィルタリング処理を行うことで、複数の観測量を融合して状態量を推定するものである。 Conventionally, an estimation method using a Kalman filter is known as a method for estimating a state quantity from an observation quantity to be observed. This Kalman filter combines multiple observations into a single observation vector and performs filtering processing along with the covariance matrix of the observation noise that is mixed during observation. is there.
また、他の手法としては、コンデンセーション法をはじめとする、パーティクルフィルタによる推定手法が知られている(例えば、非特許文献1参照)。このパーティクルフィルタは、有限のパーティクル(複数のベクトルの集合)によって確率密度関数を表現し、この確率密度関数を用いて、時系列に入力される観測量から状態量を推定するものである。このパーティクルフィルタによれば、カルマンフィルタでは推定することができない非ガウス性雑音が混入する場合であっても、任意の非ガウシアンな確率密度関数によって、状態量を推定することができる。
さらに、このパーティクルフィルタを、推定量の分散によって適応的に切り替える手法も提案されている(特許文献1参照)。
Furthermore, a method of adaptively switching the particle filter by variance of the estimated amount has been proposed (see Patent Document 1).
しかし、前記した従来の状態推定手法によれば、複数の観測量をまとめて処理するため、装置内において処理が集中してしまう。このため、従来の手法を適用した状態推定装置において、本手法による処理は高速化を阻害する要因となっている。
また、従来の状態推定手法を適用した状態推定装置においては、処理が集中しているため、当該状態推定装置が故障した場合、状態推定動作が停止してしまう。このため、状態推定を安定して行うためには、同一の状態推定装置を複数動作させなければならず、システム全体として、高価なものとなってしまうという問題がある。
また、従来の状態推定手法を適用した状態推定装置では、予め定めた観測対象の観測量に基づいて状態を推定するため、観測対象や推定を行う対象を変更することが容易ではなく、汎用性に欠けるといった問題がある。
However, according to the conventional state estimation method described above, since a plurality of observation amounts are processed together, the processing is concentrated in the apparatus. For this reason, in the state estimation apparatus to which the conventional method is applied, the processing by this method is a factor that hinders the speeding up.
Moreover, in the state estimation device to which the conventional state estimation method is applied, the processing is concentrated. Therefore, when the state estimation device fails, the state estimation operation stops. For this reason, in order to perform state estimation stably, a plurality of the same state estimation apparatuses must be operated, and there is a problem that the entire system becomes expensive.
In addition, in the state estimation device to which the conventional state estimation method is applied, the state is estimated based on the observation amount determined in advance, so it is not easy to change the observation target or the target to be estimated. There is a problem of lacking.
本発明は、以上のような問題点に鑑みてなされたものであり、複数の状態推定動作を並列動作させることで推定処理の高速性、信頼性、汎用性を高めた状態推定装置及びそのプログラム、並びに、統合状態推定システム及び統合状態推定装置を提供することを目的とする。 The present invention has been made in view of the above-described problems, and a state estimation device and a program thereof that improve the high-speed, reliability, and versatility of estimation processing by operating a plurality of state estimation operations in parallel. An object of the present invention is to provide an integrated state estimation system and an integrated state estimation device.
本発明は、前記目的を達成するために創案されたものであり、まず、請求項1に記載の状態推定装置は、観測対象の観測量に基づいて、通信路に接続された複数の状態推定装置により、当該観測対象の状態を示す状態量を統合して推定する統合状態推定システムにおいて用いられる状態推定装置であって、状態量記憶手段と、状態更新手段と、状態受信手段と、状態統合手段と、状態送信手段とを備える構成とした。
The present invention was created to achieve the above object, and first, the state estimation device according to
かかる構成において、状態推定装置は、状態更新手段によって、外部から入力された観測量により、状態量記憶手段に記憶する状態量(内部状態量)を更新する。これによって、観測量に基づいて、逐次内部状態量が更新されることになる。なお、状態量の更新は、一般的なカルマンフィルタや拡張カルマンフィルタの観測更新方程式により更新することとしてもよいし、シーケンシャルモンテカルロ法により状態量を状態ベクトルの集合として更新することとしてもよい。 In such a configuration, the state estimation device updates the state quantity (internal state quantity) stored in the state quantity storage unit by the state update unit with the observation amount input from the outside. As a result, the internal state quantity is sequentially updated based on the observed quantity. The state quantity may be updated by an observation update equation of a general Kalman filter or an extended Kalman filter, or may be updated as a set of state vectors by a sequential Monte Carlo method.
また、状態推定装置は、状態受信手段によって、通信路に接続された他の状態推定装置から送信される当該他の状態推定装置において分散して記憶されている内部状態量を外部状態量として受信し、状態統合手段によって、外部状態量と状態量記憶手段に記憶されている内部状態量とを統合して、当該内部状態量を更新する。これによって、状態推定装置は、他の状態推定装置において推定された状態量を取り込み、利用することができる。なお、状態量の統合とは、複数の状態推定装置に分散して記憶されている状態量を1つの状態量にまとめて加工することであって、例えば、複数の状態量の平均値をとることで新たな状態量としてもよいし、予め定めた確率分布となるように、それぞれの状態量を選択することで新たな状態量としてもよい。
また、状態推定装置は、状態送信手段によって、通信路に接続された他の状態推定装置に、状態量記憶手段に記憶されている内部状態量を、当該他の状態推定装置に対する外部状態量として送信する。これによって、状態推定装置は、自身が推定した状態量を、他の状態推定装置に利用させることが可能になる。
In addition, the state estimation device receives, as an external state amount, the internal state quantity that is distributed and stored in the other state estimation apparatus transmitted from the other state estimation apparatus connected to the communication path by the state reception unit. Then, the state integration unit integrates the external state quantity and the internal state quantity stored in the state quantity storage unit, and updates the internal state quantity. Thereby, the state estimation device can take in and use the state quantity estimated in another state estimation device. It should be noted that the state quantity integration is to process state quantities distributed and stored in a plurality of state estimation devices into one state quantity, for example, taking an average value of a plurality of state quantities. It is good also as a new state quantity by this, and it is good also as a new state quantity by selecting each state quantity so that it may become a predetermined probability distribution.
In addition, the state estimation device uses the state transmission unit to set the internal state quantity stored in the state quantity storage unit to the other state estimation apparatus connected to the communication path as the external state quantity with respect to the other state estimation device. Send. As a result, the state estimation device can cause other state estimation devices to use the state quantity estimated by itself.
また、請求項2に記載の状態推定装置は、請求項1に記載の状態推定装置において、前記状態量記憶手段が、複数の前記内部状態量を時刻に対応付けて記憶する構成とした。 According to a second aspect of the present invention, in the state estimation device according to the first aspect, the state quantity storage unit stores a plurality of the internal state quantities in association with time.
かかる構成において、状態推定装置は、内部状態量を時刻に対応付けて状態量記憶手段に記憶することで、他の状態推定装置から送信される状態量と内部で記憶する状態量とを時刻によって対応付けることができる。 In such a configuration, the state estimation device stores the internal state quantity in association with the time in the state quantity storage unit, so that the state quantity transmitted from the other state estimation apparatus and the internally stored state quantity are determined according to the time. Can be associated.
さらに、請求項3に記載の状態推定装置は、請求項2に記載の状態推定装置において、状態予測手段を備える構成とした。
Furthermore, the state estimation device according to
かかる構成において、状態推定装置は、状態予測手段によって、状態量記憶手段に記憶されている複数の内部状態量に基づいて、ある時刻における状態量を予測する。なお、状態量の予測については、一般的な状態遷移方程式あるいは現在の状態と未来の状態との間の遷移確率により予測することができる。 In this configuration, the state estimation device predicts the state quantity at a certain time based on the plurality of internal state quantities stored in the state quantity storage unit by the state prediction unit. The state quantity can be predicted by a general state transition equation or a transition probability between a current state and a future state.
また、請求項4に記載の統合状態推定システムは、観測対象の観測量に基づいて、通信路に接続された複数の状態推定装置により、当該観測対象の状態を示す状態量を統合して推定する統合状態推定システムであって、状態推定装置が、状態量記憶手段と、状態受信手段と、状態統合手段と、状態送信手段とを備え、前記複数の状態推定装置の少なくとも一つが状態更新手段を備え、さらに、前記複数の状態推定装置の少なくとも一つが推定量出力手段を備える構成とした。 In addition, the integrated state estimation system according to claim 4 estimates, based on the observation amount of the observation target, a plurality of state estimation devices connected to the communication path to integrate the state amount indicating the state of the observation target. In this integrated state estimation system, the state estimation device includes a state quantity storage unit, a state reception unit, a state integration unit, and a state transmission unit, and at least one of the plurality of state estimation devices is a state update unit Further, at least one of the plurality of state estimation devices includes an estimated amount output unit.
かかる構成において、統合状態推定システムは、当該システムを構成する状態推定装置が、状態量記憶手段に観測対象の状態量を内部状態量として記憶する。そして、状態推定装置は、状態受信手段によって、通信路に接続された他の状態推定装置から送信される当該他の状態推定装置において分散して記憶されている内部状態量を外部状態量として受信し、状態統合手段によって、外部状態量と状態量記憶手段に記憶されている内部状態量とを統合して、当該内部状態量を更新する。また、状態推定装置は、状態送信手段によって、通信路に接続された他の状態推定装置に、状態量記憶手段に記憶されている内部状態量を、当該他の状態推定装置に対する外部状態量として送信する。このように、統合状態推定装置システムは、各状態推定装置において、状態量を送受信することで、統合することができる。 In such a configuration, in the integrated state estimation system, the state estimation device configuring the system stores the state quantity to be observed as the internal state quantity in the state quantity storage unit. Then, the state estimation device receives, as the external state amount, the internal state quantity that is distributed and stored in the other state estimation apparatus transmitted from the other state estimation apparatus connected to the communication path by the state reception unit. Then, the state integration unit integrates the external state quantity and the internal state quantity stored in the state quantity storage unit, and updates the internal state quantity. In addition, the state estimation device uses the state transmission unit to set the internal state quantity stored in the state quantity storage unit to the other state estimation apparatus connected to the communication path as the external state quantity with respect to the other state estimation device. Send. In this way, the integrated state estimation device system can be integrated by transmitting and receiving state quantities in each state estimation device.
なお、状態量の更新は、複数の状態推定装置の少なくとも一つが、状態更新手段によって、外部から入力された観測量により、状態量記憶手段に記憶する状態量(内部状態量)を逐次更新することで行う。この状態更新手段の数は、観測量の数に基づいて決定されるものであって、少なくとも観測量の数が一つである場合は、複数の状態推定装置の中の一つに備えられればよい。
そして、複数の状態推定装置の少なくとも一つが、推定量出力手段によって、状態量記憶手段に記憶されている内部状態量を推定量として出力する。
In addition, in the update of the state quantity, at least one of the plurality of state estimation devices sequentially updates the state quantity (internal state quantity) stored in the state quantity storage unit with the observation amount input from the outside by the state update unit. Do that. The number of state update means is determined based on the number of observations, and if at least one observation amount is provided, if it is provided in one of a plurality of state estimation devices Good.
Then, at least one of the plurality of state estimation devices outputs the internal state quantity stored in the state quantity storage means as the estimated quantity by the estimated quantity output means.
さらに、請求項5に記載の統合状態推定装置は、観測対象の観測量に基づいて、当該観測対象の状態を示す状態量を統合して推定する統合状態推定装置であって、当該統合状態推定装置の内部に通信路を介して接続した、前記状態量を推定する状態推定手段を複数備え、前記状態推定手段が、状態量記憶手段と、状態受信手段と、状態統合手段と、状態送信手段とを備え、前記複数の状態推定手段の少なくとも一つが状態更新手段を備え、さらに、前記複数の状態推定手段の少なくとも一つが推定量出力手段を備える構成とした。 Furthermore, the integrated state estimation device according to claim 5 is an integrated state estimation device that estimates by integrating the state quantities indicating the state of the observation target based on the observation amount of the observation target, the integrated state estimation A plurality of state estimation means for estimating the state quantity , connected to the inside of the apparatus via a communication path , wherein the state estimation means comprises a state quantity storage means, a state reception means, a state integration means, and a state transmission means; And at least one of the plurality of state estimation units includes a state update unit, and at least one of the plurality of state estimation units includes an estimation amount output unit.
かかる構成において、統合状態推定装置は、状態推定手段が状態量記憶手段に観測対象の状態量を内部状態量として記憶する。そして、状態推定手段は、状態受信手段によって、通信路に接続された他の状態推定手段から送信される当該他の状態推定手段において分散して記憶されている内部状態量を外部状態量として受信し、状態統合手段によって、外部状態量と状態量記憶手段に記憶されている内部状態量とを統合して、当該内部状態量を更新する。また、状態推定手段は、状態送信手段によって、通信路に接続された他の状態推定手段に、状態量記憶手段に記憶されている内部状態量を、当該他の状態推定手段に対する外部状態量として送信する。このように、統合状態推定装置は、各状態推定手段において、状態量を送受信することで、統合することができる。 In such a configuration, in the integrated state estimation device, the state estimation unit stores the state quantity to be observed as the internal state quantity in the state quantity storage unit. Then, the state estimation means receives, as the external state quantity, the internal state quantity distributed and stored in the other state estimation means transmitted from the other state estimation means connected to the communication path. Then, the state integration unit integrates the external state quantity and the internal state quantity stored in the state quantity storage unit, and updates the internal state quantity. In addition, the state estimation unit causes the state transmission unit to use the internal state quantity stored in the state quantity storage unit as another external state quantity with respect to the other state estimation unit. Send. In this way, the integrated state estimation device can be integrated by transmitting and receiving state quantities in each state estimation unit.
なお、状態量の更新は、複数の状態推定手段の少なくとも一つが、状態更新手段によって、外部から入力された観測量により、状態量記憶手段に記憶する状態量(内部状態量)を逐次更新することで行う。そして、複数の状態推定手段の少なくとも一つが、推定量出力手段によって、状態量記憶手段に記憶されている内部状態量を推定量として出力する。 The state quantity is updated by at least one of the plurality of state estimation means sequentially updating the state quantity (internal state quantity) stored in the state quantity storage means by the observation quantity input from the outside by the state update means. Do that. Then, at least one of the plurality of state estimation means outputs the internal state quantity stored in the state quantity storage means as the estimated quantity by the estimated quantity output means.
また、請求項6に記載の状態推定プログラムは、観測対象の観測量に基づいて、通信路に接続された複数の状態推定装置により、当該観測対象の状態を示す状態量を統合して推定する統合状態推定システムにおいて用いられる前記状態推定装置におけるコンピュータを、状態更新手段、状態受信手段、状態統合手段、状態送信手段、推定量出力手段として機能させる構成とした。
Further, the state estimation program according to
かかる構成において、状態推定プログラムは、状態更新手段によって、外部から入力された観測量により、状態量記憶手段に記憶する状態量(内部状態量)を逐次更新する。そして、状態推定プログラムは、状態受信手段によって、通信路に接続された他の状態推定手段から送信される当該他の状態推定装置において分散して記憶されている内部状態量を外部状態量として受信し、状態統合手段によって、外部状態量と状態量記憶手段に記憶されている内部状態量とを統合して、当該内部状態量を更新する。
また、状態推定プログラムは、状態送信手段によって、通信路に接続された他の状態推定装置に、状態量記憶手段に記憶されている内部状態量を、当該他の状態推定装置に対する外部状態量として送信する。また、状態推定プログラムは、推定量出力手段によって、状態量記憶手段に記憶されている内部状態量を推定量として出力する。
In such a configuration, the state estimation program sequentially updates the state quantity (internal state quantity) stored in the state quantity storage unit with the observation amount input from the outside by the state update unit. Then, the state estimation program receives the internal state quantity distributed and stored in the other state estimation apparatus transmitted from the other state estimation means connected to the communication path as the external state quantity by the state reception means. Then, the state integration unit integrates the external state quantity and the internal state quantity stored in the state quantity storage unit, and updates the internal state quantity.
In addition, the state estimation program causes the state transmission unit to use the internal state quantity stored in the state quantity storage unit as the external state quantity for the other state estimation apparatus in another state estimation apparatus connected to the communication path. Send. In addition, the state estimation program outputs the internal state quantity stored in the state quantity storage means as the estimated quantity by the estimated quantity output means.
本発明は、以下に示す優れた効果を奏するものである。
請求項1、請求項4又は請求項6に記載の発明によれば、複数の状態推定装置において推定される状態量を統合して観測対象の状態を推定することができる。これによって、推定処理を複数の状態推定装置に分散させることで、並列動作が可能となり、推定動作の高速化を図ることができる。また、本発明によれば、複数の状態推定装置のいずれかに障害が発生した場合であっても、他の状態推定装置における状態量を統合することで、状態推定のサービスを継続することができる。また、本発明によれば、状態推定装置単位で交換等が可能であるため、新しい観測量に基づいて状態を推定する場合であっても、その追加、変更が容易であり、システム全体の汎用性を高めることができる。
The present invention has the following excellent effects.
According to the first, fourth, or sixth aspect of the invention, it is possible to estimate the state of the observation target by integrating the state quantities estimated by the plurality of state estimation devices. Thus, by distributing the estimation process to a plurality of state estimation devices, a parallel operation is possible, and the estimation operation can be speeded up. Further, according to the present invention, even when a failure occurs in any of the plurality of state estimation devices, the state estimation service can be continued by integrating the state quantities in the other state estimation devices. it can. In addition, according to the present invention, exchange and the like can be performed in units of state estimation devices. Therefore, even when a state is estimated based on a new observation amount, addition and change can be easily performed. Can increase the sex.
請求項2に記載の発明によれば、他の状態推定装置から送信される状態量と内部で記憶している状態量とを時刻によって対応付けているため、状態量の時刻同期をとることができる。これによって、状態推定装置間で推定する状態の時刻を一致させることができるため、時刻のずれがなくなり、状態推定の精度を高めることができる。 According to the second aspect of the present invention, since the state quantity transmitted from another state estimation device and the state quantity stored therein are associated with each other by time, it is possible to synchronize the time of the state quantity. it can. Thereby, since the time of the state estimated between state estimation apparatuses can be made to correspond, a time lag is eliminated and the accuracy of state estimation can be improved.
請求項3に記載の発明によれば、観測量が入力されない時点においても、状態を推定し、その推定量を出力することが可能になり、安定して状態推定を行うことができる。
請求項5に記載の発明によれば、複数の状態推定手段において推定される状態量を統合して観測対象の状態を推定することができる。これによって、並列動作が可能になり、推定動作の高速化を図ることができる。
According to the third aspect of the present invention, even when no observation amount is input, it is possible to estimate the state and output the estimated amount, so that the state estimation can be performed stably.
According to the fifth aspect of the present invention, it is possible to estimate the state of the observation target by integrating the state quantities estimated by the plurality of state estimating means. As a result, parallel operation becomes possible, and the estimation operation can be speeded up.
以下、本発明の実施の形態について図面を参照して説明する。
[統合状態推定システムの概要]
最初に、図1を参照して、統合状態推定システムの構成について説明する。図1は、本発明に係る統合状態推定システムの全体の構成を示す全体構成図である。
図1に示すように、統合状態推定システムSは、通信路(ネットワークN)を介して、複数の状態推定装置10を接続し、各状態推定装置10で推定される観測対象の状態(状態量)を統合して、所望の状態量を推定し、推定値として出力するものである。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[Outline of integrated state estimation system]
First, the configuration of the integrated state estimation system will be described with reference to FIG. FIG. 1 is an overall configuration diagram showing an overall configuration of an integrated state estimation system according to the present invention.
As shown in FIG. 1, the integrated state estimation system S connects a plurality of
状態推定装置10は、外部から入力される観測量Yに基づいて、観測対象の状態(状態量X)を推定するとともに、他の状態推定装置が推定した状態量と統合するものである。なお、状態推定装置10は、いずれか一つが観測量Yを入力すればよく、また、いずれか一つが推定量Eを出力すればよい。例えば、状態推定装置103のように外部に推定量Eを出力しない形態、状態推定装置104のように外部から観測量Yを入力しない形態、状態推定装置105のように観測量Yの入力や推定量Eの出力を行わない形態であってもよい。
The
なお、ここで、観測対象とは、動き、変動等の状態の変化を伴うもの、あるいは、事象であって、動きを伴う人物、車両等や、変動を伴う株価等がその対象となりうる。例えば、状態推定装置10は、人物を観測対象として、複数の位置からカメラで撮影した画像における人物の位置を観測量とすることで、人物の3次元位置や、速度等を推定することができる。
Here, the observation target is an object that accompanies a change in state such as movement or fluctuation, or an event that is a person, vehicle, etc. that accompanies movement, or a stock price that accompanies fluctuation. For example, the
(状態量について)
ここで、統合状態推定システムSにおいて使用する状態量について説明する。
状態量は、観測対象の動き、変動等の状態を示すデータ量であって、例えば、観測対象の速度等である。この状態量は、例えば、一つのベクトル(以下、状態ベクトルという)により表現することができる。例えば、物体の3次元位置及び3次元速度からなる6次元ベクトル量、あるいは、天体の軌道6要素等のベクトル量を状態量とすることができる。
(About state quantity)
Here, the state quantity used in the integrated state estimation system S will be described.
The state quantity is an amount of data indicating the state of movement, fluctuation, etc. of the observation target, and is, for example, the speed of the observation target. This state quantity can be expressed by, for example, one vector (hereinafter referred to as a state vector). For example, a 6-dimensional vector quantity composed of the 3-dimensional position and 3-dimensional velocity of an object, or a vector quantity such as a
また、例えば、状態量は、一つのベクトルと一つの行列との組により表現することができる。この場合、ベクトルは、先に説明した状態ベクトルと同様のものである。一方、行列は、状態ベクトルに含まれる誤差を表す共分散行列(以下、状態共分散行列という)により表現することができる。 Further, for example, the state quantity can be expressed by a set of one vector and one matrix. In this case, the vector is the same as the state vector described above. On the other hand, the matrix can be expressed by a covariance matrix (hereinafter referred to as a state covariance matrix) representing an error included in the state vector.
さらに、例えば、状態量は、複数のベクトルの集合(以下、パーティクルという)として表現することができる。なお、パーティクルを構成する個々のベクトルは、先に説明した状態ベクトルと同様のものである。例えば、個々のベクトルとして、3次元位置及び3次元速度からなる6次元ベクトルを用いることができる。 Further, for example, the state quantity can be expressed as a set of a plurality of vectors (hereinafter referred to as particles). Note that the individual vectors constituting the particles are the same as the state vectors described above. For example, as each vector, a 6-dimensional vector composed of a 3-dimensional position and a 3-dimensional velocity can be used.
(観測量について)
次に、統合状態推定システムSに入力される観測量について説明する。
観測量は、観測対象を観測した結果のデータ量であって、例えば、観測対象の2次元位置等である。この観測量は、例えば、一つのベクトル(以下、観測ベクトルという)により表現することができる。なお、複数のセンサ等によって多次元の観測結果が得られる場合は、各センサ等から得られるデータを行ベクトルとして多重化することで、一つのベクトルとして表現することができる。
(Observed quantity)
Next, the observation amount input to the integrated state estimation system S will be described.
The observation amount is a data amount as a result of observing the observation target, and is, for example, a two-dimensional position of the observation target. This observation amount can be expressed by, for example, one vector (hereinafter referred to as an observation vector). In addition, when a multidimensional observation result is obtained by a plurality of sensors or the like, it can be expressed as one vector by multiplexing data obtained from each sensor or the like as a row vector.
また、例えば、観測量は、観測ベクトルに加え、観測ベクトルの誤差や信頼度を表す量を付加することもできる。例えば、観測ベクトルの誤差を、共分散行列(以下、観測共分散行列という)により表現することができる。
さらに、例えば、観測量は、先に説明した状態ベクトルに対する確率密度として定義することとしてもよい。
Further, for example, as the observation amount, in addition to the observation vector, an amount representing an error or reliability of the observation vector can be added. For example, the observation vector error can be expressed by a covariance matrix (hereinafter referred to as an observation covariance matrix).
Furthermore, for example, the observation amount may be defined as a probability density for the state vector described above.
なお、状態ベクトル又は観測ベクトルにおいて、スカラ量を扱う場合は、これを1次元のベクトル量とみなすこととする。また、行列やテンソル量を扱う場合は、その各要素を予め定めた一定の規則により1次元に並べたものをもってベクトル量とみなすものとする。 In the case of handling a scalar quantity in a state vector or an observation vector, this is regarded as a one-dimensional vector quantity. Further, when dealing with a matrix or a tensor quantity, a vector quantity is assumed to be a one-dimensional arrangement of each element according to a predetermined rule.
(システム例)
ここで、図2を参照して、統合状態推定システムの具体例であるカーナビゲーションシステムについて説明する。図2は、統合状態推定システムの具体例であるカーナビゲーションシステムの構成を示す全体構成図である。
カーナビゲーションシステムSNは、状態推定装置101〜103を、通信路(ネットワークN)を介して接続した構成となっている。このカーナビゲーションシステムSNは、自動車の3次元位置(例えば、緯度、経度及び高度)、速度ベクトル、姿勢角(例えば、ロール角、ピッチ角及びヨー角)、並びに、角速度ベクトルを状態量Xとする。
(System example)
Here, a car navigation system, which is a specific example of the integrated state estimation system, will be described with reference to FIG. FIG. 2 is an overall configuration diagram showing a configuration of a car navigation system which is a specific example of the integrated state estimation system.
The car navigation system SN has a configuration in which the
ここで、状態推定装置101は、GPS(Global Positioning System)受信機2が観測した時刻データを観測量Y1として入力する。また、状態推定装置102は、車速パルス計測器3が観測した自動車車輪の車速パルスの時間間隔データを観測量Y2として入力する。さらに、状態推定装置103は、ジャイロセンサ4が観測した角加速度データを観測量Y3として入力する。
そして、例えば、状態推定装置101が、状態量Xから自動車の位置情報のみを抽出し、推定量Eとして出力する。
Here, the
Then, for example, the
このように、状態推定装置101〜103を通信路(ネットワークN)に接続することで、GPS受信機2、車速パルス計測器3、ジャイロセンサ4の各観測手段により観測された観測量Y1,Y2,Y3に基づく状態量Xが統合され、状態推定装置101において、自動車の位置を推定し、推定量Eとして出力することができる。
In this way, by connecting the
以上、説明したように、ここでは、統合状態推定システムS(図1参照)やカーナビゲーションシステムSN(図2参照)を、ネットワークNに接続した複数の状態推定装置10で構成したが、各状態推定装置10を、一つの手段として内部構成に組み込んで、図3に示すように、各状態推定手段10をバスB等の通信路を介して接続することで、統合状態推定装置1として構成することとしてもよい。
すなわち、状態推定装置(状態推定手段)を接続する通信路は、LANケーブル、電話線、シリアルケーブル等のメタル線路や、光ファイバ、赤外線、無線回線、基板内の配線、基板間の配線、ICチップ内の配線等、任意の伝送媒体を用いることができる。また、通信路は、途中、交換機、ルータ、ハブ、リピータ等の中継装置を介しても構わない。
As described above, here, the integrated state estimation system S (see FIG. 1) and the car navigation system SN (see FIG. 2) are configured by a plurality of
That is, the communication path connecting the state estimation device (state estimation means) is a metal line such as a LAN cable, a telephone line, a serial cable, an optical fiber, an infrared ray, a wireless line, a wiring in a board, a wiring between boards, an IC Any transmission medium such as wiring in the chip can be used. Further, the communication path may be routed through a relay device such as an exchange, a router, a hub, or a repeater.
以下、統合状態推定システムSを構成する状態推定装置10の内部構成について詳細に説明を行うが、図3に示した統合状態推定装置1における状態推定手段10においても、内部構成は同じ構成で実現することができる。
Hereinafter, although the internal configuration of the
[第1実施形態:状態推定装置(状態推定手段)の構成]
まず、図4を参照して、状態推定装置10の構成について説明する。図4は、本発明の第1実施形態に係る状態推定装置の内部構成を示すブロック構成図である。
状態推定装置(状態推定手段)10は、外部から入力される観測対象の観測量に基づいて、ネットワークNに接続した他の状態推定装置と協働して、観測対象の状態を示す状態量を推定するものである。ここでは、状態推定装置10は、状態量記憶手段11と、状態更新手段12と、状態受信手段13と、状態統合手段14と、状態送信手段15と、推定量出力手段16とを備えている。
[First Embodiment: Configuration of State Estimation Device (State Estimation Unit)]
First, the configuration of the
The state estimation device (state estimation means) 10 cooperates with other state estimation devices connected to the network N based on the observation amount of the observation target input from the outside, and obtains a state amount indicating the state of the observation target. To be estimated. Here, the
状態量記憶手段11は、観測対象の状態を示す状態量のうち、当該状態推定装置10内部で保持する状態量(内部状態量)を記憶するものであって、例えば、RAM(Random Access Memory)等である。
この状態量記憶手段11は、後記する状態更新手段12や状態統合手段14によって、状態量が読み出され、又は、書き込まれ、状態送信手段15や推定量出力手段16によって、読み出される。
The state quantity storage means 11 stores a state quantity (internal state quantity) held in the
The state
状態更新手段12は、外部から入力される観測量Yによって、状態量記憶手段11に記憶されている状態量を更新するものである。ここでは、状態更新手段12は、状態量記憶手段11から状態量(内部状態量XI)を読み出し、観測量Yによって状態量を更新し、その更新された状態量(観測後状態量XY)を内部状態量XIとして、状態量記憶手段11に書き込む。
なお、状態更新手段12は、観測量Yをそのまま観測後状態量XYとして状態量記憶手段11に書き込むこととしてもよいが、予め観測量Yにおけるノイズ、誤差等がモデル化されている場合は、そのモデルに基づいて、観測後状態量XYを算出し、更新することが状態推定の精度を高める上で望ましい。
以下、数式を用いて、状態更新手段12における状態量の更新手法について説明する。
The
The
Hereinafter, the state quantity update method in the
(状態量及び観測量がベクトルの場合)
まず、状態量(内部状態量XI)として状態ベクトルxI(すなわち、XI={xI})、観測量Yとして観測ベクトルy(すなわち、Y={y})を採用する場合における状態量の更新について説明する。なお、状態ベクトルxIから観測ベクトルyへの関数h及びノイズ(雑音)nにより、状態の更新が、以下の式(1)によりモデル化できるものとする。
(When state quantity and observation quantity are vectors)
First, the state in the case where the state vector x I (ie, X I = {x I }) is adopted as the state quantity (internal state quantity X I ) and the observation vector y (ie, Y = {y}) is adopted as the observation quantity Y. The amount update will be described. Incidentally, the function h and noise (noise) n of the state vector x I to observation vector y, the state of the update is assumed to be modeled by the following equation (1).
ここで、関数hに逆関数h−1が存在する場合には、適当な実数値α(望ましくは0≦
α≦1の実数値)を用いて、以下の式(2)により観測後の状態ベクトルxYを得ることができる。
Here, when the inverse function h −1 exists in the function h, an appropriate real value α (preferably 0 ≦
using real values) of alpha ≦ 1, can be obtained state vector x Y after observation by the following equation (2).
すなわち、観測後状態量XYは、XY={xY}である。なお、状態量記憶手段11から、状態ベクトルxIが読み出せなかった場合(存在しなかった場合)には、例えば、前記式(2)でαの値を“1”とした、xY=h−1(y)により観測後の状態ベクトルxYを求めることとしてもよい。 That is, the post-observation state quantity XY is X Y = {x Y }. Incidentally, the state quantity storing means 11, in a case where the state vector x I is not be read (if not present), for example, to "1" the value of α in the formula (2), x Y = It is good also as calculating | requiring the state vector xY after observation by h <-1> (y).
(状態量及び観測量がベクトル及び共分散行列の場合)
次に、状態量(内部状態量XI)として状態ベクトルxI及び状態共分散行列PI(すなわち、XI={xI,PI})、観測量Yとして観測ベクトルyと観測共分散行列R(すなわち、Y={y,R})を採用する場合における状態量の更新について説明する。なお、状態ベクトルxIから観測ベクトルyへの関数h及びノイズ(雑音)nにより、状態の更新が、以下の式(3)によりモデル化することができるものとする。
(When state quantity and observation quantity are vector and covariance matrix)
Next, the state vector x I and the state covariance matrix P I (that is, X I = {x I , P I }) as the state quantity (internal state quantity X I ), and the observation vector y and the observation covariance as the observation quantity Y The update of the state quantity when the matrix R (that is, Y = {y, R}) is employed will be described. Incidentally, the function h and noise (noise) n of the state vector x I to observation vector y, the state of the update, and it can be modeled by the following equation (3).
ここで、E[]は期待値、上付き添え字Tは転置を表している。
このとき、例えば、以下の式(4)に示す拡張カルマンフィルタの観測更新方程式によって、観測後状態量XY={xY,PY}を決定することができる。
Here, E [] represents an expected value, and the superscript T represents transposition.
At this time, for example, the post-observation state quantity X Y = {x Y , P Y } can be determined by the observation update equation of the extended Kalman filter shown in the following formula (4).
ここで、Kはフィルタ感度、Hは観測行列、上付き添え字Tは転置を表している。
なお、状態量記憶手段11から、状態ベクトルxIと状態共分散行列PIとが読み出せなかった場合(存在しなかった場合)には、例えば、xY=h−1(y)、PY=diag{λ1,λ2,…,λD}(ただし、diagは対角行列、λ1,λ2,…,λDは非負の実数、DはXYの次元とする)としてもよい。
Here, K represents filter sensitivity, H represents an observation matrix, and superscript T represents transposition.
If the state vector x I and the state covariance matrix P I cannot be read from the state quantity storage unit 11 (when they do not exist), for example, x Y = h −1 (y), P Y = diag {λ 1 , λ 2 ,..., Λ D } (where diag is a diagonal matrix, λ 1 , λ 2 ,..., Λ D is a non-negative real number, and D is a dimension of XY ) Good.
(状態量がパーティクル、観測量が確率密度関数の場合)
次に、状態量(内部状態量XI)としてパーティクル、観測量Yとして確率密度関数を採用する場合における状態量の更新について説明する。
まず、状態量記憶手段11から読み出される内部状態量XIに含まれる状態ベクトルの数をN個、各々の状態ベクトルをx(i)(ただし、i=1,2,…,N)とする。すなわち、XI={x(1),x(2),…,x(N)}とする。
(When state quantity is particle and observation quantity is probability density function)
Next, update of the state quantity when a particle is used as the state quantity (internal state quantity X I ) and a probability density function is adopted as the observation quantity Y will be described.
First, N number the number of state vectors contained in the internal state quantity X I read from the state quantity storing means 11, each of the state vector x (i) (provided that, i = 1,2, ..., N ) to . That is, X I = {x (1) , x (2) ,..., X (N) }.
一方、観測量Yである確率密度関数は、引数を状態ベクトルxとし、Y(x)のように記述することとする。
最初に、状態更新手段12は、1≦i≦Nなるすべてのiに対して、観測量Y(x(i))に基づいて、以下の式(5)により、i番目の状態ベクトルが発生する確率p(i)を算出する。
On the other hand, the probability density function, which is the observation amount Y, is described as Y (x) with an argument as the state vector x.
First, the state update means 12 generates the i-th state vector according to the following equation (5) based on the observation amount Y (x (i) ) for all i satisfying 1 ≦ i ≦ N. The probability p (i) to be calculated is calculated.
続いて、状態更新手段12は、観測後状態量XYに、確率p(i)の大きい状態ベクトルx(i)が多く含まれ、確率p(i)の小さい状態ベクトルx(i)が少なく含まれる(又は含まれない)ように、状態量を再編成(再サンプリング)する。なお、状態ベクトルx(i)をとるサンプル数は、精度を高めるため、確率p(i)に比例する頻度(個数)であることが望ましく、例えば、確率p(i)がp(1)=1/10、p(2)=6/10、p(3)=3/10で、状態量の総数が10個の場合、状態ベクトルx(1)を1個、状態ベクトルx(2)を6個、状態ベクトルx(3)を3個のように、状態量(パーティクル)を生成し直す。
例えば、状態更新手段12は、以下の手順により状態量を更新する。
まず、以下の式(6)に示すように、式(5)で示した確率p(i)を累積した累積確率a(i)を算出するとともに、観測後状態量XYを空集合(XY=φ)とする。
Subsequently, the
For example, the
First, as shown in the following equation (6), a cumulative probability a (i) obtained by accumulating the probability p (i) shown in equation (5) is calculated, and the post-observation state quantity XY is converted to an empty set (X Y = φ).
続けて、状態更新手段12は、以下の式(7)に示すように、0<r≦1なる一様乱数rを生成する。
Subsequently, the
さらに、状態更新手段12は、以下の式(8)に示すように、累積確率a(i)≧rを満たし、かつ、累積確率a(i)が最小となる配列引数iを探索し、これをjとおく。
Furthermore, as shown in the following equation (8), the
そして、状態更新手段12は、以下の式(9)に示すように、観測後状態量XYに状態ベクトルx(j)を含める。
Then, the
そして、状態更新手段12は、前記した式(7)〜式(9)の処理を所定回数(例えば、内部状態量XIに含まれる状態ベクトルの数と同じN回)繰り返す。これによって、観測後状態量XYにおいて、パーティクルの頻度によって、確率密度関数が近似表現されることになる。
なお、状態量記憶手段11から、内部状態量XIが読み出せなかった場合(存在しなかった場合)には、例えば、状態更新手段12は、状態ベクトルを乱数によりN個生成し、これらをまとめたものを観測後状態量XYとする。また、このときの乱数は、確率密度関数Y(x)に従うこととしてもよい。
図4に戻って、状態推定装置10の構成について説明を続ける。
Then, the state updating means 12, the equation (7) processing the predetermined number of times to Formula (9) (e.g., the same N times the number of state vectors contained in the internal state quantity X I) is repeated. As a result, the probability density function is approximated by the frequency of particles in the post-observation state quantity XY .
Incidentally, the state quantity storing means 11, when it can not be read the internal state quantity X I (if not present), for example, the
Returning to FIG. 4, the description of the configuration of the
状態受信手段13は、ネットワークNに接続された他の状態推定装置が保持し、当該他の状態推定装置から送信される状態量(受信状態量XR;外部状態量)を受信するものである。この受信した受信状態量XRは、状態統合手段14に出力される。
ここで、他の状態推定装置は、状態量(受信状態量XR)を含んだメッセージを、ネットワークNを経由して送信する。なお、このメッセージには、送信元に関する情報(例えば、IPアドレス等)を含めることとしてもよい。
The state receiving means 13 receives a state quantity (reception state quantity X R ; external state quantity) held by another state estimation apparatus connected to the network N and transmitted from the other state estimation apparatus. . The reception reception state quantity X R that is output to the
Here, the other state estimation device transmits a message including the state quantity (reception state quantity X R ) via the network N. Note that this message may include information on the transmission source (for example, an IP address).
状態統合手段14は、状態受信手段13で受信した状態量(受信状態量XR)と、状態量記憶手段11に記憶されている状態量(内部状態量XI)とを統合し統合状態量XJを生成するものである。この統合状態量XJは、内部状態量XIとして状態量記憶手段11に記憶され、内部状態量XIが更新される。
なお、状態統合手段14は、状態量記憶手段11から内部状態量XIが読み出せなかった場合(存在しなかった場合)には、受信した状態量(受信状態量XR)をそのまま統合状態量XJとする。
以下、数式を用いて、状態統合手段14における状態量の統合手法について説明する。
The
The
Hereinafter, the state quantity integration method in the
(状態量がベクトルの場合)
まず、状態量(内部状態量XI及び受信状態量XR)として、一つの状態ベクトルを採用する場合における状態量の統合について説明する。
状態量として状態ベクトルを採用する場合、状態統合手段14は、内部状態量XIの状態ベクトルをxI、受信状態量XRの状態ベクトルをxRとし、以下の式(10)により統合後の状態ベクトルxJを算出する。
(When the state quantity is a vector)
First, the integration of state quantities when one state vector is adopted as the state quantities (internal state quantity XI and reception state quantity X R ) will be described.
When the state vector is adopted as the state quantity, the
ここで、βは適当な実数値とし、望ましくは0≦β≦1の値をとるものとする。
なお、統合状態量XJは、XJ={xJ}である。
Here, β is an appropriate real value, preferably 0 ≦ β ≦ 1.
The integrated state quantity X J is X J = {x J }.
(状態量がベクトル及び共分散行列の場合)
次に、状態量(内部状態量XI及び受信状態量XR)として、状態ベクトル及び状態共分散行列を採用する場合における状態量の統合について説明する。
状態量として、状態ベクトル及び状態共分散行列を採用する場合、状態統合手段14は、内部状態量XIの状態ベクトルxI及び状態共分散行列PIと、受信状態量XRの状態ベクトルxR及び状態共分散行列PRとに基づいて、統合状態量XJの状態ベクトルxJ及び状態共分散行列PJを以下に示す手順により算出する。
まず、状態統合手段14は、以下の式(11)に示すように、状態共分散行列PI及び状態共分散行列PRのi行i列成分を抽出し、それぞれvI(i)及びvR(i)とする(ただし、i=1,2,…,D;Dは状態ベクトルの次元数)。
(When the state quantity is a vector and covariance matrix)
Next, integration of state quantities when a state vector and a state covariance matrix are employed as state quantities (internal state quantity X I and reception state quantity X R ) will be described.
As the quantity of state, in the case of employing the state vector and state covariance matrix,
First, the
続いて、状態統合手段14は、以下の式(12)に示すように、状態ベクトルxI及び状態ベクトルxRのi行成分を抽出し、それぞれxI(i)及びxR(i)とする。
Subsequently, the
そして、状態統合手段14は、前記式(11)で抽出したvI(i)及びvR(i)の大小に応じて、スカラ量xT(i)を、以下に示す式(13)により決定する。 Then, the state integration means 14 determines the scalar quantity x T (i) according to the following expression (13) according to the magnitude of v I (i) and v R (i) extracted in the expression (11). decide.
そして、状態統合手段14は、この式(13)で決定されたスカラ量xT(i)を、以下の式(14)に示すように、配列引数iについて配列することで、状態ベクトルxJを構成する。
Then, the
一方、状態統合手段14は、状態共分散行列PJを、以下の式(15)に示すように、前記式(11)で抽出したvI(i)及びvR(i)の小さい方を配列引数iについて並べた対角行列とする。
On the other hand, the
なお、統合状態量XJは、XJ={xJ,PJ}である。 The integrated state quantity X J is X J = {x J , P J }.
(状態量がパーティクルの場合)
次に、状態量(内部状態量XI)としてパーティクルを採用する場合における状態量の統合について説明する。
状態量として、パーティクルを採用する場合、状態統合手段14は、内部状態量XI及び受信状態量XRの和集合(XI∪XR)に含まれる状態ベクトル“2N”個の中から、確率的にN´個の状態ベクトルを選択し、その選択されたN´個の状態ベクトルを統合状態量XJとする。なお、統合状態量XJに含まれる状態ベクトルの個数N´は、内部状態量XIの個数Nと同数であってもよい。
(When the state quantity is a particle)
Next, the integration of state quantities in the case where particles are employed as the state quantities (internal state quantities X I ) will be described.
In the case of adopting particles as the state quantities, the
ここでは、内部状態量XI及び受信状態量XRに含まれる状態ベクトルの数をN個とし、各々の状態ベクトルをxI (i)及びxR (i)(ただし、i=1,2,…,N)とする。すなわち、XI={xI (1),xI (2),…,xI (N)}、XR={xR (1),xR (2),…,xR (N)}とする。
まず、状態統合手段14は、統合状態量XJを空集合(XJ=φ)とする。
続けて、状態統合手段14は、以下の式(16)に示すように、0<r≦1なる一様乱数rを生成する。
Here, the number of state vectors included in the internal state quantity X I and the reception state quantity X R is N, and the state vectors are x I (i) and x R (i) (where i = 1, 2). , ..., N). That, X I = {x I ( 1), x I (2), ..., x I (N)}, X R = {x R (1), x R (2), ..., x R (N) }.
First, the
Subsequently, the
そして、状態統合手段14は、一様乱数rが予め定めた定数(閾値γ〔0<γ≦1の実数値〕)よりも大きいか小さいかによって、以下の式(17)に示すように、状態ベクトルxI (i)又はxR (i)を、統合状態量XJに含める。
Then, the
そして、状態統合手段14は、前記した式(16)及び式(17)の処理を状態ベクトルの回数(N)分繰り返す。これによって、内部状態量XI及び受信状態量XRに含まれる状態ベクトルから確率的に選択された状態ベクトル群により統合状態量XJを構成することができる。このとき、例えば、閾値γを“0.5”とすると、内部状態量XI及び受信状態量XRから同等の確率で状態ベクトルが選択されることになる。また、γの値が大きいほど、内部状態量XIに比べて、受信状態量XRを重視することができる。
図4に戻って、状態推定装置10の構成について説明を続ける。
Then, the
Returning to FIG. 4, the description of the configuration of the
状態送信手段15は、状態量記憶手段11に記憶されている状態量(内部状態量XI)を読み出して、ネットワークNに接続された他の状態推定装置に送信するものである。
なお、状態送信手段15は、状態量(内部状態量XI)を含んだメッセージを他の状態推定装置に送信する際に、送信先や送信元を示すアドレス情報(IPアドレス等)を含めることとしてもよい。
また、状態量がまだ記憶されていない等の理由によって、状態量記憶手段11から状態量(内部状態量XI)を読み出せない場合、状態送信手段15は、送信を行わないこととしてもよいし、送信不可能であるというメッセージを送信することとしてもよい。
また、状態送信手段15は、定期的に内部状態量XIを送信することとしてもよいし、他の状態推定装置からの要求に基づいて送信することとしてもよい。
The
The
In addition, when the state quantity (internal state quantity X I ) cannot be read from the state
Also,
推定量出力手段16は、状態量記憶手段11に記憶されている状態量(内部状態量XI)を読み出して、推定量Eとして外部に出力するものである。
なお、推定量出力手段16は、内部状態量XIをそのまま推定量Eとして出力することとしてもよいし、一部の状態量のみを出力したり、状態量に所定の変換を施して出力したりすることとしてもよい。
The estimated amount output means 16 reads the state quantity (internal state quantity X I ) stored in the state quantity storage means 11 and outputs it as an estimated quantity E to the outside.
Incidentally, the estimated
例えば、状態量が状態ベクトルである場合、推定量出力手段16は、状態ベクトルの一部成分を抽出して、推定量Eを新たなベクトル量やスカラ量とすることができる。具体的には、状態ベクトルが3次元位置及び3次元速度で構成される場合に、3次元位置のみを推定量Eとする。あるいは、推定量出力手段16は、状態ベクトルに演算処理、例えば、線形変換を施した結果を推定量Eとして出力することとしてもよい。 For example, when the state quantity is a state vector, the estimated quantity output means 16 can extract a partial component of the state vector and set the estimated quantity E as a new vector quantity or scalar quantity. Specifically, when the state vector includes a three-dimensional position and a three-dimensional velocity, only the three-dimensional position is set as the estimated amount E. Alternatively, the estimated amount output means 16 may output the result obtained by performing arithmetic processing, for example, linear transformation, on the state vector as the estimated amount E.
また、例えば、状態量がパーティクルの場合、推定量出力手段16は、パーティクルを構成する一部の状態ベクトルを取り出して推定量Eとすることができる。あるいは、推定量出力手段16は、パーティクルを構成する状態ベクトルすべてについて平均ベクトルを算出し、推定量Eとして出力することとしてもよい。
なお、状態量がまだ記憶されていない等の理由によって、状態量記憶手段11から状態量(内部状態量XI)を読み出せない場合、推定量出力手段16は、推定量Eを出力しないこととしてもよいし、出力することができない旨を出力することとしてもよい。
Further, for example, when the state quantity is a particle, the estimated quantity output means 16 can extract a part of the state vector constituting the particle and set it as the estimated quantity E. Alternatively, the estimated amount output means 16 may calculate an average vector for all the state vectors constituting the particle and output the average vector as the estimated amount E.
If the state quantity (internal state quantity X I ) cannot be read from the state
以上、状態推定装置10の構成について説明したが、本発明はこの構成に限定されるものではない。例えば、推定量Eの出力を他の状態推定装置で行うこととし、状態推定装置10からは出力を行わない構成としてもよい。この場合、状態推定装置10の構成から推定量出力手段16を省略することができる。また、外部からの観測量Yの入力を他の状態推定装置で行うこととし、状態推定装置10では入力を行わない構成としてもよい。この場合、状態推定装置10の構成から状態更新手段12を省略することができる。
The configuration of the
また、図5に示すように、状態更新手段12を外部の観測装置20に備え、状態更新手段12を状態推定装置10から省略し、データの入出力のみを行う入出力手段17を備えた状態推定装置10Bの構成としてもよい。例えば、観測装置20は、図示を省略したセンサ等を備えた位置観測手段と、状態更新手段12とを備えている。そして、観測装置20の状態更新手段12が、位置観測手段(図示せず)により観測した結果である観測対象の位置(観測量)に基づいて状態量(観測後状態量XY)を算出し、状態量記憶手段11に記憶されている内部状態量XIを更新することとしてもよい。
In addition, as shown in FIG. 5, the
この場合、観測装置20は、観測後状態量XYとともに、観測後状態量XYに対する評価値を状態推定装置10Bに出力することとしてもよい。例えば、観測装置20は、センサであるカメラによって入力した画像に観測対象が存在するか(撮影されているか)否かを判定し、存在すると判定した場合は評価値に高い値を、存在しないと判定した場合は評価値に低い値を設定する。この評価値を参照することで、状態推定装置10Bは、状態統合手段14において、状態量の統合を行う際に、内部状態量XIと受信状態量XRとの統合の度合いを決定することとしてもよい。
In this case, the
また、状態推定装置10(10B)は、一般的なコンピュータを、前記した各手段として機能させることで実現することができる。このプログラム(状態推定プログラム)は、通信回線を介して配布することも可能であるし、CD−ROM等の記録媒体に書き込んで配布することも可能である。 Moreover, the state estimation apparatus 10 (10B) is realizable by making a general computer function as each above-mentioned means. This program (state estimation program) can be distributed via a communication line, or can be distributed on a recording medium such as a CD-ROM.
以上説明したように、状態推定装置10(10B)は、他の状態推定装置で推定した状態量と、当該状態推定装置10で推定した状態量とを統合し、観測対象の状態を推定することができる。これによって、状態推定装置10は、他の状態推定装置と協働し、状態の推定を分散して行うことができる。また、例えば、他の状態推定装置に状態推定装置10と共通の状態量を記憶させておくことで、状態推定装置10に障害が発生した場合であっても、状態の推定を継続することが可能になる。
As described above, the state estimation device 10 (10B) estimates the observation target state by integrating the state amount estimated by the other state estimation device and the state amount estimated by the
[第1実施形態:状態推定装置(状態推定手段)の動作]
次に、図6〜図8を参照して、状態推定装置10の動作について説明する。図6は、状態推定装置の全体動作を示すフローチャートである。図7は、状態推定装置における状態更新手段の動作を示すフローチャートである。図8は、状態推定装置における状態統合手段の動作を示すフローチャートである。
[First Embodiment: Operation of State Estimation Device (State Estimation Unit)]
Next, the operation of the
(全体動作)
まず、図6を参照(適宜図4参照)して、状態推定装置10の動作について説明する。
状態推定装置10は、状態更新手段12によって、外部から観測量Yが入力されたか否かを判定する(ステップS1)。そして、観測量Yが入力された場合(ステップS1でYes)、状態更新手段12は、観測量Yによって、状態量記憶手段11に記憶されている内部状態量XIを更新する(ステップS2)。なお、このステップS2における内部状態量更新処理の詳細については、図7を参照して後で説明を行うこととする。一方、観測量Yが入力されなかった場合(ステップS1でNo)、状態更新手段12は、そのままステップS3の動作に進む。
(Overall operation)
First, the operation of the
The
また、状態推定装置10は、状態統合手段14によって、状態受信手段13において、ネットワークNに接続された他の状態推定装置から状態量(受信状態量XR)を受信したか否かを判定する(ステップS3)。そして、受信状態量XRを受信した場合(ステップS3でYes)、状態統合手段14は、受信状態量XRと状態量記憶手段11に記憶されている内部状態量XIとを統合する(ステップS4)。なお、このステップS4における内部状態量統合処理の詳細については、図8を参照して後で説明を行うこととする。一方、受信状態量XRが受信されなかった場合(ステップS3でNo)、状態統合手段14は、そのままステップS5の動作に進む。
Further, the
そして、状態推定装置10は、状態送信手段15によって、状態量記憶手段11に記憶されている内部状態量XIの一部又は全部を読み出して、送信状態量XSとして、ネットワークNに接続された他の状態推定装置に送信する(ステップS5)。なお、状態送信手段15は、状態量記憶手段11から内部状態量XIが読み出せない場合、送信を行わない、又は、送信不可能であるというメッセージを送信する。
また、状態推定装置10は、推定量出力手段16によって、状態量記憶手段11に記憶されている内部状態量XIを読み出して、推定量Eとして外部に出力する(ステップS6)。なお、推定量出力手段16は、一部の内部状態量XIのみを出力したり、内部状態量XIに所定の変換を施して出力したりすることとしてもよい。
The
The
以上、状態推定装置10の動作について説明したが、本動作はこの手順に限定されるものではない。ここでは、説明の都合上時系列に動作の説明を行ったが、内部状態量更新処理(ステップS2)や内部状態量統合処理(ステップS4)を並列に動作させることとしてもよいし、観測量Yの入力や受信状態量XRの受信が不規則に入力される場合は、そのタイミングに合わせて動作することとしてもよい。
The operation of the
(内部状態量更新処理)
次に、図7を参照(適宜図4参照)して、状態推定装置10の状態更新手段12における状態量更新処理の動作について説明する。なお、本動作は、図6のステップS2の動作に相当する。また、ここでは、状態量更新処理の一例として、状態量がパーティクル、観測量が確率密度関数である場合の動作について説明する。
(Internal state quantity update processing)
Next, referring to FIG. 7 (refer to FIG. 4 as appropriate), the operation of the state quantity update process in the
まず、状態更新手段12は、状態量記憶手段11に内部状態量XI(XI={x(1),x(2),…,x(N)})が記憶されているか否かを判定する(ステップS20)。そして、内部状態量XIが記憶されている場合(ステップS20でYes)、状態更新手段12は、内部状態量XIに含まれるN個の状態ベクトルx(i)(ただし、i=1,2,…,N)に対して、観測量Y(x(i))に基づいて、状態ベクトルが発生する確率p(i)を算出する(ステップS21:前記式(5)参照)。さらに、状態更新手段12は、ステップS21で算出した確率p(i)をi番目まで累積した累積確率a(i)を、iごとにN個分算出する(ステップS22)。
First, the
ここで、状態更新手段12は、観測後の状態量(観測後状態量XY)を空集合(XY=φ)、ループ回数に用いる変数mを“1”にそれぞれ初期化する(ステップS23)。
そして、状態更新手段12は、0<r≦1なる実数値の一様乱数rを生成し(ステップS24)、ステップS22で算出した累積確率a(i)の中でa(i)≧rを満たし、かつ、a(i)が最小となる配列引数iを探索しjとする(ステップS25)。続けて、状態更新手段12は、ステップS25で探索された配列引数jに対応する状態ベクトルx(j)を、観測後状態量XYに追加する(ステップS26)。
Here, the
Then, the state updating means 12 generates a real-valued uniform random number r satisfying 0 <r ≦ 1 (step S24), and a (i) ≧ r is set in the cumulative probability a (i) calculated in step S22. An array argument i that satisfies and satisfies the minimum a (i) is searched for j (step S25). Subsequently, the
その後、状態更新手段12は、ループ回数の変数mをインクリメント(+1)し(ステップS27)、変数mの値がN以下である場合(ステップS28でYes)、ステップS24に戻って動作を続ける。一方、変数mの値がNを超過した場合(ステップS28でNo)、動作を終了する。
なお、ステップS20において、状態量記憶手段11に内部状態量XIが記憶されていない場合(ステップS20でNo)、状態更新手段12は、状態ベクトルを乱数によりN個(r1,r2,…,rN)生成することで、観測後状態量XYを生成し(ステップS29)、動作を終了する。
以上の動作を行うことで、状態更新手段12は、状態量記憶手段11に記憶されている内部状態量XIを、確率の高いパーティクルをより高頻度にした確率密度関数の近似によって表現することができる。
Thereafter, the
Incidentally, in step S20, if the state quantity storing means 11 internal state quantity X I is not stored (No at step S20), the state updating means 12, N pieces of the state vector by a
By performing the above operation, the state updating means 12, the internal state quantity X I stored in the state
(内部状態量統合処理)
次に、図8を参照(適宜図4参照)して、状態推定装置10の状態統合手段14における内部状態量統合処理の動作について説明する。なお、本動作は、図6のステップS4の動作に相当する。また、ここでは、内部状態量統合処理の一例として、状態量がパーティクルである場合の動作について説明する。
なお、内部状態量XI及び受信状態量XRに含まれる状態ベクトルの数をN個とし、各々の状態ベクトルをxI (i)及びxR (i)(ただし、i=1,2,…,N)とする。すなわち、XI={xI (1),xI (2),…,xI (N)}、XR={xR (1),xR (2),…,xR (N)}とする。
(Internal state quantity integration processing)
Next, referring to FIG. 8 (refer to FIG. 4 as appropriate), the operation of the internal state quantity integration process in the
Note that the number of state vectors included in the internal state quantity X I and the reception state quantity X R is N, and the state vectors are x I (i) and x R (i) (where i = 1, 2, ..., N). That, X I = {x I ( 1), x I (2), ..., x I (N)}, X R = {x R (1), x R (2), ..., x R (N) }.
まず、状態統合手段14は、統合後の状態量(統合状態量XY)を空集合(XY=φ)、ループ回数に用いる変数mを“1”にそれぞれ初期化する(ステップS40)。
そして、状態統合手段14は、0<r≦1なる実数値の一様乱数rを生成し(ステップS41)、その一様乱数rが予め定めた定数(閾値γ〔0<γ≦1の実数値〕)以下であるか否かを判定する(ステップS42)。
First, the
Then, the state integration means 14 generates a real random number random number r satisfying 0 <r ≦ 1 (step S41), and the uniform random number r is a predetermined constant (a threshold value γ [0 <γ ≦ 1 real number). [Numerical value]) It is determined whether or not (step S42).
ここで、一様乱数rが閾値γ以下の場合(ステップS42でYes)、状態統合手段14は、統合状態量XJに、受信状態量XRに含まれるm番目の状態ベクトルxR (m)を追加する(ステップS43)。一方、一様乱数rが閾値γ未満の場合(ステップS42でNo)、状態統合手段14は、統合状態量XJに、内部状態量XIに含まれるm番目の状態ベクトルxI (m)を追加する(ステップS44)。
その後、状態統合手段14は、ループ回数の変数mをインクリメント(+1)し(ステップS45)、変数mの値がN以下である場合(ステップS46でYes)、ステップS41に戻って動作を続ける。一方、変数mの値がNを超過した場合(ステップS46でNo)、動作を終了する。
If the uniform random number r is equal to or smaller than the threshold γ (Yes in step S42), the
Thereafter, the
以上の動作を行うことで、状態統合手段14は、内部状態量XI及び受信状態量XRに含まれる状態ベクトルから、予め定めた閾値γを基準として選択された状態ベクトル群により統合状態量XJを構成することができる。すなわち、閾値γによって、内部状態量又は受信状態量のいずれを重視するのかを設定することができる。
By performing the above operation, the
[第2実施形態:状態推定装置(状態推定手段)の構成]
次に、図9を参照して、状態推定装置の他の構成について説明する。図9は、本発明の第2実施形態に係る状態推定装置の内部構成を示すブロック構成図である。
状態推定装置10Cは、外部から入力される観測対象の観測量に基づいて、ネットワークNに接続した他の状態推定装置と協働して、観測対象の状態を示す状態量を推定するものである。なお、状態推定装置10Cは、複数の時点における状態量(内部状態量)を保持することで、複数の状態推定装置間での処理の違いや、観測時刻の違いに起因する時間ずれの影響を吸収する。ここでは、状態推定装置10Cは、状態量記憶手段11Cと、状態更新手段12Cと、状態受信手段13Cと、状態統合手段14Cと、状態送信手段15Cと、推定量出力手段16Cと、状態予測手段18とを備えている。
[Second Embodiment: Configuration of State Estimation Device (State Estimation Unit)]
Next, another configuration of the state estimation device will be described with reference to FIG. FIG. 9 is a block diagram showing the internal configuration of the state estimation apparatus according to the second embodiment of the present invention.
The state estimation device 10C estimates a state amount indicating the state of the observation target in cooperation with another state estimation device connected to the network N based on the observation amount of the observation target input from the outside. . Note that the state estimation device 10C retains state quantities (internal state quantities) at a plurality of points in time, thereby reducing the effects of time differences due to processing differences among the plurality of state estimation apparatuses and differences in observation times. Absorb. Here, the state estimation device 10C includes a state
状態量記憶手段11Cは、観測対象の状態を示す状態量のうち、当該状態推定装置10C内部で保持する状態量(内部状態量)を記憶するものである。なお、状態量記憶手段11Cは、複数の時点における内部状態量を記憶することが、状態量記憶手段11(図4)とは異なっている。
例えば、状態量記憶手段11Cには、時刻“0”から時刻“M−1”に対応したM個の要素を有する配列を確保する。
The state
For example, in the state
ここで、状態量記憶手段11Cに対する書き込み又は読み出しを行う各手段(状態更新手段12C、状態統合手段14C、状態送信手段15C、推定量出力手段16C及び状態予測手段18)は、0≦t<Mなる整数値tで示される時刻における内部状態量XI(t)を参照する場合、M個の要素を有する配列のt番目の要素を参照すればよい。また、0≦t<Mなる整数値以外で時刻が示される場合は、状態量記憶手段11Cに対する書き込み時には動作を行わず、読み出し時には何も読み出さない(空集合φを読み出す)ものとする。
また、状態量記憶手段11Cは、M個の要素を有する配列を確保し、その各要素に時刻情報(時刻t)と内部状態量XI(t)とを記憶する構成としてもよい。
Here, each means (state update means 12C, state integration means 14C, state transmission means 15C, estimated amount output means 16C and state prediction means 18) that writes to or reads from the state quantity storage means 11C is 0 ≦ t <M. When referring to the internal state quantity X I (t) at the time indicated by the integer value t, the t th element of the array having M elements may be referred to. Further, when the time is indicated by an integer value other than 0 ≦ t <M, it is assumed that no operation is performed at the time of writing to the state
Further, the state
ここで、図10を参照して、状態量記憶手段11Cに記憶されている内部状態量へのアクセス(読み出し/書き込み)手法について説明する。図10は、状態量記憶手段の記憶内容の一例を示すデータ構造図である。図10では、一例として、状態量記憶手段11Cに10個の要素を有する配列を確保し、アドレス0からアドレス9にそれぞれ時刻情報(時刻t)と内部状態量XI(t)とを対応付けて記憶している状態を示している。
まず、時刻tに内部状態量XI(t)を書き込む手法について説明する。
ここで、時刻tを配列の要素数Tで除算した場合の剰余をアドレスA(A番目のアドレス)とする。すなわち、アドレスAは、以下の式(18)により算出される。
Here, with reference to FIG. 10, a method for accessing (reading / writing) the internal state quantity stored in the state
First, a method for writing the internal state quantity X I (t) at time t will be described.
Here, the remainder when time t is divided by the number of elements T in the array is assumed to be address A (Ath address). That is, the address A is calculated by the following equation (18).
ここで、演算子%は剰余を示し、t%MはtをMで除算した剰余を表すものとする。
このように算出されたアドレスAに対して、時刻tと内部状態量XI(t)との対を書き込むこととする。
例えば、図10に示すように、時刻t=“1025”に内部状態量XI(1025)を書き込む場合、前記式(18)により、アドレスA=“1025%10”=“5”を得る。そこで、アドレスA=“5”に対し、t=“1025”なる時刻情報と、t=“1025”における内部状態量XI(1025)との対を書き込む。
Here, the operator% indicates a remainder, and t% M indicates a remainder obtained by dividing t by M.
A pair of the time t and the internal state quantity X I (t) is written to the address A calculated in this way.
For example, as shown in FIG. 10, when the internal state quantity X I (1025) is written at time t = “1025”, the address A = “1025% 10” = “5” is obtained by the above equation (18). Therefore, a pair of the time information t = “1025” and the internal state quantity X I (1025) at t = “1025” is written to the address A = “5”.
次に、時刻tに内部状態量XI(t)を読み出す手法について説明する。なお、アドレスは、前記式(18)により算出される。
ここで、アドレスA(A番目のアドレス)には、時刻τが時刻情報として書き込まれているとする。もし、τ=tであれば、アドレスAに書き込まれている状態量は所望の時刻tにおける内部状態量XI(t)であるため、そのまま内部状態量XI(t)を読み出せばよい。もし、τ≠tであれば、アドレスAに書き込まれている状態量は所望の時刻tにおけるものではないため、例えば、読み出しデータを空集合φとする。
Next, a method of reading the internal state quantity X I (t) at time t will be described. The address is calculated by the equation (18).
Here, it is assumed that time τ is written as time information at address A (Ath address). If τ = t, the state quantity written in the address A is the internal state quantity X I (t) at the desired time t, so the internal state quantity X I (t) may be read as it is. . If τ ≠ t, the state quantity written in the address A is not at the desired time t. For example, the read data is assumed to be an empty set φ.
例えば、図10に示すように、時刻t=“1032”の内部状態量XI(1032)を読み出す場合、前記式(18)により、アドレスA=“1032%10”=“2”を得る。そして、アドレスA=“2”に書き込まれている時刻情報(時刻τ)を読み出す。この場合、τ=“1032”である。すなわち、τ=t=“1032”であるため、アドレスA=“2”に書き込まれている状態量は所望の時刻t=“1032”における内部状態量XI(1032)であると判断することができ、このアドレスA=“2”に書き込まれている内部状態量XI(1032)を読み出せばよい。 For example, as shown in FIG. 10, when the internal state quantity X I (1032) at time t = “1032” is read, the address A = “1032% 10” = “2” is obtained by the equation (18). Then, the time information (time τ) written in the address A = “2” is read. In this case, τ = “1032”. That is, since τ = t = “1032”, it is determined that the state quantity written at the address A = “2” is the internal state quantity X I (1032) at the desired time t = “1032”. The internal state quantity X I (1032) written at the address A = “2” may be read out.
また、時刻t=“1033”の内部状態量XI(1033)を読み出す場合、前記式(18)により、アドレスA=“1033%10”=“3”を得る。そして、アドレスA=“3”に書き込まれている時刻情報(時刻τ)を読み出す。この場合、τ=“1023”である。すなわち、τ≠t=“1033”であるため、アドレスA=“3”に書き込まれている状態量は所望の時刻t=“1033”における内部状態量XI(1033)ではないと判断することができる。そこで、読み出しデータを空集合φとする。
これによって、時刻tの内部状態量XI(t)の読み出し/書き込みにおける時刻のずれを防止することができる。
図9に戻って、状態推定装置10Cの構成について説明を続ける。
Further, when reading the internal state quantity X I (1033) at time t = “1033”, the address A = “1033% 10” = “3” is obtained by the equation (18). Then, the time information (time τ) written at the address A = “3” is read. In this case, τ = “1023”. That is, since τ ≠ t = “1033”, it is determined that the state quantity written at the address A = “3” is not the internal state quantity X I (1033) at the desired time t = “1033”. Can do. Therefore, the read data is an empty set φ.
Thereby, it is possible to prevent a time lag in reading / writing of the internal state quantity X I (t) at time t.
Returning to FIG. 9, the description of the configuration of the state estimation device 10C will be continued.
状態更新手段12Cは、外部から入力される時刻tYの観測量Y(tY)によって、状態量記憶手段11Cに記憶されている内部状態量XI(tY)を更新するものである。
状態受信手段13Cは、ネットワークNに接続された他の状態推定装置が保持し、当該他の状態推定装置から送信される時刻tRの受信状態量XR(tR)を受信し、状態統合手段14Cに出力するものである。
The state updating means 12C updates the internal state quantity X I (t Y ) stored in the state quantity storage means 11C with the observation quantity Y (t Y ) at time t Y input from the outside.
The
状態統合手段14Cは、状態受信手段13Cで受信した時刻tRの受信状態量XR(tR)と、状態量記憶手段11Cに記憶されている時刻tRの内部状態量XI(tR)とを統合し時刻tRの統合状態量XJ(tR)を生成するものである。
状態送信手段15Cは、状態量記憶手段11Cに記憶されている、ある時刻tSの内部状態量XI(tS)を読み出して、ネットワークNに接続された他の状態推定装置に送信するものである。
The
The
推定量出力手段16Cは、状態量記憶手段11Cに記憶されている、ある時刻tEの内部状態量XI(tE)を読み出して、推定量E(tE)として外部に出力するものである。
なお、状態更新手段12C、状態受信手段13C、状態統合手段14C、状態送信手段15C及び推定量出力手段16Cは、時刻(時刻tY、時刻tR、時刻tS及び時刻tE)に基づいて動作し、内部状態量XI(t)の更新等を行うとともに、その時刻に同期した制御信号を状態予測手段18に出力することを除き、図4で説明した状態更新手段12、状態受信手段13、状態統合手段14、状態送信手段15及び推定量出力手段16と同一の機能を有しているため、各機能については説明を省略する。
The estimated amount output means 16C reads out the internal state quantity X I (t E ) at a certain time t E stored in the state quantity storage means 11C and outputs it as an estimated quantity E (t E ) to the outside. is there.
The
状態予測手段18は、制御信号で通知されるタイミングに基づいて、ある時刻tPにおける状態量(予測状態量)XP(tP)を予測するものである。
ここで、状態予測手段18は、ある時刻tOにおける内部状態量XI(tO)と、ある時刻tPにおける内部状態量XI(tP)とを状態量記憶手段11Cから読み出し、予測処理を行うことで、時刻tPにおける予測状態量XP(tP)を予測し、内部状態量XI(tP)として状態量記憶手段11Cに書き込むこととする。
この状態予測手段18は、まず、時刻tOから時刻tPへの状態遷移を表す予め定めた変換則F(tO,tP;X)を用いて、以下の式(19)により、状態遷移後の状態量(遷移後状態量XQ(tP))を算出する。
The state prediction means 18 predicts a state quantity (predicted state quantity) X P (t P ) at a certain time t P based on the timing notified by the control signal.
Here, the state predicting means 18 includes an internal state quantity X I (t O) at a certain time t O, read from the internal state quantity X I (t P) and the state quantity storing means 11C at a certain time t P, predicted By performing the process, the predicted state quantity X P (t P ) at time t P is predicted and written to the state
This state prediction means 18 first uses the predetermined transformation rule F (t O , t P ; X) representing the state transition from time t O to time t P according to the following equation (19). A state quantity after the transition (post-transition state quantity X Q (t P )) is calculated.
また、状態予測手段18は、算出した遷移後状態量XQ(tP)と、時刻tOにおける内部状態量XI(tO)とに基づいて、時刻tPにおける予測状態量XP(tP)を算出する。なお、遷移後状態量XQ(tP)と内部状態量XI(tO)とから予測状態量XP(tP)を算出する手法は、図4で説明した状態統合手段14と同様の手法を用いることができる。この場合、状態統合手段14における内部状態量XI、受信状態量XR及び統合状態量XJを、それぞれ内部状態量XI(tO)、遷移後状態量XQ(tP)及び予測状態量XP(tP)と読み替えればよく、説明を省略する。
Further, the state predicting means 18 uses the predicted state quantity X P (at time t P ) based on the calculated post-transition state quantity X Q (t P ) and the internal state quantity X I (t O ) at time t O. t P ) is calculated. The method for calculating the predicted state quantity X P (t P ) from the post-transition state quantity X Q (t P ) and the internal state quantity X I (t O ) is the same as the
なお、状態予測手段18は、遷移後状態量XQ(tP)をそのまま予測状態量XP(tP)とすることとしてもよく、この場合は、状態予測手段18は、状態量記憶手段11Cから、時刻tOにおける内部状態量XI(tO)を読み出す必要はない。
The
また、状態予測手段18は、例えば、状態統合手段14Cから制御信号として時刻tRが通知された場合、時刻tO=“tR”、時刻tP=“tR+1”として動作する。また、状態予測手段18は、時刻tO及び時刻tPを、(tO,tP)=(tR,tR±1),(tR,tR±2),…,(tR,tR±TR)のように、時刻tRの前後の時間TRにわたって適用することとしてもよい。
あるいは、状態予測手段18は、状態更新手段12Cの動作の直後、状態受信手段13Cの動作の前後、状態送信手段15Cの動作の直前、推定量出力手段16Cの動作の直前等、状態統合手段14Cと同様に、制御信号に基づいて動作を行うこととしてもよい。
また、状態予測手段18は、制御信号によらず、タイマ(図示せず)等に基づいて、時刻tO及び時刻tPを設定することとしてもよい。
以下、数式を用いて、前記式(19)における遷移後の状態量の演算について、さらに説明を付加することにする。
Further, for example, when the time t R is notified as a control signal from the
Alternatively, the
Further, the state prediction means 18 may set the time t O and the time t P based on a timer (not shown) or the like without depending on the control signal.
Hereinafter, the calculation of the state quantity after the transition in the equation (19) will be further described using mathematical expressions.
(状態量がベクトルの場合)
まず、状態量(内部状態量XI)として、一つの状態ベクトルを採用する場合における遷移後状態量の演算について説明する。
この場合、状態予測手段18は、前記式(19)の変換則Fとして、単位時間あたりの状態遷移行列Φを用いることができる。
すなわち、内部状態量XI(tO)を表す状態ベクトルをxI(tO)としたとき、状態遷移後の状態量である遷移後状態量XQ(tP)を表す状態ベクトルxQ(tP)は、状態遷移行列Φを用いて、以下の式(20)により算出することができる。
(When the state quantity is a vector)
First, calculation of a post-transition state quantity when one state vector is employed as the state quantity (internal state quantity X I ) will be described.
In this case, the state prediction means 18 can use the state transition matrix Φ per unit time as the conversion rule F of the equation (19).
That is, when the state vector representing the internal state quantity X I (t O ) is x I (t O ), the state vector x Q representing the post-transition state quantity X Q (t P ) that is the state quantity after the state transition. (T P ) can be calculated by the following equation (20) using the state transition matrix Φ.
このとき、遷移後状態量XQ(tP)は、XQ(tP)={xQ(tP)}となる。 At this time, the post-transition state quantity X Q (t P ) becomes X Q (t P ) = {x Q (t P )}.
(状態量がベクトル及び共分散行列の場合)
次に、状態量(内部状態量XI)として、状態ベクトル及び状態共分散行列を採用する場合における遷移後状態量の演算について説明する。
この場合、状態予測手段18は、前記式(19)の変換則Fとして、単位時間あたりの状態遷移行列Φ及び単位時間あたりのプロセス雑音の共分散行列Qを用いることができる。
すなわち、内部状態量XI(tO)を表す状態ベクトルをxI(tO)、その状態共分散行列をPI(tO)としたとき、遷移後状態量XQ(tP)を表す状態ベクトルxQ(tP)、その状態共分散行列PQ(tP)は、単位時間あたりの状態遷移行列Φ及び単位時間あたりのプロセス雑音の共分散行列Qを用いて、以下の式(21)により算出することができる。なお、上付き添え字Tは転置を表している。
(When the state quantity is a vector and covariance matrix)
Next, the calculation of the post-transition state quantity when a state vector and a state covariance matrix are employed as the state quantity (internal state quantity X I ) will be described.
In this case, the state prediction means 18 can use the state transition matrix Φ per unit time and the process noise covariance matrix Q per unit time as the conversion rule F of the equation (19).
That is, when the state vector representing the internal state quantity X I (t O ) is x I (t O ) and the state covariance matrix is P I (t O ), the post-transition state quantity X Q (t P ) is A state vector x Q (t P ) to be expressed and its state covariance matrix P Q (t P ) are expressed by the following equation using a state transition matrix Φ per unit time and a covariance matrix Q of process noise per unit time. It can be calculated by (21). The superscript T represents transposition.
このとき、遷移後状態量XQ(tP)は、XQ(tP)={xQ(tP),PQ(tP)}となる。 At this time, the post-transition state quantity X Q (t P ) becomes X Q (t P ) = {x Q (t P ), P Q (t P )}.
(状態量がパーティクルの場合)
次に、状態量(内部状態量XI)としてパーティクルを採用する場合における遷移後状態量の演算について説明する。
この場合、状態予測手段18は、前記式(19)の変換則Fとして、単位時間あたりの状態遷移行列Φ及び単位時間あたりのプロセス雑音の共分散行列Qを用いることができる。
すなわち、内部状態量XI(tO)に含まれる状態ベクトルの数をN個、各々の状態ベクトルをxI (i)(tO)(ただし、i=1,2,…,N)としたとき、遷移後状態量XQ(tP)に含まれる状態ベクトルxQ (i)(tP)は、単位時間あたりの状態遷移行列Φ及び単位時間あたりのプロセス雑音の共分散行列Qを用いて、以下の式(22)により算出することができる。なお、nはノイズ(雑音)、E[]は期待値、上付き添え字Tは転置を表している。
(When the state quantity is a particle)
Next, the post-transition state quantity calculation in the case where particles are used as the state quantity (internal state quantity X I ) will be described.
In this case, the state prediction means 18 can use the state transition matrix Φ per unit time and the process noise covariance matrix Q per unit time as the conversion rule F of the equation (19).
That is, the number of state vectors included in the internal state quantity X I (t O ) is N, and each state vector is x I (i) (t O ) (where i = 1, 2,..., N). Then, the state vector x Q (i) (t P ) included in the post-transition state quantity X Q (t P ) represents the state transition matrix Φ per unit time and the process noise covariance matrix Q per unit time. And can be calculated by the following equation (22). Note that n is noise (noise), E [] is an expected value, and the superscript T represents transposition.
このとき、遷移後状態量XQ(tP)は、XQ(tP)={xQ (1)(tP),xQ (2)(tP),…,xQ (N)(tP)}となる。
以上、状態推定装置10Cの構成について説明したが、本発明はこの構成に限定されるものではない。例えば、図11に示すように、状態更新手段12Cを外部の観測装置20Cに備え、状態更新手段12Cを状態推定装置10Cから省略し、データの入出力のみを行う入出力手段17Cを備えた状態推定装置10Dの構成としてもよい。この場合、センサ等の位置観測手段(図示せず)により観測した結果である観測対象の位置(観測量)が時刻tYに対応付けられて、観測装置20の状態更新手段12Cから、状態推定装置10Dに入力される。
At this time, the post-transition state quantity X Q (t P ) is expressed as X Q (t P ) = {x Q (1) (t P ), x Q (2) (t P ),..., X Q (N) (T P )}.
The configuration of the state estimation device 10C has been described above, but the present invention is not limited to this configuration. For example, as shown in FIG. 11, the
また、状態推定装置10C(10D)は、一般的なコンピュータを、前記した各手段として機能させることで実現することができる。このプログラム(状態推定プログラム)は、通信回線を介して配布することも可能であるし、CD−ROM等の記録媒体に書き込んで配布することも可能である。 The state estimation device 10C (10D) can be realized by causing a general computer to function as each of the above-described means. This program (state estimation program) can be distributed via a communication line, or can be distributed on a recording medium such as a CD-ROM.
以上説明したように、状態推定装置10C(10D)は、他の状態推定装置で推定した状態量と、当該状態推定装置10Cで推定した状態量とを統合し、観測対象の状態を推定することができる。これによって、状態推定装置10Cは、他の状態推定装置と協働し、状態の推定を分散して行うことができる。また、例えば、他の状態推定装置に状態推定装置10Cと共通の状態量を記憶させておくことで、状態推定装置10Cに障害が発生した場合であっても、状態の推定を継続することが可能になる。さらに、状態推定装置10Cは、時間の経過に伴った予測を行うため、状態推定の精度を高めることができる。
なお、状態推定装置10Cの動作は、複数の時点における状態量(内部状態量)を保持して状態量の予測を行うことを除き、図6〜図8で説明した状態推定装置10(図4参照)と、基本的な動作は同一であるため説明を省略する。
As described above, the state estimation device 10C (10D) estimates the state of the observation target by integrating the state amount estimated by the other state estimation device and the state amount estimated by the state estimation device 10C. Can do. Accordingly, the state estimation device 10C can perform state estimation in a distributed manner in cooperation with other state estimation devices. Further, for example, by storing a state quantity common to the state estimation device 10C in another state estimation device, state estimation can be continued even when a failure occurs in the state estimation device 10C. It becomes possible. Furthermore, since the state estimation device 10C performs prediction with the passage of time, the accuracy of state estimation can be increased.
Note that the operation of the state estimation device 10C is the state estimation device 10 (FIG. 4) described with reference to FIGS. 6 to 8 except that state amounts (internal state amounts) at a plurality of time points are held and state amounts are predicted. Since the basic operation is the same, the description is omitted.
S 統合状態推定システム
1 統合状態推定装置
10 状態推定装置
11 状態量記憶手段
12 状態更新手段
13 状態受信手段
14 状態統合手段
15 状態送信手段
16 推定量出力手段
17 入出力手段
18 状態予測手段
DESCRIPTION OF SYMBOLS S Integrated
Claims (6)
前記観測対象の状態量を内部状態量として記憶する状態量記憶手段と、
外部から入力された前記観測量に基づいて、前記状態量記憶手段に記憶されている内部状態量を逐次更新する状態更新手段と、
前記通信路に接続された他の状態推定装置から送信される当該他の状態推定装置において分散して記憶されている内部状態量を外部状態量として受信する状態受信手段と、
この状態受信手段で受信した外部状態量と、前記状態量記憶手段に記憶されている内部状態量とを統合して、当該内部状態量を更新する状態統合手段と、
前記通信路に接続された他の状態推定装置に、前記状態量記憶手段に記憶されている内部状態量を、当該他の状態推定装置に対する外部状態量として送信する状態送信手段と、
を備えていることを特徴とする状態推定装置。 Based on the observation of the observation target, by a plurality of connected state estimation device in the communication path, met the state estimation apparatus used in the integrated state estimation system for estimating by integrating the state quantity indicating a state of the observation target And
State quantity storage means for storing the state quantity of the observation target as an internal state quantity;
State update means for sequentially updating the internal state quantity stored in the state quantity storage means based on the observed quantity input from the outside;
A status receiving means for receiving the internal state quantity that is distributed and stored in the other state estimating device transmitted from another state estimation device connected to the communication channel as an external state variable,
A state integration unit that integrates the external state quantity received by the state reception unit and the internal state quantity stored in the state quantity storage unit, and updates the internal state quantity;
State transmitting means for transmitting the internal state quantity stored in the state quantity storage means to another state estimation apparatus connected to the communication path as an external state quantity for the other state estimation apparatus ;
A state estimation device comprising:
前記状態推定装置は、
前記観測対象の状態量を内部状態量として記憶する状態量記憶手段と、
前記通信路に接続された他の状態推定装置から送信される当該他の状態推定装置において分散して記憶されている内部状態量を外部状態量として受信する状態受信手段と、
この状態受信手段で受信した外部状態量と、前記状態量記憶手段に記憶されている内部状態量とを統合して、当該内部状態量を更新する状態統合手段と、
前記通信路に接続された他の状態推定装置に、前記状態量記憶手段に記憶されている内部状態量を、当該他の状態推定装置に対する外部状態量として送信する状態送信手段とを備え、
前記複数の状態推定装置の少なくとも一つが、外部から入力された前記観測量に基づいて、当該状態推定装置の状態量記憶手段に記憶されている内部状態量を逐次更新する状態更新手段を備え、
前記複数の状態推定装置の少なくとも一つが、当該状態推定装置の状態量記憶手段に記憶されている内部状態量を推定量として出力する推定量出力手段を備えていることを特徴とする統合状態推定システム。 Based on the observation amount of the observation target, an integrated state estimation system that estimates the state amount indicating the state of the observation target by using a plurality of state estimation devices connected to the communication path,
The state estimation device includes:
State quantity storage means for storing the state quantity of the observation target as an internal state quantity;
State receiving means for receiving the internal state quantity distributed and stored in the other state estimation apparatus transmitted from the other state estimation apparatus connected to the communication path as an external state quantity;
A state integration unit that integrates the external state quantity received by the state reception unit and the internal state quantity stored in the state quantity storage unit, and updates the internal state quantity;
A state transmission unit that transmits the internal state quantity stored in the state quantity storage unit to the other state estimation apparatus connected to the communication path as an external state quantity with respect to the other state estimation unit ;
At least one of the plurality of state estimation devices includes a state update unit that sequentially updates the internal state quantity stored in the state quantity storage unit of the state estimation apparatus based on the observation amount input from the outside,
Integrated state estimation, wherein at least one of the plurality of state estimation devices includes an estimated amount output unit that outputs an internal state amount stored in a state amount storage unit of the state estimation device as an estimated amount system.
当該統合状態推定装置の内部に通信路を介して接続した、前記状態量を推定する状態推定手段を複数備え、
前記状態推定手段は、
前記観測対象の状態量を内部状態量として記憶する状態量記憶手段と、
前記通信路に接続された他の状態推定手段から送信される当該他の状態推定手段において分散して記憶されている内部状態量を、外部状態量として受信する状態受信手段と、
この状態受信手段で受信した外部状態量と、前記状態量記憶手段に記憶されている内部状態量とを統合して、当該内部状態量を更新する状態統合手段と、
前記通信路に接続された他の状態推定手段に、前記状態量記憶手段に記憶されている内部状態量を、当該他の状態推定手段に対する外部状態量として送信する状態送信手段とを備え、
前記複数の状態推定手段の少なくとも一つが、外部から入力された前記観測量に基づいて、当該状態推定手段の状態量記憶手段に記憶されている内部状態量を逐次更新する状態更新手段を備え、
前記複数の状態推定手段の少なくとも一つが、当該状態推定手段の状態量記憶手段に記憶されている内部状態量を推定量として出力する推定量出力手段を備えていることを特徴とする統合状態推定装置。 An integrated state estimation device that integrates and estimates a state quantity indicating the state of the observation target based on the observation quantity of the observation target,
A plurality of state estimation means for estimating the state quantity , connected to the inside of the integrated state estimation device via a communication path ,
The state estimating means includes
State quantity storage means for storing the state quantity of the observation target as an internal state quantity;
The internal state quantity is distributed and stored in the other state estimating means to be transmitted from another state estimation means connected to said communication path, and the state receiving means for receiving an external state variable,
A state integration unit that integrates the external state quantity received by the state reception unit and the internal state quantity stored in the state quantity storage unit, and updates the internal state quantity;
The other state estimation means connected to the communication path comprises a state transmission means for transmitting the internal state quantity stored in the state quantity storage means as an external state quantity for the other state estimation means ,
At least one of the plurality of state estimation means includes a state update means for sequentially updating the internal state quantity stored in the state quantity storage means of the state estimation means based on the observation amount input from the outside,
Integrated state estimation, wherein at least one of the plurality of state estimation means includes an estimation amount output means for outputting an internal state quantity stored in a state quantity storage means of the state estimation means as an estimation quantity apparatus.
外部から入力される前記観測量に基づいて、前記状態量を内部状態量として記憶する状態量記憶手段において、当該内部状態量を逐次更新する状態更新手段、
前記通信路に接続された他の状態推定装置から送信される当該他の状態推定装置において分散して記憶されている内部状態量を外部状態量として受信する状態受信手段、
この状態受信手段で受信した外部状態量と、前記状態量記憶手段に記憶されている内部状態量とを統合して、当該内部状態量を更新する状態統合手段、
前記通信路に接続された他の状態推定装置に、前記状態量記憶手段に記憶されている内部状態量を、当該他の状態推定装置に対する外部状態量として送信する状態送信手段、
前記状態量記憶手段に記憶されている内部状態量を推定量として出力する推定量出力手段、
として機能させることを特徴とする状態推定プログラム。 A computer in the state estimation device used in an integrated state estimation system in which a plurality of state estimation devices connected to a communication path are used to integrate and estimate state amounts indicating the state of the observation target based on the observation amount of the observation target The
In a state quantity storage means for storing the state quantity as an internal state quantity based on the observed quantity input from the outside, a state update means for sequentially updating the internal state quantity,
A state receiving means for receiving, as an external state quantity, an internal state quantity distributed and stored in the other state estimation apparatus transmitted from the other state estimation apparatus connected to the communication path;
A state integration unit that integrates the external state quantity received by the state reception unit and the internal state quantity stored in the state quantity storage unit, and updates the internal state quantity;
State transmitting means for transmitting the internal state quantity stored in the state quantity storage means to the other state estimation apparatus connected to the communication path as an external state quantity for the other state estimation apparatus ;
Estimated amount output means for outputting the internal state quantity stored in the state quantity storage means as an estimated quantity;
A state estimation program characterized by functioning as
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005258206A JP4820132B2 (en) | 2005-09-06 | 2005-09-06 | State estimation device and program thereof, and integrated state estimation system and integrated state estimation device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005258206A JP4820132B2 (en) | 2005-09-06 | 2005-09-06 | State estimation device and program thereof, and integrated state estimation system and integrated state estimation device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2007072709A JP2007072709A (en) | 2007-03-22 |
| JP4820132B2 true JP4820132B2 (en) | 2011-11-24 |
Family
ID=37934094
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2005258206A Expired - Fee Related JP4820132B2 (en) | 2005-09-06 | 2005-09-06 | State estimation device and program thereof, and integrated state estimation system and integrated state estimation device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4820132B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5560154B2 (en) * | 2010-09-30 | 2014-07-23 | 日本放送協会 | Model parameter estimation apparatus and program thereof |
| JP5874996B2 (en) * | 2011-09-08 | 2016-03-02 | 国立大学法人九州工業大学 | Object motion estimation apparatus, object motion estimation method, and program |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4072017B2 (en) * | 2002-08-02 | 2008-04-02 | 日本放送協会 | State estimation device, method and program thereof, current state estimation device and future state estimation device |
-
2005
- 2005-09-06 JP JP2005258206A patent/JP4820132B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2007072709A (en) | 2007-03-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20200300633A1 (en) | Vision-aided inertial navigation | |
| EP2799902A1 (en) | Method and apparatus for the tracking of multiple objects | |
| KR102089681B1 (en) | Vehicle navigation on the basis of satellite positioning data and vehicle sensor data | |
| EP2385347B1 (en) | Method for defining a navigation system | |
| EP2730887B1 (en) | Shared state selection and data exchange for collaborative navigation using conditionally independent parallel filters | |
| WO2008056861A1 (en) | Apparatus for integrated navigation based on multi filter fusion and method for providing navigation information using the same | |
| Hasberg et al. | Simultaneous localization and mapping for path-constrained motion | |
| Al Bitar et al. | A novel approach for aiding unscented Kalman filter for bridging GNSS outages in integrated navigation systems | |
| Nettleton et al. | Multiple-platform localization and map building | |
| CN114894189B (en) | Hierarchical multi-layer multi-source fusion instant access navigation method and system | |
| CN114018250A (en) | Inertial navigation method, electronic device, storage medium, and computer program product | |
| Qian et al. | A posteriori estimation of stochastic model for multi-sensor integrated inertial kinematic positioning and navigation on basis of variance component estimation | |
| JP2024507381A (en) | Method for determining at least one system state using Kalman filter | |
| JP4820132B2 (en) | State estimation device and program thereof, and integrated state estimation system and integrated state estimation device | |
| Karadeniz Kartal et al. | Experimental test of the acoustic-based navigation and system identification of an unmanned underwater survey vehicle (SAGA) | |
| Colomina et al. | A unified approach to static and dynamic modeling in photogrammetry and remote sensing | |
| CN114659520A (en) | Pose determination method, pose determination apparatus, medium, and electronic device | |
| CN119845259A (en) | Vehicle-mounted high-precision positioning method based on virtual 3D speed self-adaptive constraint | |
| CN119845264A (en) | Dynamic scene positioning method and device based on known point cloud map | |
| CN110706194B (en) | A positioning method, device and mobile device | |
| JP2004224171A (en) | Satellite attitude determination device | |
| CN116051767A (en) | A three-dimensional map construction method and related equipment | |
| CN113987741A (en) | A multi-target data tracking method and system | |
| Carlson | Federated filter for multiplatform track fusion | |
| JP6946813B2 (en) | State estimator and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20061227 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080122 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110524 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110707 |
|
| 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: 20110809 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110902 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140909 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
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 |
|
| LAPS | Cancellation because of no payment of annual fees |