Flexible wearable inertial measurement device and joint angle real-time resolving method

Through a flexible wearable inertial measurement device and a method of dynamically adjusting the complementary filter fusion coefficient, the problem of adaptability and calculation accuracy of the inertial measurement equipment when in human contact is solved, and high-precision and real-time joint angle calculation is achieved.

CN118758293APending Publication Date: 2024-10-11CHINA COAL RES INST +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410749560.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Existing inertial measurement equipment has poor adaptability and poor scalability when in contact with the human body. The accuracy and real-time performance of the joint angle solution method are not high, and the complementary filter fusion coefficient needs to be manually adjusted, resulting in difficulties in practical application.

Method used

A flexible and wearable inertial measurement device is designed, which uses a flexible printed circuit board and an inertial measurement unit, combined with a Bluetooth module, a temperature barometer and a membrane button. It collects angular velocity, acceleration and geomagnetic data through the IMU, and uses the FQA method to fuse the data and dynamically Adjust the complementary filter fusion coefficient, use the Gauss-Newton method to solve the joint axis vector, and realize the real-time solution of the joint angle.

Benefits of technology

It improves the adaptability and scalability of the equipment and various parts of the human body, improves the accuracy and real-time performance of joint angle calculation, simplifies the adjustment of complementary filter fusion coefficients, and is suitable for human posture tracking and kinematic information calculation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118758293A_ABST
    Figure CN118758293A_ABST
Patent Text Reader

Abstract

The invention provides a flexible wearable inertial measurement device and a joint angle real-time resolving method, and the method comprises the steps: obtaining the attitude of a sensor fixed connection coordinate system relative to an inertial coordinate system based on angular velocity data, acceleration data and geomagnetic data collected by an IMU; based on the angular velocity data, the acceleration data, the attitude of the sensor fixedly-connected coordinate system relative to an inertial coordinate system and three-degree-of-freedom joint motion constraint under the inertial coordinate system, obtaining a three-degree-of-freedom joint axis vector under the sensor fixedly-connected coordinate system; and obtaining a joint angle based on a rotation relation between a limb coordinate system and the sensor fixedly-connected coordinate system, the attitude of the sensor fixedly-connected coordinate system relative to the inertial coordinate system and the three-degree-of-freedom joint axis vector under the sensor fixedly-connected coordinate system. The technical problem that in the prior art, the joint angle calculation precision is not high is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of wearable devices, and in particular to a flexible wearable inertial measurement device and a real-time calculation method of joint angles. Background Art

[0002] In the related technology, inertial measurement equipment can be used to collect the angular velocity and acceleration of a moving object, and can also obtain geomagnetic information so as to analyze the posture of the moving object based on the information. When the existing inertial measurement equipment is used for human contact, there are problems with the compatibility with various parts of the human body and poor scalability.

[0003] Among the joint angle calculation methods based on inertial measurement unit (IMU), most existing methods use posture calculation based on data fusion, which can be divided into methods based on Kalman filtering and methods based on complementary filtering according to different usage methods. The traditional complementary filtering uses two methods to calculate the absolute posture of IMU by weighted accumulation. The mathematical form is simple and less dependent on the assumptions of the signal model, but its complementary filter fusion coefficient needs to be manually adjusted according to the changes in noise and signals, which hinders its practical application. Existing joint angle calculation methods have problems such as low accuracy and poor real-time performance. Summary of the invention

[0004] The present application aims to solve one of the technical problems in the related art at least to some extent.

[0005] The first aspect embodiment of the present application proposes a flexible wearable inertial measurement device, which includes a flexible printed circuit board, on which a control unit and an inertial measurement unit are configured, and the control unit is connected to the inertial measurement unit; the inertial measurement unit includes an accelerometer that supports measuring three-axis acceleration, a gyroscope that supports measuring three-axis angular velocity, and a magnetometer that supports measuring three-axis magnetic field; the flexible printed circuit board is provided with contact electrodes at the end points for connecting to other electronic devices.

[0006] In some implementations, the flexible printed circuit board is a double-sided hexagonal star shape.

[0007] In some implementations, the inertial measurement device includes a signal layer and a GND layer on both sides of the signal layer, the signal layer includes a double-sided copper foil substrate layer and a covering film layer and an antistatic double-sided adhesive layer sequentially arranged on both sides of the double-sided copper foil substrate layer.

[0008] In some implementations, the flexible printed circuit board is also configured with a Bluetooth module, a temperature barometer, a membrane button, and a battery box connected to the control unit.

[0009] The second embodiment of the present application proposes a method for real-time calculation of joint angles by an inertial measurement device, comprising the following steps:

[0010] Based on the angular velocity data, acceleration data and geomagnetic data collected by the IMU, the posture of the sensor fixed coordinate system relative to the inertial coordinate system is obtained; the IMU is installed on the limbs at both ends of the joint, and the posture of the sensor fixed coordinate system relative to the inertial coordinate system is the IMU absolute posture;

[0011] Based on the angular velocity data, the acceleration data, the posture of the sensor fixed coordinate system relative to the inertial coordinate system and the three-degree-of-freedom joint motion constraint in the inertial coordinate system, a three-degree-of-freedom joint axis vector in the sensor fixed coordinate system is obtained;

[0012] The joint angle is obtained based on the rotation relationship between the limb coordinate system and the sensor fixed coordinate system, the posture of the sensor fixed coordinate system relative to the inertial coordinate system and the three-degree-of-freedom joint axis vector in the sensor fixed coordinate system.

[0013] In some implementations, obtaining the posture of the sensor fixed coordinate system relative to the inertial coordinate system based on the angular velocity data, acceleration data, and geomagnetic data collected by the IMU includes:

[0014] Fusing the acceleration data and the geomagnetic data through the FQA method to obtain a first quaternion;

[0015] Integrate the angular velocity data to obtain a second quaternion;

[0016] Obtaining a first deviation between the first quaternion and a true value of the IMU absolute attitude, and adjusting a complementary filter fusion coefficient K based on the first deviation;

[0017] Based on the adjusted complementary filter fusion coefficient K, the first quaternion and the second quaternion are fused by a weighted average method to obtain the posture of the sensor fixed coordinate system relative to the inertial coordinate system.

[0018] In some implementations, the step of obtaining a first deviation between the first quaternion and a true value of the IMU absolute attitude comprises:

[0019] The first deviation of the first quaternion relative to the true value of the IMU absolute attitude is obtained by a first formula group, and the first formula group is expressed as follows:

[0020] Δ bias =Δ mag +α·Δ acc

[0021]

[0022] Among them, △mag and △acc are the qFQA errors measured according to the Earth's magnetic field and gravitational acceleration, respectively; N and G are the coordinates of the Earth's magnetic field and gravitational acceleration in the inertial coordinate system, respectively.

[0023] In some implementations, adjusting the complementary filter fusion coefficient K based on the first deviation includes:

[0024] Obtaining a linear relationship model between the complementary filter fusion coefficient K and the first deviation;

[0025] Taking the coefficients in the linear relationship model as optimization variables and the fused estimation errors as optimization targets, determining the coefficients of the linear relationship model;

[0026] Based on the coefficients of the linear relationship model and the linear relationship model, the complementary filter fusion coefficient K is adjusted.

[0027] In some implementations, obtaining the three-degree-of-freedom joint axis vector in the sensor fixed coordinate system based on the angular velocity data, the acceleration data, the posture of the sensor fixed coordinate system relative to the inertial coordinate system, and the three-degree-of-freedom joint motion constraint in the inertial coordinate system includes:

[0028] Iteratively perform the following operations until the number of iterations meets the requirement, and obtain the three-degree-of-freedom joint axis vector in the sensor fixed coordinate system;

[0029] The acceleration data and the angular velocity data are used as input, the three-degree-of-freedom joint motion constraint in the inertial coordinate system is used as a cost function, and the three-degree-of-freedom joint axis vector in the sensor fixed coordinate system is solved by the Gauss-Newton method;

[0030] An optimization problem is constructed based on the equal coordinates of the three-degree-of-freedom joint axis vectors in the sensor fixed coordinate system in the first reference system to solve the integrated reference system of the corrected quaternion; the corrected quaternion is an orientation relationship;

[0031] In the first reference system, obtaining the remaining axis vectors of the three-degree-of-freedom joint except the joint main axis based on the corrected quaternion;

[0032] The angular velocity data is adjusted so that the angular velocity data satisfies the single-degree-of-freedom joint motion constraint in an inertial coordinate system.

[0033] In some implementations, obtaining the joint angle based on the rotation relationship between the limb coordinate system and the sensor fixed coordinate system, the posture of the sensor fixed coordinate system relative to the inertial coordinate system, and the three-degree-of-freedom joint axis vector in the sensor fixed coordinate system includes:

[0034] Acquire the rotation relationship between the limb coordinate system and the sensor fixed coordinate system;

[0035] The limb coordinate system of the single-degree-of-freedom joint is defined through the rotation relationship between the limb coordinate system and the sensor fixed coordinate system, and the joint angle of the joint rotating around the joint main axis is obtained based on the limb coordinate system of the single-degree-of-freedom joint;

[0036] Based on the joint angle of the joint rotating around the joint main axis, a limb coordinate system defined by the three-degree-of-freedom joint is obtained;

[0037] Based on the postures of the limb coordinate system defined by the three-degree-of-freedom joint and the sensor fixed coordinate system relative to the inertial coordinate system, obtaining a rotation relationship between the limb coordinate system and the sensor fixed coordinate system represented by a quaternion;

[0038] Based on the limb coordinate system defined by the three-degree-of-freedom joint and the rotational relationship between the limb coordinate system and the sensor fixed connection system, the rotational relationship between the three-degree-of-freedom joint limb coordinate systems around the remaining two joint rotation axes except the joint main axis is obtained;

[0039] By using the Euler angle decomposition method, the rotation relationship between the three-degree-of-freedom joint limb coordinate systems around the remaining two joint rotation axes except the joint main axis is decomposed to obtain the joint angles of the two three-degree-of-freedom joint axes around the joint.

[0040] The third aspect of the present application provides a real-time joint angle calculation device implemented by an inertial measurement device, comprising the following steps:

[0041] The posture acquisition module is used to obtain the posture of the sensor fixed coordinate system relative to the inertial coordinate system based on the angular velocity data, acceleration data and geomagnetic data collected by the IMU; the IMU is installed on the limbs at both ends of the joint, and the posture of the sensor fixed coordinate system relative to the inertial coordinate system is the IMU absolute posture;

[0042] an axis estimation module, for obtaining a three-degree-of-freedom joint axis vector in the sensor fixed coordinate system based on the angular velocity data, the acceleration data, the posture of the sensor fixed coordinate system relative to the inertial coordinate system, and the three-degree-of-freedom joint motion constraint in the inertial coordinate system;

[0043] The angle acquisition module is used to obtain the joint angle based on the rotation relationship between the limb coordinate system and the sensor fixed coordinate system, the posture of the sensor fixed coordinate system relative to the inertial coordinate system and the three-degree-of-freedom joint axis vector in the sensor fixed coordinate system.

[0044] The fourth aspect of the present application proposes an electronic device, comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method described in the second aspect.

[0045] A fifth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method described in the second aspect.

[0046] The sixth aspect of the present application provides a computer program product, including a computer program, which implements the method described in the second aspect when executed by a processor.

[0047] The flexible wearable inertial measurement device and real-time joint angle solution method provided in this application have better adaptability to various parts of the human body, strong scalability, and the calculated joint angles are more accurate.

[0048] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0050] Figure 1 A front schematic diagram of a flexible wearable inertial measurement device provided in an embodiment of the present application;

[0051] Figure 2 A schematic diagram of the back side of a flexible wearable inertial measurement device provided in an embodiment of the present application;

[0052] Figure 3 A schematic diagram of a layered structure of a flexible wearable inertial measurement device provided in an embodiment of the present application;

[0053] Figure 4 A schematic diagram of a flow chart of a method for real-time calculation of joint angles provided in an embodiment of the present application;

[0054] Figure 5 This is a flow chart of the IMU absolute attitude solution algorithm provided in the embodiment of the present application;

[0055] Figure 6 A block diagram of a joint angle real-time solution device provided in an embodiment of the present application;

