Human motion capture method and system and storage medium

By using the fusion technology of UWB module and IMU module in the human motion capture system, combined with the channel impulse response and position information, the anti-interference and positioning accuracy problems of wireless IMU data transmission are solved, and the stability and accuracy of motion capture are improved.

CN118870291AActive Publication Date: 2024-10-29SOUTHERN UNIVERSITY OF SCIENCE AND TECHNOLOGY
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202410914722.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-10-29
Estimated Expiration
2044-07-09

AI Technical Summary

Technical Problem

Existing wireless IMU data transmission has poor anti-interference ability, short transmission distance, low bandwidth, large delay, and cannot accurately determine the absolute position of the IMU, causing the accuracy of positioning and motion estimation of inertial motion capture to be affected during long-term use. Moreover, the IMU wearing error and configuration wearing time are cumbersome.

Method used

Fusion sensors are used, including UWB modules and IMU modules, to transmit motion attitude data through UWB technology, and add timestamps between the base station and the sensor. Combined with channel impulse response and location information, computer equipment is used to determine the real-time location of the target user and Movement posture, enhance signal anti-interference, reduce data collection delay, and improve calculation accuracy.

Benefits of technology

Significantly improves the calculation accuracy of real-time position and motion posture, suppresses the posture drift of the IMU module under long-term use, improves the stability of motion capture, and can rely on IMU data for positioning when the UWB signal is blocked, enhancing the system's Anti-interference ability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118870291A_ABST
    Figure CN118870291A_ABST
Patent Text Reader

Abstract

The invention provides a human motion capture method and system and a storage medium, a base station receives a data packet from a fusion sensor, adds a timestamp to the data packet, and then forwards the data packet with the timestamp to a computer device; the computer equipment obtains a corresponding channel pulse response when the base station receives the data packet and position information of the position where the base station is located, and determines a target data packet from the received data packet based on the channel pulse response; and the computer equipment determines first positioning information of the target user based on the position information and a timestamp corresponding to the target data packet, and determines a real-time position and a real-time motion posture of the target user based on the first positioning information and motion posture data contained in the target data packet. By the adoption of the method, the calculation precision of the real-time position and the real-time motion posture can be remarkably improved, posture drift of the IMU module in long-time use can be restrained, and the stability of long-time motion capture is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of human motion capture, and in particular to a human motion capture method, system and storage medium. Background Art

[0002] Human motion capture technology uses different sensor devices to measure, track and record the motion information of human limbs in three-dimensional space (including speed, position, posture, etc.), and then uses algorithms such as inverse kinematics analysis to reconstruct the human motion process. This technology has been widely used in interdisciplinary fields, such as film and television animation production, human-computer interaction, sports training, etc., and has broad market prospects and application space.

[0003] The current mainstream high-precision motion capture technologies include optical motion capture and inertial motion capture. Compared with optical motion capture, inertial motion capture has the advantages of low cost, convenient installation, and ease of use. It can be used in indoor or outdoor scenes with complex optical environments. The principle of inertial motion capture technology is mainly: by fixing multiple wearable inertial sensors (i.e. IMU) on various limbs of the human body to collect the acceleration and angular velocity information of each limb, and then respectively solve the posture of each limb, and then construct a complete human body movement through a set of constraint algorithms. Wearable inertial motion capture devices have no occlusion and specific space restrictions, and can monitor user activities in any weather and venue. Therefore, they have a wide range of application scenarios in the fields of sports health and rehabilitation medicine.

[0004] However, existing wireless IMU data transmission is generally through WIFI, Bluetooth, or Zigbee, etc., which has poor anti-interference ability, short transmission distance, low bandwidth, high latency and other problems, and it is impossible to accurately determine the absolute position of the IMU. For inertial motion capture, three-dimensional spatial positioning is an important function second only to human posture resolution. Inertial motion capture relies on double integration of accelerometer data to calculate displacement, which will cause drift over time. Especially in the case of long-term use, this will affect the accuracy of positioning and motion estimation. In addition, in order to achieve full-body motion capture, existing IMU-based motion capture technology often requires more than ten IMUs to be worn on the body. At the same time, the wearing error of the IMU will also cause errors in the restoration of human motion. Motion capture is difficult, and the configuration and wearing time of the IMU is long and cumbersome. Summary of the invention

[0005] In view of this, an object of the present invention is to provide a human motion capture method, system and storage medium to alleviate the above-mentioned problems existing in the related art.

[0006] In a first aspect, an embodiment of the present invention provides a human motion capture method, which is applied to a human motion capture system, wherein the human motion capture system includes a base station, a fusion sensor and a computer device, and the human motion capture method includes: the base station receives a data packet from the fusion sensor, adds a timestamp to the data packet, and then forwards the data packet with the timestamp to the computer device; wherein the fusion sensor includes a UWB module and an IMU module, the IMU module is used to collect motion posture data of a target user, the UWB module is used to transmit the data packet using UWB technology, the data packet includes the motion posture data, and the timestamp is the receiving time corresponding to when the base station receives the data packet; the computer device obtains the channel impulse response corresponding to when the base station receives the data packet and the location information of the base station, and determines the target data packet from the received data packet based on the channel impulse response; the computer device determines the first positioning information of the target user based on the location information and the timestamp corresponding to the target data packet, and determines the real-time position and real-time motion posture of the target user based on the first positioning information and the motion posture data contained in the target data packet.

