METHOD AND SYSTEM FOR SOLVING RIGID BODY ATTITUDE BASED ON FUNCTIONAL ITERATIVE INTEGRATION

Information

  • Patent Application
  • 20210048297
  • Publication Number
    20210048297
  • Date Filed
    March 29, 2018
    6 years ago
  • Date Published
    February 18, 2021
    3 years ago
Abstract
A method for solving rigid body attitude based on functional iterative integration includes: fitting a Chebyshev polynomial function for an angular velocity according to gyro measurement values in a time interval; iteratively calculating a Chebyshev polynomial coefficient for a Rodrigues vector by using the obtained Chebyshev polynomial coefficient for the angular velocity and a Rodrigues vector integral equation, and performing polynomial truncation on the result at each iterative calculation according to a preset order; and calculating the Rodrigues vector according to the Chebyshev polynomial coefficient for the Rodrigues vector and the corresponding Chebyshev polynomial, so as to obtain attitude profile in the time interval in a form of quaternion. A system for solving rigid body attitude based on functional iterative integration includes a fitting module, an iterating module, and an attitude computation module.
Description
TECHNICAL FIELD

The present invention relates to the field of test and measurement technology, and more particularly, to a method and system for solving rigid body attitude based on functional iterative integration.


BACKGROUND

Calculation or estimation of rigid body motion in three-dimensional space is a core issue in many fields such as physics, robotic, navigation, machinery, computer vision and so on. Unlike the translational motion such as velocity and position, attitude cannot be measured directly and can only be obtained by indirect methods such as angular velocity integration or vector matching. Attitude calculation by angular velocity integration is completely autonomous, which does not need assistance from external information, so it is preferable in many applications, such as those where satellite navigation systems cannot work.


Recently, researchers in the art have proposed several attitude computation methods with high accuracy. The Chinese patent application No. 201710273489.3 proposes a method for solving rigid body attitude based on functional iterative integration, which includes: fitting a polynomial function for an angular velocity based on gyro measurement values in a time interval; iteratively calculating a Rodrigues vector by using the fitted polynomial function for the angular velocity and a Rodrigues vector integral equation; and then obtaining attitude profile in the time interval in a form of quaternion according to the iteration result. The method has an advantage of high calculation accuracy, but it does not make full use of characteristics of Chebyshev polynomial in the iterative process, and the order of the polynomial for the Rodrigues vector increases rapidly as the iterative process advances and thus the amount of calculation is huge, which is difficult to fulfill the real-time applications. For example, in a case that the polynomial for the angular velocity is fitted by using eight gyro measurement values, the order of the polynomial for the Rodrigues vector would be more than one thousand at the 7th iteration. In fact, due to errors in angular velocity measurement, it is unnecessary to adopt such a high-order polynomial for the Rodrigues vector.


SUMMARY

To solve the above technical problems in the prior art, the present invention aims to provide a method and system for solving rigid body attitude based on functional iterative integration.


The present invention provides a method for solving rigid body attitude based on functional iterative integration, including:


fitting step: fitting a Chebyshev polynomial function for an angular velocity according to gyro measurement values in a time interval;


iteration step: iteratively calculating a Chebyshev polynomial coefficient for a Rodrigues vector by using the obtained Chebyshev polynomial coefficient for the angular velocity and a Rodrigues vector integral equation, and performing polynomial truncation on a result at each iterative calculation according to a preset order; and


attitude computation step: calculating the Rodrigues vector according to the Chebyshev polynomial coefficient for the Rodrigues vector and a corresponding Chebyshev polynomial, so as to obtain attitude profile in the time interval in a form of quaternion.


Preferably, the gyro measurement values include angular velocity measurement values or angular increment measurement values.


Preferably, the fitting step specifically includes:


with respect to N angular velocity measurement values {tilde over (ω)}tk or angular increment measurement values Δ{tilde over (θ)}tk at time tk, k=1, 2, . . . N, let







t
=



t
N

2



(

1
+
τ

)



,