[0056] Figure 7A block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0057] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0058] Figure 1 , Figure 2 A schematic diagram of the structure of a flexible wearable inertial measurement device provided in an embodiment of the present application. The flexible wearable inertial measurement device comprises a flexible printed circuit board, on which a control unit and an inertial measurement unit are arranged, and the control unit is connected to the inertial measurement unit; the inertial measurement unit comprises an accelerometer supporting the measurement of three-axis acceleration, a gyroscope supporting the measurement of three-axis angular velocity, and a magnetometer supporting the measurement of three-axis magnetic field; the flexible printed circuit board is provided with contact electrodes at the end points for connecting to other electronic devices.

[0059] The flexible printed circuit board is provided with contact electrodes for connecting other electronic devices at the end points, and can be connected to external devices. For example, the contact electrodes include 1 ADC voltage measurement terminal interface solder joint, which can be externally connected to electric muscle signals; 1 GPIO input and output, which can be externally connected to control signals, such as: action limit signal output of coal mine remote control robot arm and safety limit signal output of coal mine exoskeleton robot.

[0060] Exemplarily, the control unit is an ARM 32-bit DSP processor,

[0061] like Figure 1 As shown, the flexible printed circuit board is a double-sided hexagonal star. The circuit board adopts a double-sided hexagonal star FPC soft board, non-glue electrolytic copper foil, high temperature resistance, good bending performance, large fitting range, suitable for human wear, and can cover the front thigh, back thigh, front thigh, back thigh, waist, back, shoulder, neck, front arm and back arm, etc., and can be covered on the surface of general non-magnetic mechanical equipment, such as exoskeleton robots.

[0062] like Figure 3 As shown, the inertial measurement device includes a signal layer and GND layers on both sides of the signal layer, and the signal layer includes a double-sided copper foil substrate layer and a covering film layer and an antistatic double-sided adhesive layer sequentially arranged on both sides of the double-sided copper foil substrate layer.

[0063] In some embodiments, the flexible printed circuit board is also configured with a Bluetooth module, a temperature barometer, a membrane button and a battery box connected to the control unit.

[0064] For example, the Bluetooth module is BLE5.0 Bluetooth, supports Bluetooth 5.0 wireless technology, and is backward compatible with 4.2, 4.0 and other lower version Bluetooth host devices, supports Android, iOS, Windows, Linux systems and other BLE Bluetooth devices for connection and use. BLE Bluetooth 5.0 has ultra-low power consumption, automatically switches to energy-saving mode when idle, supports shutdown and wake-up, supports Bluetooth 5.0 and is backward compatible, 8dBm transmission power, 92dBm receiving power, and the maximum transmission distance is 110m when there is no obstruction.

[0065] Therefore, the inertial measurement device can realize Bluetooth wireless communication by being compatible with Bluetooth. After pressing the flexible membrane button, the device is turned on and the Bluetooth function is automatically turned on to wait for connection.

[0066] Exemplarily, the direction of the inertial measurement device in the embodiment of the present application is defined as a Z direction perpendicular to the device, a Y direction is perpendicular to the Bluetooth transmitter, and an X direction is parallel to the Bluetooth transmitter.

[0067] Thus, the ambient temperature and air pressure can be detected by means of an integrated temperature-barometer that supports the measurement of temperature, air pressure and altitude.

[0068] Thus, the device can be shut down and woken up through the membrane button.

[0069] In some embodiments, the power supply battery is powered by a CR2023 battery box in consideration of the purpose of flexible wearability.

[0070] In some embodiments, after the inertial measurement device detects that the joint has not moved for a certain period of time, the control unit automatically enters a low power consumption state, thereby achieving ultra-low power consumption operation.

[0071] The inertial measurement device of the embodiment of the present application, by adopting a flexible printed circuit board, has better adaptability to various parts of the human body and strong scalability, and is suitable for applications such as motion posture detection, vibration detection, motion capture, inertial trajectory capture, etc. of underground coal mine exoskeleton robots, underground coal mine VR / AR, underground coal mine industrial robot control, and underground coal mine teleoperated robots. Among them, the motion posture detection includes, for example, the judgment of whether the posture is walking, running, riding a bicycle, driving, etc.

[0072] Figure 4 The following is a flow chart of a method for real-time joint angle calculation based on an inertial measurement device provided in an embodiment of the present application. Figure 4 As shown, the real-time joint angle solution method includes the following steps:

[0073] Step 101, based on the angular velocity data, acceleration data and geomagnetic data collected by the IMU, obtain the posture of the sensor fixed coordinate system relative to the inertial coordinate system; the IMU is installed on the limbs at both ends of the joint, and the posture of the sensor fixed coordinate system relative to the inertial coordinate system is the IMU absolute posture.

[0074] The inertial measurement device of the embodiment of the present application supports the measurement of quaternions and Euler angles.

[0075] As an implementation method, based on the angular velocity data, acceleration data and geomagnetic data collected by the IMU, the attitude of the sensor fixed coordinate system relative to the inertial coordinate system is obtained, including:

[0076] Fusing the acceleration data and the geomagnetic data through the FQA method to obtain a first quaternion;

[0077] Integrate the angular velocity data to obtain a second quaternion;

[0078] Obtaining a first deviation between the first quaternion and a true value of the IMU absolute attitude, and adjusting a complementary filter fusion coefficient K based on the first deviation;

[0079] Based on the adjusted complementary filter fusion coefficient K, the first quaternion and the second quaternion are fused by a weighted average method to obtain the posture of the sensor fixed coordinate system relative to the inertial coordinate system.

[0080] In some embodiments, obtaining a first deviation between the first quaternion and a true value of the IMU absolute attitude comprises:

[0081] The first deviation of the first quaternion relative to the true value of the IMU absolute attitude is obtained by a first formula group, and the first formula group is expressed as follows:

[0082] Δ bias =Δ mag +α·Δ acc

[0083]

[0084] Among them, △mag and △acc are the qFQA errors measured according to the Earth's magnetic field and gravitational acceleration, respectively; N and G are the coordinates of the Earth's magnetic field and gravitational acceleration in the inertial coordinate system, respectively.

[0085] In some embodiments, dynamically adjusting the complementary filter fusion coefficient K based on the first actual deviation includes:

[0086] Based on the first deviation, adjusting the complementary filter fusion coefficient K; comprising:

[0087] Obtaining a linear relationship model between the complementary filter fusion coefficient K and the first deviation;

[0088] Taking the coefficients in the linear relationship model as optimization variables and the fused estimation errors as optimization targets, determining the coefficients of the linear relationship model;