[0007] In a second aspect, an embodiment of the present invention further provides a human motion capture system, which includes a base station, a fusion sensor and a computer device, wherein the fusion sensor includes a UWB module and an IMU module, wherein the IMU module is used to collect motion posture data of a target user to form a data packet, and the UWB module is used to transmit the data packet using UWB technology; the base station is used to receive a data packet from the fusion sensor, add a timestamp to the data packet, and then forward the data packet with the timestamp to the computer device; wherein the data packet includes the motion posture data, and the timestamp is the receiving time corresponding to when the base station receives the data packet; the computer device is used to: obtain a channel impulse response corresponding to when the base station receives the data packet and location information of the base station, and determine a target data packet from the received data packet based on the channel impulse response; determine the first positioning information of the target user based on the location information and the timestamp corresponding to the target data packet, and determine the real-time position and real-time motion posture of the target user based on the first positioning information and the motion posture data contained in the target data packet.

[0008] In a third aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the human motion capture method described in the first aspect.

[0009] The embodiments of the present invention provide a method, system and storage medium for capturing human motion. A base station receives a data packet from a fusion sensor, adds a timestamp to the data packet, and then forwards the data packet with the timestamp to a computer device. The fusion sensor includes a UWB module and an IMU module. The IMU module is used to collect motion posture data of a target user. The UWB module is used to transmit a data packet using UWB technology. The data packet includes motion posture data. The timestamp is the receiving time corresponding to when the base station receives the data packet. The computer device obtains a channel impulse response corresponding to when the base station receives the data packet and location information of the base station, and determines a target data packet from the received data packet based on the channel impulse response. The computer device determines the first positioning information of the target user based on the location information and the timestamp corresponding to the target data packet, and determines the real-time position and real-time motion posture of the target user based on the first positioning information and the motion posture data included in the target data packet. By adopting the above technology, by communicating between the base station and the fusion sensor using UWB technology and combining the IMU module to collect motion posture data, the system's signal anti-interference ability can be enhanced, the sensor data collection delay can be reduced, the system power consumption can be reduced, and the system bandwidth can be improved, thereby ensuring the subsequent real-time position and real-time motion posture calculation accuracy; by fusing UWB and IMU, and determining the target data packet based on the channel impulse response data, and then using the location information of the base station, the timestamp corresponding to the target data, and the motion posture data contained in the target data to determine the real-time position and real-time motion posture of the target user, the calculation accuracy of the real-time position and real-time motion posture can be significantly improved, and the posture drift of the IMU module under long-term use can be suppressed, thereby improving the stability of long-term motion capture; in addition, positioning can be achieved by fusing IMU data with UWB communication data, and IMU data can be used to achieve positioning when the UWB signal is blocked for a short time, thereby improving the stability of positioning.

[0010] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.

[0011] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0013] Figure 1 Schematic diagram of the structure of a human motion capture system in an embodiment of the present invention;

[0014] Figure 2 A schematic diagram of a flow chart of a method for capturing human motion in an embodiment of the present invention;

[0015] Figure 3 An example diagram of a process for determining a target data packet in an embodiment of the present invention;

[0016] Figure 4 This is an example diagram of the hardware architecture of the fusion sensor in an embodiment of the present invention;

[0017] Figure 5 1 is a flowchart of a method for capturing human motion in an embodiment of the present invention;

[0018] Figure 6 This is an example diagram of a human body posture calculated by an RNN neural network in an embodiment of the present invention. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described in combination with the embodiments below. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0020] The embodiment of the present invention provides a human motion capture method, which can be applied to a human motion capture system. Figure 1 As shown, the human motion capture system may include a base station 120 , a fusion sensor 110 and a computer device 130 .

[0021] See also Figure 2 As shown, the human motion capture method may include the following steps:

[0022] In step S202 , the base station 120 receives a data packet from the fusion sensor 110 , adds a timestamp to the data packet, and then forwards the data packet with the timestamp to the computer device 130 .

[0023] Among them, the fusion sensor 110 includes a UWB module and an IMU module. The IMU module is used to collect motion posture data of the target user. The UWB module is used to transmit data packets using UWB technology. The data packets contain motion posture data. The second timestamp is the receiving time corresponding to when the base station 120 receives the data packet.

[0024] In step S204, the computer device 130 obtains a channel impulse response (CIR) corresponding to when the base station 120 receives the data packet and location information of the base station 120, and determines a target data packet from the received data packets based on the CIR.

[0025] In step S206, the computer device 130 determines the first positioning information of the target user based on the position information and the timestamp corresponding to the target data packet, and determines the real-time position and real-time motion posture of the target user based on the first positioning information and the motion posture data included in the target data packet.

[0026] In actual application, the number of base stations 120 is usually not less than three. The base stations 120 and the base stations 120 and computers can communicate via wired connections or wireless connections (such as Wi-Fi, Bluetooth, etc.), and there is no limitation on this.

[0027] A human motion capture method provided by an embodiment of the present invention can enhance the signal anti-interference ability of the system, reduce the sensor data acquisition delay, reduce the system power consumption, and improve the system bandwidth by communicating between the base station 120 and the fusion sensor 110 using UWB technology, and collecting motion posture data in combination with the IMU module, thereby ensuring the subsequent real-time position and real-time motion posture calculation accuracy. By fusing UWB and IMU, and determining the target data packet according to the channel impulse response data, and then using the location information of the base station location, the timestamp corresponding to the target data, and the motion posture data contained in the target data to determine the real-time position and real-time motion posture of the target user, the calculation accuracy of the real-time position and real-time motion posture can be significantly improved, and the posture drift of the IMU module under long-term use can be suppressed, thereby improving the stability of long-term motion capture. In addition, positioning can be achieved by fusing IMU data with UWB communication data, and positioning can also be achieved by using IMU data when the UWB signal is blocked for a short time, thereby improving the stability of positioning.