mapping an original time interval to [−1 1]; and approximately fitting the angular velocity with a Chebyshev polynomial of an order of no greater than N−1:








ω
^

=




i
=
0

n








c
i




F
i



(
τ
)





,

n


N
-
1


,




where, n denotes the order of the Chebyshev polynomial for the angular velocity, ci denotes a coefficient vector of an ith order Chebyshev polynomial, Fi(τ) denotes an ith order Chebyshev polynomial of a first type, and τ denotes a mapped time variable.


Preferably, the iterating step specifically includes:


at an lth iterative calculation, adopting the following equation to calculate the Chebyshev polynomial for the Rodrigues vector:









g
^

l

=




i
=
0


n
T









b

l
,
i





F
i



(
τ
)





,




where, nT is a preset truncation order, bl,i is a coefficient of the ith order Chebyshev polynomial at the lth iterative calculation, and gl=0 when l=0.


Preferably, the Chebyshev polynomial coefficient for the Rodrigues vector is iteratively calculated as follows:









g
^


l
+
1


=



t
N

2



(









i
=
0

n








c
i



G

i
,

[


-
1






τ

]





+


1
4






i
=
0


n
T











j
=
0

n








b

l
,
i


×


c
j



(


G


i
+
j

,

[


-
1






τ

]



+

G




i
-
j



,

[


-
1






τ

]




)






+












1
16






i
=
0


n
T











j
=
0


n
T











k
=
0

n








b

l
,
i




b

l
,
j

T




c
k



(


G


i
+
j
+
k

,

[


-
1






τ

]



+

G




i
+
j
-
k



,

[


-
1






τ

]



+

G





i
-
j



+
k

,

[


-
1






τ

]



+

G







i
-
j



-
k



,

[


-
1






τ

]




)










)



,






=
Δ







i
=
0



2


n
T


+
n
+
1









b


l
+
1

,
i





F
i



(
τ
)








polynomial





truncation







i
=
0


n
T









b


l
+
1

,
i





F
i



(
τ
)










iterative calculation is performed until a convergence condition is satisfied or a preset maximum number of iterations is reached; as an approximation accuracy of the polynomial for the angular velocity does not exceed the order of N−1, a truncation order is set as nT≥N.


A system for solving rigid body attitude based on functional iterative integration according to the present invention, including:


a fitting module, wherein the fitting module is configured to fit a Chebyshev polynomial function for an angular velocity according to gyro measurement values in a time interval;


an iterating module, wherein the iterating module is configured to iteratively calculate a Chebyshev polynomial coefficient for a Rodrigues vector by using the obtained Chebyshev polynomial coefficient for the angular velocity and a Rodrigues vector integral equation, and perform polynomial truncation on a result at each iterative calculation according to a preset order; and


an attitude computation module, wherein the attitude computation module is configured to calculate the Rodrigues vector according to the Chebyshev polynomial coefficient for the Rodrigues vector and a corresponding Chebyshev polynomial, so as to obtain attitude profile in the time interval in a form of quaternion.


Preferably, the gyro measurement values include angular velocity measurement values or angular increment measurement values.


Preferably, with respect to N angular velocity measurement values {tilde over (ω)}tk or angular increment measurement values Δ{tilde over (θ)}tk at time tk, k=1, 2, . . . N, let







t
=



t
N

2



(

1
+
τ

)



,




the fitting module is specifically configured to map an original time interval to [−1 1] and approximately fit the angular velocity with a Chebyshev polynomial of an order of no greater than N−1:








ω
^

=




i
=
0

n








c
i




F
i



(
τ
)





,

n


N
-
1


,




where, n denotes the order of the Chebyshev polynomial for the angular velocity, ci denotes a coefficient vector of an ith order Chebyshev polynomial, Fi(τ) denotes an ith order Chebyshev polynomial of a first type, and τ denotes a mapped time variable.


Preferably, the iteration module is specifically configured to adopt the following equation to calculate the Chebyshev polynomial for the Rodrigues vector at an lth iterative calculation:









g
^

l

=




i
=
0


n
T









b

l
,
i





F
i



(
τ
)