[0089] Based on the coefficients of the linear relationship model and the linear relationship model, the complementary filter fusion coefficient K is adjusted.

[0090] For the above implementation, it should be noted that the joint angle is essentially the angle between the coordinate axes of different limb coordinate systems defined on the user's limbs according to physiological landmarks. Due to its three-dimensional space requirements, the three-degree-of-freedom joint angle solution needs to decompose the solution of the rotation matrix between the limb coordinate systems on the limbs at both ends of the joint into the multiplication of several rotation matrices between the coordinate systems.

[0091] The solution of all kinematic information of joints can be achieved by establishing a limb fixed system (limb coordinate system) b i The direction cosine matrix R between b1 b2 The existing information is only expressed in the sensor solid connection s i Therefore, it is necessary to decouple the angular velocity and acceleration signals to obtain the physiological rotation axis of the joint and establish the direction cosine matrix between the sensor fixed connection system and the limb fixed connection system. According to the decomposition property of rigid body rotation, that is, formula (4.2.57), we want to obtain the direction cosine matrix R between the rigid connections of the limbs b1 b2 , the direction cosine matrix R between the sensor fixed connection system must be obtained s1 s2 . And R s1 s2 The solution of needs to introduce an intermediate coordinate system. Considering that the acceleration information contains the gravitational acceleration and the collected geomagnetic information, the inertial coordinate system can be introduced as the intermediate coordinate system, R s1 s2 The solution is as in formula (4.2.58).

[0092]

[0093] In summary, the solution of three-DOF joint kinematic information can be decomposed into two key steps:

[0094] 1. Solve the direction cosine matrix (rotation relationship) of the sensor fixed system relative to the inertial coordinate system;

[0095] 2. Decoupling of three degrees of freedom, that is, the definition of the direction cosine matrix of the sensor fixed connection system relative to the limb fixed connection system.

[0096] The absolute attitude solution method of IMU is described in detail below.

[0097] First of all, it should be noted that the absolute attitude solution of the IMU refers to the solution of the attitude of the IMU sensor fixed coordinate system relative to the inertial coordinate system based on the angular velocity, acceleration and geomagnetic data of the 9-axis IMU, that is,

[0098] It should be noted that the angular velocity, acceleration and geomagnetism measured by IMU have their own characteristics: angular velocity provides the most accurate information in the short term, but due to the noise mixed in it, the joint angle data obtained by integrating the angular velocity has drift, and even the accumulation of noise will submerge the accurate joint angle information. The gravitational acceleration and geomagnetism in the acceleration have good periodicity in the long term, but the gravitational acceleration is easily submerged by the acceleration caused by the movement of the lower limbs of the human body and cannot be obtained by simple filtering. The geomagnetic signal is greatly affected by the surrounding ferromagnetic objects, and in the short term there will be a large deviation caused by the distortion of the magnetic field. It is difficult to obtain accurate data by using any signal alone to solve the absolute attitude of the IMU. The existing methods are all based on data fusion attitude solution, which can be divided into methods based on Kalman filtering and methods based on complementary filtering according to different usage methods. Kalman filtering is limited by the Gaussian noise assumption and the requirement for the linearity of the established signal model, and it is difficult to guarantee the accuracy of its solution in terms of accuracy. The traditional complementary filter fuses the absolute posture of the IMU solved by the two methods through weighted accumulation. The mathematical form is simple and less dependent on the assumptions of the signal model, but its complementary filter fusion coefficient needs to be manually adjusted according to the noise and signal changes, which hinders its practical application. In response to this situation, the contribution of this part of the work is to propose a method that can adjust the complementary filter fusion coefficient online. Compared with the existing methods, the algorithm accuracy is higher in dynamic accuracy and is suitable for human posture tracking and estimation. The specific method is as follows:

[0099] Problem description: Figure 5 As shown, we first need to obtain two quaternions representing the IMU attitude with fusion, q FQA and q gyro The acceleration and geomagnetic information measured by IMU are fused using the existing method FQA to obtain the quaternion representing the absolute attitude of IMU, which is recorded as Q FQA By integrating the angular velocity information measured by the IMU, we can also get the quaternion of the IMU absolute attitude, recorded as q gyro According to complementary filtering, the two quaternions can be fused by weighted averaging:

[0100] q fus = k·q FQA+(1-k)·q gyro (4.2.59)

[0101] Secondly, in order to dynamically adjust the complementary filter fusion coefficient k, the offset Δbias of the quaternion obtained by FQA relative to the true value is measured, which is calculated as follows:

[0102]

[0103] Δ bias =Δ mag +α·Δ acc (4.2.62)

[0104] Where N and G are the coordinates of the Earth's magnetic field and gravitational acceleration in the inertial coordinate system, respectively, and Δmag and Δacc are q measured according to the Earth's magnetic field and gravitational acceleration, respectively. FQA Error. Since the geomagnetism and acceleration measured by IMU are distorted by geomagnetism and mixed with limb acceleration and gravity acceleration, Δmag and Δacc obtained from the above formula are biased estimates of the actual estimation error. Therefore, Δbias approximates the actual estimation error by weighted accumulation of the two.

[0105] Assuming that there is a certain linear relationship between the complementary filter fusion coefficient k and the actual error, its expression is as follows:

[0106] k=A(Δ bias -C)+B (4.2.63)

[0107] The coefficients in this relationship are used as optimization variables, and the fused estimation error is used as the optimization target. The optimization problem is constructed as follows:

[0108]

[0109] The fused estimation error refers to the fusion of the estimation errors obtained from multiple measurements. The estimation error refers to the difference between the predicted value or measured value and the true value due to various reasons when measuring, calculating or predicting. This estimation error is inevitable because all measurements and estimates are subject to certain limitations and uncertainties.

[0110] Solution steps: According to the stochastic gradient descent method, the calculation in the iterative process can be expressed as:

[0111]

[0112] In the formula, μt is the step size, which can be determined as μt = βωt·Δt according to experience. The Jacobian matrix J is:

[0113]

[0114] Specifically, first convert the quaternion calculation into matrix calculation:

[0115]

[0116] in:

[0117]

[0118] According to the transformed objective function, the Jacobian matrix can be solved according to the following formula:

[0119]