[0028] In actual application, the channel impulse response may include total receive (RX) power, first path (FP) power, and a time delay between the first path and a signal peak.

[0029] The accuracy of UWB positioning will be affected by LOS (Line Of Sight) and NLOS (Non-Line Of Sight). LOS refers to the propagation mode of UWB signals without obstacles between the transmitter and the receiver; NLOS refers to the propagation mode of UWB signals encountering obstacles during the propagation process. Under LOS conditions, the propagation path of UWB signals is relatively simple, so the positioning accuracy is high. Under NLOS conditions, UWB signals will be affected by reflection and scattering of obstacles, causing the propagation path to become complicated, thereby reducing positioning accuracy.

[0030] The above-mentioned UWB module can adopt a UWB chip. Based on the hardware characteristics of the UWB chip, the channel conditions of LOS and NLOS can be classified to improve the accuracy of the three-dimensional positioning process. The process can be: using the RX power, FP power, and the time delay between the first path and the highest peak of the signal obtained based on the channel estimation to calculate the probability that the corresponding channel is a reliable signal under the LOS path and / or an unreliable signal under the NLOS path.

[0031] The RX power calculation process is:

[0032]

[0033] In the formula, C refers to the overall power value of the channel impulse response estimated from the UWB chip, N refers to the cumulative count value of the preamble code, and A is a predefined constant value.

[0034] The FP power calculation process is:

[0035]

[0036] In this formula, F1, F2, and F3 refer to the first, second, and third harmonics of the first path signal amplitude estimated from the UWB chip.

[0037] The delay calculation process between the first path and the highest peak of the signal is:

[0038] TimeDelay=(PeakPathIndex-FirstPathIndex)*1

[0039] This formula calculates the difference between the first path index (FirstPathIndex) and the peak index (PeakPathIndex), and undergoes unit conversion, where 1 refers to 1 index unit converted to 1 nanosecond.

[0040] Based on this, in the above-mentioned step S204, the computer device 130 determines the target data packet from the received data packets based on the channel impulse response, which may include: the computer device 130 determines, for each received data packet, the power difference between the total received power contained in the data packet and the first path power contained in the data packet, and determines the probability that the data packet belongs to non-line-of-sight based on the power difference corresponding to the data packet and the delay contained in the data packet and the preset power threshold, scaling factor, delay threshold and delay constant; if the probability corresponding to the data packet is less than the preset probability threshold, the data packet is determined as the target data packet.

[0041] For example, see Figure 1 to Figure 2 As shown, after determining the power difference between the total received power contained in a received data packet and the first path power contained in the data packet, the computer device 130 may perform the following operations:

[0042] Step 1: If the power difference corresponding to the data packet is greater than the power threshold, the probability that the data packet belongs to non-line-of-sight is determined to be 0.

[0043] Step 2: If the power difference corresponding to the data packet is not greater than the power threshold and is greater than the product of the power threshold and the scaling factor, determine the probability that the data packet belongs to non-line-of-sight based on the power difference corresponding to the data packet, the power threshold and the scaling factor.

[0044] Step 3: If the power difference corresponding to the data packet is not greater than the product of the power threshold and the scaling factor, determine the probability that the data packet belongs to non-line-of-sight based on the delay corresponding to the data packet, the delay threshold and the delay constant.

[0045] Exemplarily, the delay threshold may include a first delay threshold and a second delay threshold greater than the first delay threshold. For a certain data packet, the operation mode of step 3 may be: if the delay corresponding to the data packet is not greater than the first delay threshold, the probability that the data packet belongs to non-line-of-sight is determined to be 0; if the delay corresponding to the data packet is greater than the first delay threshold and less than the second delay threshold, the probability that the data packet belongs to non-line-of-sight is determined based on the delay corresponding to the data packet and the delay constant; if the delay corresponding to the data packet is not less than the second delay threshold, the probability that the data packet belongs to non-line-of-sight is determined to be 1.

[0046] The first delay threshold and the second delay threshold can be defined according to actual conditions and are not limited thereto.

[0047] In an experimental scenario using at least four base stations 120, data of three parameters (i.e., RX power of the CIR contained in the data packet, FP power, and the delay between the first path and the highest peak of the signal) can be collected for both the NLOS signal and the LOS signal between the base station 120 and the computer device 130, and binary classification based on thresholds can be performed to classify them into two categories: reliable signals under the LOS path and unreliable signals under the NLOS path. Figure 3 As shown in Figure 2, the threshold-based binary classification process is as follows:

[0048] For a certain UWB signal, calculate the power difference between the RX power and the FP power; determine whether the power difference is greater than the power threshold; if the power difference is greater than the power threshold, return the probability value of the signal being NLOS as 0, that is, the signal must not be NLOS (must be LOS); if the power difference is not greater than the power threshold, determine whether the power difference is greater than the power threshold * scaling factor; if the power difference is greater than the power threshold * scaling factor, return the probability value of the signal being NLOS = (power difference / power threshold * scaling factor) / (1-scaling factor); if the power difference is not greater than the power threshold * scaling factor, determine Whether the off delay is greater than the minimum delay threshold (i.e., the first delay threshold); if the delay is not greater than the minimum delay threshold, the probability value of the signal being NLOS is returned as 0, that is, the signal is definitely not NLOS (definitely LOS); if the delay is greater than the minimum delay threshold, determine whether the delay is less than the maximum delay threshold (i.e., the second delay threshold); if the delay is less than the maximum delay threshold, then return the probability value of the signal being NLOS = first delay constant * delay - second delay constant; if the delay is not less than the maximum delay threshold, then return the probability value of the signal being NLOS as 1, that is, the signal is definitely NLOS (definitely not LOS).

