A simulation turntable control method and system based on Euler angle inverse solution
By obtaining track and mission information, the Euler angle inverse solution is performed in real time, which solves the cumbersome problem of the traditional Euler angle inverse solution and achieves flexible control and efficient simulation of the simulation turntable.
Patent Information
- Application Number
- CN202210411384.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-19
- Publication Date
- 2024-09-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The traditional inverse solution method of Euler angles is too cumbersome and is not conducive to the development of actual control or simulation work.
By obtaining the track or mission information of the device under test, the updated transfer matrix is obtained in real time, and the Euler angle is inversely solved based on the rotation sequence and matrix element information to obtain the rotation angle around the axis, and then the simulation turntable is controlled to rotate to simulate flight. attitude.
The flexible inverse solution of the Euler angle of the simulation turntable is realized, which avoids cumbersome processes, improves adaptability and versatility, and improves the ease of use of the inverse solution of the Euler angle and the versatility of the simulation turntable control.
Smart Images

Figure CN114755923B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of semi-physical simulation, and in particular to a simulation turntable control method and system based on Euler angle inverse solution. Background Art
[0002] In a semi-physical simulation environment, in order to drive the simulation turntable for servo rotation, the servo system is generally based on angular position servo. Although there are also quaternions for position servo drive, in the servo system, there are not only position control loops, but also speed and current control loops. Under the premise of considering the servo performance, the form of attitude signal driving will be the optimal solution. Therefore, in order to drive the simulation execution system (such as the simulation turntable), the angle value is more advantageous. Therefore, frequent Euler angle calculations are usually involved in the servo drive process of the simulation turntable. As a carrier for carrying the measurement equipment, the simulation turntable provides the measurement equipment with attitude information that simulates real flight, and the attitude information comes from the Euler angle inverse solution in the six-degree-of-freedom model solution of the aircraft. The Euler angle represents the rotation state of the aircraft around a certain axis in the body coordinate system, and can be expanded to form a transfer matrix. Both the Euler angle and the transfer matrix can represent the spatial relationship between the body coordinate system and the navigation coordinate system before and after the rotation and can complete the mutual conversion. During the vehicle status update process, the decomposition and transformation of space vectors (such as force, acceleration, velocity, etc.) rely on the transfer matrix. At the same time, the Euler angles obtained by inverse solution of the transfer matrix are the necessary information for driving the simulation turntable.
[0003] In order to achieve attitude control of flight equipment, the control system needs to be divided into control channels. Independent attitude control channels (such as pitch, heading, and roll) can achieve more intuitive control and are easier to apply classic control theory algorithms. In the control calculation process, although Euler angles, Euler matrices, and quaternions can all represent the current attitude state of the aircraft, the Euler matrix and quaternion have the coupling effect of the algorithm itself, which is neither independent nor intuitive. Therefore, Euler angles become the best control object.
[0004] However, the traditional Euler angle inverse solution method is to use parameter form to expand the three rotating independent matrices to form a total transfer matrix, and find the position of the matrix element corresponding to the inverse solution according to the expansion result, and then complete the attitude inverse solution. The inverse solution method is too cumbersome and is not conducive to the actual control or simulation work.
[0005] Therefore, the prior art lacks a simulation turntable control method and system based on Euler angle inverse solution that can flexibly control the simulation turntable. Summary of the invention
[0006] In view of the above analysis, an embodiment of the present invention aims to provide a simulation turntable control method and system based on Euler angle inverse solution, so as to solve the problem that the traditional Euler angle inverse solution method is too cumbersome and not conducive to actual control or simulation work.
[0007] On the one hand, an embodiment of the present invention provides a simulation turntable control method based on Euler angle inverse solution, comprising:
[0008] Obtain the track or mission information of the device under test, install the device under test on the simulation turntable, and obtain the updated transfer matrix in real time;
[0009] According to the track or mission information of the device under test, the ascending and descending order corresponding to the rotation sequence around the axis at the next moment and the corresponding element information in the transfer matrix required for inverse solution are obtained;
[0010] According to the ascending and descending order of the rotation sequence corresponding to the next moment and the corresponding element information in the transfer matrix, the Euler angle is inversely solved to obtain the three rotation angles around the axis at the next moment;
[0011] The simulation turntable is controlled to rotate based on the rotation angles around three axes to provide the device under test with attitude information simulating real flight.
[0012] Furthermore, the step of obtaining the corresponding ascending and descending order of the transfer sequence at the next moment and the corresponding element information in the transfer matrix required for inverse calculation according to the track or mission information of the device under test includes:
[0013] According to the track or mission of the device under test, the rotation order of the three axes in the simulation turntable at the next moment is obtained;
[0014] According to the rotation order of the three axes in the simulation turntable at the next moment, calculate the ascending and descending order of the rotation order corresponding to the next moment ijk ;
[0015] According to the rotation order of the three axes in the simulation turntable at the next moment, the corresponding element information in the transfer matrix required for inverse solution is selected, including: kj 、r kk 、r ki 、r ji and r ii ;
[0016] Among them, r kj 、r kk 、r ki 、r ji and r iiIn the transfer matrix, the mnemonics i, j, k of the order of rotation around the x, y, and z axes at the next moment are taken as the corresponding row / column information, and the element information of the corresponding position in the transfer matrix, i, j, k∈{1,2,3}, 1 represents rotation around the x-axis, 2 represents rotation around the y-axis, 3 represents rotation around the z-axis, i≠j, i≠k, j≠k.
[0017] Furthermore, the rotation sequence corresponding to the rotation sequence around the axis at the next moment is the ascending and descending sequence O ijk , expressed as:
[0018]
[0019] Among them, i, j, k represent the mnemonics of the rotation order around the x, y, and z axes at the next moment, i, j, k∈{1,2,3}, 1 represents rotation around the x-axis, 2 represents rotation around the y-axis, 3 represents rotation around the z-axis, i≠j, i≠k, j≠k.
[0020] Furthermore, the transfer matrix R i′j′k′ , expressed as:
[0021]
[0022] Among them, i′, j′, k′ is the current moment transfer matrix R i′j′k′ The subscripts in represent the mnemonics for the order of rotations around the x, y, and z axes, i′, j′, k′∈{1,2,3}, where 1 represents rotation around the x-axis, 2 represents rotation around the y-axis, and 3 represents rotation around the z-axis, i′≠j′, i′≠k′, j′≠k′.
[0023] Furthermore, the Euler angle inverse calculation is performed according to the ascending and descending order of the moment rotation sequence corresponding to the next moment and the corresponding element information in the transfer matrix to obtain the three rotation angles around the axis at the next moment, including:
[0024] According to the ascending and descending order of the next moment transfer sequence and the corresponding element information in the transfer matrix, the Euler angle is inversely solved to obtain the rotation angle corresponding to each mnemonic i, j, k;
[0025] According to the values of the mnemonics, the three rotation angles around the axes at the next moment are obtained, where i, j, k∈{1, 2, 3}, 1 represents rotation around the x-axis, 2 represents rotation around the y-axis, 3 represents rotation around the z-axis, i≠j, i≠k, j≠k.
[0026] Furthermore, the rotation angles corresponding to the mnemonics i, j, k are expressed as:
[0027]
[0028] Among them, A i, A j , A k are the rotation angles corresponding to the mnemonics i, j, and k, respectively. ijk To transfer the order to ascending and descending order, r∈R ijk .
[0029] On the other hand, an embodiment of the present invention provides a simulation turntable control system based on Euler angle inverse solution, including:
[0030] An information acquisition module is used to obtain the track or mission information of the device under test, and obtain an updated transfer matrix in real time according to the device under test installed on the simulation turntable;
[0031] A calculation module, used to obtain the ascending and descending order of the rotation sequence around the axis at the next moment according to the track or mission information of the device under test, and the corresponding element information in the transfer matrix required for inverse solution;
[0032] A rotation angle calculation module, used to perform inverse calculation of the Euler angle according to the ascending and descending order of the rotation sequence corresponding to the next moment and the corresponding element information in the transfer matrix, to obtain the rotation angles of three axes at the next moment;
[0033] The control module is used to control the rotation of the simulation turntable based on the rotation angles around three axes to provide the device under test with attitude information simulating real flight.
[0034] Furthermore, the calculation module includes:
[0035] A rotation sequence acquisition unit, used for acquiring the rotation sequence of the three axes in the simulation turntable at the next moment according to the track or mission of the device under test;
[0036] The rotation sequence ascending and descending order calculation unit is used to calculate the rotation sequence ascending and descending order corresponding to the next moment according to the rotation sequence of the three axes in the simulation turntable at the next moment. ijk ;
[0037] The element selection unit is used to select the corresponding element information in the transfer matrix required for inverse solution according to the rotation order of the three axes in the simulation turntable at the next moment, including: kj 、r kk 、r ki 、r ji and r ii ;
[0038] Among them, r k j.r kk 、r ki 、r ji and r iiIn the transfer matrix, the mnemonics i, j, k of the order of rotation around the x, y, and z axes at the next moment are taken as the corresponding row / column information, and the element information of the corresponding position in the transfer matrix, i, j, k∈{1,2,3}, 1 represents rotation around the x-axis, 2 represents rotation around the y-axis, 3 represents rotation around the z-axis, i≠j, i≠k, j≠k.
[0039] Furthermore, the rotation angle calculation module includes:
[0040] A first rotation angle calculation unit is used to perform inverse calculation of the Euler angle according to the ascending and descending order of the next moment rotation sequence and the corresponding element information in the transfer matrix to obtain the rotation angle corresponding to each mnemonic i, j, k;
[0041] The second rotation angle calculation unit is used to obtain the three rotation angles around the axes at the next moment according to the values of the mnemonics, where i, j, k∈{1, 2, 3}, 1 represents rotation around the x-axis, 2 represents rotation around the y-axis, 3 represents rotation around the z-axis, i≠j, i≠k, j≠k.
[0042] Furthermore, the rotation angles corresponding to the mnemonics i, j, k are expressed as:
[0043]
[0044] Among them, A i , A j , A k are the rotation angles corresponding to the mnemonics i, j, and k, respectively. ijk To transfer the order to ascending and descending order, r∈R ijk .
[0045] Compared with the prior art, the present invention has the following beneficial effects:
[0046] 1. The present invention flexibly completes the Euler angle inverse solution of the simulation turntable in the semi-physical simulation test, avoids the cumbersome process of finding the corresponding relationship in the traditional Euler angle inverse solution, forms a universal Euler angle inverse solution method, and improves the adaptability of the Euler angle inverse solution;
[0047] 2. The simulation turntable control method based on Euler angle inverse solution of the present invention can directly perform Euler angle inverse solution when only the rotation sequence is known, thereby improving the versatility and ease of use of the simulation turntable control based on Euler angle inverse solution.
[0048] In the present invention, the above-mentioned technical solutions can also be combined with each other to achieve more preferred combination solutions. Other features and advantages of the present invention will be described in the subsequent description, and some advantages can become obvious from the description, or can be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained through the contents particularly pointed out in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The drawings are only for the purpose of illustrating specific embodiments and are not to be considered limiting of the present invention. Like reference symbols denote like components throughout the drawings.
[0050] Figure 1 This is a flow chart of a simulation turntable control method based on Euler angle inverse solution shown in one embodiment of the present application;
[0051] Figure 2 This is a schematic diagram of the installation of a device under test shown in an embodiment of the present application;
[0052] Figure 3 This is a schematic diagram of the structure of a simulation turntable control system based on Euler angle inverse solution shown in another embodiment of the present application. DETAILED DESCRIPTION
[0053] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.
[0054] The present invention proposes a simulation turntable control method and system based on Euler angle inverse solution. In a known flight mission of a device to be tested, dynamic solution is performed through a predetermined track and flight mission. In dynamic iterative calculation, in order to realize multi-dimensional calculation, Euler matrix or quaternion is usually used (in order to perform matrix multiplication, that is, to complete the iterative advancement of the state). Although the Euler matrix or quaternion represents the attitude state of the system, it is impossible to drive the simulation device (such as a turntable). Therefore, the present invention performs inverse solution on the Euler matrix or quaternion to obtain the attitude sequence of the aircraft at a certain time or a certain period of time (which can be either offline data or real-time solution data), and uses the attitude information to drive the simulation device, thereby driving the device to be tested (aircraft measurement equipment) mounted on the simulation turntable to perform actual measurement, thereby realizing the simulation of the flight state in the air on the ground.
[0055] like Figure 1 As shown, a specific embodiment of the present invention discloses a simulation turntable control method based on Euler angle inverse solution, comprising:
[0056] S10, obtaining the track or mission information of the device under test, and installing the device under test on the simulation turntable, and obtaining the updated transfer matrix in real time; Specifically, the present invention is applied to the simulation of the flight state of the aircraft, such as Figure 2 As shown, the device to be tested (such as an inertial measurement device or a flight simulation cabin) is mounted on a simulation turntable. The rotation of the simulation turntable will drive the device mounted thereon to move. The movement is derived from the track or the mission. The Euler angle is obtained by calculation, and the Euler angle will be used to drive the position of the turntable. The rotation of the simulation turntable will drive the device to be tested mounted thereon to move, thereby simulating the flight movement of the device to be tested.
[0057] The transfer matrix is a matrix that changes the direction of a vector but does not change its size when multiplied by a vector during the rotation of the device under test driven by the simulation turntable, and maintains the properties. A simple way to generate a transfer matrix is to compound it as a sequence of three basic rotations. Specifically, in the transfer matrix calculation process, rotation around an axis is equivalent to matrix left multiplication of the transformed quantity, and multiple rotations are multiple left multiplication operations. Since the commutative law is not satisfied in matrix multiplication calculations, the order of rotation needs to be considered when performing multi-axis rotations. Taking rotation around three axes as an example, according to the different rotation orders, when performing the inverse solution of the transfer matrix, the positions of the matrix elements corresponding to the Euler angle trigonometric functions are also different.
[0058] In the initial stage, the device to be tested (such as inertial navigation) rotates to the initial position with the simulation turntable. After the inertial navigation completes the initial alignment, the initial transfer matrix is obtained from the initial attitude; then it enters the simulated flight state. During the flight, as the simulation turntable rotates, the inertial navigation system is sensitive to the angle change and measures the angular velocity. The angular velocity and the current transfer matrix jointly determine the transfer matrix at the next moment, thereby completing the update of the transfer matrix.
[0059] The data collected by the device under test, such as the inertial navigation system, include angular velocity and acceleration. The measurement values (such as angular velocity information) obtained by the device under test will be introduced into the control loop of the aircraft, thereby completing the ground simulation and emulation of the aircraft's flight state in the air, and providing a data basis for the design of the aircraft control system and the adjustment of control parameters.
[0060] S20, according to the track or mission information of the device under test, obtaining the ascending and descending order corresponding to the rotation sequence around the axis at the next moment, and the corresponding element information in the transfer matrix when performing inverse calculation;
[0061] Specifically, the rotation order around the x, y and z axes is different for different tracks or mission information, and the rotation order may be switched according to different tasks during flight, but the rotation order around the axis is information known in advance based on the track or mission information. For example, the aircraft usually selects a 231 rotation order around the axis or a 213 rotation order around the axis, 1 represents rotation around the x axis (roll), 2 represents rotation around the y axis (heading), and 3 represents rotation around the z axis (pitch), that is, the aircraft selects a 231 rotation order, which means: the aircraft first rotates around the y axis, then around the z axis, and finally around the x axis.
[0062] Specifically, since rotation around an axis is equivalent to performing matrix left multiplication on the transformed quantity, multiple rotations are multiple left multiplication operations. Since the commutative law is not satisfied in matrix multiplication calculations, the order of rotation needs to be considered when performing multi-axis rotation. Taking rotation around three axes as an example, six different transfer matrices can be formed according to different rotation orders. Therefore, when the transfer matrix is inversely solved, the positions of the matrix elements corresponding to the Euler angle trigonometric functions are also different. Therefore, the rotation order of the three axes at the next moment is confirmed according to the track or mission information, and the corresponding ascending and descending order of the rotation order is confirmed according to the rotation order of the three axes, as well as the corresponding element information in the transfer matrix when the inverse solution is performed;
[0063] Specifically, the obtaining of the corresponding ascending and descending order of the transfer sequence at the next moment according to the track or mission information of the device under test, and the corresponding element information in the transfer matrix when performing inverse calculation, includes:
[0064] S201, according to the track or mission of the device under test, obtaining the rotation order of three axes in the simulation turntable at the next moment;
[0065] Specifically, in the inverse solution process based on the Euler angle in this embodiment, when the rotation order of the three axes is different, the Euler angles obtained by inverse solution are different. Therefore, when the track or mission information is known, the rotation order of the three axes of the flight equipment is known, and the rotation order of the three axes in the simulation turntable at the next moment is obtained according to the current state. According to the uniquely determined rotation order, a unique set of Euler angles can be obtained by inverse solution.
[0066] S202, according to the rotation sequence of the three axes in the simulation turntable at the next moment, calculate the ascending and descending sequence of the rotation sequence corresponding to the next moment. ijk ;
[0067] Specifically, the next moment corresponding to the transition sequence is ascending and descending sequence O ijk , expressed as:
[0068]
[0069] Among them, i, j, k represent the mnemonics of the rotation order around the x, y, and z axes at the next moment, i, j, k∈{1,2,3}, 1 represents rotation around the x-axis, 2 represents rotation around the y-axis, 3 represents rotation around the z-axis, i≠j, i≠k, j≠k.
[0070] S203, according to the rotation order of the three axes in the simulation turntable at the next moment, select the corresponding element information in the transfer matrix required for inverse solution, including: kj 、r kk 、r ki 、r ji and r ii ; Among them, r kj 、r kk 、r ki 、r ji and r ii In the transfer matrix, the mnemonics i, j, k of the rotation order around the x, y, z axes at the next moment are taken as the corresponding row / column information, and the element information of the corresponding position in the transfer matrix, i, j, k∈{1,2,3}, 1 represents rotation around the x axis, 2 represents rotation around the y axis, 3 represents rotation around the z axis, i≠j, i≠k, j≠k;
[0071] The transfer matrix R i′j′k′ , expressed as:
[0072]
[0073] Among them, i′, j′, k′ is the current moment transfer matrix R i′j′k′ The subscripts in represent the mnemonics for the order of rotations around the x, y, and z axes, i′, j′, k′∈{1,2,3}, where 1 represents rotation around the x-axis, 2 represents rotation around the y-axis, and 3 represents rotation around the z-axis, i′≠j′, i′≠k′, j′≠k′.
[0074] S30, performing inverse calculation of the Euler angles according to the ascending and descending order of the next moment rotation sequence and the corresponding element information in the transfer matrix to obtain three rotation angles around the axis at the next moment;
[0075] Specifically, the Euler angle inverse solution can be directly performed when only the rotation order is known, which improves the versatility and ease of use of the Euler angle inverse solution of the simulation turntable. Specifically, the Euler angle inverse solution is performed according to the ascending and descending order of the next moment rotation order and the corresponding element information in the transfer matrix to obtain the rotation angles of three axes at the next moment, including:
[0076] S301, performing inverse calculation of the Euler angles according to the ascending and descending order of the next moment transfer sequence and the corresponding element information in the transfer matrix to obtain the rotation angles corresponding to the mnemonics i, j, and k;
[0077] The rotation angles corresponding to the mnemonics i, j, k are expressed as:
[0078]
[0079] Among them, A i , A j , A k are the rotation angles corresponding to the mnemonics i, j, and k, respectively. ijk To transfer the order to ascending and descending order, r∈R ijk .
[0080] S302. According to the values of the mnemonics, the corresponding rotation angles around the three axes at the next moment are obtained, where i, j, k∈{1, 2, 3}, 1 represents rotation around the x-axis, 2 represents rotation around the y-axis, 3 represents rotation around the z-axis, i≠j, i≠k, j≠k. Specifically, according to the rotation order (i.e., the values of i, j, k of each mnemonic), the rotation angles A corresponding to the mnemonics i, j, k obtained in S301 are i , A j , A k They correspond to the corresponding rotation angles around the axis; for example, when the rotation order is 231, that is, A i =A2, is the rotation angle around the y-axis, A j =A3, is the rotation angle around the z axis, A k =A1, is the rotation angle around the x-axis.
[0081] S40, controlling the rotation of the simulation turntable based on the three rotation angles around the axes to provide attitude information simulating real flight for the device under test.
[0082] According to the rotation angles and rotation sequences of the rotations around the axes obtained in S302, the simulation turntable is controlled to rotate to the corresponding rotation angles according to the corresponding rotation sequences, so as to provide attitude control simulating real flight for the device under test.
[0083] Specifically, the simulation turntable control method based on Euler angle inverse solution is described in the form of a specific embodiment:
[0084] 1) Obtain the track or mission information of the device under test, install the device under test on the simulation turntable, and update the transfer matrix in real time. Assume that the current transfer matrix is expressed as:
[0085]
[0086] 2) According to the track or mission information of the device under test, the rotation sequence of the three axes in the simulation turntable at the next moment is obtained as 321 rotation sequence; that is, i=3, j=2, k=1;
[0087] 3) According to the rotation sequence of the three axes in the simulation turntable at the next moment, calculate the ascending and descending sequence of the rotation sequence corresponding to the next moment 321 ;
[0088]
[0089] In this embodiment, i=3, j=2, k=1, so O 321 = -1;
[0090] 4) According to the rotation sequence 321 of the three axes in the simulation turntable at the next moment, the corresponding element information in the transfer matrix required for inverse solution is selected, including: 12 、r 11 、r 13 、r 23 and r 33 ;
[0091] 5) According to the next moment, the sequence is changed to ascending or descending order. 321 =-1, and the corresponding element information in the transfer matrix: r 12 、r 11 、r 13 、r 23 and r 33 , perform inverse calculation of the Euler angles to obtain the rotation angles of the three axes at the next moment, expressed as:
[0092]
[0093] Where r∈R i′j′k′ .
[0094] 6) According to the values of the mnemonics, the three rotation angles around the axis at the next moment are obtained, which are expressed as:
[0095]
[0096] 7) According to the above three angles A obtained x , A y , A z , and according to the obtained rotation sequence 321, the simulation turntable is controlled to rotate the corresponding rotation angles in the rotation sequence of each axis in turn, so as to provide the device under test with attitude information simulating real flight.
[0097] Compared with the prior art, the present invention flexibly completes the Euler angle inverse solution of the simulation turntable in the semi-physical simulation test, avoids the tedious process of finding the corresponding relationship in the traditional Euler angle inverse solution, forms a universal Euler angle inverse solution method, and improves the adaptability of the Euler angle inverse solution; the simulation turntable control method based on Euler angle inverse solution of the present invention can directly perform Euler angle inverse solution when only the turn sequence is known, which improves the versatility and ease of use of the simulation turntable control based on Euler angle inverse solution.
[0098] like Figure 3 As shown, a specific embodiment of the present invention discloses a simulation turntable control system based on Euler angle inverse solution, comprising:
[0099] The information acquisition module 10 is used to obtain the track or mission information of the device under test, and obtain the updated transfer matrix in real time according to the device under test installed on the simulation turntable;
[0100] The calculation module 20 is used to obtain the ascending and descending order of the rotation sequence around the axis at the next moment according to the track or mission information of the device under test, and the corresponding element information in the transfer matrix required for inverse solution; the calculation module includes:
[0101] A rotation sequence acquisition unit, used for acquiring the rotation sequence of the three axes in the simulation turntable at the next moment according to the track or mission of the device under test;
[0102] The rotation sequence ascending and descending order calculation unit is used to calculate the rotation sequence ascending and descending order corresponding to the next moment according to the rotation sequence of the three axes in the simulation turntable at the next moment. ijk ;
[0103] The element selection unit is used to select the corresponding element information in the transfer matrix required for inverse solution according to the rotation order of the three axes in the simulation turntable at the next moment, including: kj 、r kk 、r ki 、r ji and r ii ;
[0104] Among them, r kj 、r kk 、r ki 、r ji and r ii In the transfer matrix, the mnemonics i, j, k of the order of rotation around the x, y, and z axes at the next moment are taken as the corresponding row / column information, and the element information of the corresponding position in the transfer matrix, i, j, k∈{1,2,3}, 1 represents rotation around the x-axis, 2 represents rotation around the y-axis, 3 represents rotation around the z-axis, i≠j, i≠k, j≠k.
[0105] The rotation angle calculation module 30 is used to perform inverse calculation of the Euler angle according to the ascending and descending order of the rotation sequence corresponding to the next moment and the corresponding element information in the transfer matrix to obtain the rotation angles of three axes at the next moment; the rotation angle calculation module includes:
[0106] A first rotation angle calculation unit is used to perform inverse calculation of the Euler angle according to the ascending and descending order of the next moment rotation sequence and the corresponding element information in the transfer matrix to obtain the rotation angle corresponding to each mnemonic i, j, k;
[0107] The second rotation angle calculation unit is used to obtain the three rotation angles around the axes at the next moment according to the values of the mnemonics, where i, j, k∈{1, 2, 3}, 1 represents rotation around the x-axis, 2 represents rotation around the y-axis, 3 represents rotation around the z-axis, i≠j, i≠k, j≠k.
[0108] The rotation angles corresponding to the mnemonics i, j, k are expressed as:
[0109]
[0110] Among them, A i , A j , A k are the rotation angles corresponding to the mnemonics i, j, and k, respectively. ijk To transfer the order to ascending and descending order, r∈R ijk .
[0111] The control module 40 is used to control the rotation of the simulation turntable based on the rotation angles around three axes, so as to provide the device under test with attitude information simulating real flight.
[0112] The specific implementation process of the system embodiment of the present invention can be referred to the above method embodiment, and this embodiment will not be repeated here. Since the principle of this embodiment is the same as that of the above method embodiment, the system also has the corresponding technical effects of the above method embodiment.
[0113] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.
[0114] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.
Claims
1. A simulation turntable control method based on Euler angle inverse solution, characterized in that: include: Obtain the track or mission information of the device under test, install the device under test on the simulation turntable, and obtain the updated transfer matrix in real time; According to the track or mission information of the device under test, the ascending and descending order corresponding to the rotation sequence around the axis at the next moment and the corresponding element information in the transfer matrix required for inverse solution are obtained, including: According to the track or mission of the device under test, the rotation order of the three axes in the simulation turntable at the next moment is obtained; According to the rotation order of the three axes in the simulation turntable at the next moment, calculate the ascending and descending order of the rotation order corresponding to the next moment ijk , expressed as: Among them, i, j, k represent the mnemonics of the rotation order around the x, y, and z axes at the next moment, i, j, k∈{1, 2, 3}, 1 represents rotation around the x axis, 2 represents rotation around the y axis, 3 represents rotation around the z axis, i≠j, i≠k, j≠k; According to the ascending and descending order of the rotation sequence corresponding to the next moment and the corresponding element information in the transfer matrix, the Euler angle is inversely solved to obtain the three rotation angles around the axis at the next moment; wherein the rotation angles corresponding to the mnemonics i, j, k are expressed as: Among them, A i , A j , A k are the rotation angles corresponding to the mnemonics i, j, and k, respectively. ijk To transfer the order to ascending and descending order, r∈R ijk , R ijk is the transfer matrix; According to the values of the mnemonics, three rotation angles around the axis at the next moment are obtained; The simulation turntable is controlled to rotate based on the rotation angles around three axes to provide the device under test with attitude information simulating real flight.
2. The simulation turntable control method based on Euler angle inverse solution according to claim 1 is characterized in that: The step of obtaining the corresponding ascending and descending order of the transfer sequence at the next moment according to the track or mission information of the device under test, and the corresponding element information in the transfer matrix required for inverse calculation, includes: According to the rotation order of the three axes in the simulation turntable at the next moment, the corresponding element information in the transfer matrix required for inverse solution is selected, including: kj 、r kk 、r ki 、r ji and r ii ; Among them, r kj 、r kk 、r ki 、r ji and r ii When the mnemonics i, j, k of the rotation order around the x, y, and z axes at the next moment are respectively taken as the corresponding row / column information, the element information of the corresponding position in the transfer matrix is i, j, k∈{1, 2, 3}, 1 represents rotation around the x-axis, 2 represents rotation around the y-axis, 3 represents rotation around the z-axis, i≠j, i≠k, j≠k.
3. The simulation turntable control method based on Euler angle inverse solution according to claim 1 or 2, characterized in that: The transfer matrix R ijk , expressed as: Among them, i, j, k is the current moment transfer matrix R ijk The subscripts in represent the mnemonics for the order of rotations around the x, y, and z axes, i, j, k∈{1, 2, 3}, where 1 represents rotation around the x axis, 2 represents rotation around the y axis, and 3 represents rotation around the z axis, i≠j, i≠k, j≠k.
4. The simulation turntable control method based on Euler angle inverse solution according to claim 1 is characterized in that: The inverse calculation of the Euler angle is performed according to the ascending and descending order of the rotation sequence corresponding to the next moment and the corresponding element information in the transfer matrix to obtain the three rotation angles around the axis at the next moment, including: According to the ascending and descending order of the next moment rotation sequence and the corresponding element information in the transfer matrix, the Euler angle is inversely solved to obtain the rotation angle corresponding to each mnemonic i, j, k; According to the values of the mnemonics, the three rotation angles around the axes at the next moment are obtained, where i, j, k∈{1, 2, 3}, 1 represents rotation around the x-axis, 2 represents rotation around the y-axis, 3 represents rotation around the z-axis, i≠j, i≠k, j≠k.
5. A simulation turntable control system based on Euler angle inverse solution, characterized in that: include: An information acquisition module is used to obtain the track or mission information of the device under test, and obtain an updated transfer matrix in real time according to the device under test installed on the simulation turntable; A calculation module is used to obtain the ascending and descending order of the rotation sequence around the axis at the next moment according to the track or mission information of the device under test, and the corresponding element information in the transfer matrix required for inverse solution, including: A rotation sequence acquisition unit, used for acquiring the rotation sequence of the three axes in the simulation turntable at the next moment according to the track or mission of the device under test; The rotation sequence ascending and descending order calculation unit is used to calculate the rotation sequence ascending and descending order corresponding to the next moment according to the rotation sequence of the three axes in the simulation turntable at the next moment. ijk , expressed as: Among them, i, j, k represent the mnemonics of the rotation order around the x, y, and z axes at the next moment, i, j, k∈{1, 2, 3}, 1 represents rotation around the x axis, 2 represents rotation around the y axis, 3 represents rotation around the z axis, i≠j, i≠k, j≠k; The rotation angle calculation module is used to perform Euler angle inverse calculation according to the ascending and descending order of the rotation sequence corresponding to the next moment and the corresponding element information in the transfer matrix to obtain the rotation angles of three axes at the next moment, including: A first rotation angle calculation unit is used to perform inverse calculation of the Euler angle according to the ascending and descending order of the next moment rotation sequence and the corresponding element information in the transfer matrix to obtain the rotation angle corresponding to each mnemonic i, j, k; The second rotation angle calculation unit is used to obtain the three rotation angles around the axes at the next moment according to the values of the mnemonics, wherein i, j, k∈{1, 2, 3}, 1 represents rotation around the x-axis, 2 represents rotation around the y-axis, 3 represents rotation around the z-axis, i≠j, i≠k, j≠k, expressed as: Among them, A i , A j , A k are the rotation angles corresponding to the mnemonics i, j, and k, respectively. ijk To transfer the order to ascending and descending order, r∈R ijk , R ijk is the transfer matrix; According to the values of the mnemonics, three rotation angles around the axis at the next moment are obtained; The control module is used to control the rotation of the simulation turntable based on the rotation angles around three axes to provide the device under test with attitude information simulating real flight.
6. The simulation turntable control system based on Euler angle inverse solution according to claim 5, characterized in that: The computing module further includes: The element selection unit is used to select the corresponding element information in the transfer matrix required for inverse solution according to the rotation order of the three axes in the simulation turntable at the next moment, including: kj 、r kk 、r ki 、r ji and r ii ; Among them, r kj 、r kk 、r ki 、r ji and r ii When the values of the mnemonics i, j, k, which are the order of rotation around the x, y, and z axes at the next moment, are the corresponding row / column information, the element information of the corresponding position in the transfer matrix, i, j, k∈{1,2,3}, 1 represents rotation around the x-axis, 2 represents rotation around the y-axis, 3 represents rotation around the z-axis, i≠j, i≠k, j≠k.
Citation Information
Patent Citations
Separation reliability simulation platform for multistage carrying spacecraft
CN108516104A
Rotor-helicopter-borne navigation device based on strapdown inertial navigation system
CN110260862A
Excitation compensation method for vertical emission simulation turntable
CN111141310A
All-attitude four-axis turntable frame angle instruction resolving method
CN111914411A
Unmanned aerial vehicle semi-physical simulation system and evaluation method
CN111983936A
