Abstract
Flows of transactions in digital control systems of robots are investigated. On the base of the fact, that uses the conception of Poisson character of transactions flow permits to simplify analytical simulation of robot control process, the problem of estimation the degree of approach of real flow to Poisson one is putted on. Proposed the criterion based on evaluation of expectation of waiting function. On the example of investigation of “competition” in the swarm of robots it is shown that flow of transactions, generated by swarm, when quantity of robots aspire to infinity approximately aspire to Poisson one.
Access provided by CONRICYT-eBooks. Download conference paper PDF
Similar content being viewed by others
Keywords
- Robot digital control system
- Transaction
- Poisson flow
- Non-poisson flow
- Regression
- Correlation
- Parametric criterion
- Pearson’s criterion
- Waiting function
1 Introduction
Functioning of mobile robots may be considered as sequence of switching from one state of onboard equipment to another under control of commands flow [1, 2]. States of robot may include interpretation of the programs by onboard computer [3, 4], receiving/generating transactions, execution the commands by mechanical or electronic units, service a queue of command [5, 6], support the dialogue with remote operator [7] etc. Below, all switches and interconnections will be called transactions. Transactions occur in the physical time. Time intervals between transactions for the external observer are random values [8]. So transactions form a flow. One of variety of flows is the stationary Poisson flow, which possesses an important property – absence of aftereffect [9, 10]. Use such a property permits substantially to simplify the modeling behavior of robots. So when working out robot’s digital control systems there is always emerges a question about a degree of approximation the real flow to Poisson flow. Methods of estimation of properties the flows of transactions are developed insufficiently, that explains the necessity and relevance of the work.
2 Quantitative Estimations of Approximation Degree of Transaction Flows to Poisson One
It is well known, that time intervals between transactions in Poisson flow are characterized with exponential distribution law [9,10,11]:
where T – is the expectation of time interval; t – is the time.
Regression criterion is based on estimation of standard-mean-square error as follows [12, 13]:
where \( g\left( t \right) \) – is the distribution under estimation.
Let \( g\left( t \right) = \delta \left( {t - T} \right) \), where \( \delta \left( {t - T} \right) \) – is Dirac δ-function. Then:
where
Thus criterion \( \varepsilon_{r} \) changes from 0 (flow without aftereffect) till ∞ (flow with deterministic link between transactions), and it has the dimension as [time−1].
Correlation criterion is as follows [14]:
This criterion changes from \( \frac{1}{2T} \) (flow without aftereffect) till \( \frac{1}{eT} \), where \( e = 2,718 \) (deterministic flow). With use the function:
Criterion may be done the non-dimensional one, and it fits the interval \( 0 \le \tilde{\varepsilon }_{c} \le 1 \).
Parametrical criterion is based on the next property of exponential low (1) [9,10,11]:
where \( D = \int\limits_{0}^{{\infty }} {\frac{{\left( {t - T} \right)^{2} }}{T}\exp \left( { - \frac{t}{T}} \right)} dt \) – is the dispersion of the law (1).
To obtain from the property (6) non-dimensional criterion, fitting the interval \( 0 \le \tilde{\varepsilon }_{c} \le 1 \), one should calculate the next function:
where \( T_{g} = \int\limits_{0}^{{\infty }} {tg\left( t \right)dt} \) and \( D_{g} = \int\limits_{0}^{{\infty }} {\left( {t - T_{g} } \right)g\left( t \right)dt} \) – are expectation and dispersion of density \( g\left( t \right). \)
In the case of experimental determining \( g\left( t \right) \) as a histogram:
where \( n_{i} \) – is quantity of results fitting the interval \( t_{i - 1} \le t < t_{i} , \) then estimation of proximity of \( f\left( t \right) \) and \( g\left( t \right) \) one should use Pearson’s criterion [15,16,17].
3 Criterion, Based on “Competition” Analysis
Let us consider transactions generation process as the “competition” of two subjects: external observer and transaction generator. Model of “competition” is the 2-parallel semi-Markov process, shown on the Fig. 1a.:
where \( A = \left\{ {a_{w1} ,\;a_{w2} ,\;a_{g1} ,\;a_{g2} ,\;} \right\} \) – is the set of states; \( a_{w1} ,a_{g1} \) – are the starting states; \( a_{w2} ,a_{g2} \) – are the absorbing states; \( {\mathbf{h}}\left( t \right) \) – is the semi-Markov matrix:
Let us consider the situation, when observer “wins” and at from the moment τ waits the event, when occurs the next transaction. For determine the waiting time let us construct on 2-parallel process M the ordinary semi-Markov process M′ (Fig. 1b):
where \( {{\rm A}^{\prime}} = {\rm A}\,{ \cup }\,{\rm B} \) – is the set of states; \( {\rm A} = \left\{ {\alpha_{1} ,\;\alpha_{2} ,\;\alpha_{3} } \right\} \) – is the subset of states, which simulate beginning and ending of wandering through semi-Markov process; \( \alpha_{1} \) – is the starting state; \( \alpha_{2} \) – is the absorbing state, which simulate “winning” of transaction generator; \( \alpha_{3} \) – is the absorbing state, which simulates end of waiting by the observer the event of generation transaction; \( {\rm B} = \left\{ {\beta_{1} ,\; \ldots ,\;\beta_{i} ,\; \ldots } \right\} \) – is the infinite set of states, which define time intervals for various situation of finishing of transaction generator; \( {\mathbf{h^{\prime}}}\left( t \right) = \left\{ {h^{\prime}_{m,n} \left( t \right)} \right\} \) – semi-Markov matrix, which define time intervals.
Elements \( h^{\prime}_{m,n} (t) \) are as follows: \( h^{\prime}_{m,n} (t) \) is the weighted density of time of finishing transaction generator if it “wins” the “competition”:
where \( {\text{W}}\left( {\text{t}} \right) = \int\limits_{0}^{\text{t}} {{\text{w}}\left( \theta \right){\text{d}}\theta } \) – is the distribution function; \( \theta \) – is an auxiliary variable;
\( h^{\prime}_{1,2 + i} (t),\;i = 1,2, \ldots \), are defined as weighted densities of time of finishing of observer exactly at the time τ, if he “wins” the “competition” and waits the transaction:
where \( \delta \left( {t - \tau } \right) \) – Dirac function; \( G(t) = \int\limits_{0}^{t} {g\left( \theta \right)d\theta } ;\;w\left( \tau \right)\left[ {1 - G\left( \tau \right)} \right]d\tau \) – probability of finishing the observer exactly at the time τ, if he “wins” the “competition”;
\( \frac{{\eta (t) \cdot g\left( {t + \tau } \right)}}{1 - G\left( \tau \right)} \) – is the density of time of residence semi-Markov process \( {\mathbf{h^{\prime}}}(t) \) in state Β, where η(t) – is the Heaviside function.
Thus, probability of hitting the process \( {\mathbf{h^{\prime}}}(t) \) to the state Β is as follows \( p_{{\alpha_{0} \beta }} = \int\limits_{0}^{\infty } {\left[ {1 - G\left( \tau \right)} \right]w\left( \tau \right)d\tau } = \int\limits_{0}^{\infty } {W(t)g(t)dt} \). Weighted density of time of waiting by observer the next transaction is equal to \( h_{w \to g} (t) = \eta (t)\int\limits_{0}^{\infty } {w\left( \tau \right)g\left( {t + \tau } \right)d\tau } \). Pure density is as follows:
Let us consider function \( f_{w \to g} \left( t \right) \) behavior when \( g(t) = \frac{1}{{T_{g} }}\exp \left( { - \frac{t}{{T_{g} }}} \right) \) (flow of transactions without aftereffect) and when \( g\left( t \right) = \delta \left( {t - T_{g} } \right) \) (flow with deterministic link between transactions).
Formula (14) for the first case is as follows:
Formula (14) for the second case is as follows:
Suppose that \( w\left( t \right) \) have range of definition \( T_{w\,\hbox{min} } { \le arg}\,w\left( t \right) \le T_{w\,\hbox{max} } \) and expectation \( T_{w\,\hbox{min} } \le T_{w} \le T_{w\,\hbox{max} } . \) In dependence of location \( w(t) \) and \( g(t) \) onto time axis, it is possible next cases:
-
(a)
\( T_{g} < T_{w\hbox{min} } \). In this case (14) is senseless.
-
(b)
\( T_{w\hbox{min} } \le T_{g} \le T_{w\hbox{max} } \). In this case \( f_{w \to g} (t) \) is defined as (16), range of definition is \( 0 \le \,\arg \left[ {f_{w \to g} \left( t \right)} \right] \le T_{g} - T_{w\hbox{min} } , \) and \( \int\limits_{0}^{{\infty }} {tf_{w \to g} \left( t \right)dt} \le T_{g} \).
-
(c)
\( T_{g} > T_{w\hbox{max} } \). In this case \( f_{w \to g} (t) = w(T_{g} - t) \), \( T_{g} - T_{w\hbox{max} } \le \,\arg \left[ {f_{w \to g} \left( t \right)} \right] \le T_{g} - T_{w\hbox{min} } \), and \( \int\limits_{0}^{{\infty }} {tf_{w \to g} \left( t \right)dt} \le T_{g} \).
For this case density of waiting time by Dirac function when transaction occurs is as follows:
Expectation of \( f_{\delta \to g} \left( t \right) \) is as follows:
So, the criterion, based on “competition” analysis, is as follows:
where \( T_{g} \) – is the expectation of density \( g\left( t \right) = \delta \left( {t - T_{g} } \right) \); \( T_{\delta \to g} \) – is the expectation of density \( f_{\delta \to g} \left( t \right) \). For the exponential law:
Let us investigate behavior of \( T_{\delta \to g} \). For that let us expectation of \( g\left( t \right) \) as (Fig. 2):
where \( p_{1g} = \int\limits_{0}^{T} {g\left( t \right)dt} ;\quad p_{2g} = \int\limits_{T}^{{\infty }} {g\left( t \right)dt} \).
If \( g\left( t \right) = f\left( t \right) \), then \( p_{1f} = \frac{e - 1}{e};\;p_{2f} = \frac{1}{e};\;T_{1f} = T\frac{e - 2}{e - 1} \) and from equation:
follows that:
If \( g\left( t \right) \ne f\left( t \right) \) then from (21) follows that:
4 Example
As an example let us consider the case, when transaction flow is formed as a result of competition inside the swarm of robots, when common quantity of robots is equal to K. Time from the start of observation and transaction, formed by k-th robot, \( 1 \le k \le K \), is defined with identical uniform lows. Forming the flow of transactions may be simulate with K-parallel semi-Markov process:
where \( A^{K} = \left\{ {a_{ 1 1} ,\; \ldots ,\;a_{k 1} ,\; \ldots ,\;a_{K 1} ,\;a_{ 1 2} ,\; \ldots ,\;a_{k 2} ,\; \ldots ,\;a_{K 2} } \right\} \) – is the set of states; \( a_{ 1 1} ,\; \ldots ,\;a_{k 1} ,\; \ldots ,\;a_{K 1} \) – is the subset of starting states; \( a_{ 1 2} ,\; \ldots ,\;a_{k 2} ,\; \ldots ,\;a_{K 2} \) – is the subset of absorbing states; \( {\mathbf{h}}^{K} \left( t \right) \) – semi-Markov matrix, kk-th elements of the main diagonal of which is equal to \( \left[ {\begin{array}{*{20}c} 0 & {v_{k} \left( t \right)} \\ 0 & 0 \\ \end{array} } \right] \), and other elements are equal to zeros (Fig. 3):
K-parallel process starts from all states of subset \( a_{ 1 1} ,\; \ldots ,\;a_{k 1} ,\; \ldots ,\;a_{K 1} \) contemporaneously. Transaction is generated when one of ordinary semi-Markov processes gets the state from the subset \( a_{ 1 2} ,\; \ldots ,\;a_{k 2} ,\; \ldots ,\;a_{K 2} . \) In accordance with theorem by Grigelionis [18] when \( K \to \infty \) flow of transactions approaches to Poisson one.
Density of time when at least one of robot of swarm generates transaction is as follows:
where:
For this case:
Expectation of (27) is as follows:
Exponential law, which define Poisson flow of transactions is as follows:
For waiting function:
I.e. with increasing K law approaches to exponential, in accordance with B. Grigelionis theorem. Densities are shown on the Fig. 4. Already at K = 0,012 what can be considered as a good approximation.
5 Conclusion
In such a way criteria with which may be estimated degree of approach of transaction flow in robotic system to Poisson flow were investigated. Criterion, based on calculation of the waiting time, is proposed, as one, which gives good representation about properties of flow of transactions, and have respectively low runtime when estimation.
Further investigation in the domain may be directed to description of method of calculations when processing statistics of time interval in a flow. Other research may concern the errors, to which leads the modeling of robot with non-Poisson character of transactions flows, when Poisson flows conception was laid into the base of simulation.
References
Tzafestas, S.G.: Introduction to Mobile Robot Control. Elsevier, Amsterdam (2014)
Kahar1, S., Sulaiman1, R., Prabuwono1, A.S., Akma, N., Ahmad, S.A., Abu Hassan, M.A.: A review of wireless technology usage for mobile robot controller. In: International Conference on System Engineering and Modeling (ICSEM 2012), International Proceedings of Computer Science and Information Technology IPCSIT, vol. 34, pp. 7–12 (2012)
Thrun, S., Burgard, W., Fox, D.: Probabilistic Robotics. Intelligent Robotics and Autonomous Agents series. MIT Press, Cambridge (2005)
Ching, W.-K., Huang, X., Ng, M.K., Siu, T.K.: Markov Chains: Models, Algorithms and Applications. International Series in Operations Research & Management Science, vol. 189. Springer Science+Business Media New York, New York (2013)
Pang, G., Zhou, Y.: Two-parameter process limits for an infinite-server queue with arrival dependent service times. Stoch. Process. Appl. 127(5), 1375–1416 (2017)
Mathijsen, B., Zwart, B.: Transient error approximation in a Lévy queue. Queueing Syst. 85(3), 269–304 (2017)
Larkin, E.V., Ivutin, A.N., Kotov, V.V., Privalov, A.N.: Interactive generator of commands. In: Tan, Y., Shi, Y., Li, L. (eds.) ICSI 2016. LNCS, vol. 9713, pp. 601–609. Springer, Cham (2016). doi:10.1007/978-3-319-41009-8_65
Limnios, N., Swishchuk, A.: Discrete-time semi-Markov random evolutions and their applications. Adv. Appl. Probab. 45(1), 214–240 (2013)
Markov, A.A.: Extension of the law of large numbers to dependent quantities. Izvestiia Fiz.-Matem 2, 135–156 (1906)
Lu, H., Pang, G., Mandjes, M.: A functional central limit theorem for Markov additive arrival processes and its applications to queueing systems. Queueing Syst. 84(3), 381–406 (2016)
Bielecki, T.R., Jakubowski, J., Niewęgłowski, M.: Conditional Markov chains: properties, construction and structured dependence. Stoch. Process. Appl. 127(4), 1125–1170 (2017)
Maronna, R.M., Victor, J., Yohai, V.J.: Robust functional linear regression based on splines. Comput. Stat. Data Anal. 65, 46–55 (2013)
Muler, N., Yohai, V.J.: Robust estimation for vector autoregressive models. Comput. Stat. Data Anal. 65, 68–79 (2013)
Rank, M.K.: Correlation Methods, vol. 196. Charles Griffin & Company, London (1955)
Boos, D.D., Stefanski, L.A.: Essential Statistical Inference: Theory and Methods, vol. 568 (XVII). Springer, New York (2013)
Wang, B., Wertelecki, W.: Density estimation for data with rounding errors. Comput. Stat. Data Anal. 65, 4–12 (2013)
Luedicke, J., Bernacchia, A.: Self-consistent density estimation. Stata J. 14(2), 237–258 (2014)
Grigelionis, B.: On the convergence of sums of random step processes to a Poisson process. Theory Probab. 8, 177–182 (1963)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2017 Springer International Publishing AG
About this paper
Cite this paper
Larkin, E., Bogomolov, A., Gorbachev, D., Privalov, A. (2017). About Approach of the Transactions Flow to Poisson One in Robot Control Systems. In: Ronzhin, A., Rigoll, G., Meshcheryakov, R. (eds) Interactive Collaborative Robotics. ICR 2017. Lecture Notes in Computer Science(), vol 10459. Springer, Cham. https://doi.org/10.1007/978-3-319-66471-2_13
Download citation
DOI: https://doi.org/10.1007/978-3-319-66471-2_13
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-66470-5
Online ISBN: 978-3-319-66471-2
eBook Packages: Computer ScienceComputer Science (R0)