[0049] The power threshold, minimum delay threshold, maximum delay threshold, scaling factor, delay constant A, and delay constant B can be determined and adjusted according to the actual scenario and are not limited. The return value is the probability that the signal is NLOS.

[0050] After calculating the probability value of the UWB signal of all fusion sensors being NLOS, the UWB signal entering the subsequent positioning is the signal with a probability value less than the preset probability threshold. The probability threshold can be defined according to the actual scenario, and generally a smaller probability value (such as 0.3, 0.2, 0.1, etc.) can be taken, and there is no limitation on this.

[0051] As a possible implementation, there may be at least four base stations; based on this, in the above step S206, the computer device 130 determines the first positioning information of the target user based on the location information and the timestamp corresponding to the target data packet, which may include: the computer device 130 determines one of the base stations 120 that receives the target data packet as the first base station, and determines each base station other than the first base station as the second base station, and then determines the timestamp difference between the timestamp corresponding to the target data packet received by each second base station and the timestamp corresponding to the target data packet received by the first base station, and uses a preset TDOA (Time Difference of Arrival) positioning algorithm to solve the location information and the determined timestamp difference to determine the first positioning information.

[0052] Among them, the basic principle of the TDOA positioning algorithm is to determine the location of the tag by measuring the time difference between multiple base stations 120 and the tag (i.e., the fusion sensor 110 in this article). Each base station 120 has a precise clock. When the tag sends out a UWB pulse carrying the time of pulse emission, the base station 120 will record the time of pulse arrival. By comparing the time difference corresponding to different base stations 120 (i.e., the duration between the pulse emission time and the pulse arrival time), combined with the speed of light, the distance difference between the tag and each base station 120 can be calculated. Based on the distance difference and the location information of the base station 120, the location of the tag can be determined.

[0053] In actual application, the above-mentioned preset TDOA positioning algorithm may adopt Chan algorithm, Fang algorithm, Foy algorithm (ie, Taylor series algorithm), etc., and there is no limitation on this.

[0054] As a possible implementation, the above-mentioned motion posture data may include angular velocity and acceleration; based on this, in the above-mentioned step S204, the computer device 130 determines the real-time position and real-time motion posture of the target user based on the first positioning information and the motion posture data contained in the target data packet, which may include: the computer device 130 performs a first filtering on the angular velocity and acceleration to obtain the angle information of the target user; the computer device 130 performs a second filtering on the first positioning information and acceleration to obtain the second positioning information; the computer device 130 uses a preset neural network algorithm to predict the second positioning information, acceleration and angle information to obtain the real-time motion posture.

[0055] Among them, the above-mentioned first filtering, the above-mentioned second filtering and the above-mentioned neural network algorithm can be selected according to the actual scenario. For example, the above-mentioned first filtering can adopt complementary filtering, Machony filtering, Madgwick filtering, Kalman filtering (Kalman Filtering, KF), etc., the above-mentioned second filtering can adopt extended Kalman filtering (Extended Kalman Filtering, EKF), unscented Kalman filtering, particle filtering, etc., and the above-mentioned neural network algorithm can adopt standard RNN (Recurrent Neural Network, recurrent neural network), LSTM, recursive RNN, etc., without limitation.

[0056] Exemplarily, the above-mentioned IMU module includes a gyroscope and an accelerometer, and multiple fusion sensors 110 can be worn on different parts of the user's body, so that the angular velocity and acceleration corresponding to the corresponding fusion sensor 110 during the user's movement can be collected by the gyroscope and accelerometer of the same fusion sensor 110 as the user's motion posture data; after the computer device 130 uses a preset TDOA positioning algorithm to calculate the first positioning information, it can calculate the angle information of the user corresponding to each fusion sensor 110 by performing a first filtering on the angular velocity and acceleration, and calculate the second positioning information by performing a second filtering on the obtained first positioning information and acceleration, and then input the obtained second positioning information, acceleration and angle information into a pre-trained neural network model to calculate and output the user's real-time motion posture through the neural network model.

[0057] Exemplarily, there may be six fusion sensors 110, which are respectively fixed on the first target part and the second target part of the target user, where the first target part is the pelvis, and the second target part includes the left forearm, the right forearm, the left calf, the right calf, the head and the pelvis; based on this, the computer device 130 uses a preset neural network algorithm to predict the second positioning information, the acceleration and the angle information, and the step of obtaining the real-time motion posture may include: the computer device 130 generates first input information based on the acceleration and angle information corresponding to the six fusion sensors, and generates second input information based on the second positioning information corresponding to the five fusion sensors fixed on the second target part; the computer device 130 uses the neural network algorithm to predict the first input information and the second input information to obtain the real-time position and the real-time motion posture.

[0058] In actual application, in order to facilitate the calculation of the above-mentioned real-time position and the above-mentioned real-time motion posture, the above-mentioned neural network algorithm may include a first neural network algorithm and a second neural network algorithm; based on this, when the computer device 130 uses the above-mentioned neural network algorithm to predict the first input information and the second input information, it can use the above-mentioned first neural network algorithm to make a first prediction on the first input information and the second input information to obtain the above-mentioned real-time position, and then use the above-mentioned second neural network algorithm to make a second prediction on the first input information and the above-mentioned real-time position to obtain the above-mentioned real-time motion posture.

