CN106507916B - A kind of direct output intent of the quaternary number based on angular velocity and FPGA - Google Patents
A kind of direct output intent of the quaternary number based on angular velocity and FPGAInfo
- Publication number
- CN106507916B CN106507916B CN201010048757.XA CN201010048757A CN106507916B CN 106507916 B CN106507916 B CN 106507916B CN 201010048757 A CN201010048757 A CN 201010048757A CN 106507916 B CN106507916 B CN 106507916B
- Authority
- CN
- China
- Prior art keywords
- fpga
- overbar
- formula
- quaternary number
- angular velocity
- 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
Landscapes
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Abstract
The present invention relates to a kind of direct output intent of the quaternary number based on angular velocity and FPGA, the method is by two given optimizing index and approximant, two coefficient vectors are obtained according to least square or other optimization method offline optimizations, approximant according to the two vector sum, obtain two important scalar parameters, one of scalar parameter is multiplied with three angular velocity, the state-transition matrix for obtaining quaternary number approaches value, according to quaternionic vector in kT moment values, obtain in (k+1) T moment quaternionic vector values;The present invention can by FPGA directly by obtain in angular velocity measurement quaternary number output, without DSP or other processing units, not only efficiency high, and fine in the output approximation ratio of the flight system higher to sample rate or Inertial Measurement Unit, can be widely applied in vehicle, aircraft attitude measurement and navigation.
Description
Technical field
The present invention relates to a kind of strap-down inertial control method, more particularly to a kind of quaternary number based on angular speed and FPGA is straight
Connect output intent.
Background technology
Strap-down inertial control technology is one of current automatic navigation control area research focus, and attitude updating algorithm is its algorithm
Core, be also to influence one of principal element of SINS precision.Therefore design and use rational attitude updating algorithm
Just turn into the problem for needing to study.Mainly there are following several algorithms to Attitude Calculation from the document published:Euler's horn cupping,
Direction cosine method, Rotation Vector, Quaternion Method.
1. Euler method solves attitude angle and obtained by solving Eulerian equation, but Eulerian equation has singularity, works as the angle of pitch
For ± 90 ° when, roll angle and yaw angle without Par value, while close on the singular point region solve error it is excessive, cause solve distortion.
In order to avoid this problem, people are using the method for limitation angle of pitch span, and this make it that equation is degenerated, it is impossible to full attitude
Work, thus be difficult to be widely used in engineering practice.
2. direction cosine method avoids " unusual " phenomenon of Euler method, and calculating attitude matrix with direction cosine method does not have equation degeneration
Problem, attitude can work entirely, but need to solve 9 differential equations, and amount of calculation is larger, and real-time is poor, it is impossible to meet engineering
Practice calls.
3. Rotation Vector, such as list sample recursion, Shuangzi sample gyration vector, three increment gyration vectors and four increments rotation arrow
Amount method and various correction algorithms and recursive algorithm on this basis etc..When studying rotating vector in document, speed is all based on
Gyro is output as the algorithm of angle increment.But in Practical Project, the output of some gyros is angle rate signal, such as optical fibre gyro,
Dynamic tuned gyroscope etc..When rate gyroscope is output as angle rate signal, the Algorithm Error of rotating vector law is significantly increased.
4. Quaternion Method calculates navigation attitude, can effectively make up the singularity of Euler method, as long as 4 differential equation of first order formula groups of solution
, have obvious reduction than direction cosines attitude matrix differential equation amount of calculation, can meet in engineering practice to real-time
It is required that.Its conventional computational methods has complete card approximatioss, second order, fourth-order Runge-Kutta method and three rank Taylor expansions etc..Bi Ka
Approximatioss is substantially list sample algorithm, to caused by restricted rotational movement can not exchange error do not compensate, the attitude solution in the case of high dynamic
Algorithm drift in calculation can be extremely serious.When solving quaternion differential equation using fourth-order Runge-Kutta method, with integral error
Constantly accumulation, it may appear that trigonometric function value exceeds ± 1 phenomenon, dissipates so as to cause to calculate.Taylor expansion is also because calculating essence
Degree deficiency and be restricted.
In addition, during carrier high maneuver, attitude orientation angular speed is larger, so the real-time calculating for attitude matrix is proposed
Higher requirement.The above method all has the problem of resolving is complicated, is unfavorable for hardware and quickly resolves.
The content of the invention
In order to overcome the shortcomings of that attitude updating algorithm is complicated in existing strap-down inertial control method, the present invention provides a kind of base
In the direct output intent of the quaternary number of angular speed and FPGA, this method by two given optimizing index and approximant, according to
Least square or other optimization method offline optimizations obtain two coefficient vectors, approximant according to the two vector sums, obtain two
Scalar parameter, one of scalar parameter is multiplied with three angular speed, and the state-transition matrix for obtaining quaternary number approaches value, according to
Quaternionic vector obtains, in (k+1) T moment quaternionic vector values, making appearance in strap-down inertial control method in kT moment values
State more new algorithm is simplified.
The technical scheme that the present invention solves the use of its technical problem is that a kind of quaternary number based on angular speed and FPGA is directly exported
Method, is characterized in comprising the following steps:
(a) calculated with FPGA
U=[1 T2/σ T4/σ2…T2j/σj]T, uT=uT
In formula, σ=p2+q2+r2, T is the sampling period, and j >=2 are given to approach number of times;
(b) according to optimal index
In formula, hi=[1 i2H2 i4H4…i2jH2j]T, a0=[a01 a02…a0(j+1)], d0=[d01 d02…d0(j+1)],
0 < H < T;A is tried to achieve according to least square or other method offline optimizations0, d0, then with FPGA in line computation
A=a0U, d=d0·uT
(c) a=a is calculated with FPGA0U, d=d0·uT;
In formula, a is vectorial a0With vectorial u inner product, by formulaCalculate, carry out three multiplication add operations twice;Press
FormulaCalculate, carry out three multiplication add operations twice;
(d) calculated with FPGA
By formulaCarry out three multiplyings;
(d) calculated with FPGA in e [(k+1) T]=Φ e (kT), formula, e (kT) is quaternionic vector in kT moment values;Quaternary
Number vector is calculated by component, by formulaCalculate.
The beneficial effects of the invention are as follows:Due to by two given optimizing index and approximant, according to least square or other excellent
Change method offline optimization obtains two coefficient vectors, approximant according to the two vector sums, two scalar parameters is obtained, wherein one
Individual scalar parameter is multiplied with three angular speed, and the state-transition matrix for obtaining quaternary number approaches value, according to quaternionic vector in kT
Quarter is worth, and obtains in (k+1) T moment quaternionic vector values, simplifies attitude updating algorithm in strap-down inertial control method.
The present invention is elaborated with reference to the accompanying drawings and examples.
Brief description of the drawings
Accompanying drawing is the flow chart of the inventive method.
Embodiment
Referring to the drawings, the present invention is described in detail.
The present invention measures tri-axis angular rate using XW-5100IMU, and FPGA is using the EP1C12 serial Cyclone of Alter companies
Chip.
1) calculated with FPGA
U=[1 T2/σ T4/σ2]T, uT=uT
In formula, σ=p2+q2+r2, T is the sampling period;
By actual demand, sampling period T=0.02, T are taken2、T4Using the numerical value precalculated, without the computing in FPGA.
As shown in above formula, calculating σ needs three multipliers, two adders;Vectorial u, uTCalculated by component, each component, which is calculated, to be used
Multiplier and divider are calculated.It is actual calculate in because the IMU tri-axis angular rates exported are decimal, thus should first will be small
Numerical value is amplified, and is converted into integer processing;
2) according to optimal index
In formula, hi=[1 i2H2 i4H4]T
It can try to achieve according to least square or other method offline optimizations and try to achieve offline optimization:
d0=[.499999970249-.208328999562D-01 .258872870899D-03]
a0=[.999999889126-.124996242746 .258592418825D-02]
For convenience of FPGA processing, by a0、d0Amplify 2 respectively31Times, and it is sign bit to set the first, 0 represents just, and 1 represents
It is negative.The binary format being converted into is as follows:
A=a is calculated with FPGA0U, d=d0·uT;
Wherein a is vector a0With vectorial u inner product, by formulaCalculate, need three multiplication add operations twice.d
Using same computational methods, by formulaCalculate, need three multiplication add operations twice;
3) calculated with FPGA
By formulaNeed three multiplyings;
4) e [(k+1) T]=Φ e (kT) are calculated with FPGA, wherein e (kT) is quaternionic vector in kT moment values;Quaternary number to
Amount is calculated by component, by formulaCalculate.
Claims (1)
1. it is a kind of based on the direct output intent of the quaternary number of angular speed and FPGA, it is characterised in that to comprise the following steps:
(a) calculated with FPGA
U=[1 T2/σ T4/σ2…T2j/σj]T, uT=uT
In formula, σ=p2+q2+r2, T is the sampling period, and j >=2 are given to approach number of times;
(b) according to optimal index
In formula, hi=[1 i2H2 i4H4…i2jH2j]T, a0=[a01 a02…a0(j+1)], d0=[d01 d02…d0(j+1)],
0 < H < T;A is tried to achieve according to least square or other method offline optimizations0, d0, then with FPGA in line computation
A=a0U, d=d0·uT
(c) a=a is calculated with FPGA0U, d=d0·uT;
In formula, a is vectorial a0With vectorial u inner product, by formulaCalculate, carry out three multiplication add operations twice;Press
FormulaCalculate, carry out three multiplication add operations twice;
(d) calculated with FPGA
By formulaCarry out three multiplyings;
(d) calculated with FPGA in e [(k+1) T]=Φ e (kT), formula, e (kT) is quaternionic vector in kT moment values;Quaternary
Number vector is calculated by component, by formulaCalculate.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010048757.XA CN106507916B (en) | 2010-05-20 | 2010-05-20 | A kind of direct output intent of the quaternary number based on angular velocity and FPGA |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010048757.XA CN106507916B (en) | 2010-05-20 | 2010-05-20 | A kind of direct output intent of the quaternary number based on angular velocity and FPGA |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106507916B true CN106507916B (en) | 2014-01-01 |
Family
ID=58358283
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010048757.XA Expired - Fee Related CN106507916B (en) | 2010-05-20 | 2010-05-20 | A kind of direct output intent of the quaternary number based on angular velocity and FPGA |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106507916B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111765810A (en) * | 2020-05-13 | 2020-10-13 | 陕西中天火箭技术股份有限公司 | Frame preset angle calculation method based on platform seeker gyroscope information |
-
2010
- 2010-05-20 CN CN201010048757.XA patent/CN106507916B/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111765810A (en) * | 2020-05-13 | 2020-10-13 | 陕西中天火箭技术股份有限公司 | Frame preset angle calculation method based on platform seeker gyroscope information |
CN111765810B (en) * | 2020-05-13 | 2022-08-26 | 陕西中天火箭技术股份有限公司 | Frame preset angle calculation method based on platform seeker gyroscope information |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109343550B (en) | Spacecraft angular velocity estimation method based on rolling time domain estimation | |
CN109446582B (en) | High-precision order-reduction steady gliding dynamics modeling method considering earth rotation | |
Zhong et al. | A quaternion-based method for SINS/SAR integrated navigation system | |
CN108731700B (en) | Weighted Euler pre-integration method in visual inertial odometer | |
CN111366984B (en) | Method for determining gravitational field model based on gravity satellite inter-satellite laser ranging system | |
CN108508463B (en) | Fourier-Hermite orthogonal polynomial based extended ellipsoid collective filtering method | |
CN103776449A (en) | Moving base initial alignment method for improving robustness | |
CN108344413A (en) | A kind of underwater glider navigation system and its low precision and high-precision conversion method | |
CN109901402B (en) | Autonomous underwater robot path tracking method based on course smoothing technology | |
CN106507916B (en) | A kind of direct output intent of the quaternary number based on angular velocity and FPGA | |
CN104567873B (en) | High precision SINS attitude angle for high dynamic carrier application determines method | |
CN108692727A (en) | A kind of Strapdown Inertial Navigation System with nonlinear compensation filter | |
CN102519466A (en) | Approximate output method of Eulerian angle Legendre index based on angular velocity | |
CN102495829B (en) | Quaternion Walsh approximate output method based on angular velocities for aircraft during extreme flight | |
CN112697145A (en) | Master-slave type multi-underwater unmanned submersible vehicle cooperative positioning method based on CKF | |
CN102323990B (en) | Method for modeling pneumatic model for rigid body space motion | |
CN102384746B (en) | Chebyshev output method for space motion state of rigid body | |
CN102508818B (en) | Arbitrary-step orthogonal series output method of space motion state of rigid body | |
CN102506866B (en) | Angle speed-based Chebyshev approximate output method of quaternion numbers in ultimate flight of aircraft | |
RU2465555C1 (en) | Navigation system | |
CN102495828B (en) | Euler angle Hartley approximate output method based on angular speed | |
CN112945274B (en) | Ship strapdown inertial navigation system inter-navigation coarse alignment method | |
CN115727875B (en) | Singular-free transfer alignment method based on modified Rodrigas parameter | |
CN102519462B (en) | Angular velocity based Euler angle exponent output method | |
CN102323992B (en) | Polynomial type output method for spatial motion state of rigid body |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR03 | Grant of secret patent right | ||
GRSP | Grant of secret patent right | ||
DC01 | Secret patent status has been lifted | ||
DCSP | Declassification of secret patent | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140101 Termination date: 20200520 |
|
CF01 | Termination of patent right due to non-payment of annual fee |