,




where, nT denotes a preset truncation order, bl,i denotes a coefficient of the ith order Chebyshev polynomial at the lth iterative calculation, and gl=0 when l=0.


Preferably, the Chebyshev polynomial coefficient for the Rodrigues vector is iteratively calculated as follows:









g
^


l
+
1


=



t
N

2



(









i
=
0

n








c
i



G

i
,

[


-
1






τ

]





+


1
4






i
=
0


n
T











j
=
0

n








b

l
,
i


×


c
j



(


G


i
+
j

,

[


-
1






τ

]



+

G




i
-
j



,

[


-
1






τ

]




)






+












1
16






i
=
0


n
T











j
=
0


n
T











k
=
0

n








b

l
,
i




b

l
,
j

T




c
k



(


G


i
+
j
+
k

,

[


-
1






τ

]



+

G




i
+
j
-
k



,

[


-
1






τ

]



+

G





i
-
j



+
k

,

[


-
1






τ

]



+

G







i
-
j



-
k



,

[


-
1






τ

]




)










)



,






=
Δ







i
=
0



2


n
T


+
n
+
1









b


l
+
1

,
i





F
i



(
τ
)








polynomial





truncation







i
=
0


n
T









b


l
+
1

,
i





F
i



(
τ
)










iterative calculation is performed until a convergence condition is satisfied or a preset maximum number of iterations is reached; as an approximation accuracy of the polynomial for the angular velocity does not exceed the order of N−1, a truncation order is set as nT≥N.


Compared with the prior art, the present invention has the following advantages.


The present invention is provided based on the technique of function iterative integration, which uses the Rodrigues vector to realize fast attitude reconstruction from gyro measurement. Attitude reconstruction based on gyro measurement adopts the Chebyshev polynomial with good numerical characteristics, transforms the iterative integration of Rodrigues vector into the iterative calculation of the corresponding Chebyshev polynomial coefficients, and then adopts an order truncation method to increase the calculation speed without significantly reducing the calculation accuracy.





BRIEF DESCRIPTION OF THE DRAWING

Other features, objects, and advantages of the present invention will become more apparent, upon reading the detailed description of the non-limiting embodiments with reference to the following drawings.


FIGURE is a flowchart illustrating the present invention.





DETAILED DESCRIPTION OF THE EMBODIMENTS

The present invention will be described in detail hereinafter with reference to specific embodiments. The following embodiments are described for facilitating those skilled in the art to further understand the present invention, but do not intend to limit the present invention in any way. It should be noted that, for those having ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and such variations and improvements shall fall within the scope of protection of the present invention.


As shown in FIGURE, the method for solving rigid body attitude based on functional iterative integration includes:


1) fitting step: a Chebyshev polynomial function for an angular velocity is fitted according to gyro measurement values in a time interval;


2) iterating step: a Chebyshev polynomial coefficient for a Rodrigues vector is iteratively calculated by using the obtained Chebyshev polynomial coefficient for the angular velocity and a Rodrigues vector integral equation, and polynomial truncation is performed on the result obtained at each iterative calculation according to a preset order; and


3) attitude computation step: the Rodrigues vector is calculated according to the Chebyshev polynomial coefficient for the Rodrigues vector and the corresponding Chebyshev polynomial, so as to obtain attitude profile in the time interval in a form of quaternion.


The Chebyshev polynomial of the first type is defined on an interval [−1 1] and is given by the following iterative relationship:






F
0(x)=1, F1(x)=x, Fi+1(x)=2xFi(x)−Fi−1(x)


where, Fi(x) denotes the ith order Chebyshev polynomial of the first type.


In step 1), the Chebyshev polynomial function for the angular velocity is fitted according to gyro measurement values in the time interval.


With respect to N angular velocity measurement values {tilde over (ω)}tk or angular increment measurement values Δ{tilde over (θ)}tk at time tk, k=1, 2, . . . N, let







t
=



t
N

2



(

1
+
τ

)



,




the original time interval is mapped to [−1 1]. The angular velocity is approximately fitted by a Chebyshev polynomial with an order of no greater than N−1:











ω
^

=




i
=
0

n








c
i




F
i



(
τ
)





,

n


N
-
1






(
1
)







where, n denotes the order of the Chebyshev polynomial for the angular velocity, ci denotes a coefficient vector of the ith order Chebyshev polynomial, Fi(τ) denotes the ith order Chebyshev polynomial of the first type, and τ denotes the mapped time variable.


In case of angular velocity measurement, the coefficient ci is determined by solving the following equation:












A
ω



[




c
0
T






c
1
T











c
n
T




]




=
Δ





[



1




F
1



(

τ
1

)









F
n



(

τ
1

)






1




F
1



(

τ
2

)









F
n



(

τ
2

)




















1




F
1



(

τ
N

)









F
n



(

τ
N

)





]



[




c
0
T






c
1
T











c
n
T




]


=

[





ω
^


t
1

T







ω
^


t
2

T












ω
^


t
N

T




]



,




[




c
0
T






c
1
T











c
n
T




]

=


A
ω

-
1




[





ω
^


t
1

T







ω
^


t
2

T












ω
^


t
N

T




]








(
2
)







In case of angular increment measurement, the coefficient ci is determined by solving the following equation:












A
θ



[




c
0
T






c
1
T











c
n
T




]




=
Δ





[




G

0
,

[


τ
0







τ
1


]






G

1
,

[


τ
0







τ
1


]









G

n
,

[


τ
0







τ
1


]








G

0
,

[


τ
1







τ
2


]






G

1
,

[


τ
1







τ
2


]









G

n
,

[


τ
1







τ
2


]






















G

0
,

[


τ

N
-
1








τ
N


]






G

1
,

[


τ

N
-
1








τ
N


]









G

n
,

[


τ

N
-
1








τ
N


]






]



[




c
0
T






c
1
T











c
n
T




]


=


2

t
N




[




Δ







θ
~


t
1

T







Δ



θ
~


t
2

T












Δ



θ
~


t
N

T





]




,


[




c
0
T






c
1
T











c
n
T




]

=


2

t
N





A
θ

-
1




[




Δ







θ
~


t
1

T







Δ



θ
~


t
2

T












Δ



θ
~


t
N

T





]








(
3
)







where, T denotes the operation of vector transpose or matrix transpose, and the function Gi,[τk−1τk] is defined as follows:










G

i
,

[


τ

k
-
1








τ
k


]



=

{






(




iF

i
+
1




(

τ
k

)




i
2

-
1


-



τ
k




F
i



(

τ
k

)




i
-
1



)

-

(




iF

i
+
1




(

τ

k
-
1


)




i
2

-
1


-



τ

k
-
1





F
i



(

τ

k
-
1


)




i
-
1



)


,




i

1









τ
k
2

-

τ

k
-
1

2


2

,




i
=
1









(
4
)







In step 2), the Chebyshev polynomial coefficient for the Rodrigues vector is iteratively calculated by using the obtained Chebyshev polynomial coefficient for the angular velocity and the Rodrigues vector integral equation, and polynomial truncation is performed on the result obtained at each iterative calculation according to a preset truncation order.


At the lth iterative calculation, the Chebyshev polynomial for the Rodrigues vector is expressed as follows:











g
^

l

=




i
=
0


n
T









b

l
,
i





F
i



(
τ
)








(
5
)







where, nT denotes a preset truncation order, bi,j denotes a coefficient of the ith order Chebyshev polynomial at the lth iterative calculation, and gl=0 when l=0. The Chebyshev polynomial coefficient for the Rodrigues vector is iteratively calculated as follows:











g
^


l
+
1


=




t
N

2



(









i
=
0

n








c
i



G

i
,

[


-
1






τ

]





+


1
4






i
=
0


n
T











j
=
0

n








b

l
,
i


×


c
j



(


G


i
+
j

,

[


-
1






τ

]



+

G




i
-
j



,

[


-
1






τ

]




)






+












1
16






i
=
0


n
T











j
=
0


n
T











k
=
0

n








b

l
,
i




b

l
,
j

T




c
k



(


G


i
+
j
+
k

,

[


-
1






τ

]



+

G




i
+
j
-
k



,

[


-
1






τ

]



+

G





i
-
j



+
k

,

[


-
1






τ

]



+

G







i
-
j



-
k



,

[


-
1






τ

]




)










)