[0059] For ease of understanding, the operation of the above-mentioned human motion capture method is exemplarily introduced as follows by taking a specific application as an example.

[0060] See also Figure 4 As shown, the hardware architecture of the fusion sensor 110 mainly includes a power management module, a UWB module, a main control module and an IMU module.

[0061] Among them, the power management module includes a PMIC power management chip, the built-in charge and discharge management module controls the battery charging current through DCDC3, and the power supply selection module can intelligently switch between power supply and battery power supply. The power supply part is divided into three routes: LDO1, DCDC1 and DCDC2. LDO1 is responsible for powering the RGB indicator light, DCDC2 is responsible for powering the UWB chip RF module, and DCDC1 is the main power supply. DCDC1 is responsible for powering the main control module, UWB chip (i.e. UWB module), IMU chip (i.e. IMU module) and other remaining modules. At the same time, the power management module will be connected to the main control chip (i.e. main control MCU or main control module), UWB chip and control buttons through the control bus, and the voltage regulation and on-off control of each power supply will be controlled by the signal of the control bus. The main control module is connected to the IMU module and the UWB module through SPI. One of the high-precision crystal oscillators provides a clock signal for the main control MCU, and the other high-precision crystal oscillator provides a clock signal for the UWB chip. The RTC crystal oscillator ensures stable timing when the main circuit of the main control module is dormant. Two power filter modules are responsible for power noise reduction and decoupling, one of which is responsible for the main MCU power filter, and the other is responsible for the UWB chip main power filter). The main control chip obtains the acceleration, angular velocity and time information of the IMU through the IMU module and sends it to the UWB chip. The UWB chip encapsulates the received information into a data packet and sends it to the external base station through the RF part (responsible for the UWB chip RF power filter) and the antenna part (connected to the UWB chip through the antenna interface). The UWB chip can also receive corresponding information from the external base station 120.

[0062] In actual application, both the fusion sensor 110 and the base station 120 can be powered by POE (Power Over Ethernet) or batteries, and the power supply method of the fusion sensor 110 and the base station 120 is not limited here.

[0063] The main process of the above human motion capture method is: obtain the UWB positioning position through TDOA positioning solution, and use Kalman filter (KF) to fuse the calculated UWB positioning position with IMU data to obtain accurate positioning information, and finally input the accurate positioning information and IMU data into the RNN neural network to solve the human posture. Figure 5 As shown in the figure, the above human motion capture method can be divided into five parts: LOS / NLOS classification and judgment, Machony filtering, TDOA positioning solution (CHAN algorithm), UWB-IMU fusion KF, and RNN neural network calculation. The specific process is as follows:

[0064] UWB data is data timestamp (TS) and channel impulse response (CIR). The CIR is used to determine the stability of TS of different base stations through the LOS / NLOS judgment module, and the stable TS is used to solve the UWB positioning position (i.e., the first positioning information) through the CHAN algorithm of TODA positioning. IMU data is acceleration and angular velocity. Machony filtering is performed on the acceleration and angular velocity to obtain angle information, and the first positioning information and acceleration are Kalman filtered (KF) to obtain more accurate positioning information (i.e., the second positioning information). Finally, the second positioning information, acceleration and angle information are input into the RNN neural network to solve and output the human body posture (i.e., the above-mentioned real-time motion posture) through the RNN neural network. The RNN neural network will also output the human body position (i.e., the above-mentioned real-time position) during the solution process.

[0065] The following will introduce in detail the implementation processes of LOS / NLOS classification and judgment, Machony filtering, TDOA positioning solution, UWB-IMU fusion KF, and RNN neural network calculation.

[0066] (I) LOS / NLOS classification judgment

[0067] Each time after the fusion sensor 110 sends a UWB pulse wave to the base station 120, the RX power, FP power and the time delay between the first path and the highest peak of the signal obtained by channel estimation can be read from the UWB chip when the antenna end of the base station 120 receives it; based on this, the process of LOS / NLOS classification judgment can be: based on the RX power, FP power and the time delay between the first path and the highest peak of the signal obtained by channel estimation, the probability value of the corresponding UWB signal being NLOS is calculated, and the TS corresponding to the UWB signal with a probability value less than 0.1 is used as the basic data for entering the subsequent TDOA positioning solution.

[0068] The probability value of the corresponding UWB signal being NLOS can be specifically calculated according to the above Figure 3 The illustrated threshold-based binary classification method is calculated and will not be described in detail.

[0069] (2) Machony filtering

[0070] The basic principle of Mahony filtering includes two steps: prediction and correction, as shown below:

[0071] Prediction: Based on the angular velocity collected by the IMU module through the gyroscope, the attitude change of the rigid body (i.e., the fusion sensor 110) is predicted using the differential equation of the quaternion, that is:

[0072]

[0073] in, is the current rigid body's attitude quaternion, q is the attitude quaternion at the last moment, ω is the angular velocity quaternion of the gyroscope, is the multiplication of quaternions.

[0074] Correction: According to the gravity direction collected by the IMU module through the accelerometer, the attitude error of the rigid body is calculated using the quaternion rotation equation, and then the proportional integral controller is used to correct the attitude estimation of the rigid body, that is:

[0075]

[0076] Among them, e is the attitude error quaternion of the rigid body, K p and K i are the proportional and integral gain parameters respectively, ∫edt is the integral term of the error, and the attitude error quaternion e can be calculated according to the formula e = sine = a × g. is the gravity acceleration vector of the accelerometer, is the gravity acceleration vector integrated by the gyroscope.