[0120] Step 103: Obtain the joint angle based on the direction cosine matrix of the sensor fixed system relative to the inertial coordinate system and the three-degree-of-freedom joint axis vector.

[0121] Step 102 , obtaining a three-degree-of-freedom joint axis vector in the sensor fixed coordinate system based on the angular velocity data, the acceleration data, the posture of the sensor fixed coordinate system relative to the inertial coordinate system, and the three-degree-of-freedom joint motion constraint in the inertial coordinate system.

[0122] As an implementation method, the implementation method of obtaining the three-degree-of-freedom joint axis vector in the sensor fixed coordinate system includes:

[0123] Based on the joint angular velocity collected by the IMU, estimate the joint principal axis vector;

[0124] Construct an optimization problem for the joint principal axis vector in the first reference system based on the coordinate equality principle to solve the integrated reference system of the corrected quaternion;

[0125] In the first reference system, the remaining axis vectors of the three-degree-of-freedom joint except the joint main axis are obtained;

[0126] Based on the angular velocities of the limbs at both ends of the joint and the remaining axis vectors of the three-degree-of-freedom joint except the joint main axis, a three-degree-of-freedom joint axis vector is obtained.

[0127] 2) Three-DOF joint axis estimation and IMU position motion compensation algorithm

[0128] It should be noted that the limb coordinate system is artificially defined and is based on the human limbs. This article uses the following definition: b The axis is consistent with the direction of gravity acceleration; plane y b z b Parallel to the sagittal plane of the human body, y b The axis points forward. Create a rotation matrix that connects the sensor to the limb coordinate system The key is to obtain the description of the joint rotation axis in the sensor fixed system. This is also the purpose of setting up and executing corrective actions based on the existing method of establishing a limb coordinate system. The execution of corrective actions has the defects of cumbersome operation and high sensitivity to action accuracy, which limits the application of IMU-based joint angle solution in exoskeleton robots. At the same time, it is impossible to solve the problem of sensor movement during the measurement process in principle, and robust measurement cannot be achieved. The contributions of this section are: 1. Based on the existing methods for solving joint axes without corrective actions, single-degree-of-freedom and double-degree-of-freedom joints, reasonable kinematic constraints are adopted to solve the three-degree-of-freedom lower limb joint angles in real time based on the wearable IMU without the need for corrective actions; 2. Based on the proposed three-degree-of-freedom joint angle algorithm framework, real-time correction and compensation of IMU string movement errors are realized.

[0129] The following is a description of the joint principal axis estimation.

[0130] First of all, it should be noted that in the daily movement of the lower limbs (including the knee joint and the thighs and calves on both sides of the joint), especially in the process of walking, the movement of the lower limb joints is always mainly rotation in the sagittal plane, and the rotation axis becomes the main axis of the joint. Therefore, the lower limb joints can be simplified as hinge connections.

[0131] Next, we solve the simplified problem of estimating the axis of a single-degree-of-freedom joint under hinge constraints.

[0132] The joint is equivalent to the hinge of two rods, and the joint direction vector is represented by the fixed coordinate systems 1 and 2 on the two rods (that is, the coordinate systems fixed on the two IMUs) as j1 and j2 respectively. In this embodiment, since the two IMUs cannot be in the same plane on the surface of the human body, it is assumed that the directions of the coordinate axes on the two rods are unknown. Let the vectors of the joint angular velocity in the fixed coordinate systems 1 and 2 be ω1(t) and ω2(t). Geometrically, the difference between ω1(t) and ω2(t) is only the angular velocity of the joint and a time-varying rotation matrix. Therefore, the length of their projections on their respective coordinate representation angle planes (their normal vectors are the joint direction vectors j1 and j2, that is, the coordinate representation of the joint axis on the IMUs on both sides of the joint, and the joint axis is the axis of rotation of the joint) is zero, that is, the physiological motion constraint of the joint is expressed as follows:

[0133]

[0134] Based on the above analysis, the three-degree-of-freedom joint axis estimation based on the joint principal axis is described below.

[0135] It should be noted that the human lower limb joints are three-degree-of-freedom joints with limited range of motion in terms of their rotational freedom. The angular velocity vectors of the two limbs of the three-degree-of-freedom joint can be described by the following formula in the inertial coordinate system:

[0136]

[0137] Where ω2 is the angular velocity of limb 2, ω1 is the angular velocity of limb 1, []g is the projection of the vector in the inertial coordinate system, j1 and j2 are the two rotation axes of the joint, ω j1 ,ω j2 is the projection of the joint angular velocity on the two axes.

[0138] Since a·(a×b)=a·(b×a)=0, we move [ω1]g in formula (4.2.73) to the left side of the equal sign, and multiply the two ends of the equal sign by ([j1]g×[j2]g), and the formula is transformed into the following formula:

[0139]

[0140] If we apply this algorithm to the entire lower limb, ω in the above formula j3 and [j3]g are known, because [j3]g can be obtained by solving the single-degree-of-freedom knee joint, and ω j3 As a scalar equal to the projection of [ω2]g-[ω1]g on [j3]g. Therefore, the problem is once again transformed into a minimum problem, and the Gauss-Newton method can be used to solve the coordinates of the remaining two joint axes j1 and j2.

[0141] From the above analysis, it can be seen that the IMU is set on the limbs at both ends of the joint to be measured to collect the acceleration and angular velocity during the movement of the limb; the collected acceleration and angular velocity data are used as input, and the three-degree-of-freedom joint motion constraint is used as the cost function. The Gauss-Newton method is used to solve the coordinates of the three-degree-of-freedom joint axis vector of the joint spindle in the inertial measurement unit fixed coordinate system on the limb.

[0142] Multi-reference system integration: Since the kinematic constraints of the three-degree-of-freedom joint are described in an inertial coordinate system, the accuracy of the IMU absolute attitude solution has an important impact on the accuracy of the solution of the overall three-degree-of-freedom joint axis and the subsequent three-degree-of-freedom joint angle solution.

[0143] Due to the different characteristics of different IMUs and the different motion characteristics of the two limbs at both ends of the joint, the accuracy and error characteristics of the absolute posture solved by the IMUs at both ends of the joint are also different. This difference leads to the fact that the IMU absolute posture solution does not actually map the sensor fixed connection system to the inertial coordinate system, but maps it to a different reference system. [s1], [s2] represent the sensor fixed connection system of IMU1 and IMU2, [g1], [g2] represent the reference system mapped by the absolute posture solution of IMU1 and IMU2, and q corr Represents the orientation relationship between [g1] and [g2].