=
Δ







i
=
0



2


n
T


+
n
+
1









b


l
+
1

,
i





F
i



(
τ
)








polynomial





truncation







i
=
0


n
T









b


l
+
1

,
i





F
i



(
τ
)










(
6
)







The iterative calculation is performed until a convergence condition is satisfied or a preset maximum number of iterations is reached. In the above equation, × denotes the vector cross multiplication. According to equation (1), as the approximation accuracy of the polynomial for the angular velocity does not exceed the order of N−1, the truncation order is set as nT≥N.


In step 3), the Rodrigues vector is calculated according to the Chebyshev polynomial coefficient for the Rodrigues vector and the corresponding Chebyshev polynomial, so as to obtain the attitude quaternion with respect to the start of the time interval.


The Rodrigues vector is calculated with reference to equation (5) according to the Chebyshev polynomial coefficient for the Rodrigues vector and the corresponding Chebyshev polynomial, so as to obtain the attitude quaternion with respect to the start of the time interval.









q
=


2
+
g



4
+



g


2








(
7
)







As for attitude calculation in a large time interval, the large time interval may be divided into several small time intervals and the calculation may be performed for such small time intervals sequentially.


In principle, if a certain accuracy loss can be accepted, the method of fast attitude computation presented in the present invention is also applicable to other three-dimensional attitude parameters, such as the rotation vector. In this case, it is necessary to make corresponding adjustments to the equation (6) in step 2) and equation (7) in step 3) as follows.


In step 2), the Chebyshev polynomial coefficient for the rotation vector can be iteratively calculated as follows:











g
^


l
+
1


=




t
N

2



(









i
=
0

n








c
i



G

i
,

[


-
1






τ

]





+


1
2






i
=
0


n
T











j
=
0

n








b

l
,
i


×


c
j



(


G


i
+
j

,

[


-
1






τ

]



+

G




i
-
j



,

[


-
1






τ

]




)






+












1
12






i
=
0


n
T











j
=
0


n
T











k
=
0

n








[


b

l
,
i


×

(


b

l
,
j


×

c
k


)


]



(


G


i
+
j
+
k

,

[


-
1






τ

]



+

G




i
+
j
-
k



,

[


-
1






τ

]



+

G





i
-
j



+
k

,

[


-
1






τ

]



+

G







i
-
j



-
k



,

[


-
1






τ

]




)









)








=
Δ







i
=
0



2


n
T


+
n
+
1









b


l
+
1

,
i





F
i



(
τ
)








polynomial





truncation







i
=
0


n
T









b


l
+
1

,
i





F
i



(
τ
)










(
8
)







In step 3), the rotation vector is calculated according to the Chebyshev polynomial coefficient for the rotation vector and the corresponding Chebyshev polynomial, so as to obtain an attitude quaternion with respect to the start of the time interval.









q
=


cos




g


2


+


g


g




sin




g


2







(
9
)







In addition to the rigid body attitude computation based on functional iterative integration, the present invention further provides a system for solving rigid body attitude based on functional iterative integration, including:


a fitting module, wherein the fitting module is configured to fit a Chebyshev polynomial function for an angular velocity according to gyro measurement values in a time interval;


an iterating module, wherein the iterating module is configured to iteratively calculate a Chebyshev polynomial coefficient for a Rodrigues vector by using the obtained Chebyshev polynomial coefficient for the angular velocity and a Rodrigues vector integral equation, and perform polynomial truncation on the result obtained at each iterative calculation according to a preset order; and


an attitude computation module, wherein the attitude computation module is configured to calculate the Rodrigues vector according to the Chebyshev polynomial coefficient for the Rodrigues vector and the corresponding Chebyshev polynomial, so as to obtain attitude profile in the time interval in a form of quaternion.