[0077] Proportional term K p It is used to control the "confidence" of different sensor sources, and the integral term Ki Used to eliminate static errors. K p The larger the K is, the more significant the accelerometer error compensation is, that is, the more trust the accelerometer data is. p The smaller it is, the more trust is placed on the data from the gyroscope and the less error compensation is applied to the accelerometer. i It is used to eliminate the bias noise in the angular velocity measurement value, but for the gyro data after zero bias correction, a very small K i It can meet the use requirements. p and K i The choice of should match the movement of the carrier (human limbs), that is, K p and K i The value of needs to be determined according to the actual movement of human limbs.

[0078] The last step is to convert the compensation value (i.e. K p e and K i ∫edt) is applied to the angular velocity measurement (i.e., ω) and substituted into the quaternion difference equation (i.e., ) to update the current quaternion (i.e. q) and obtain the angle information (i.e. ).

[0079] (III) TDOA positioning solution

[0080] TDOA positioning solution can be achieved through the CHAN algorithm. The specific solution principle is:

[0081] TDOA calculates the location of a tag by measuring the distance difference between the tag (i.e., fusion sensor 110) and all base stations 120. The tag only broadcasts one message to each base station 120 for location measurement. For example, for two base stations (i.e., base station 1 and base station 2) and one tag, the measured distance difference can be expressed as follows: (That is, the difference in distance from base station 2 and base station 1 to the tag):

[0082]

[0083] Among them, b1 represents base station No. 1, b2 represents base station No. 2, t represents the tag, is the distance from base station 2 to the tag, is the distance from base station 1 to the tag, T is the time difference, The time difference between the receiving time (i.e., timestamp) when base station 2 receives the data sent by the tag and the sending time (i.e., timestamp) when the tag sends the corresponding data to base station 2. It is the time difference between the receiving time (ie, timestamp) corresponding to when base station No. 1 receives the data sent by the tag and the sending time (ie, timestamp) corresponding to when the tag sends the corresponding data to base station No. 1.

[0084] For a scenario with N base stations, the tag location can be solved using the following CHAN algorithm:

[0085]

[0086] where:

[0087] K S =||X S || 2

[0088] in, It represents the difference in distance from base station N and base station 1 to the tag, S∈{t,b1,b2,...,b N}, X S =(x S ,y S ,z S ), t represents the label, b1, b2, …, b N represents base stations 1 to N, X S represents the position of S. The position of the label can be determined by first assuming that x S ,y S 、z S and There is no relationship between them and then it is solved by the least square method or maximum likelihood method.

[0089] (IV) UWB-IMU Fusion KF

[0090] This part of the algorithm is mainly divided into five steps: state prediction, state covariance prediction, Kalman gain calculation, state update, and state covariance matrix update. Among them, IMU acceleration data is used for state prediction, and UWB ranging data is used for state update. The specific algorithm process can be expressed as:

[0091] Init (initialization phase): initial value of state equation X(0), state covariance matrix P(0), accelerometer control input matrix B, covariance matrix Q, UWB sensor observation noise covariance matrix R, n×n unit matrix I n

[0092] Input: accelerometer data u(k)

[0093] Begin

[0094] 1. State prediction

[0095]

[0096] 2. State covariance matrix prediction

[0097] P(k|k-1)=FP(k-1|k-1)F T +Q

[0098] 3. Kalman gain calculation

[0099] K=P(k|k-1)H T (k)[H(k)P(k|k-1)H T (k)+R] -1

[0100] 4. Status Update

[0101]

[0102] 5. State covariance matrix update

[0103] P(k|k)=[I n -KH(k)]P(k|k-1)

[0104] Among them, F is the state transfer matrix, H is the measurement matrix, and F, B and H can be set to the following forms:

[0105]

[0106] Where k is the time, T is the acquisition duration, X(k) is the system state vector, X(k) contains the position x(k) and the velocity v(K), then X(k) can be expressed as:

[0107] X(k)=[x x (k),x y (k),x z (k),v x (k),v y (k),v z (k)] T

[0108] Z is the observation matrix of the UWB data, which represents the three-dimensional position of the UWB tag.

[0109] (V) RNN neural network calculation

[0110] The RNN neural network has three inputs, namely the acceleration contained in the IMU data, the angle information obtained after the above-mentioned Machony filter, and the UWB positioning position obtained after the above-mentioned UWB-IMU fusion KF; the output of the RNN neural network is the human body posture.