[0144] In order to reduce the error caused by different reference frames, it is necessary to solve the orientation relationship, that is, to correct the quaternion q corr , to integrate the two into the same reference system. In the solution process, the expression of geomagnetism and gravitational acceleration in [g1] and [g2] can be used as a reference. Specifically, first, the gravitational acceleration should have the same coordinates in the same reference system:

[0145]

[0146] Secondly, the magnetic vector should have the same coordinates in the same reference system, and the formula is the same as above.

[0147] However, since the acceleration measured by the IMU is the superposition of the acceleration generated by the action and the acceleration of gravity, and the geomagnetic signal measured by the IMU is disturbed by the distortion of the geomagnetic field, the above two correction quaternions q acc ,q mag There are calculation errors in both. To reduce this error problem, the weighted accumulation of the two is used to represent the true correction quaternion q corr :

[0148] q corr =k mag ·q mag +k acc ·q acc (4.2.78)

[0149] In order to obtain a value that can accurately represent q corr The coefficient k acc and k mag , first solve the coordinate j1 of the joint spindle 2D and j2 2D Described in the same reference frame [g1]:

[0150]

[0151] by For the optimization goal, k mag and k acc is the variable to be optimized, and Newton's method can be used to solve the nonlinear least squares problem.

[0152] To summarize, the calculation process of the entire three-degree-of-freedom joint axis solution is to first estimate the joint axis, and then construct an optimization problem based on the coordinate equality of the estimated joint axis in the reference system [g1] (i.e., the first reference system) to solve the corrected quaternion q corr The reference system is unified, and finally the remaining axes of the three-degree-of-freedom joint are solved in the unified reference system [g1]. Among them, the reference system where the main axis of the joint is located is the [g1] reference system. After solving, the angular velocity of the two limbs is calculated in j13D and j2 3D The projection of is subtracted to make it as consistent as possible with the single degree of freedom assumption when solving the joint principal axis, and then it is brought back into the algorithm for solving the joint principal axis, and the above process is repeated. This iterative process is repeated 2-3 times.

[0153] Step 103 , obtaining the joint angle based on the rotation relationship between the limb coordinate system and the sensor fixed coordinate system, the posture of the sensor fixed coordinate system relative to the inertial coordinate system, and the three-degree-of-freedom joint axis vector in the sensor fixed coordinate system.

[0154] As an implementation method, the implementation method of obtaining the joint angle includes:

[0155] Obtaining a rotation matrix between the limb coordinate system and the sensor fixed connection system;

[0156] A limb coordinate system of a single-degree-of-freedom joint is defined through a rotation matrix between the limb coordinate system and the sensor fixed connection system, and a joint angle of the joint rotating around a joint principal axis is obtained based on the limb coordinate system of the single-degree-of-freedom joint;

[0157] Based on the joint angle of the joint rotating around the joint main axis, a limb coordinate system defined by the three-degree-of-freedom joint is obtained;

[0158] Based on the limb coordinate system defined by the three-degree-of-freedom joint and the direction cosine matrix of the sensor fixed connection system relative to the inertial coordinate system, a rotation relationship between the limb coordinate system and the sensor fixed connection system represented by a quaternion is obtained;

[0159] Based on the rotation relationship between the limb coordinate system defined by the three-degree-of-freedom joint and the limb coordinate system and the sensor fixed connection system, the rotation relationship between the three-degree-of-freedom joint limb coordinate systems around the remaining two joint rotation axes except the joint main axis is obtained;

[0160] By using the Euler angle decomposition method, the rotation relationship between the three-degree-of-freedom joint limb coordinate systems around the remaining two joint rotation axes except the joint main axis is decomposed to obtain the joint angles of the two three-degree-of-freedom joint axes around the joint.

[0161] The following is an explanation of the real-time calculation algorithm for joint angles.

[0162] For a single-degree-of-freedom joint, the coordinate axes of the limb coordinate system are expressed in the sensor fixed system as follows:

[0163]

[0164] The rotation matrix between the limb coordinate system and the sensor fixed connection system can be formed through this coordinate expression:

[0165]

[0166] Among them, oi is the estimated joint position vector from the sensor fixed connection origin to the joint rotation center. After defining the limb coordinate system of the single-degree-of-freedom joint through the rotation matrix, the joint angle rotating around the joint main axis, that is, the angle of the joint in the sagittal plane, can be solved:

[0167]

[0168] After solving the angle of rotation of the joint around the joint axis, the limb coordinate system can be redefined as a three-degree-of-freedom joint. 3D and j2 3D If the sensor is fixed to the limbs at both ends of the joint, the rotation relationship between the limb coordinate system and the sensor fixed system can be expressed by quaternions:

[0169]

[0170] According to the established rotation relationship between the limb coordinate system and the sensor fixed connection system, the rotation around the joint main axis is first eliminated, and the rotation relationship between the three-degree-of-freedom joint limb coordinate systems around the remaining two joint rotation axes is solved:

[0171]

[0172] Using the Euler angle decomposition method, we can Decomposed into winding j1 3D and j2 3D angle.

[0173] The real-time joint angle solution method of the embodiment of the present application realizes online adjustment of complementary filter fusion coefficients through an intelligent optimization algorithm, realizes real-time correction and compensation of the inertial measurement unit serial error, thereby improving the real-time, stability and accuracy of joint angle solution.

[0174] In order to implement the above-mentioned embodiment, the present application also proposes a real-time joint angle solution device. Figure 6 This is a schematic diagram of the structure of a real-time joint angle calculation device provided in an embodiment of the present application. Figure 6 As shown, the joint angle real-time solution device may include: a posture acquisition module 201, an axis estimation module 202 and an angle acquisition module 203.

[0175] Among them, the posture acquisition module 201 is used to obtain the posture of the sensor fixed coordinate system relative to the inertial coordinate system based on the angular velocity data, acceleration data and geomagnetic data collected by the IMU; the IMU is installed on the limbs at both ends of the joint, and the posture of the sensor fixed coordinate system relative to the inertial coordinate system is the IMU absolute posture;