Specifically, with respect to N angular velocity measurement values {tilde over (ω)}tk or angular increment measurement values Δ{tilde over (θ)}tk at time tk, k=1, 2, . . . N, let







t
=



t
N

2



(

1
+
τ

)



,




the fitting module is configured to map the original time interval to [−1 1] and approximately fit the angular velocity with a Chebyshev polynomial of an order of no greater than N−1:











ω
^

=




i
=
0

n








c
i




F
i



(
τ
)





,

n


N
-
1






(
10
)







where, n denotes the order of the Chebyshev polynomial for the angular velocity, ci denotes the coefficient vector of the ith order Chebyshev polynomial, Fi(τ) denotes an order Chebyshev polynomial of the first type, and τ denotes the mapped time variable.


In case of angular velocity measurement, the coefficient ci is determined by solving the following equation:












A
ω



[




c
0
T






c
1
T











c
n
T




]




=
Δ





[



1




F
1



(

τ
1

)









F
n



(

τ
1

)






1




F
1



(

τ
2

)









F
n



(

τ
2

)




















1




F
1



(

τ
N

)









F
n



(

τ
N

)





]



[




c
0
T






c
1
T











c
n
T




]


=

[





ω
^


t
1

T







ω
^


t
2

T












ω
^


t
N

T




]



,




[




c
0
T






c
1
T











c
n
T




]

=


A
ω

-
1




[





ω
^


t
1

T







ω
^


t
2

T












ω
^


t
N

T




]








(
11
)







In case of angular increment measurement, the coefficient ci is determined by solving the following equation:












A
θ



[




c
0
T






c
1
T











c
n
T




]




=
Δ





[




G

0
,

[


τ
0







τ
1


]






G

1
,

[


τ
0







τ
1


]









G

n
,

[


τ
0







τ
1


]








G

0
,

[


τ
1







τ
2


]






G

1
,

[


τ
1







τ
2


]









G

n
,

[


τ
1







τ
2


]






















G

0
,

[


τ

N
-
1








τ
N


]






G

1
,

[


τ

N
-
1








τ
N


]









G

n
,

[


τ

N
-
1








τ
N


]






]



[




c
0
T






c
1
T











c
n
T




]


=


2

t
N




[




Δ







θ
~


t
1

T







Δ



θ
~


t
2

T












Δ



θ
~


t
N

T





]




,


[




c
0
T






c
1
T











c
n
T




]

=


2

t
N





A
θ

-
1




[




Δ







θ
~


t
1

T







Δ



θ
~


t
2

T












Δ



θ
~


t
N

T





]








(
12
)







where, T denotes the operation of vector transpose or matrix transpose, and the function Gi,[τk−1τk] is defined as follows:










G

i
,

[


τ

k
-
1




τ
k


]



=