[0111] See also Figure 6 As shown in FIG. 1 , six fusion sensors 110 (respectively installed on the user's left forearm, right forearm, left calf, right calf, head and pelvis) can be used to restore the human body posture, wherein the fusion sensor 110 installed on the pelvis can be called the root node of the human body, and the remaining five fusion sensors 110 can be called leaf nodes that move relative to the root node. Since the IMU module can obtain the acceleration of three axes (R 3 ) and the three-axis rotation (R 3*3 ), so the data obtained by the six IMU modules can be normalized and connected together to form a 72-dimensional input variable x(R 6*(3+3*3) ), and at the same time, the leaf node fusion positions (i.e., the above-mentioned precise positioning information or the above-mentioned second positioning information) obtained by all leaf nodes through the above-mentioned UWB-IMU fusion positioning (including LOS / NLOS classification judgment, TDOA positioning solution and UWB-IMU fusion KF) are normalized and connected together to form a 15-dimensional input variable pL(R 5*3 ).

[0112] See also Figure 6 As shown, the RNN neural network can use two-level RNNs, the first-level RNN is denoted as RNN1, and the second-level RNN is denoted as RNN2. The matrix formed by the two variables x and pL is the input matrix of RNN1, and the output of RNN1 is the full node position (including the position of each node relative to the root node, where the output value of the root node corresponding to RNN1 is 0). The obtained full node position is input to RNN2 together with the input variable x, so that the human body posture is solved and output by RNN2.

[0113] We use the DIP-IMU dataset, which is a dataset based on the SMPL model. The DIP-IMU dataset contains IMU data collected by multiple participants wearing multiple (usually more than a dozen) IMU sensors. The DIP-IMU dataset is designed to overcome the differences in sensor data characteristics between synthetic data and real data, and to supplement the types of activities in existing motion capture (Mocap) datasets. Participants are asked to repeat five different categories of actions, including controlled movements of limbs (arms, legs), sports, and more natural full-body activities (such as jumping, boxing) and interactive tasks with everyday objects. The DIP-IMU dataset can be used to train and evaluate models for tasks such as action recognition, pose estimation, and motion generation. Since the DIP-IMU data set can be used to obtain the leaf node position and the positioning error of the above-mentioned human motion capture system, the known leaf node position and error can be used to generate UWB data (for simulating precise positioning information), and this part of UWB data and IMU information (i.e., acceleration and rotation) are used as the original input of the RNN neural network, and the human posture corresponding to the original input in the DIP-IMU data set is used as the label, and then the original input and its corresponding label are used to construct the training set and test set of the RNN neural network to train and test the RNN neural network. After the training and testing are completed, the trained RNN neural network can be used to perform the above-mentioned RNN neural network calculation to solve the human posture.

[0114] In summary, the above-mentioned human motion capture method is adopted. Since the hardware part only needs to use the fusion sensor 110, the base station 120 and the computer equipment to realize the human posture solution, the hardware cost is lower than that required for optical motion capture; compared with the sensor system used for inertial motion capture, in addition to having the basic functions of IMU, the UWB communication method has a stronger anti-interference ability, and the positioning can also be achieved by using the UWB communication method; since the human posture can be directly solved by IMU data, or the human posture can be solved by fusing IMU data with UWB data, the dual-mode solution of the human posture can be realized, thereby improving the calculation accuracy of the motion posture, and avoiding the posture drift problem of the IMU module under long-term use. By deploying multiple fusion sensors 110 on the human body at the same time, the distance information of multiple fusion sensors 110 can be combined to reduce the influence of abnormal distance information caused by the occlusion of some fusion sensors 110. Combined with UWB positioning and IMU integration, temporary positioning information can be obtained by using IMU integration when the UWB signal is blocked for a short time, thereby improving the stability of positioning.

[0115] Based on the above human motion capture method, the embodiment of the present invention also provides a human motion capture system. Figure 1As shown, the human motion capture system may include a base station 120, a fusion sensor 110 and a computer device 130, wherein the fusion sensor 110 includes a UWB module and an IMU module, wherein the IMU module is used to collect the motion posture data of the target user to form a data packet, and the UWB module is used to transmit the data packet using the UWB technology; the base station 120 is used to receive the data packet from the fusion sensor 110, add a timestamp to the data packet, and then forward the data packet with the timestamp to the computer device 130; wherein the data packet includes the motion posture data, and the timestamp is the receiving time corresponding to when the base station 120 receives the data packet; the computer device 130 is used to: obtain the channel impulse response corresponding to when the base station 120 receives the data packet and the location information of the location of the base station 120, and determine the target data packet from the received data packet based on the channel impulse response; determine the first positioning information of the target user based on the location information and the timestamp corresponding to the target data packet, and determine the real-time position and real-time motion posture of the target user based on the first positioning information and the motion posture data included in the target data packet.

[0116] The human motion capture system provided in the embodiment of the present invention has the same implementation principle and technical effects as those of the aforementioned human motion capture method embodiment. For the sake of brief description, for matters not mentioned in the system embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.

[0117] An embodiment of the present invention also provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the above-mentioned human motion capture method. The specific implementation can be found in the aforementioned method embodiment, which will not be repeated here.

[0118] Unless otherwise specifically stated, the relative steps, numerical expressions and values ​​of the components and steps set forth in these embodiments do not limit the scope of the present invention.

[0119] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0120] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0121] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A human motion capture method, characterized in that: The invention is applied to a human motion capture system, the human motion capture system comprises a base station, a fusion sensor and a computer device, and the human motion capture method comprises: The base station receives a data packet from the fusion sensor, adds a timestamp to the data packet, and then forwards the data packet with the timestamp to the computer device; wherein the fusion sensor includes a UWB module and an IMU module, the IMU module is used to collect motion posture data of the target user, the UWB module is used to transmit the data packet using UWB technology, the data packet includes the motion posture data, and the timestamp is the receiving time corresponding to when the base station receives the data packet; The computer device obtains the channel impulse response corresponding to when the base station receives the data packet and the location information of the base station, and determines the target data packet from the received data packets based on the channel impulse response; The computer device determines the first positioning information of the target user based on the position information and the timestamp corresponding to the target data packet, and determines the real-time position and real-time motion posture of the target user based on the first positioning information and the motion posture data included in the target data packet.