[0176] An axis estimation module 202, configured to obtain a three-degree-of-freedom joint axis vector in the sensor fixed coordinate system based on the angular velocity data, the acceleration data, the posture of the sensor fixed coordinate system relative to the inertial coordinate system, and the three-degree-of-freedom joint motion constraint in the inertial coordinate system;

[0177] The angle acquisition module 203 is used to obtain the joint angle based on the rotation relationship between the limb coordinate system and the sensor fixed coordinate system, the posture of the sensor fixed coordinate system relative to the inertial coordinate system and the three-degree-of-freedom joint axis vector in the sensor fixed coordinate system.

[0178] In some implementations, the posture acquisition module 201 is specifically used to:

[0179] Fusing the acceleration data and the geomagnetic data through the FQA method to obtain a first quaternion;

[0180] Integrate the angular velocity data to obtain a second quaternion;

[0181] Obtaining a first deviation between the first quaternion and a true value of the IMU absolute attitude, and adjusting a complementary filter fusion coefficient K based on the first deviation;

[0182] Based on the adjusted complementary filter fusion coefficient K, the first quaternion and the second quaternion are fused by a weighted average method to obtain the posture of the sensor fixed coordinate system relative to the inertial coordinate system.

[0183] In some implementations, when acquiring the first deviation between the first quaternion and the true value of the IMU absolute attitude, the attitude acquisition module 201 is used to:

[0184] The first deviation of the first quaternion relative to the true value of the IMU absolute attitude is obtained by a first formula group, and the first formula group is expressed as follows:

[0185] Δ bias =Δ mag +α·Δ acc

[0186]

[0187] Among them, △mag and △acc are the qFQA errors measured according to the Earth's magnetic field and gravitational acceleration, respectively; N and G are the coordinates of the Earth's magnetic field and gravitational acceleration in the inertial coordinate system, respectively.

[0188] In some implementations, the posture acquisition module 201 adjusts the complementary filter fusion coefficient K based on the first deviation; for:

[0189] Obtaining a linear relationship model between the complementary filter fusion coefficient K and the first deviation;

[0190] Taking the coefficients in the linear relationship model as optimization variables and the fused estimation errors as optimization targets, determining the coefficients of the linear relationship model;

[0191] Based on the coefficients of the linear relationship model and the linear relationship model, the complementary filter fusion coefficient K is adjusted.

[0192] In some implementations, the axis estimation module 202 is specifically configured to:

[0193] Iteratively perform the following operations until the number of iterations meets the requirement, and obtain the three-degree-of-freedom joint axis vector in the sensor fixed coordinate system;

[0194] The acceleration data and the angular velocity data are used as input, the three-degree-of-freedom joint motion constraint in the inertial coordinate system is used as a cost function, and the three-degree-of-freedom joint axis vector in the sensor fixed coordinate system is solved by the Gauss-Newton method;

[0195] An optimization problem is constructed based on the equal coordinates of the three-degree-of-freedom joint axis vectors in the sensor fixed coordinate system in the first reference system to solve the integrated reference system of the corrected quaternion; the corrected quaternion is an orientation relationship;

[0196] In the first reference system, obtaining the remaining axis vectors of the three-degree-of-freedom joint except the joint main axis based on the corrected quaternion;

[0197] The angular velocity data is adjusted so that the angular velocity data satisfies the single-degree-of-freedom joint motion constraint in an inertial coordinate system.

[0198] It should be noted that the purpose of correcting the quaternion is to renormalize it to make it a unit quaternion. The normalized quaternion can ensure the correctness of the rotation operation and can be used for interpolation and avoid numerical instability. In practical applications, the normalization of quaternions is usually performed after each update to maintain its accuracy.

[0199] In some implementations, the angle acquisition module 203 is specifically configured to:

[0200] Acquire the rotation relationship between the limb coordinate system and the sensor fixed coordinate system;

[0201] The limb coordinate system of the single-degree-of-freedom joint is defined through the rotation relationship between the limb coordinate system and the sensor fixed coordinate system, and the joint angle of the joint rotating around the joint main axis is obtained based on the limb coordinate system of the single-degree-of-freedom joint;

[0202] Based on the joint angle of the joint rotating around the joint main axis, a limb coordinate system defined by the three-degree-of-freedom joint is obtained;

[0203] Based on the postures of the limb coordinate system defined by the three-degree-of-freedom joint and the sensor fixed coordinate system relative to the inertial coordinate system, obtaining a rotation relationship between the limb coordinate system and the sensor fixed coordinate system represented by a quaternion;

[0204] Based on the limb coordinate system defined by the three-degree-of-freedom joint and the rotational relationship between the limb coordinate system and the sensor fixed connection system, the rotational relationship between the three-degree-of-freedom joint limb coordinate systems around the remaining two joint rotation axes except the joint main axis is obtained;

[0205] By using the Euler angle decomposition method, the rotation relationship between the three-degree-of-freedom joint limb coordinate systems around the remaining two joint rotation axes except the joint main axis is decomposed to obtain the joint angles of the two three-degree-of-freedom joint axes around the joint.

[0206] It should be noted that the aforementioned explanation of the embodiment of the method for real-time calculation of joint angles is also applicable to the real-time calculation device for joint angles of this embodiment, and will not be repeated here.

[0207] In order to implement the above embodiment, the present application also proposes an electronic device, see Figure 7 , Figure 7 Schematic diagram of the structure of the electronic device provided in the embodiment of the present application. Figure 7 As shown, the electronic device 700 includes: a processor 701, and a memory 702 communicatively connected to the processor 701; the memory 702 stores computer-executable instructions; the processor 701 executes the computer-executable instructions stored in the memory to implement the method provided in the aforementioned embodiment.

[0208] In the description of the aforementioned embodiments, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0209] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0210] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A flexible wearable inertial measurement device, characterized in that: The device includes a flexible printed circuit board, on which a control unit and an inertial measurement unit (IMU) are configured. The control unit is connected to the inertial measurement unit; the inertial measurement unit includes an accelerometer that supports measuring three-axis acceleration, a gyroscope that supports measuring three-axis angular velocity, and a magnetometer that supports measuring three-axis magnetic field; the flexible printed circuit board is provided with contact electrodes at the end points for connecting to other electronic devices.

2. The wearable inertial measurement device according to claim 1, wherein The flexible printed circuit board is in a double-sided hexagonal star shape.