{






(



i



F

i
+
1




(

τ
k

)





i
2

-
1


-



τ
k




F
i



(

τ
k

)




i
-
1



)

-

(



i



F

i
+
1




(

τ

k
-
1


)





i
2

-
1


-



τ

k
-
1





F
i



(

τ

k
-
1


)




i
-
1



)






,




i

1









τ
k
2

-

τ

k
-
1

2


2

,




i
=
1









(
13
)







Specifically, the iterating module iteratively calculates the Chebyshev polynomial for Rodrigues vector as follows.


At the lth iterative calculation, the Chebyshev polynomial for the Rodrigues vector is expressed as follows:











g
^

l

=




i
=
0


n
T





b

l
,
i





F
i



(
τ
)








(
14
)







where, nT denotes a preset truncation order, bl,i denotes a coefficient of the ith order Chebyshev polynomial at the lth iterative calculation, and gl=0 when l=0.


The Chebyshev polynomial coefficient for the Rodrigues vector is iteratively calculated as follows:














g
^


l
+
1


=





t
N

2



(








i
=
0

n








c
i



G

i
,

[


-
1


τ

]





+


1
4






i
=
0


n
T







j
=
0

n




b

l
,
i


×


c
j



(


G


i
+
j

,

[


-
1


τ

]



+

G




i
-
j



,

[


-
1


τ

]




)






+







1
16






i
=
0


n
T







j
=
0


n
T







k
=
0

n




b

l
,
i




b

l
,
j

T




c
k



(


G


i
+
j
+
k

,

[


-
1


τ

]



+

G




i
+
j
-
k



,

[


-
1


τ

]



+

G





i
-
j



+
k

,

[


-
1


τ

]



+

G





i
-
j



-
k

,

[


-
1


τ

]




)










)









=










i
=
0



2






n
T


+
n
+
1









b


l
+
1

,
i





F
i



(
τ
)








polynomial





truncation







i
=
0


n
T









b


l
+
1

,
i





F
i



(
τ
)












(
15
)







The iterative calculation is performed until a convergence condition is satisfied or a preset maximum number of iterations is reached. In the above equation, × denotes the vector cross multiplication. According to equation (10), as the approximation accuracy of the polynomial for the angular velocity does not exceed an order of N−1, the truncation order is set as nT≥N.


The attitude computation module is configured to calculate the Rodrigues vector according to the Chebyshev polynomial coefficient for the Rodrigues vector and the corresponding Chebyshev polynomial, so as to obtain the attitude quaternion with respect to the start of the time interval.


The Rodrigues vector is calculated with reference to equation (14) according to the Chebyshev polynomial coefficient for the Rodrigues vector and the corresponding Chebyshev polynomial, so as to obtain the attitude quaternion with respect to the start of the time interval.









q
=


2
+
g



4
+



g


2








(
16
)







As for attitude calculation in a large time interval, the large time interval may be divided into several small time intervals and the calculation may be performed for such small time intervals sequentially.


In principle, if a certain accuracy loss can be accepted, the system of fast attitude computation presented in the present invention is also applicable to other three-dimensional attitude parameters, such as the rotation vector. In this case, it is necessary to make corresponding adjustments to the equations (15) and (16) as follows.


The iterating module iteratively calculates the Chebyshev polynomial coefficients for the rotation vector as follows:














g
^


l
+
1


=





t
N

2



(








i
=
0

n








c
i



G

i
,

[


-
1


τ

]





+


1
2






i
=
0


n
T







j
=
0

n




b

l
,
i


×


c
j



(


G


i
+
j

,

[


-
1


τ

]



+

G




i
-
j



,

[


-
1


τ

]




)






+







1
12






i
=
0


n
T







j
=
0


n
T







k
=
0

n




[


b

l
,
i


×

(


b

l
,
j


×

c
k


)


]



(


G


i
+
j
+
k

,

[


-
1


τ

]



+

G




i
+
j
-
k



,

[


-
1


τ

]



+

G





i
-
j



+
k

,

[


-
1


τ

]



+

G





i
-
j



-
k

,

[


-
1


τ

]




)









)









=










i
=
0



2






n
T


+
n
+
1









b


l
+
1

,
i





F
i



(
τ
)








polynomial





truncation







i
=
0


n
T









b


l
+
1

,
i





F
i



(
τ
)












(
17
)







The attitude computation module calculates the rotation vector according to the Chebyshev polynomial coefficient for the rotation vector and the corresponding Chebyshev polynomial, so as to obtain an attitude quaternion with respect to the start of the time interval.









q
=


cos




g


2


+


g


g




sin




g


2







(
18
)







Those skilled in the art shall understand that, in addition to implementing the system and its various devices, modules and units according to the present invention in a pure computer-readable program code, they may also be implemented to realize the same functions in form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like, by performing logic programming on the steps of the method. Therefore, the system and its various devices, modules and units provided by the present invention may be regarded as hardware components, and the devices, modules and units included therein for realizing various functions can also be regarded as structures within the hardware component. Besides, the devices, the modules and the units for realizing various functions can also be regarded as software modules, or structures within hardware components for implementing the method.


The specific embodiments of the present invention have been described above. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art may make various variations or modifications within the scope of the appended claims, which does not affect the essence of the present invention. The embodiments of the present application and the features in the embodiments can be arbitrarily combined with each other, as long as they are not conflict with each other.

Claims
  • 1. A method for solving rigid body attitude based on functional iterative integration, comprising: fitting step: fitting a Chebyshev polynomial function for an angular velocity according to gyro measurement values in a time interval to obtain a Chebyshev polynomial coefficient for the angular velocity;iterating step: iteratively calculating a Chebyshev polynomial coefficient for a Rodrigues vector by using the Chebyshev polynomial coefficient for the angular velocity and a Rodrigues vector integral equation, and performing polynomial truncation on a result obtained at each iterative calculation according to a preset order; andattitude computation step: calculating the Rodrigues vector according to the Chebyshev polynomial coefficient for the Rodrigues vector and a Chebyshev polynomial of a first type to obtain attitude profile in the time interval in a form of quaternion.
  • 2. The method for solving rigid body attitude based on functional iterative integration of claim 1, wherein, the gyro measurement values comprise angular velocity measurement values or angular increment measurement values.
  • 3. The method for solving rigid body attitude based on functional iterative integration of claim 1, wherein, the fitting step specifically comprises: with respect to N angular velocity measurement values {tilde over (ω)}tk or angular increment measurement values Δ{tilde over (θ)}tk at time tk, k=1, 2, . . . N, let
  • 4. The method for solving rigid body attitude based on functional iterative integration of claim 3, wherein, the iterating step specifically comprises: at an lth iterative calculation, adopting the following equation to calculate the Chebyshev polynomial for the Rodrigues vector:
  • 5. The method for solving rigid body attitude based on functional iterative integration of claim 4, wherein, the Chebyshev polynomial coefficient for the Rodrigues vector is iteratively calculated as follows:
  • 6. A system for solving rigid body attitude based on functional iterative integration, comprising: a fitting module, wherein the fitting module is configured to fit a Chebyshev polynomial function for an angular velocity according to gyro measurement values in a time interval to obtain a Chebyshev polynomial coefficient for the angular velocity;an iterating module, wherein the iterating module is configured to iteratively calculate a Chebyshev polynomial coefficient for a Rodrigues vector by using the Chebyshev polynomial coefficient for the angular velocity and a Rodrigues vector integral equation, and perform polynomial truncation on a result at each iterative calculation according to a preset order; andan attitude computation module, wherein the attitude computation module is configured to calculate the Rodrigues vector according to the Chebyshev polynomial coefficient for the Rodrigues vector and a Chebyshev polynomial corresponding to the Rodrigues vector to obtain attitude profile in the time interval in a form of quaternion.
  • 7. The system for solving rigid body attitude based on functional iterative integration according to claim 6, wherein, the gyro measurement values comprise angular velocity measurement values or angular increment measurement values.
  • 8. The system for solving rigid body attitude based on functional iterative integration according to claim 6, wherein, with respect to N angular velocity measurement values {tilde over (ω)}tk or angular increment measurement values Δ{tilde over (θ)}tk at time tk, k=1, 2, . . . N, let
  • 9. The system for solving rigid body attitude based on functional iterative integration according to claim 8, wherein, the iteration module is specifically configured to adopt the following equation to calculate the Chebyshev polynomial for the Rodrigues vector at an lth iterative calculation:
  • 10. The system for solving rigid body attitude based on functional iterative integration according to claim 9, wherein, the Chebyshev polynomial coefficient for the Rodrigues vector is iteratively calculated as follows:
Priority Claims (1)
Number Date Country Kind
201810236436.9 Mar 2018 CN national
CROSS REFERENCE TO THE RELATED APPLICATIONS

This application is the national phase entry of International Application No. PCT/CN2018/081179, filed on Mar. 29, 2018, which is based upon and claims priority to Chinese Patent Application No. 201810236436.9, filed on Mar. 21, 2018, the entire contents of which are incorporated herein by reference.

PCT Information
Filing Document Filing Date Country Kind
PCT/CN2018/081179 3/29/2018 WO 00