2. The human motion capture method according to claim 1, characterized in that: The channel impulse response includes total received power, first path power, and a time delay between the first path and a signal peak; Determining a target data packet from received data packets based on a channel impulse response, including: For each data packet received, determine the power difference between the total received power contained in the data packet and the first path power contained in the data packet, and determine the probability that the data packet belongs to non-line-of-sight based on the power difference corresponding to the data packet and the delay contained in the data packet as well as the preset power threshold, scaling factor, delay threshold and delay constant. If the probability corresponding to the data packet is less than the preset probability threshold, the data packet is determined as the target data packet.

3. The human motion capture method according to claim 1, characterized in that: There are at least four base stations; Determining first positioning information of the target user based on the location information and a timestamp corresponding to the target data packet includes: Determine one of the base stations that receives the target data packet as the first base station, and determine each base station other than the first base station as a second base station, and then determine the timestamp difference between the timestamp corresponding to the target data packet received by each second base station and the timestamp corresponding to the target data packet received by the first base station; The preset TDOA positioning algorithm is used to solve the position information and the determined timestamp difference to determine the first positioning information.

4. The human motion capture method according to claim 1, characterized in that: The motion posture data includes angular velocity and acceleration; determining the real-time position and real-time motion posture of the target user based on the first positioning information and the motion posture data included in the target data packet, including: Performing a first filtering on the angular velocity and the acceleration to obtain angle information of the target user; Performing a second filtering on the first positioning information and the acceleration to obtain second positioning information; The second positioning information, the acceleration and the angle information are predicted using a preset neural network algorithm to obtain the real-time motion posture.

5. The human motion capture method according to claim 2, characterized in that: Determining the probability that the data packet belongs to non-line-of-sight based on the power difference corresponding to the data packet, the delay included in the data packet, and a preset power threshold, a scaling factor, a delay threshold, and a delay constant, including: If the power difference corresponding to the data packet is greater than the power threshold, the probability that the data packet belongs to non-line-of-sight is determined to be 0; If the power difference corresponding to the data packet is not greater than the power threshold and greater than the product of the power threshold and the scaling factor, determining the probability that the data packet belongs to non-line-of-sight based on the power difference corresponding to the data packet, the power threshold and the scaling factor; If the power difference corresponding to the data packet is not greater than the product of the power threshold and the scaling factor, the probability that the data packet belongs to non-line-of-sight is determined based on the delay corresponding to the data packet, the delay threshold and the delay constant.

6. The method for capturing human motion according to claim 5, characterized in that: The delay threshold includes a first delay threshold and a second delay threshold greater than the first delay threshold; Determining the probability that the data packet belongs to non-line-of-sight based on the delay corresponding to the data packet, the delay threshold, and the delay constant includes: If the delay corresponding to the data packet is not greater than the first delay threshold, the probability that the data packet belongs to non-line-of-sight is determined to be 0; If the delay corresponding to the data packet is greater than the first delay threshold and less than the second delay threshold, determining the probability that the data packet belongs to non-line-of-sight based on the delay corresponding to the data packet and the delay constant; If the delay corresponding to the data packet is not less than the second delay threshold, the probability that the data packet belongs to non-line-of-sight is determined to be 1.

7. The human motion capture method according to claim 4, characterized in that: There are six fusion sensors, which are fixed on the first target part and the second target part of the target user respectively, the first target part is the pelvis, and the second target part includes the left forearm, the right forearm, the left calf, the right calf, the head and the pelvis; The method uses a preset neural network algorithm to predict the second positioning information, the acceleration and the angle information to obtain the real-time motion posture, including: Generate first input information based on acceleration and angle information corresponding to the six fusion sensors, and generate second input information based on second positioning information corresponding to the five fusion sensors fixed on the second target part; The neural network algorithm is used to predict the first input information and the second input information to obtain the real-time position and the real-time motion posture.

8. The human motion capture method according to claim 7, characterized in that: The neural network algorithm includes a first neural network algorithm and a second neural network algorithm; using the neural network algorithm to predict the first input information and the second input information to obtain the real-time position and the real-time motion posture includes: Using the first neural network algorithm to perform a first prediction on the first input information and the second input information to obtain the real-time position; The second neural network algorithm is used to perform a second prediction on the first input information and the real-time position to obtain the real-time motion posture.

9. A human motion capture system, characterized in that: The human motion capture system includes a base station, a fusion sensor and a computer device, the fusion sensor includes a UWB module and an IMU module, the IMU module is used to collect the motion posture data of the target user to form a data packet, and the UWB module is used to transmit the data packet using the UWB technology; The base station is used to receive a data packet from the fusion sensor, add a timestamp to the data packet, and then forward the data packet with the timestamp to the computer device; wherein the data packet includes the motion posture data, and the timestamp is the receiving time corresponding to when the base station receives the data packet; The computer device is used to: obtain the channel impulse response corresponding to the base station when receiving the data packet and the location information of the base station, and determine the target data packet from the received data packet based on the channel impulse response; determine the first positioning information of the target user based on the location information and the timestamp corresponding to the target data packet, and determine the real-time position and real-time motion posture of the target user based on the first positioning information and the motion posture data contained in the target data packet.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by the processor, the computer-executable instructions prompt the processor to implement the human motion capture method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Improved UWB / IMU fusion indoor pedestrian positioning method

    CN112747747A

  • Motion posture evaluation system based on UWB / IMU fusion

    CN116019442A

  • High-precision unmanned ship positioning system and method based on UWB technology, and storage medium

    CN116430310A

  • Sensor fusion indoor positioning method and system based on particle filter algorithm

    CN116567531A

  • Human body motion posture capturing method and system and storage medium

    CN117213495A