3. The wearable inertial measurement device according to claim 1, wherein The inertial measurement device includes a signal layer and GND layers on both sides of the signal layer. The signal layer includes a double-sided copper foil base material layer and a cover film layer and an antistatic double-sided adhesive layer sequentially arranged on both sides of the double-sided copper foil base material layer.

4. The wearable inertial measurement device according to claim 1, wherein The flexible printed circuit board is also provided with a Bluetooth module, a temperature and barometer, a membrane keypad and a battery box connected to the control unit.

5. A method for real-time calculation of joint angles using an inertial measurement device according to any one of claims 1 to 4, characterized in that: The steps include: Based on the angular velocity data, acceleration data and geomagnetic data collected by the IMU, the posture of the sensor fixed coordinate system relative to the inertial coordinate system is obtained; the IMU is installed on the limbs at both ends of the joint, and the posture of the sensor fixed coordinate system relative to the inertial coordinate system is the IMU absolute posture; Obtaining a three-degree-of-freedom joint axis vector in the sensor-fixed coordinate system based on the angular velocity data, the acceleration data, the posture of the sensor-fixed coordinate system relative to the inertial coordinate system, and the three-degree-of-freedom joint motion constraint in the inertial coordinate system; The joint angle is obtained based on the rotation relationship between the limb coordinate system and the sensor fixed coordinate system, the posture of the sensor fixed coordinate system relative to the inertial coordinate system, and the three-degree-of-freedom joint axis vector in the sensor fixed coordinate system.

6. The method for real-time calculation of joint angles according to claim 5, characterized in that: The method of obtaining the posture of the sensor fixed coordinate system relative to the inertial coordinate system based on the angular velocity data, acceleration data and geomagnetic data collected by the IMU includes: Fusing the acceleration data and the geomagnetic data using an FQA method to obtain a first quaternion; Integrating the angular velocity data to obtain a second quaternion; Obtaining a first deviation between the first quaternion and a true value of the IMU absolute attitude, and adjusting a complementary filter fusion coefficient K based on the first deviation; Based on the adjusted complementary filter fusion coefficient K, the first quaternion and the second quaternion are fused by a weighted average method to obtain the posture of the sensor fixed coordinate system relative to the inertial coordinate system.

7. The method for real-time calculation of joint angles according to claim 6, characterized in that: The step of obtaining a first deviation between the first quaternion and the true value of the IMU absolute attitude comprises: A first deviation of the first quaternion relative to the true value of the IMU absolute attitude is obtained by a first formula group, and the first formula group is expressed as follows: D bias =D mag +a·D acc Among them, △mag and △acc are q measured according to the geomagnetic field and gravitational acceleration, respectively. FQA Error; N, G are the coordinates of the earth's magnetic field and gravitational acceleration in the inertial coordinate system respectively.

8. The method for real-time calculation of joint angles according to claim 7, characterized in that: The adjusting the complementary filter fusion coefficient K based on the first deviation includes: Obtaining a linear relationship model between the complementary filter fusion coefficient K and the first deviation; Using the coefficients in the linear relationship model as optimization variables and the fused estimation error as the optimization target, the coefficients of the linear relationship model are determined; Based on the coefficients of the linear relationship model and the linear relationship model, the complementary filter fusion coefficient K is adjusted.

9. The method for real-time calculation of joint angles according to claim 5, characterized in that: The obtaining of the three-degree-of-freedom joint axis vector in the sensor-fixed coordinate system based on the angular velocity data, the acceleration data, the posture of the sensor-fixed coordinate system relative to the inertial coordinate system, and the three-degree-of-freedom joint motion constraint in the inertial coordinate system includes: Iteratively perform the following operations until the number of iterations meets the requirement, and obtain the three-degree-of-freedom joint axis vector in the sensor fixed coordinate system; Taking the acceleration data and the angular velocity data as input, and the three-degree-of-freedom joint motion constraint in the inertial coordinate system as a cost function, solving the three-degree-of-freedom joint axis vector in the sensor fixed coordinate system by Gauss-Newton method; An optimization problem is constructed based on the equality of the coordinates of the three-degree-of-freedom joint axis vectors in the sensor-fixed coordinate system in the first reference system, and a unified reference system of the corrected quaternion is solved; the corrected quaternion is an orientation relationship; In the first reference system, obtaining the remaining axis vectors of the three-degree-of-freedom joint except the joint main axis based on the corrected quaternion; The angular velocity data is adjusted so that the angular velocity data satisfies the single-degree-of-freedom joint motion constraint in an inertial coordinate system.

10. The method for real-time calculation of joint angles according to claim 5, characterized in that: The obtaining of the joint angle based on the rotational relationship between the limb coordinate system and the sensor fixed coordinate system, the posture of the sensor fixed coordinate system relative to the inertial coordinate system, and the three-degree-of-freedom joint axis vector in the sensor fixed coordinate system includes: Obtaining a rotational relationship between a limb coordinate system and a sensor fixed coordinate system; Defining a limb coordinate system of a single-degree-of-freedom joint through a rotational relationship between the limb coordinate system and the sensor fixed coordinate system, and obtaining a joint angle of the joint rotating around a joint principal axis based on the limb coordinate system of the single-degree-of-freedom joint; Based on the joint angle of the joint rotating around the joint main axis, a limb coordinate system defined by the three-degree-of-freedom joint is obtained; Based on the postures of the limb coordinate system defined by the three-degree-of-freedom joint and the sensor fixed coordinate system relative to the inertial coordinate system, obtaining a rotational relationship between the limb coordinate system and the sensor fixed coordinate system represented by a quaternion; Based on the limb coordinate system defined by the three-degree-of-freedom joint and the rotational relationship between the limb coordinate system and the sensor fixed connection system, the rotational relationship between the three-degree-of-freedom joint limb coordinate systems around the remaining two joint rotation axes except the joint main axis is obtained; The rotation relationship between the three-degree-of-freedom joint limb coordinate systems around the two joint rotation axes other than the joint main axis is decomposed by the Euler angle decomposition method to obtain the joint angles around the two three-degree-of-freedom joint axes of the joint.

Citation Information

Cited By

  • Fusion positioning method, device and system of multi-joint system and medium

    CN122143067A

  • Fusion positioning method, device and system of multi-joint system and medium

    CN122143067B